AttributeError : 'ParamCard' object has no attribute 'update_dependent'

Asked by Luigi Delle Rose on 2017-11-15

Dear MadGraph developers,

I am trying to use aMC_SusHi 2.4.3 with MadGraph 2.60.
I successfully installed aMC_SusHi together with FeynHiggs 2.13.0 and SusHi 1.6.1
but when I try to generate events I got this error

Command "launch " interrupted with error:
AttributeError : 'ParamCard' object has no attribute 'update_dependent'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/run_01_tag_1_debug.log'.

with every param_card provided in the aMC_SusHi package.

Below I attach the content of the log file.

Thanks,
Luigi

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 5.2.6.0 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* and *
#* http://amcatnlo.cern.ch *
#* *
#************************************************************
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#************************************************************
#* modified ggH enabled - using Matrixelements by SusHi *
#* http://sushi.hepforge.org/ *
#************************************************************
launch
Traceback (most recent call last):
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/extended_cmd.py", line 1438, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/amcatnlo_run_interface.py", line 1200, in do_launch
    mode = self.ask_run_configuration(mode, options)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/amcatnlo_run_interface.py", line 4659, in ask_run_configuration
    self.ask_edit_cards(cards, plot=False, first_cmd=first_cmd)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/common_run_interface.py", line 878, in ask_edit_cards
    self.ask, first_cmd=first_cmd)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/common_run_interface.py", line 940, in ask_edit_card_static
    cards=cards, mode=mode, **opt)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/extended_cmd.py", line 1116, in ask
    fct=question_instance, fct_timeout=fct_timeout)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/extended_cmd.py", line 1648, in timed_input
    result = fct(question)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/extended_cmd.py", line 2004, in __call__
    return self.cmdloop()
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/extended_cmd.py", line 2175, in cmdloop
    super(SmartQuestion,self).cmdloop(intro)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/extended_cmd.py", line 167, in cmdloop
    stop = self.postcmd(stop, line)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/common_run_interface.py", line 5271, in postcmd
    self.do_update('dependent', timer=20)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/common_run_interface.py", line 5320, in do_update
    self.paths['param'], timer)
  File "/Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi/bin/internal/common_run_interface.py", line 5378, in update_dependent
    modify = param_card.update_dependent(model, restrict_card, log_level)
AttributeError: 'ParamCard' object has no attribute 'update_dependent'
Value of current Options:
              text_editor : nano
              web_browser : None
        cluster_temp_path : None
                  timeout : 60
       cluster_local_path : None
            cluster_queue : None
         madanalysis_path : None
                   lhapdf : lhapdf-config
             cluster_size : 100
           cluster_memory : None
                    pjfry : None
    cluster_status_update : (600, 30)
             cluster_time : None
            f2py_compiler : None
                    ninja : /Users/luigi/MG5_aMC_v2_6_0/HEPTools/lib
               hepmc_path : None
mg5amc_py8_interface_path : /Users/luigi/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface
             pythia8_path : /Users/luigi/MG5_aMC_v2_6_0/HEPTools/pythia8
                hwpp_path : None
   automatic_html_opening : True
       cluster_retry_wait : 300
             stdout_level : None
          pythia-pgs_path : None
                 mg5_path : /Users/luigi/MG5_aMC_v2_6_0
                  td_path : None
             delphes_path : /Users/luigi/MG5_aMC_v2_6_0/Delphes
              thepeg_path : None
             cluster_type : condor
        madanalysis5_path : /Users/luigi/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5
      exrootanalysis_path : /Users/luigi/MG5_aMC_v2_6_0/ExRootAnalysis
         fortran_compiler : None
                  nb_core : 4
                  collier : None
              auto_update : 7
         cluster_nb_retry : 1
               eps_viewer : None
             syscalc_path : None
                    golem : None
             cpp_compiler : None
      notification_center : True
                 run_mode : 2
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.0 2017-08-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model heft-no_b_mass
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
define j = p
define p = p b b~
generate p p > h [real=QCD]
output /Users/luigi/MG5_aMC_v2_6_0/ggH-SusHi
######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
######################################################################

###################################
## INFORMATION FOR MASS
###################################
Block mass
   15 1.777000e+00 # MTA
   23 9.118800e+01 # MZ
   25 1.250000e+02 # MH -- only effective if FEYNHIGGS Block is absent
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
  1 0.000000 # d : 0.0
  2 0.000000 # u : 0.0
  3 0.000000 # s : 0.0
  4 0.000000 # c : 0.0
  6 1.73e+02 # t
  11 0.000000 # e- : 0.0
  12 0.000000 # ve : 0.0
  13 0.000000 # mu- : 0.0
  14 0.000000 # vm : 0.0
  16 0.000000 # vt : 0.0
  21 0.000000 # g : 0.0
  22 0.000000 # a : 0.0
  24 80.419002 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    1 1.325070e+02 # aEWM1
    2 1.166390e-05 # Gf
    3 1.180000e-01 # aS
