" gfortran: error: libMadLoop.a: No such file or directory"

Asked by Radha Mastandrea

I am trying to calculate the NLO cross section at fixed order for "generate p p > b b~ a a [QCD]" using MG v 3.5.1. However, when I launch the process, the code fails with the error

The compilation fails with the following output message:
    for dir in `ls -d V*`; do cd $dir; make; cd ../; done
    make[1]: Entering directory '/global/ml4hep/spss/rrmastandrea/hh_project/cross_sections/bkg0_ml3/SubProcesses/P0_sxs_bbxaa/V0_sxs_bbxaa'
    rm -f ../libMadLoop.a
    gfortran -O -fno-automatic -ffixed-line-length-132 -c loop_num.f -I /global/home/users/rrmastandrea/MG5_aMC_v3_5_1/HEPTools/include -I /global/home/users/rrmastandrea/MG5_aMC_v3_5_1/HEPTools/include
    cts_mprec.h:1:9:

           USE MPMODULE
             1
    Fatal Error: Cannot read module file ‘mpmodule.mod’ opened at (1), because it was created by a different version of GNU Fortran

These leads to a final error message "FileNotFoundError : [Errno 2] No such file or directory: '/global/ml4hep/spss/rrmastandrea/hh_project/cross_sections/bkg0_ml3/SubProcesses/P0_gg_bbxaa/check_poles.log'"

I'm a little confused by this, because I've been running everything on one machine. The gfortran version is 8.5.0

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Radha Mastandrea
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

What the code complains about is that you are currently two different version of gfortran to compile two part of the code.

Maybe this is due to a library compiled in this directory: /global/home/users/rrmastandrea/MG5_aMC_v3_5_1/HEPTools/include
But this is difficult to know.
The best is likely to fully remove /global/home/users/rrmastandrea/MG5_aMC_v3_5_1/HEPTools/
and then re-install everything (and fully re-generate the directory of interest).

Cheers,

Olivier

Revision history for this message
Radha Mastandrea (rrm50) said :
#2

Reinstalling everything worked!