Tutorial not compiling on Debian Jessie

Asked by Florian König

Hello,

I'm currently trying to get the aMCatNLO tutorial to run on a new Debian Jessie system and cannot figure out why it doesn't compile. After following the tutorial on aMCatNLO - always chosing the default - up to the point where one is encouraged to use 'launch' to start the simulation. Everything seems to run smooth until HERWIG6 is to be compiled. The logs:

run_01_tag_1_debug.log:

#************************************************************
launch auto
Traceback (most recent call last):
  File "/local0/fk/programs/MG5_aMC_v2_3_0_beta/madgraph/interface/extended_cmd.py", line 879, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/local0/fk/programs/MG5_aMC_v2_3_0_beta/madgraph/interface/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/local0/fk/programs/MG5_aMC_v2_3_0_beta/madgraph/interface/amcatnlo_run_interface.py", line 1215, in do_launch
    self.run_mcatnlo(evt_file)
  File "/local0/fk/programs/MG5_aMC_v2_3_0_beta/madgraph/interface/amcatnlo_run_interface.py", line 2511, in run_mcatnlo
    raise aMCatNLOError('Compilation failed, check %s for details' % mcatnlo_log)
aMCatNLOError: Compilation failed, check /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/mcatnlo.log for details
Value of current Options:
              text_editor : None
                    pjfry : None
       cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
       group_subprocesses : False
ignore_six_quark_processes : False
    loop_optimized_output : True
    cluster_status_update : (600, 30)
             pythia8_path : None
                hwpp_path : None
                    golem : None
          pythia-pgs_path : None
                  td_path : None
             delphes_path : None
              thepeg_path : None
             cluster_type : condor
      exrootanalysis_path : None
                      OLP : MadLoop
                 applgrid : applgrid-config
               eps_viewer : None
                  fastjet : None
                 run_mode : 2
              web_browser : None
   automatic_html_opening : False
        cluster_temp_path : None
             cluster_size : 100
            cluster_queue : None
             syscalc_path : None
         madanalysis_path : None
                   lhapdf : lhapdf-config
             stdout_level : 20
               hepmc_path : None
                  amcfast : amcfast-config
       cluster_retry_wait : 300
      output_dependencies : external
         fortran_compiler : None
                  nb_core : 4
         loop_color_flows : False
              auto_update : 7
         cluster_nb_retry : 1
                 mg5_path : /local0/fk/programs/MG5_aMC_v2_3_0_beta
                  timeout : 60
                    gauge : unitary
      complex_mass_scheme : False
             cpp_compiler : None
#************************************************************

mcatnlo.log:
#************************************************************
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c ../srcHerwig/herwig6521.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/herwig6521.o
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c ../srcHerwig/madfks_hwdriver.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/madfks_hwdriver.o
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c ../srcHerwig/madfks_hwlhin.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/madfks_hwlhin.o
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/srcCommon/mcatnlo_str.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/mcatnlo_str.o
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/HWAnalyzer/mcatnlo_hwan_stdhep.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/mcatnlo_hwan_stdhep.o
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c ../srcHerwig/jimmy.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/jimmy.o
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/srcCommon/mcatnlo_pdftomlm.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/mcatnlo_pdftomlm.o
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/srcCommon/mcatnlo_libofpdf.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/mcatnlo_libofpdf.o
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/srcCommon/dummies.f -o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/dummies.o
gfortran -w -fno-automatic -ffixed-line-length-132 /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/herwig6521.o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/madfks_hwdriver.o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/madfks_hwlhin.o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/mcatnlo_str.o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/mcatnlo_hwan_stdhep.o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/jimmy.o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/mcatnlo_pdftomlm.o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/mcatnlo_libofpdf.o /local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/dummies.o -L../lib -lstdhep -lFmcfio -o HW_EXE_DEFAULT
../lib/libstdhep.a(luntmp.o): In function `luntmp_':
luntmp.F:(.text+0x82): undefined reference to `pyerrm_'
luntmp.F:(.text+0x5b9): undefined reference to `pyerrm_'
luntmp.F:(.text+0x619): undefined reference to `pycomp_'
luntmp.F:(.text+0xa7c): undefined reference to `pyerrm_'
luntmp.F:(.text+0xebd): undefined reference to `pycomp_'
luntmp.F:(.text+0xfc6): undefined reference to `pyerrm_'
../lib/libstdhep.a(lutran.o): In function `lutran_':
lutran.F:(.text+0x285): undefined reference to `pyerrm_'
lutran.F:(.text+0x2bf): undefined reference to `pyerrm_'
lutran.F:(.text+0x2ea): undefined reference to `pyerrm_'
lutran.F:(.text+0xab5): undefined reference to `pyerrm_'
collect2: error: ld returned 1 exit status
/local0/fk/programs/MG5_aMC_v2_3_0_beta/MY_FIRST_AMCATNLO_RUN/MCatNLO/Makefile_MadFKS:85: recipe for target 'HW_EXE_DEFAULT' failed
make: *** [HW_EXE_DEFAULT] Error 1
#************************************************************