# additional information needed for SusHi
    4 9.118760e+01 # m_Z(pole)
    5 0.416000e+01 # m_b(m_b) -- only used if m_b is not on-shell
    6 1.730000e+02 # m_t(pole) -- top mass is set here

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
   15 1.777000e+00 # ymtau

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.491500e+00 # WT
DECAY 23 2.441404e+00 # WZ
DECAY 24 2.047600e+00 # WW
DECAY 25 6.382339e-03 # WH
DECAY 9000006 6.382339e-03 # WH1
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
DECAY 1 0.000000 # d : 0.0
DECAY 2 0.000000 # u : 0.0
DECAY 3 0.000000 # s : 0.0
DECAY 4 0.000000 # c : 0.0
DECAY 5 0.000000 # b : 0.0
DECAY 11 0.000000 # e- : 0.0
DECAY 12 0.000000 # ve : 0.0
DECAY 13 0.000000 # mu- : 0.0
DECAY 14 0.000000 # vm : 0.0
DECAY 15 0.000000 # ta- : 0.0
DECAY 16 0.000000 # vt : 0.0
DECAY 21 0.000000 # g : 0.0
DECAY 22 0.000000 # a : 0.0
#===========================================================
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#===========================================================
Block QNUMBERS 9000006 # h1
        1 0 # 3 times electric charge
        2 1 # number of spin states (2S+1)
        3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 0 # Particle/Antiparticle distinction (0=own anti)

###################################
## INFORMATION FOR SUSHI
###################################
Block SUSHI
  1 0 # model: 0 = SM, 1 = MSSM
  2 0 # 0 = light Higgs (h), 1 = pseudoscalar (A), 2 = heavy Higgs (H)
Block RENORMBOT # Renormalization of the bottom sector
  1 0 # m_b used for bottom Yukawa: 0 = OS, 1 = MSbar(m_b), 2 = MSbar(muR)
  4 4.75d0 # mbOS fixed -- used if m_b is on-shell (default)
Block FACTORS
  1 0.d0 # factor for yukawa-couplings: c
  2 1.d0 # t
  3 1.d0 # b
#***********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat aMC@NLO *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a hash (#) are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# Some of the values of variables can be list. These can either be *
# comma or space separated. *
#***********************************************************************
#
#*******************
# Running parameters
#*******************
#
#***********************************************************************
# Tag name for the run (one word) *
#***********************************************************************
  tag_1 = run_tag ! name of the run
#***********************************************************************
# Number of LHE events (and their normalization) and the required *
# (relative) accuracy on the Xsec. *
# These values are ignored for fixed order runs *
#***********************************************************************
 10000 = nevents ! Number of unweighted events requested
 -1.0 = req_acc ! Required accuracy (-1=auto determined from nevents)
 -1 = nevt_job! Max number of events per job in event generation.
                 ! (-1= no split).
#***********************************************************************
# Normalize the weights of LHE events such that they sum or average to *
# the total cross section *
#***********************************************************************
 average = event_norm ! valid settings: average, sum, bias
#***********************************************************************
# Number of points per itegration channel (ignored for aMC@NLO runs) *
#***********************************************************************
 0.01 = req_acc_FO ! Required accuracy (-1=ignored, and use the
                     ! number of points and iter. below)
# These numbers are ignored except if req_acc_FO is equal to -1
 5000 = npoints_FO_grid ! number of points to setup grids
 4 = niters_FO_grid ! number of iter. to setup grids
 10000 = npoints_FO ! number of points to compute Xsec
 6 = niters_FO ! number of iter. to compute Xsec
#***********************************************************************
# Random number seed *
#***********************************************************************
 0 = iseed ! rnd seed (0=assigned automatically=default))
#***********************************************************************
# Collider type and energy *
#***********************************************************************
 1 = lpp1 ! beam 1 type (0 = no PDF)
 1 = lpp2 ! beam 2 type (0 = no PDF)
 6500.0 = ebeam1 ! beam 1 energy in GeV
 6500.0 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
 nn23nlo = pdlabel ! PDF set
 244600 = lhaid ! If pdlabel=lhapdf, this is the lhapdf number. Only
              ! numbers for central PDF sets are allowed. Can be a list;
              ! PDF sets beyond the first are included via reweighting.
#***********************************************************************
# Include the NLO Monte Carlo subtr. terms for the following parton *
# shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
# WARNING: PYTHIA6PT works only for processes without FSR!!!! *
#***********************************************************************
  HERWIG6 = parton_shower
  1.0 = shower_scale_factor ! multiply default shower starting
                                  ! scale by this factor
