Crash in reweight module with "change process"

Asked by Hannes

Hi,

we have a problem when using 'change process' in reweighting, at LO, with v2.8.1 and a SMEFTsim model.
The debug log can be found at the bottom of this message. The code tries to find a ident_card.dat that does not exist.
The reweighting runs fine in the beginning, where we only change the parameter values but once we try to change the process it crashes, this is the critical point in the reweight card:

change process p p > h j j QCD=0 NP=0
launch --rwgt_name=SM --rwgt_info=SM

The nominal process p p > h j j QCD=0 NP^2==1 NP=1.

Unfortunately, the problem only appears in certain environments and so far we could not figure out why the Atlas production environment is problematic.
In setups that don't crash, there also seems to be no ident_card.dat at rw_me/Source/MODEL/ (there is always one at rw_me/Source/MODEL/ though).

Could you help us to debug this problem?

Cheers,
Hannes

---

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.8.1 2020-09-28 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
generate_events run_01
Traceback (most recent call last):
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1541, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/a/ancuetog/MadGraph/Newtest/run/PROC_SMEFTsim_A_U35_MwScheme_UFO-massless_Hyy_0/bin/internal/madevent_interface.py", line 2471, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/common_run_interface.py", line 7080, in new_fct
    original_fct(obj, *args, **opts)
  File "/afs/cern.ch/work/a/ancuetog/MadGraph/Newtest/run/PROC_SMEFTsim_A_U35_MwScheme_UFO-massless_Hyy_0/bin/internal/madevent_interface.py", line 2569, in run_generate_events
    self.exec_cmd('reweight -from_cards', postcmd=False)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1570, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/common_run_interface.py", line 2172, in do_reweight
    reweight_cmd.import_command_file(path)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1687, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1570, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/various/misc.py", line 109, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/reweight_interface.py", line 503, in do_launch
    self.create_standalone_directory()
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/various/misc.py", line 109, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/reweight_interface.py", line 1670, in create_standalone_directory
    has_nlo = self.create_standalone_tree_directory(data, second)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/various/misc.py", line 109, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/reweight_interface.py", line 1412, in create_standalone_tree_directory
    mgcmd.exec_cmd(commandline, precmd=True)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1570, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/master_interface.py", line 299, in do_output
    self.cmd.do_output(self, line, *args, **opts)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/madgraph_interface.py", line 7985, in do_output
    self.finalize(nojpeg, flaglist=flaglist)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/interface/madgraph_interface.py", line 8277, in finalize
    wanted_couplings)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/iolibs/export_v4.py", line 891, in convert_model
    model_builder.build(wanted_couplings)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/iolibs/export_v4.py", line 5713, in build
    self.write_all()
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/iolibs/export_v4.py", line 5742, in write_all
    self.create_ident_card()
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/iolibs/export_v4.py", line 6858, in create_ident_card
    fsock = self.open('ident_card.dat')
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/LCG_88b/MCGenerators/madgraph5amc/2.8.1p3.atlas6/x86_64-centos7-gcc62-opt/madgraph/iolibs/export_v4.py", line 5731, in open
    fsock = open(file_path, 'w')
