aMC@NLO compilation error DHELAS

Asked by Matthieu Marinangeli

Dear Experts,

 I have another problem using aMC@NLO. Does someone know how to solve this ?

launch auto --parton --name run
Traceback (most recent call last):
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 908, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 897, in onecmd_orig
    return func(arg, **opt)
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/amcatnlo_run_interface.py", line 1209, in do_launch
    self.compile(mode, options)
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/amcatnlo_run_interface.py", line 4054, in compile
    misc.compile(cwd = sourcedir)
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/various/misc.py", line 413, in compile
    raise MadGraph5Error, error_text
MadGraph5Error: A compilation Error occurs when trying to compile /share/lphe/home/marinang/pythia8226/examples/amcatnlorun/Source.
The compilation fails with the following output message:
    rm -f ../lib/libdhelas.a
    cd DHELAS; make
    make[1]: Entering directory `/share/lphe/home/marinang/pythia8226/examples/amcatnlorun/Source/DHELAS'
    /home/marinang/gcc-5.3.0/bin/gfortran -O -fno-automatic -ffixed-line-length-132 -c -o aloha_functions.o aloha_functions.f
    /share/lphe/home/marinang/gcc-5.3.0/bin/../libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/f951: error while loading shared libraries: libisl.so.13: cannot open shared object file: No such file or directory
    make[1]: *** [aloha_functions.o] Error 1
    make[1]: Leaving directory `/share/lphe/home/marinang/pythia8226/examples/amcatnlorun/Source/DHELAS'
    make: *** [../lib/libdhelas.a] Error 2

Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/madgraph5.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/madgraph5
Value of current Options:
              text_editor : None
      notification_center : True
                    pjfry : None
       cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
       group_subprocesses : Auto
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 : slurm
      exrootanalysis_path : None
                      OLP : MadLoop
                 applgrid : applgrid-config
               eps_viewer : None
                  fastjet : None
                 run_mode : 1
              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
            f2py_compiler : None
               hepmc_path : None
                  amcfast : amcfast-config
       cluster_retry_wait : 300
      output_dependencies : external
         fortran_compiler : /home/marinang/gcc-5.3.0/bin/gfortran
                  nb_core : 8
         loop_color_flows : False
              auto_update : 0
         cluster_nb_retry : 1
                 mg5_path : None
                  timeout : 60
                    gauge : unitary
      complex_mass_scheme : False
             cpp_compiler : None
   max_npoint_for_channel : 0

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Valentin Hirschi Edit question
Last query:
Last reply:
Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#1

Looking a bit on stackoverflow for similar issue, it seems that the
inability to find libisl.so is an issue with your compiler installation
that has nothing to do with MG5_aMC:

https://stackoverflow.com/questions/33734143/gcc-unable-to-find-shared-library-libisl-so

The fact that the path of your compiler is
'/home/marinang/gcc-5.3.0/bin/gfortran'
indeed seems to point to the fact that you are using a non-standard local
installation of gfortran, which can lead to issues like this one when not
done carefully.
So please, first make sure that your gfortran compiler is fully functional
first.

On Tue, Jul 18, 2017 at 6:28 PM, Olivier Mattelaer <
<email address hidden>> wrote:

> Question #649293 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/649293
>
> Assignee: None => Valentin Hirschi
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.
>

--
Valentin

Revision history for this message
Matthieu Marinangeli (marinang) said :
#2

Yes indeed I reinstalled properly gcc/gfortran etc ... and it works now at least it works until at some point.

(I don't know if it's relevant to post that here) I'm trying to run the example script main34.py of the Pythia8 package which use madgraph 2.3.3. The process generated is

generate p p > mu+ mu- [QCD]

as I said everything goes fine until

####

WARNING: You are running with FxFx merging enabled. To be able to merge
    samples of various multiplicities without double counting, you
    have to remove some events after showering 'by hand'. Please
    read http://amcatnlo.cern.ch/FxFx_merging.htm for more details.
INFO: Starting run
INFO: Compiling the code
For consistency in the FxFx merging, 'jetradius' has been set to 1.0
INFO: Using built-in libraries for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling directories...
INFO: Compiling on 8 cores
INFO: Compiling P0_uux_mupmum...
INFO: Compiling P0_ddx_mupmum...
INFO: Compiling P0_uxu_mupmum...
INFO: Compiling P0_dxd_mupmum...
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
INFO: P0_uux_mupmum done.
INFO: P0_uxu_mupmum done.
INFO: P0_dxd_mupmum done.
INFO: P0_ddx_mupmum done.
INFO: Checking test output:
INFO: P0_uux_mupmum
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
WARNING: 0 points have been tried
INFO: P0_ddx_mupmum
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
WARNING: 0 points have been tried
INFO: P0_uxu_mupmum
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
WARNING: 0 points have been tried
INFO: P0_dxd_mupmum
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
WARNING: 0 points have been tried
INFO: Starting run
INFO: Using 8 cores
INFO: Cleaning previous results
INFO: Generating events without running the shower.
WARNING: No integration channels found for contribution P0_uux_mupmum
WARNING: No integration channels found for contribution P0_ddx_mupmum
WARNING: No integration channels found for contribution P0_uxu_mupmum
WARNING: No integration channels found for contribution P0_dxd_mupmum
INFO: Setting up grids
INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 10h27 ]
INFO: Computing upper envelope
INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 10h27 ]
Command "launch auto --parton --name run" interrupted with error:
ZeroDivisionError : float division by zero
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/share/lphe/home/marinang/pythia8226/examples/amcatnlorun/run_tag_1_debug.log'.
Please attach this file to your report.
INFO:

##### content of run_tag_1_debug_.log' #####

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.3.3 2015-10-25 *
#* *
#* 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 *
#* *
#************************************************************
launch auto --parton --name run
Traceback (most recent call last):
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 908, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 897, in onecmd_orig
    return func(arg, **opt)
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/amcatnlo_run_interface.py", line 1210, in do_launch
    evt_file = self.run(mode, options)
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/amcatnlo_run_interface.py", line 1433, in run
    self.print_summary(options,2,mode)
  File "/share/lphe/home/marinang/MG5_aMC_v2_3_3/madgraph/interface/amcatnlo_run_interface.py", line 2228, in print_summary
    (2. * self.cross_sect_dict['xseca'])
ZeroDivisionError: float division by zero

####

I guess the last error is linked to the "0 points have been tried" I guess ?

Following that I have another error,

####

No module named madgraph
INFO: ************************************************************
* *
* W E L C O M E to M A D G R A P H 5 *
* a M C @ N L O *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 5.2.3.3 20xx-xx-xx *
* *
* The MadGraph5_aMC@NLO Development Team - Find us at *
* http://amcatnlo.cern.ch *
* *
* Type 'help' for in-line help. *
* *
************************************************************
INFO: load configuration from /share/lphe/home/marinang/pythia8226/examples/amcatnlorun/Cards/amcatnlo_configuration.txt
INFO: load configuration from /share/lphe/home/marinang/pythia8226/examples/amcatnlorun/Cards/amcatnlo_configuration.txt
Using default text editor "vi". Set another one in ./input/mg5_configuration.txt
Using default eps viewer "gv". Set another one in ./input/mg5_configuration.txt
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
Traceback (most recent call last):
  File "./bin/generate_events", line 104, in <module>
    launch = run.aMCatNLOCmd(me_dir=root_path)
  File "/share/lphe/home/marinang/pythia8226/examples/amcatnlorun/bin/internal/amcatnlo_run_interface.py", line 955, in __init__
    check_compiler(self.options, block=True)
  File "/share/lphe/home/marinang/pythia8226/examples/amcatnlorun/bin/internal/amcatnlo_run_interface.py", line 169, in check_compiler
    raise aMCatNLOError(msg % (compiler + ' ' + curr_version))
amcatnlo_run_interface.aMCatNLOError: In order to be able to run at NLO MadGraph5_aMC@NLO, you need to have gfortran 4.6 or later installed.
gfortran 4.4.7 2012031 has been detected
Note that You can still run all MadEvent run without any problem!
mv: cannot stat `Events/run/events.lhe.gz': No such file or directory
 PYTHIA Abort from Pythia::init: Les Houches initialization failed
 PYTHIA Abort from Pythia::next: not properly initialized so cannot generate events

####

At this point it looks like the gfrortran compiler called in amcatnlo_run_interface.py is not the one I specify in ./input/mg5_configuration.txt.

Hope I provided enough informations to solve this problem.

Matt

Revision history for this message
Matthieu Marinangeli (marinang) said :
#3

Even with the "tutorial aMCatNLO" I get this error.

INFO: Compiling directories...
INFO: Compiling on 8 cores
INFO: Compiling P0_udx_epve...
INFO: Compiling P0_dxu_epve...
INFO: Compiling P2_uux_epem...
INFO: Compiling P2_ddx_epem...
INFO: Compiling P2_uxu_epem...
INFO: Compiling P2_dxd_epem...
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_ME: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./test_MC: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./check_poles: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
./gensym: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
1500459308047 addons.update-checker WARN Update manifest for <email address hidden> did not contain an updates property
1500459308061 addons.update-checker WARN Update manifest for <email address hidden> did not contain an updates property
1500459308075 addons.update-checker WARN Update manifest for <email address hidden> did not contain an updates property
1500459308087 addons.update-checker WARN Update manifest for {972ce4c6-7e08-4474-a285-3208198ce6fd} did not contain an updates property
1500459308098 addons.update-checker WARN Update manifest for <email address hidden> did not contain an updates property
INFO: P2_dxd_epem done.
INFO: P2_uux_epem done.
INFO: P2_uxu_epem done.
INFO: P0_dxu_epve done.
INFO: P0_udx_epve done.
INFO: P2_ddx_epem done.
INFO: Checking test output:
INFO: P0_udx_epve
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
WARNING: 0 points have been tried

Matt

Can you help with this problem?

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

To post a message you must log in.