#***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses divided by two of all final state particles *
# and partons. This can be changed in SubProcesses/set_scales.f or via *
# dynamical_scale_choice option) *
#***********************************************************************
 False = fixed_ren_scale ! if .true. use fixed ren scale
 False = fixed_fac_scale ! if .true. use fixed fac scale
 91.118 = muR_ref_fixed ! fixed ren reference scale
 91.118 = muF_ref_fixed ! fixed fact reference scale
 -1 = dynamical_scale_choice ! Choose one (or more) of the predefined
           ! dynamical choices. Can be a list; scale choices beyond the
           ! first are included via reweighting
 1.0 = muR_over_ref ! ratio of current muR over reference muR
 1.0 = muF_over_ref ! ratio of current muF over reference muF
#***********************************************************************
# Reweight variables for scale dependence and PDF uncertainty *
#***********************************************************************
 1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
 1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
 True = reweight_scale ! Reweight to get scale variation using the
            ! rw_rscale and rw_fscale factors. Should be a list of
            ! booleans of equal length to dynamical_scale_choice to
            ! specify for which choice to include scale dependence.
 False = reweight_PDF ! Reweight to get PDF uncertainty. Should be a
            ! list booleans of equal length to lhaid to specify for
            ! which PDF set to include the uncertainties.
#***********************************************************************
# Store reweight information in the LHE file for off-line model- *
# parameter reweighting at NLO+PS accuracy *
#***********************************************************************
 False = store_rwgt_info ! Store info for reweighting in LHE file
#***********************************************************************
# ickkw parameter: *
# 0: No merging *
# 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
# level. After showering an MLM-type merging should be applied as *
# well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
# 4: UNLOPS merging (with pythia8 only). No interface from within *
# MG5_aMC available, but available in Pythia8. *
# -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
#***********************************************************************
 0 = ickkw
#***********************************************************************
#
#***********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
# written in the LHE event file *
#***********************************************************************
 15.0 = bwcutoff
#***********************************************************************
# Cuts on the jets. Jet clustering is performed by FastJet. *
# - When matching to a parton shower, these generation cuts should be *
# considerably softer than the analysis cuts. *
# - More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
  0.7 = jetradius ! The radius parameter for the jet algorithm
 10.0 = ptj ! Min jet transverse momentum
 -1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
#***********************************************************************
# Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  0.0 = ptl ! Min lepton transverse momentum
 -1.0 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
  0.0 = drll ! Min distance between opposite sign lepton pairs
  0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
  0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
 30.0 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
#***********************************************************************
# Photon-isolation cuts, according to hep-ph/9801442. When ptgmin=0, *
# all the other parameters are ignored. *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
 20.0 = ptgmin ! Min photon transverse momentum
 -1.0 = etagamma ! Max photon abs(pseudo-rap)
  0.4 = R0gamma ! Radius of isolation code
  1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
  1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
 True = isoEM ! isolate photons from EM energy (photons and leptons)
#***********************************************************************
# For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
#***********************************************************************
 0 = iappl ! aMCfast switch (0=OFF, 1=prepare grids, 2=fill grids)
#***********************************************************************

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Marius Wiesemann Edit question
Solved by:
Marius Wiesemann
Solved:
2017-11-18
Last query:
2017-11-18
Last reply:
2017-11-18

Hi,

I send a mail to the author of aMCShushi, since this should be on their side.

Cheers,

Olivier

Dear Luigi,

we tried to make that clear with the download on the aMCSusHi homepage:

https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/aMCSushi

You can not run aMCSusHi with any other MG5_aMC version. For each aMCSusHi version there is only one MG5_aMC version with which it has been tested to fully work. (I will add another disclaimer on the homepage)

Thus, to run NMSSM you have to download aMCSusHi_v2.3.3.tar​ and install it in MG5_aMC_v2.3.3 or aMCSusHi_v2.4.3.tar​ and install it in MG5_aMC_v2.4.3. We are working on a general implementation, but this will take some time.

Regarding versions of SusHi and FeynHiggs, usually also the newest versions should work without problems (in particular because SusHi should be backward compatible), however, the last ones I tested with in detail with aMCSusHi were SusHi 1.4.0 (1.4.1, also 1.5.0 was tested at some point) with FeynHiggs 2.10.2.

The compilation issue you get is certainly related to the mismatch of aMCSusHi and MG5_aMC versions, which is why I would try fixing this first and then worry about SusHi and FeynHiggs versions.

Cheers,
Marius

Thanks Marius Wiesemann, that solved my question.

Dear Marius,

I didn't realise that the aMCSusHi version corresponded to the MG5_aMC one.
The problem is fixed.

Thanks a lot,
Luigi