IOError: [Errno 2] No such file or directory: '/afs/cern.ch/work/a/ancuetog/MadGraph/Newtest/run/PROC_SMEFTsim_A_U35_MwScheme_UFO-massless_Hyy_0/rw_me/Source/MODEL/ident_card.dat'
Related File: /afs/cern.ch/work/a/ancuetog/MadGraph/Newtest/run/PROC_SMEFTsim_A_U35_MwScheme_UFO-massless_Hyy_0/rw_me/Source/MODEL/ident_card.dat
                              Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None
               cluster_size : 100
              cluster_queue : None
                    nb_core : 1 (user set)
               cluster_time : None
                   run_mode : 0 (user set)

                      Configuration Options
                      ---------------------
                text_editor : None
          f2py_compiler_py2 : f2py2 (user set)
          f2py_compiler_py3 : None
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : None (user set)
                    td_path : None (user set)
               delphes_path : None (user set)
                thepeg_path : None (user set)
               cluster_type : condor
          madanalysis5_path : None (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/MCGenerators/syscalc/1.1.4p3-61111/x86_64-centos7-gcc62-opt (user set)
           madanalysis_path : None (user set)
                     lhapdf : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/MCGenerators/lhapdf/6.2.3-0ff65/x86_64-centos7-gcc62-opt/bin/lhapdf-config (user set)
         cluster_local_path : None
              f2py_compiler : f2py2 (user set)
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
                 lhapdf_py3 : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/MCGenerators/lhapdf/6.2.3-0ff65/x86_64-centos7-gcc62-opt/bin/lhapdf-config (user set)
                 lhapdf_py2 : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-centos7-gcc62-opt/sw/lcg/releases/MCGenerators/lhapdf/6.2.3-0ff65/x86_64-centos7-gcc62-opt/bin/lhapdf-config (user set)
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : None (user set)
                    timeout : 60
               cpp_compiler : None
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.8.1 2020-09-28 *
#* *
#* 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 max_t_for_channel 99
set loop_optimized_output True
set low_mem_multicore_nlo_generation False
set default_unset_couplings 99
set zerowidth_tchannel True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model SMEFTsim_A_U35_MwScheme_UFO-massless_Hyy
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 = p b b~
generate p p > h j j QCD=0 NP^2==1 NP=1
output -f -nojpeg
######################################################################
## 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 CKMBLOCK
###################################
Block ckmblock
    1 1.000000e-99 # set of param :1*cabi, 1*CKMlambda, 1*CKMA, 1*CKMrho, 1*CKMeta

###################################
## INFORMATION FOR FRBLOCK
###################################
Block frblock
   18 1.000000e+03 # LambdaSMEFT
   28 0.3 # cHW
   30 1.03 # cHB
   32 0.15 # cHWB
   45 0.02 # cHl1
   46 0.02 # cHl3
   48 0.3 # cHq1
   49 0.01 # cHq3
   50 0.91 # cHu
   51 0.92 # cHd
   83 8.038700e+01 # MW0

###################################
## INFORMATION FOR MASS
###################################
Block mass
    5 4.180000e+00 # MB
    6 1.732000e+02 # MT
   11 1.000000e-99 # set of param :1*Me, 1*MMU, 1*MU, 1*MC, 1*MD, 1*MS
   15 1.777000e+00 # MTA
   23 9.118760e+01 # MZ
   25 1.250900e+02 # MH
## 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.
  12 0.000000e+00 # ve : 0.0
  14 0.000000e+00 # vm : 0.0
  16 0.000000e+00 # vt : 0.0
  21 0.000000e+00 # g : 0.0
  22 0.000000e+00 # a : 0.0
  24 8.038700e+01 # w+ : MW0
  13 1.000000e-99 # mu- : Me
  2 1.000000e-99 # u : Me
  4 1.000000e-99 # c : Me
  1 1.000000e-99 # d : Me
  3 1.000000e-99 # s : Me

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    2 1.166379e-05 # Gf
    3 1.181000e-01 # aS

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    1 1.000000e-99 # set of param :1*ymdo, 1*ymup, 1*yms, 1*ymc, 1*yme, 1*ymm
   5 0.0 # ymb
    6 1.732000e+02 # ymt
   15 1.777000e+00 # ymtau

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.508336e+00 # WT
DECAY 23 2.495200e+00 # WZ
DECAY 24 2.085000e+00 # WW
DECAY 25 4.070000e-03 # WH
## 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.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00 # b : 0.0
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 15 0.000000e+00 # ta- : 0.0
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
#*********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat MadEvent *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a '# ' are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# To display more options, you can type the command: *
# update full_run_card *
#*********************************************************************
#
#*********************************************************************
# Tag name for the run (one word) *
#*********************************************************************
tag_1 = run_tag ! name of the run
#*********************************************************************
# Number of events and rnd seed *
# Warning: Do not generate more than 1M events in a single run *
#*********************************************************************
110 = nevents ! Number of unweighted events requested
0 = iseed ! rnd seed (0=assigned automatically=default))
#*********************************************************************
# Collider type and energy *
# lpp: 0=No PDF, 1=proton, -1=antiproton, 2=photon from proton, *
# 3=photon from electron, 4=photon from muon *
#*********************************************************************
1 = lpp1 ! beam 1 type
1 = lpp2 ! beam 2 type
6500.0 = ebeam1 ! beam 1 total energy in GeV
6500.0 = ebeam2 ! beam 2 total energy in GeV
# To see polarised beam options: type "update beam_pol"#*********************************************************************
# PDF CHOICE: this automatically fixes also alpha_s and its evol. *
#*********************************************************************
lhapdf = pdlabel ! PDF set
90400 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
# To see heavy ion options: type "update ion_pdf"#*********************************************************************
# Renormalization and factorization scales *
#*********************************************************************
False = fixed_ren_scale ! if .true. use fixed ren scale
False = fixed_fac_scale ! if .true. use fixed fac scale
91.188 = scale ! fixed ren scale
91.188 = dsqrt_q2fact1 ! fixed fact scale for pdf1
91.188 = dsqrt_q2fact2 ! fixed fact scale for pdf2
-1 = dynamical_scale_choice ! Choose one of the preselected dynamical choices
1.0 = scalefact ! scale factor for event-by-event scales
#*********************************************************************
# Type and output format
#*********************************************************************
False = gridpack !True = setting up the grid pack
-1.0 = time_of_flight ! threshold (in mm) below which the invariant livetime is not written (-1 means not written)
average = event_norm ! average/sum. Normalization of the weight in the LHEF
#*********************************************************************
# Matching parameter (MLM only)
#*********************************************************************
0 = ickkw ! 0 no matching, 1 MLM
1.0 = alpsfact ! scale factor for QCD emission vx
False = chcluster ! cluster only according to channel diag
5 = asrwgtflavor ! highest quark flavor for a_s reweight
True = auto_ptj_mjj ! Automatic setting of ptj and mjj if xqcut >0
! (turn off for VBF and single top processes)
0.0 = xqcut ! minimum kt jet measure between partons
#*********************************************************************
#
#*********************************************************************
# handling of the helicities:
# 0: sum over all helicities
# 1: importance sampling over helicities
#*********************************************************************
0 = nhel ! using helicities importance sampling or not.
#*********************************************************************
# Generation bias, check the wiki page below for more information: *
# 'cp3.irmp.ucl.ac.be/projects/madgraph/wiki/LOEventGenerationBias' *
#*********************************************************************
None = bias_module ! Bias type of bias, [None, ptj_bias, -custom_folder-]
{} = bias_parameters ! Specifies the parameters of the module.
#
#*******************************
# Parton level cuts definition *
#*******************************
#
#
#*********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma) ! Define on/off-shell for "$$" and decay
#*********************************************************************
15.0 = bwcutoff ! (M+/-bwcutoff*Gamma)
#IF(d)# #*********************************************************************
#IF(d)# # Apply pt/E/eta/dr/mij/kt_durham cuts on decay products or not
#IF(d)# # (note that etmiss/ptll/ptheavy/ht/sorted cuts always apply)
#IF(d)# #*********************************************************************
False = cut_decays ! Cut decay products
#*********************************************************************
# Standard Cuts *
#*********************************************************************
# Minimum and maximum pt's (for max, -1 means no cut) *
#*********************************************************************
20.0 = ptj ! minimum pt for the jets
20.0 = ptb ! minimum pt for the b
10.0 = pta ! minimum pt for the photons
0.0 = ptl ! minimum pt for the charged leptons
0.0 = misset ! minimum missing Et (sum of neutrino's momenta)
-1.0 = ptjmax ! maximum pt for the jets
-1.0 = ptbmax ! maximum pt for the b
-1.0 = ptamax ! maximum pt for the photons
-1.0 = ptlmax ! maximum pt for the charged leptons
-1.0 = missetmax ! maximum missing Et (sum of neutrino's momenta)
{} = pt_min_pdg ! pt cut for other particles (use pdg code). Applied on particle and anti-particle
{} = pt_max_pdg ! pt cut for other particles (syntax e.g. {6: 100, 25: 50})
#
# For display option for energy cut in the partonic center of mass frame type 'update ecut'
##*********************************************************************
# Maximum and minimum absolute rapidity (for max, -1 means no cut) *
#*********************************************************************
5.0 = etaj ! max rap for the jets
-1.0 = etab ! max rap for the b
2.5 = etaa ! max rap for the photons
10.0 = etal ! max rap for the charged leptons
0.0 = etajmin ! min rap for the jets
0.0 = etabmin ! min rap for the b
0.0 = etaamin ! min rap for the photons
0.0 = etalmin ! main rap for the charged leptons
{} = eta_min_pdg ! rap cut for other particles (use pdg code). Applied on particle and anti-particle
{} = eta_max_pdg ! rap cut for other particles (syntax e.g. {6: 2.5, 23: 5})
#*********************************************************************
# Minimum and maximum DeltaR distance *
#*********************************************************************
0.05 = drjj ! min distance between jets
0.05 = drbb ! min distance between b's
0.05 = drll ! min distance between leptons
0.4 = draa ! min distance between gammas
0.05 = drbj ! min distance between b and jet
0.4 = draj ! min distance between gamma and jet
0.4 = drjl ! min distance between jet and lepton
0.0 = drab ! min distance between gamma and b
0.0 = drbl ! min distance between b and lepton
0.4 = dral ! min distance between gamma and lepton
-1.0 = drjjmax ! max distance between jets
-1.0 = drbbmax ! max distance between b's
-1.0 = drllmax ! max distance between leptons
-1.0 = draamax ! max distance between gammas
-1.0 = drbjmax ! max distance between b and jet
-1.0 = drajmax ! max distance between gamma and jet
-1.0 = drjlmax ! max distance between jet and lepton
-1.0 = drabmax ! max distance between gamma and b
-1.0 = drblmax ! max distance between b and lepton
-1.0 = dralmax ! maxdistance between gamma and lepton
#*********************************************************************
# Minimum and maximum invariant mass for pairs *
#IF(llll)# # WARNING: for four lepton final state mmll cut require to have *
#IF(llll)# # different lepton masses for each flavor! *
#*********************************************************************
0.0 = mmjj ! min invariant mass of a jet pair
0.0 = mmbb ! min invariant mass of a b pair
0.0 = mmaa ! min invariant mass of gamma gamma pair
0.0 = mmll ! min invariant mass of l+l- (same flavour) lepton pair
-1.0 = mmjjmax ! max invariant mass of a jet pair
-1.0 = mmbbmax ! max invariant mass of a b pair
-1.0 = mmaamax ! max invariant mass of gamma gamma pair
-1.0 = mmllmax ! max invariant mass of l+l- (same flavour) lepton pair
{} = mxx_min_pdg ! min invariant mass of a pair of particles X/X~ (e.g. {6:250})
{'default': False} = mxx_only_part_antipart ! if True the invariant mass is applied only
! to pairs of particle/antiparticle and not to pairs of the same pdg codes.
#IF(LL)# #*********************************************************************
#IF(LL)# # Minimum and maximum invariant mass for all letpons *
#IF(LL)# #*********************************************************************
0.0 = mmnl ! min invariant mass for all letpons (l+- and vl)
-1.0 = mmnlmax ! max invariant mass for all letpons (l+- and vl)
#IF(LL)# #*********************************************************************
#IF(LL)# # Minimum and maximum pt for 4-momenta sum of leptons / neutrino *
#IF(LL)# # for pair of lepton includes only same flavor, opposite charge
#IF(LL)# #*********************************************************************
0.0 = ptllmin ! Minimum pt for 4-momenta sum of leptons(l and vl)
-1.0 = ptllmax ! Maximum pt for 4-momenta sum of leptons(l and vl)
#*********************************************************************
# Inclusive cuts *
#*********************************************************************
0.0 = ptheavy ! minimum pt for at least one heavy final state
0.0 = xptj ! minimum pt for at least one jet
0.0 = xptb ! minimum pt for at least one b
0.0 = xpta ! minimum pt for at least one photon
0.0 = xptl ! minimum pt for at least one charged lepton
#IF(jj)# #*********************************************************************
#IF(jj)# # Control the pt's of the jets sorted by pt *
#IF(jj)# #*********************************************************************
0.0 = ptj1min ! minimum pt for the leading jet in pt
0.0 = ptj2min ! minimum pt for the second jet in pt
0.0 = ptj3min ! minimum pt for the third jet in pt
0.0 = ptj4min ! minimum pt for the fourth jet in pt
-1.0 = ptj1max ! maximum pt for the leading jet in pt
-1.0 = ptj2max ! maximum pt for the second jet in pt
-1.0 = ptj3max ! maximum pt for the third jet in pt
-1.0 = ptj4max ! maximum pt for the fourth jet in pt
0 = cutuse ! reject event if fails any (0) / all (1) jet pt cuts
#IF(ll)# #*********************************************************************
#IF(ll)# # Control the pt's of leptons sorted by pt *
#IF(ll)# #*********************************************************************
0.0 = ptl1min ! minimum pt for the leading lepton in pt
0.0 = ptl2min ! minimum pt for the second lepton in pt
0.0 = ptl3min ! minimum pt for the third lepton in pt
0.0 = ptl4min ! minimum pt for the fourth lepton in pt
-1.0 = ptl1max ! maximum pt for the leading lepton in pt
-1.0 = ptl2max ! maximum pt for the second lepton in pt
-1.0 = ptl3max ! maximum pt for the third lepton in pt
-1.0 = ptl4max ! maximum pt for the fourth lepton in pt
#IF(JJ)# #*********************************************************************
#IF(JJ)# # Control the Ht(k)=Sum of k leading jets *
#IF(JJ)# #*********************************************************************
0.0 = htjmin ! minimum jet HT=Sum(jet pt)
-1.0 = htjmax ! maximum jet HT=Sum(jet pt)
0.0 = ihtmin !inclusive Ht for all partons (including b)
-1.0 = ihtmax !inclusive Ht for all partons (including b)
0.0 = ht2min ! minimum Ht for the two leading jets
0.0 = ht3min ! minimum Ht for the three leading jets
0.0 = ht4min ! minimum Ht for the four leading jets
-1.0 = ht2max ! maximum Ht for the two leading jets
-1.0 = ht3max ! maximum Ht for the three leading jets
-1.0 = ht4max ! maximum Ht for the four leading jets
#IF(aj)# #***********************************************************************
#IF(aj)# # Photon-isolation cuts, according to hep-ph/9801442 *
#IF(aj)# # When ptgmin=0, all the other parameters are ignored *
#IF(aj)# # When ptgmin>0, pta and draj are not going to be used *
#IF(aj)# #***********************************************************************
#IF(aj)# %(ptgmin)s = ptgmin ! Min photon transverse momentum
#IF(aj)# %(r0gamma)s = R0gamma ! Radius of isolation code
#IF(aj)# %(xn)s = xn ! n parameter of eq.(3.4) in hep-ph/9801442
#IF(aj)# %(epsgamma)s = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
#IF(aj)# %(isoem)s = isoEM ! isolate photons from EM energy (photons and leptons)
#IF(jj)# #*********************************************************************
#IF(jj)# # WBF cuts *
#IF(jj)# #*********************************************************************
0.0 = xetamin ! minimum rapidity for two jets in the WBF case
0.0 = deltaeta ! minimum rapidity for two jets in the WBF case
#*********************************************************************
# maximal pdg code for quark to be considered as a light jet *
# (otherwise b cuts are applied) *
#*********************************************************************
5 = maxjetflavor ! Maximum jet pdg code
#*********************************************************************
#
#*********************************************************************
# Store info for systematics studies *
# WARNING: Do not use for interference type of computation *
#*********************************************************************
False = use_syst ! Enable systematics studies
#
none = systematics_program ! none, systematics [python], SysCalc [depreceted, C++]
['--pdf=errorset', '--muf=0.5,1,2', '--weight_info=MUR%(mur).1f_MUF%(muf).1f_PDF%(pdf)i', '--mur=0.5,1,2'] = systematics_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule
# Syscalc is deprecated but to see the associate options type'update syscalc'#*********************************************************************
# Additional hidden parameters
#*********************************************************************
3.0 = lhe_version # hidden_parameter
30.0 = ktdurham # hidden_parameter
123456 = python_seed # controlling python seed [handling in particular the final unweighting].
# -1 means use default from random module.
# -2 means set to same value as iseed
 0 = python_seed

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Could you correct your typo in this sentences:
> In setups that don't crash, there also seems to be no ident_card.dat at rw_me/Source/MODEL/ (there is always one at rw_me/Source/MODEL/ though).

In your setup did you run mg5amc with python2 or python3 executable (if python3 which version of python3?)

Concerning the traceback, it indicates that it crashes when trying to create that file (not to read it).
So the issue is that either the directory
/afs/cern.ch/work/a/ancuetog/MadGraph/Newtest/run/PROC_SMEFTsim_A_U35_MwScheme_UFO-massless_Hyy_0/rw_me/Source/
does not exists (or is not available due to an afs mounting error)
or another IO issue (like you do not have permission to write in that directory --likely related to quota or other limitation--)

This really sounds an issue related to your filesystem (I'm not expert in afs mounting point, but I remember to have face a lot of issues in the past with those)

Cheers,

Olivier

Revision history for this message
Hannes (hannes3) said :
#2

Hi Olivier,

thanks a lot for the quick reply. Indeed there seems to be a problem with afs, it works fine on e.g. /tmp.
It's not really straight forward though , the directory does exist, is writeable, and there is quota available (maybe it's a temporary issue?). We've used python2.
I think we can run without relying on afs, that makes the problem less urgent.

Cheers,
Hannes

Revision history for this message
fsadf sadf (ualras33a) said :
#3

Actually the reason of those particles written within the lhe document, is so as to allow the parton-bathe to bathe the particles in a manner that preserve such resonances (which is manifestly critical for agreement with data). It is not assume to be used for some thing else. You can check this link https://www.gamingexpert.net/best-keyboards-for-xbox-one/

If you need the contribution of numerous kind of diagram (and/or interference) you have to compute them one after the other.

Can you help with this problem?

Provide an answer of your own, or ask Hannes for more information if necessary.

To post a message you must log in.