bug with rivet

Asked by Zhaowei Song

I encountered this bug when launching g g > h > h h in heft

INFO: rivet done
Rivet analysis jobs: 1 Idle, 1 Running, 0 Done [0 second]
WARNING: ['/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/gghh_heft/Events/run_01/run_rivet.sh', '1'] fails with no such file or directory
Rivet analysis jobs: 0 Idle, 1 Running, 1 Done [0 second]
Rivet analysis jobs: 0 Idle, 0 Running, 2 Done [0 second]
Command "generate_events run_01" interrupted with error:
Exception : ['/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/gghh_heft/Events/run_01/run_rivet.sh', '1'] fails with no such file or directory
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/gghh_heft/run_01_decayed_1_tag_1_debug.log'.
Please attach this file to your report.
INFO:
quit

and here is content of debug file

generate_events run_01
Traceback (most recent call last):
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/various/misc.py", line 908, in deco_f
    return f(arg, *args, **opt)
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/various/misc.py", line 947, in Popen
    return subprocess.Popen(arg, *args, **opt)
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/gghh_heft/Events/run_01/run_rivet.sh'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/interface/extended_cmd.py", line 1544, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/interface/madevent_interface.py", line 2406, in do_generate_events
    self.postprocessing()
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/interface/madevent_interface.py", line 2420, in postprocessing
    self.rivet_postprocessing(rivet_config, postprocess_RIVET, postprocess_CONTUR)
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/interface/madevent_interface.py", line 2441, in rivet_postprocessing
    self.cluster.wait(pjoin(self.me_dir, 'Events'),wait_monitoring)
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/various/cluster.py", line 832, in wait
    six.reraise(self.fail_msg[0], self.fail_msg[1], self.fail_msg[2])
  File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
    raise value
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/various/cluster.py", line 644, in worker
    proc = misc.Popen([exe] + arg, **opt)
  File "/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/madgraph/various/misc.py", line 927, in deco_f
    raise Exception('%s fails with no such file or directory' \
Exception: ['/home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/gghh_heft/Events/run_01/run_rivet.sh', '1'] fails with no such file or directory
                              Run Options
                              -----------
               stdout_level : 20 (user set)

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

                      Configuration Options
                      ---------------------
               pythia8_path : /home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/HEPTools/pythia8 (user set)
                  hwpp_path : None (user set)
                thepeg_path : None (user set)
                 hepmc_path : /home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/HEPTools/hepmc (user set)
           madanalysis_path : None (user set)
          madanalysis5_path : /home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/HEPTools/madanalysis5/madanalysis5 (user set)
            pythia-pgs_path : None (user set)
                    td_path : None (user set)
               delphes_path : None (user set)
        exrootanalysis_path : None (user set)
               syscalc_path : None (user set)
                 rivet_path : /home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/HEPTools/rivet (user set)
                  yoda_path : /home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/HEPTools/yoda (user set)
                     lhapdf : /home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/HEPTools/lhapdf6_py3/bin/lhapdf-config (user set)
                 lhapdf_py2 : None
                 lhapdf_py3 : /home/parallels/Downloads/MG5_aMC_v3.4.0.RC2/MG5_aMC_v3_4_0_RC2/HEPTools/lhapdf6_py3/bin/lhapdf-config (user set)
                    timeout : 60
              f2py_compiler : None
          f2py_compiler_py2 : None
          f2py_compiler_py3 : None
                web_browser : None
                 eps_viewer : None
                text_editor : None
           fortran_compiler : None
               cpp_compiler : None
                auto_update : 7 (user set)
               cluster_type : condor
      cluster_status_update : (600, 30)
           cluster_nb_retry : 1
         cluster_local_path : None
         cluster_retry_wait : 300
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.4.0.RC2 2022-04-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 low_mem_multicore_nlo_generation False
set complex_mass_scheme False
set include_lepton_initiated_processes False
set gauge unitary
set loop_optimized_output True
set loop_color_flows False
set max_npoint_for_channel 0
set default_unset_couplings 99
set max_t_for_channel 99
set zerowidth_tchannel True
set nlo_mixed_expansion True
import model sm
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~
import model heft
generate g g > h > h h
output gghh_heft
######################################################################
## 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
    5 4.700000e+00 # MB
    6 1.730000e+02 # MT
   15 1.777000e+00 # MTA
   23 9.118800e+01 # MZ
   25 1.250000e+02 # MH
  9000006 1.250001e+02 # MP
## 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.000000e+00 # d : 0.0
  2 0.000000e+00 # u : 0.0
  3 0.000000e+00 # s : 0.0
  4 0.000000e+00 # c : 0.0
  11 0.000000e+00 # e- : 0.0
  12 0.000000e+00 # ve : 0.0
  13 0.000000e+00 # mu- : 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.041900e+01 # 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 (Note that Parameter not used if you use a PDF set)

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    5 4.200000e+00 # ymb
    6 1.645000e+02 # ymt
   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.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
#===========================================================
# 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)
#*********************************************************************
# 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 to_full *
#*********************************************************************
#
#*********************************************************************
# 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 *
#*********************************************************************
  10000 = 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=elastic photon of proton,*
# +/-3=PDF of electron/positron beam *
# +/-4=PDF of muon/antimuon beam *
#*********************************************************************
     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 alpha_s and its evol. *
# pdlabel: lhapdf=LHAPDF (installation needed) [1412.7420] *
# iww=Improved Weizsaecker-Williams Approx.[hep-ph/9310350] *
# eva=Effective W/Z/A Approx. [21yy.zzzzz] *
# none=No PDF, same as lhapdf with lppx=0 *
#*********************************************************************
     nn23lo1 = pdlabel ! PDF set
     230000 = 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
# To see MLM/CKKW merging options: type "update MLM" or "update CKKW"

#*********************************************************************
#
#*********************************************************************
# Phase-Space Optimization strategy (basic options)
#*********************************************************************
   0 = nhel ! using helicities importance sampling or not.
                             ! 0: sum over helicity, 1: importance sampling
   2 = sde_strategy ! default integration strategy (hep-ph/2021.00773)
                             ! 1 is old strategy (using amp square)
        ! 2 is new strategy (using only the denominator)
# To see advanced option for Phase-Space optimization: type "update psoptim"
#*********************************************************************
# 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 *
#*******************************
  0.0 = dsqrt_shat ! minimal shat for full process
#
#
#*********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma) ! Define on/off-shell for "$" and decay
#*********************************************************************
  15.0 = bwcutoff ! (M+/-bwcutoff*Gamma)
#*********************************************************************
# Standard Cuts *
#*********************************************************************
# Minimum and maximum pt's (for max, -1 means no cut) *
#*********************************************************************
 {} = 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) *
