Problem showering using Herwig++ in aMCatNLO_2.3.2.2

Bug #1559536 reported by antares
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Invalid
Undecided
Paolo Torrielli

Bug Description

Dear experts,
I am trying to run a test on showering with Herwig++. I am a CERN user and I always run everthing in lxplus. I could successfully download and install herwig++, thepeg and hepmc. During the installation of Herwig I configured it with hepmc, following some suggestions in this forum. I configured aMCatNLO to get all the right paths to all the tools.
I generated ttH events just to make a test, after having my events I try to shower them and I get this error:

Command "shower run_01" interrupted with error:
IOError : [Errno 2] No such file or directory: '/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/MCatNLO/RUN_HERWIGPP_4/events.hepmc.gz'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/run_01_tag_1_debug.log'.
Please attach this file to your report.

I really don't know what to do now to fix it. I put some configs here following:

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 5.2.3.2.2 *
#* *
#* 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 *
#* *
#************************************************************
shower run_01
Traceback (most recent call last):
  File "/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/bin/internal/extended_cmd.py", line 889, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/bin/internal/extended_cmd.py", line 882, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/bin/internal/amcatnlo_run_interface.py", line 964, in do_shower
    self.run_mcatnlo(evt_file)
  File "/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/bin/internal/amcatnlo_run_interface.py", line 2629, in run_mcatnlo
    files.mv(os.path.join(rundir, 'events.%s.gz' % ext), hep_file)
  File "/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/bin/internal/files.py", line 172, in mv
    shutil.move(path1, path2)
  File "/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.3-x86_64-slc6-gcc47/sw/lcg/external/Python/2.7.3/x86_64-slc6-gcc47-opt/lib/python2.7/shutil.py", line 299, in move
    copy2(src, real_dst)
  File "/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.3-x86_64-slc6-gcc47/sw/lcg/external/Python/2.7.3/x86_64-slc6-gcc47-opt/lib/python2.7/shutil.py", line 128, in copy2
    copyfile(src, dst)
  File "/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.3-x86_64-slc6-gcc47/sw/lcg/external/Python/2.7.3/x86_64-slc6-gcc47-opt/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/MCatNLO/RUN_HERWIGPP_4/events.hepmc.gz'
Value of current Options:
              text_editor : None
              web_browser : None
        cluster_temp_path : None
                  timeout : 60
       cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
            cluster_queue : madgraph
         madanalysis_path : None
                   lhapdf : /afs/cern.ch/work/m/mmantoan/local/bin/lhapdf-config
             cluster_size : 100
           cluster_memory : None
    cluster_status_update : (600, 30)
             cluster_time : None
            f2py_compiler : None
               hepmc_path : /afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/hepmc-install
             pythia8_path : None
                hwpp_path : /afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/herwig_matteo
   automatic_html_opening : True
       cluster_retry_wait : 300
             stdout_level : None
          pythia-pgs_path : None
                 mg5_path : /afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo
                  td_path : None
             delphes_path : None
              thepeg_path : /afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/ThePEG-install_2.0.0
             cluster_type : condor
         cluster_nb_retry : 1
         fortran_compiler : None
                  nb_core : 8
              auto_update : 7
      exrootanalysis_path : /afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/ExRootAnalysis
               eps_viewer : None
             syscalc_path : None
                  fastjet : /afs/cern.ch/work/m/mmantoan/fastjet-install/bin/fastjet-config
             cpp_compiler : None
                 run_mode : 2
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.3.2.2 2015-09-06 *
#* *
#* 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 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 loop_sm
generate p p > t t~ h [QCD]
output tthtestshower
######################################################################
## 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 LOOP
###################################
Block loop
    1 9.118800e+01 # MU_R

###################################
## INFORMATION FOR MASS
###################################
Block mass
    5 4.750000e+00 # MB
    6 1.725000e+02 # MT
   15 1.777000e+00 # MTA
   23 9.118800e+01 # MZ
   25 1.250000e+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.
  1 0.000000 # d : 0.0
  2 0.000000 # u : 0.0
  3 0.000000 # s : 0.0
  4 0.000000 # c : 0.0
  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

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    5 4.700000e+00 # ymb
    6 1.730000e+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
## 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
#***********************************************************************
# 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 *
#***********************************************************************
#
#*******************
# 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 *
#***********************************************************************
  1000 = nevents ! Number of unweighted events requested
  0.001 = 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 ! average or sum
#***********************************************************************
# 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 = ebeam1 ! beam 1 energy in GeV
  6500 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
  lhapdf = pdlabel ! PDF set
  260000 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
