How to manually set compilers?

Asked by Ciara Byers on 2020-12-03

Hi,

I've been having issues for several weeks trying to get processes to run in my madgraph installation (I have tried uninstalling/reinstalling and multiple versions). I asked about this previously and it was suggested that there was something wrong with my compilers, I have not been able to find any problems and the support staff for my cluster have not either. When I try to run a simple process with 10 events in the SM I get this:

forrtl: severe (59): list-directed I/O syntax error, unit 25, file /scratch/cb27g11/MG5_aMC_v2_7_2/smprocesstest/SubProcesses/P1_gg_zbbx_z_bbx/G7/ftn25
Image PC Routine Line Source
madevent 0000000000475C06 Unknown Unknown Unknown
madevent 00000000004A03E7 Unknown Unknown Unknown
madevent 00000000004581FC Unknown Unknown Unknown
madevent 000000000044B46E Unknown Unknown Unknown
madevent 000000000044012A Unknown Unknown Unknown
madevent 0000000000402F26 Unknown Unknown Unknown
madevent 000000000040273E Unknown Unknown Unknown
libc.so.6 00007FE5DA9A4D1D Unknown Unknown Unknown
madevent 0000000000402619 Unknown Unknown Unknown
forrtl: severe (59): list-directed I/O syntax error, unit 25, file /scratch/cb27g11/MG5_aMC_v2_7_2/smprocesstest/SubProcesses/P1_gg_zbbx_z_bbx/G1/ftn25
Image PC Routine Line Source
madevent 0000000000475C06 Unknown Unknown Unknown
madevent 00000000004A03E7 Unknown Unknown Unknown
madevent 00000000004581FC Unknown Unknown Unknown
madevent 000000000044B46E Unknown Unknown Unknown
madevent 000000000044012A Unknown Unknown Unknown
madevent 0000000000402F26 Unknown Unknown Unknown
madevent 000000000040273E Unknown Unknown Unknown
libc.so.6 00007FD0ED49ED1D Unknown Unknown Unknown
madevent 0000000000402619 Unknown Unknown Unknown
rm: cannot remove `results.dat': No such file or directory
ERROR DETECTED
forrtl: severe (59): list-directed I/O syntax error, unit 25, file /scratch/cb27g11/MG5_aMC_v2_7_2/smprocesstest/SubProcesses/P1_gg_zbbx_z_bbx/G3/ftn25
Image PC Routine Line Source
madevent 0000000000475C06 Unknown Unknown Unknown
madevent 00000000004A03E7 Unknown Unknown Unknown
madevent 00000000004581FC Unknown Unknown Unknown
madevent 000000000044B46E Unknown Unknown Unknown
madevent 000000000044012A Unknown Unknown Unknown
madevent 0000000000402F26 Unknown Unknown Unknown
madevent 000000000040273E Unknown Unknown Unknown
libc.so.6 00007FDD61EB9D1D Unknown Unknown Unknown
madevent 0000000000402619 Unknown Unknown Unknown
rm: cannot remove `results.dat': No such file or directory
ERROR DETECTED
rm: cannot remove `results.dat': No such file or directory
ERROR DETECTED
rm: cannot remove `results.dat': No such file or directory
ERROR DETECTED
INFO: Idle: 1, Running: 3, Completed: 3 [ current time: 16h20 ]
1
1
1
rm: cannot remove `results.dat': No such file or directory
ERROR DETECTED
rm: cannot remove `results.dat': No such file or directory
ERROR DETECTED
rm: cannot remove `results.dat': No such file or directory
ERROR DETECTED
INFO: Idle: 0, Running: 0, Completed: 7 [ 0.22s ]
INFO: Combining runs
Error when reading /scratch/cb27g11/MG5_aMC_v2_7_2/smprocesstest/SubProcesses/P1_gg_zbbx_z_bbx/G1/results.dat
Command "generate_events run_01" interrupted with error:
ValueError : could not convert string to float:
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/scratch/cb27g11/MG5_aMC_v2_7_2/smprocesstest/run_01_tag_1_debug.log'.
Please attach this file to your report.
INFO:
quit
INFO:

As it has been suggested that the problem might be compiler related I have checked that I am running compatible programs. I am running on a cluster so I am specifically I load conda, deactivate source to clear things, activate a conda env whose only feature is that it loads python 2.7, I unload gcc generally and then specifically load gcc6.1.0 as this is the version my colleague on the same madgraph version (2.7.2) but this has not fixed my problems. I came across the following in run_01_tag_1_debug.log :

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : None (user set)
                    td_path : None (user set)
               delphes_path : None (user set)
                thepeg_path : None (user set)
               cluster_type : condor
          madanalysis5_path : /scratch/cb27g11/MG5_aMC_v2_7_2/HEPTools/madanalysis5/madanalysis5 (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : /scratch/cb27g11/MG5_aMC_v2_7_2/HEPTools/lhapdf6/bin/lhapdf-config (user set)
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : None (user set)
                    timeout : 60
               cpp_compiler : None

Since there is no cpp_compiler set and no fortran compiler set I'm wondering if I should directly add the paths for these. I'm not sure where I can edit this though, could you direct me to the correct file/s and let me know if there's any other suggestions you might have? I know it is meant to automatically search for and find compilers so perhaps this will have no effect but it seems worth trying. Are there other modules you would recommend I load into my environment for Madgraph to run correctly?

Best wishes,
Ciara

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2020-12-03
Last reply:
2020-12-03

Sure you can force your fortran compiler by editing
input/mg5_configuration.txt

But those can be over-written by the envirnoment variable $FC
which is therefore a better way to ensure that your compiler is indeed gfortran.

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask Ciara Byers for more information if necessary.

To post a message you must log in.