#*********************************************************************
 {} = 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 *
#*********************************************************************
#*********************************************************************
# Minimum and maximum invariant mass for pairs *
#*********************************************************************
 {} = 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.
#*********************************************************************
# Inclusive cuts *
#*********************************************************************
 0.0 = ptheavy ! minimum pt for at least one heavy final state
#*********************************************************************
# maximal pdg code for quark to be considered as a light jet *
# (otherwise b cuts are applied) *
#*********************************************************************
 4 = maxjetflavor ! Maximum jet pdg code
#*********************************************************************
#
#*********************************************************************
# Store info for systematics studies *
# WARNING: Do not use for interference type of computation *
#*********************************************************************
   True = use_syst ! Enable systematics studies
#
systematics = systematics_program ! none, systematics [python], SysCalc [depreceted, C++]
['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset'] = systematics_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule

Question information

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

Hi,

if I run the following:
import model heft
generate g g > h > h h
output
launch
analysis=RIVET

then i do not have any problem.

Revision history for this message
Zhaowei Song (zhaowei12345678) said :
#2

This problem is about madspin
I was running the following
import model heft
generate g g > h > h h
output
launch
analysis=RIVET
set spinmode none
decay h > z z > l- l- l+ l+

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Thanks,

I do reproduce the issue now.
I'm investigating,

Olivier

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#4

Hi,

I have a fix but this will need to wait for other development to be ready.
a simple work around is to edit the rivet_card and to set the parameter "run_rivet_later" to False

Thanks,

Olivier

Revision history for this message
Zhaowei Song (zhaowei12345678) said :
#5

Thanks Olivier Mattelaer, that solved my question.