A query regarding ww generation at one loop in Madgraph

Asked by Disha Bhatia

Hi,

I am trying to generate ww process in SM at one loop using the command:
generate p p > w+ w- [QCD]. However I am facing error to generate the events.

Using madgraph version v2_6_7: I get the following error
make: *** [HW_EXE_DEFAULT] Error 1
mv: cannot stat ‘HW_EXE_DEFAULT’: No such file or directory
chmod: cannot access ‘/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/HW_EXE_DEFAULT’: No such file or directory
mv: cannot stat ‘HW_EXE_DEFAULT’: No such file or directory

Error detected in "launch "
write debug file /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/run_02_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
aMCatNLOError : Compilation failed, check /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/mcatnlo.log for details
quit
INFO:

Similar error occurred when I was using pythia 8 instead of Herwig.

Also when I switched to v3_4_2 version, I could not even generate the output.
I got following error:
ValueError : max() arg is an empty sequence
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

Thanks,
Disha

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Disha Bhatia
Solved:
Last query:
Last reply:
Revision history for this message
Disha Bhatia (dishabhatia1989) said :
#1

Log file for v3_4_2 version

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.4.2 2023-01-20 *
#* *
#* 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~
define l+ = e+ mu+ ta+
define l- = e- mu- ta-
import model loop_sm
generate p p > w+ w- [QCD]
output qqbar_ww_QCD
Traceback (most recent call last):
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/interface/extended_cmd.py", line 1544, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/interface/master_interface.py", line 299, in do_output
    self.cmd.do_output(self, line, *args, **opts)
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/interface/amcatnlo_interface.py", line 746, in do_output
    self.export(nojpeg, main_file_name, group_processes=group_processes)
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/interface/master_interface.py", line 313, in export
    return self.cmd.export(self, *args, **opts)
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/interface/amcatnlo_interface.py", line 868, in export
    self._curr_exporter.generate_directories_fks(me,
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/iolibs/export_fks.py", line 498, in generate_directories_fks
    calls += self.generate_virt_directory( \
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/iolibs/export_fks.py", line 4239, in generate_virt_directory
    calls=self.write_loop_matrix_element_v4(None,matrix_element,fortran_model)
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/loop/loop_exporters.py", line 2173, in write_loop_matrix_element_v4
    self.set_optimized_output_specific_replace_dict_entries(matrix_element)
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/loop/loop_exporters.py", line 2254, in set_optimized_output_specific_replace_dict_entries
    max_loop_vertex_rank=matrix_element.get_max_loop_vertex_rank()
  File "/data/01/disha/MG5_aMC_v3_4_2/madgraph/loop/loop_helas_objects.py", line 2018, in get_max_loop_vertex_rank
    return max([lwf.get_analytic_info('interaction_rank') for lwf in \
ValueError: max() arg is an empty sequence
                          MadGraph5_aMC@NLO Options
                          ----------------
                auto_update : 7
        complex_mass_scheme : False
    default_unset_couplings : 99
                      gauge : unitary
         group_subprocesses : Auto
  ignore_six_quark_processes : False
  include_lepton_initiated_processes : False
           loop_color_flows : False
      loop_optimized_output : True
  low_mem_multicore_nlo_generation : False
     max_npoint_for_channel : 0
          max_t_for_channel : 99
        nlo_mixed_expansion : True
               stdout_level : 20 (user set)
         zerowidth_tchannel : True

                         MadEvent Options
                          ----------------
     automatic_html_opening : True
                    nb_core : None
        notification_center : True
                   run_mode : 2

                      Configuration Options
                      ---------------------
                        OLP : MadLoop
   acknowledged_v3.1_syntax : False
         auto_convert_model : False
         cluster_local_path : None
           cluster_nb_retry : 1
              cluster_queue : None (user set)
         cluster_retry_wait : 300
               cluster_size : 100
      cluster_status_update : (600, 30)
          cluster_temp_path : None
               cluster_type : condor
                    collier : ./HEPTools/lib
                contur_path : ./HEPTools/contur
               cpp_compiler : None
             crash_on_error : False
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : None
          f2py_compiler_py2 : None
          f2py_compiler_py3 : None
                    fastjet : fastjet-config
           fortran_compiler : None
                      golem : None (user set)
                 hepmc_path : /data/01/disha/MG5_aMC_v3_4_2/HEPTools/hepmc (user set)
                  hwpp_path : None (user set)
                     lhapdf : lhapdf-config
                 lhapdf_py2 : None
                 lhapdf_py3 : /data/01/disha/MG5_aMC_v3_4_2/HEPTools/lhapdf6_py3/bin/lhapdf-config (user set)
          madanalysis5_path : None (user set)
           madanalysis_path : ./MadAnalysis
  mg5amc_py8_interface_path : /data/01/disha/MG5_aMC_v3_4_2/HEPTools/MG5aMC_PY8_interface (user set)
                      ninja : /data/01/disha/MG5_aMC_v3_4_2/HEPTools/lib (user set)
        output_dependencies : external
                   pineappl : pineappl
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : /data/01/disha/MG5_aMC_v3_4_2/HEPTools/pythia8 (user set)
                 rivet_path : ./HEPTools/rivet
                    samurai : None
               syscalc_path : ./SysCalc
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None
                  yoda_path : ./HEPTools/yoda

Revision history for this message
Disha Bhatia (dishabhatia1989) said :
#2

Log file for v2_6_7 version:

../srcHerwig/jimmy.f:2308.18:

      CALL JMUCPY(8H17/12/80,IDATE,2)
                  1
Warning: Rank mismatch in argument 'a' at (1) (rank-1 and scalar)
../srcHerwig/jimmy.f:3578.51:

     1(NDIM,UMINUS,UPLUS,FLOBD,FUPBD,MAXDPH,ENTREE,TREE,PRTN
                                                   1
Warning: Actual argument contains too few elements for dummy argument 'tree' (4/4000) at (1)
../srcHerwig/jimmy.f:3629.32:

      CALL BOUNDS(TARGET,PARENT,TREE,PRTNS,UMINUS,UPLUS)
                                1
Warning: Actual argument contains too few elements for dummy argument 'tree' (4/4000) at (1)
../srcHerwig/jimmy.f:3634.51:

     1(NDIM,UMINUS,UPLUS,FLOBD,FUPBD,MAXDPH,NEWENT,TREE,PRTN
                                                   1
Warning: Actual argument contains too few elements for dummy argument 'tree' (4/4000) at (1)
../srcHerwig/jimmy.f:3645.62:

      CALL TREAUD(PARENT,OLDSTR,NEWBUC,MAXBUC-ENTBUC+NEWBUC-1,TREE)
                                                              1
Warning: Actual argument contains too few elements for dummy argument 'tree' (4/4000) at (1)
../srcHerwig/jimmy.f:3651.48:

      CALL TREAUD(PARENT,OLDSTR,NEWBUC,MAXBUC-1,TREE)
                                                1
Warning: Actual argument contains too few elements for dummy argument 'tree' (4/4000) at (1)
../srcHerwig/jimmy.f:3653.48:

      CALL NODAUD(PARENT,TARGET,ENTREE+1,NEWEND,TREE) gfortran -O -fno-automatic -ffixed-line-length-132 -std=legacy -I/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/include -c /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_pdftomlm.f -o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_pdftomlm.o
gfortran -O -fno-automatic -ffixed-line-length-132 -std=legacy -I/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/include -c /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f -o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_libofpdf.o
gfortran -O -fno-automatic -ffixed-line-length-132 -std=legacy -I/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/include -c /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/dummies.f -o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/dummies.o
gfortran -lstdc++ /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/herwig6521.o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/madfks_hwdriver.o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/madfks_hwlhin.o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_str.o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_hwan_stdhep.o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/jimmy.o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_pdftomlm.o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_libofpdf.o /data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/dummies.o -L../lib -L/data/01/disha/MG5_aMC_v2_6_7/HEPTools/pythia8//lib -Ll,-rpath,/data/01/disha/MG5_aMC_v2_6_7/HEPTools/pythia8//lib -L/data/01/disha/MG5_aMC_v2_6_7/HEPTools/zlib/lib -Ll,-rpath,/data/01/disha/MG5_aMC_v2_6_7/HEPTools/zlib/lib -lpythia8 -lz -ldl -lstdc++ -o HW_EXE_DEFAULT

***** Now ready for showering 10000 events with HERWIG6

                         1
Warning: Rank mismatch in argument 'seed' at (1) (rank-1 and scalar)
../srcHerwig/jimmy.f:5013.22:

      DICE = JMRNDM(2,DUM)
                      1
Warning: Rank mismatch in argument 'seed' at (1) (rank-1 and scalar)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:11397.41:

      call jeppe3001E1(j,nx,nqc,xxl,qqlc,fc,ccc)
                                         1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1715/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:11405.41:

      call jeppe3001E1(j,nx,nqb,xxl,qqlb,fb,ccb)
                                         1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1274/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:11707.39:

      call jeppe2002_1(nx,nqc,xxl,qqlc,fc,ccc)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1715/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:11715.39:

      call jeppe2002_1(nx,nqb,xxl,qqlb,fb,ccb)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1274/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:11815.39:

      call jeppe2002_1(nx,nqc,xxl,qqlc,fc,ccc)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1715/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:11823.39:

      call jeppe2002_1(nx,nqb,xxl,qqlb,fb,ccb)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1274/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:12446.39:

      call jeppe2001_1(nx,nqc,xxl,qqlc,fc,ccc)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1715/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:12454.39:

      call jeppe2001_1(nx,nqb,xxl,qqlb,fb,ccb)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1274/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:12554.39:

      call jeppe2001_1(nx,nqc,xxl,qqlc,fc,ccc)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1715/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:12562.39:

      call jeppe2001_1(nx,nqb,xxl,qqlb,fb,ccb)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1274/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:12662.39:

      call jeppe2001_1(nx,nqc,xxl,qqlc,fc,ccc)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1715/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:12670.39:

      call jeppe2001_1(nx,nqb,xxl,qqlb,fb,ccb)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1274/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:12770.39:

      call jeppe2001_1(nx,nqc,xxl,qqlc,fc,ccc)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1715/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/srcCommon/mcatnlo_libofpdf.f:12778.39:

      call jeppe2001_1(nx,nqb,xxl,qqlb,fb,ccb)
                                       1
Warning: Actual argument contains too few elements for dummy argument 'ff' (1274/1813) at (1)
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_hwan_stdhep.o: In function `hwabeg_':
mcatnlo_hwan_stdhep.f:(.text+0x17f): undefined reference to `stdxwinit_'
mcatnlo_hwan_stdhep.f:(.text+0x231): undefined reference to `stdflhwxsec_'
mcatnlo_hwan_stdhep.f:(.text+0x24a): undefined reference to `stdxwrt_'
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_hwan_stdhep.o: In function `hwaend_':
mcatnlo_hwan_stdhep.f:(.text+0x352): undefined reference to `stdflhwxsec_'
mcatnlo_hwan_stdhep.f:(.text+0x36b): undefined reference to `stdxwrt_'
mcatnlo_hwan_stdhep.f:(.text+0x3d6): undefined reference to `stdxend_'
/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/objects/mcatnlo_hwan_stdhep.o: In function `hwanal_':
mcatnlo_hwan_stdhep.f:(.text+0x3f4): undefined reference to `hwghep_'
mcatnlo_hwan_stdhep.f:(.text+0x40d): undefined reference to `stdxwrt_'
collect2: error: ld returned 1 exit status
make: *** [HW_EXE_DEFAULT] Error 1
mv: cannot stat ‘HW_EXE_DEFAULT’: No such file or directory
chmod: cannot access ‘/data/01/disha/MG5_aMC_v2_6_7/bin/qqbar_ww_QCD/MCatNLO/HW_EXE_DEFAULT’: No such file or directory
mv: cannot stat ‘HW_EXE_DEFAULT’: No such file or directory

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

Hi,

2.6.7 is outdated and is not compatible with modern compiler.
Additionally, herwig6 is also out-of-support so this is in a status, if it works great otherwise we are not going to fix the issue (but if trivial).

Concerning your second report:
If I run
import model loop_sm
generate p p > w+ w- [QCD]
output qqbar_ww_QCD

I do not reproduce your issue neither with 2.9.X, or 3.4.2 or 3.5.1
So did you change anything?

Cheers,

Olivier

Revision history for this message
Disha Bhatia (dishabhatia1989) said :
#4

Thanks for the reply.

No I did not change anything, however I reinstalled everything again
and now I am able to generate ww events.

Thank you very much,
Disha