#***********************************************************************
# 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!!!! *
#***********************************************************************
  HERWIGPP = parton_shower
 #***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses of all final state particles and partons. This *
# can be changed in SubProcesses/set_scales.f) *
#***********************************************************************
  False = fixed_ren_scale ! if .true. use fixed ren scale
  False = fixed_fac_scale ! if .true. use fixed fac scale
  235.0 = muR_ref_fixed ! fixed ren reference scale
  235.0 = muF1_ref_fixed ! fixed fact reference scale for pdf1
  235.0 = muF2_ref_fixed ! fixed fact reference scale for pdf2
  -1 = dynamical_scale_choice ! Choose one of the preselected dynamical choices
#***********************************************************************
# Renormalization and factorization scales (advanced and NLO options) *
#***********************************************************************
  False = fixed_QES_scale ! if .true. use fixed Ellis-Sexton scale
  91.188 = QES_ref_fixed ! fixed Ellis-Sexton reference scale
  1.0 = muR_over_ref ! ratio of current muR over reference muR
  1.0 = muF1_over_ref ! ratio of current muF1 over reference muF1
  1.0 = muF2_over_ref ! ratio of current muF2 over reference muF2
  1.0 = QES_over_ref ! ratio of current QES over reference QES
#***********************************************************************
# Reweight flags to get scale dependence and PDF uncertainty *
# For scale dependence: factor rw_scale_up/down around central scale *
# For PDF uncertainty: use LHAPDF with supported set *
#***********************************************************************
  True = reweight_scale ! reweight to get scale dependence
  0.5 = rw_Rscale_down ! lower bound for ren scale variations
  2.0 = rw_Rscale_up ! upper bound for ren scale variations
  0.5 = rw_Fscale_down ! lower bound for fact scale variations
  2.0 = rw_Fscale_up ! upper bound for fact scale variations
  True = reweight_PDF ! reweight to get PDF uncertainty
  260001 = PDF_set_min ! First of the error PDF sets
  260100 = PDF_set_max ! Last of the error PDF sets
#***********************************************************************
# 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) *
#***********************************************************************
  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.4 = jetradius ! The radius parameter for the jet algorithm
  0.1 = 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 gen 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 *
#***********************************************************************
  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)
#***********************************************************************
# Maximal PDG code for quark to be considered a jet when applying cuts.*
# At least all massless quarks of the model should be included here. *
#***********************************************************************
  5 = maxjetflavor
 #***********************************************************************
# For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
#***********************************************************************
  0 = iappl ! aMCfast switch (0=OFF, 1=prepare APPLgrids, 2=fill grids)
#***********************************************************************

and the mcatnlo.log:

***** Now ready for showering 1000 events with HERWIGPP

runMC did not succeed, exit status=1
toan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/MCatNLO/../lib/libLHAPDF.a' are the same file
./MCATNLO_HERWIGPP_EXE: line 2: ./Herwig++: No such file or directory
./MCATNLO_HERWIGPP_EXE: line 3: ./Herwig++: No such file or directory
mv: impossibile fare stat di `/afs/cern.ch/work/m/mmantoan/submit/MG5_aMC_v2_3_2_2_matteo/tthtestshower/MCatNLO/MCATNLO_HERWIGPP.hepmc': No such file or directory

What's wrong here? I seem some strange entry about lhapdf, which is configured and working.
Could you please send me help at your earliest convenience?

Thank you very much
Matteo Mantoani

Changed in mg5amcnlo:
assignee: nobody → Paolo Torrielli (paolo-torrielli)
Revision history for this message
Paolo Torrielli (paolo-torrielli) wrote :

Dear Matteo,
I'm really sorry for the incredible delay in my reply, for some reason I received notice of this
ticket only now... I assume your problem is still there. I have a few questions.

- Did you check if Herwig standalone works? For example, you can do some 'make check'
  or similar in the Herwig++ installation.

- How does your shower_card.dat look like? Are you showering with internal Herwig++
  PDFs or with the ones used for event generation? If you are showering with LHAPDF,
  could you try instead with internal PDFs?

- Could you try and add 'HepMC' and 'HepMCfio' to the environmental variable EXTRALIBS
  in the shower card? And also the path to these libraries in EXTRAPATHS.

- Could you try and see if the problem persists when using version 2.3.3?

Let me know, I'm again very sorry for this enormous delay.
Cheers.
Paolo

Changed in mg5amcnlo:
status: New → Incomplete
Changed in mg5amcnlo:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.