This being the error in both v2.2.3 and v2.3.0.beta, whereas in v2.0.1 I get a different error (but again in HERWIG):

#************************************************************
gfortran -w -fno-automatic -ffixed-line-length-132 -I/local0/fk/programs/MG5_aMC_v2_0_1/MY_FIRST_AMCATNLO_RUN/MCatNLO/include -c ../srcHerwig/herwig6521.f -o /local0/fk/programs/MG5_aMC_v2_0_1/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/herwig6521.o
../srcHerwig/herwig6521.f:156: Error: Can't open included file 'HERWIG65.INC'
/local0/fk/programs/MG5_aMC_v2_0_1/MY_FIRST_AMCATNLO_RUN/MCatNLO/Makefile_MadFKS:41: recipe for target '/local0/fk/programs/MG5_aMC_v2_0_1/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/herwig6521.o' failed
make: *** [/local0/fk/programs/MG5_aMC_v2_0_1/MY_FIRST_AMCATNLO_RUN/MCatNLO/objects/herwig6521.o] Error 1
#************************************************************

Here MY_FIRST_AMCATNLO_RUN/MCatNLO/include/HERWIG65.INC is a link to a non-existing file ../srcHerwig/HERWIG65.INC.

I tried the GNU compilers available in Jessie's stable repositories: gcc, g++ and gfortran in version 4.9.2-10 and version 4.8.4-1. On Debian Wheezy with version 4.7.2-5 it works flawlessly. Unfortunately I have to change to Jessie...
Any help on how to find out what exactly the root of the problem is would be really appreciated.

Thanks,

Florian

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Paolo Torrielli Edit question
Solved by:
Florian König
Solved:
Last query:
Last reply:
Revision history for this message
Paolo Torrielli (paolo-torrielli) said :
#1

Hello Florian,
thanks for your feedback.

The problem you have is caused by stdHEP: probably something
went wrong during its compilation, so I would recommend to
recompile it by hand.
There is an old launchpad ticket that explains how to do it:

https://bugs.launchpad.net/mg5amcnlo/+bug/1334014

Actually the problem explained there is the same as yours, so by
following those suggestions, I hope you'll be able to go through.
Let me know what happens in any case.

As for the other issue with 2.0.1, that version is very old, and
probably that problem has been fixed in one of the subsequent
revisions, hence I would recommend not to use it.

Cheers.
Paolo

Revision history for this message
Florian König (f-koenig) said :
#2

Hi Paolo,

Thank you for your quick reply.

The problem described in the old ticket is indeed the same and your workaround in https://bugs.launchpad.net/mg5amcnlo/+bug/1334014/comments/8 works as well. I must have overlooked that solution while searching launchpad.

Thanks,
Florian