Cuttools not compiling in NLO output process

Asked by daniela romero

Hello,

I am running a simple test for a QCD process,

generate p p > w+ [QCD]
output qcdtest

Madgraph then asks to install tools to perform the reduction of loop Feynman diagrams

When it tries to install cuttools, madgraph gives this error:

INFO: Compiling CutTools. This has to be done only once and can take a couple of minutes.
Error detected in "output qcdtest"
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : A compilation Error occurs when trying to compile /afs/cern.ch/user/d/dromero/VBFHHproj/MG5_aMC_v2_8_1/vendor/CutTools.
 The compilation fails with the following output message:
     cp -p ./src/cts/cts_qpr.in ./src/cts/cts_mpr.h
     cp -p ./src/cts/cts_qpc.in ./src/cts/cts_mpc.h
     cp -p ./src/cts/cts_qprec.in ./src/cts/cts_mprec.h
     cp -p ./src/cts/cts_qpinit.in ./src/cts/cts_mpinit.h
     mkdir -p includects
     cp -p ./src/avh/* includects/
     cp -p ./src/cts/* includects/
     cp -p ./src/mpfun90/* includects/
     cp -p ./src/qcdloop/* includects/
     cp -p ./src/makefile includects/
     cd includects && make EXE="" FC="gfortran" FFLAGS="-fPIC -fno-automatic -O2 -funroll-all-loops" default
     make[1]: Entering directory `/afs/cern.ch/user/d/dromero/VBFHHproj/MG5_aMC_v2_8_1/vendor/CutTools/includects'
     gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpmod90.f90
     mpmod90.f90:43.4:

     use mpfunmod
         1
     Fatal Error: File 'mpfunmod.mod' opened at (1) is not a GNU Fortran module file
     make[1]: *** [mpmod90.o] Error 1
     make[1]: Leaving directory `/afs/cern.ch/user/d/dromero/VBFHHproj/MG5_aMC_v2_8_1/vendor/CutTools/includects'
     make: *** [default] Error 2

 Please try to fix this compilations issue and retry.
 Help might be found at https://answers.launchpad.net/mg5amcnlo.
 If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo

Question information

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

Hi,

Which version of gcc are you using for the compilation?

This thread is very similar:
https://answers.launchpad.net/mg5amcnlo/+question/250594
and seems to indicate issue with the installation of gcc (not fully consistent setup)
So please double check that.

Otherwise, in that link you also have instruction to recompile the code which should help.

Cheers,

Olivier

Revision history for this message
daniela romero (danielandrea) said :
#2

Thank you Olivier,

I am using:
gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)

g++ --version
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)

gfortran --version
GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)

Also from the thread, I do not have the exact mpmodule.mod file, I have

MG5_aMC_v2_8_1/vendor/CutTools/includects/mpfuna.mod
mpfunc.mod
mpfune.mod
mpfung.mod
mpfuni.mod
mpfunmod.mod
mpfunb.mod
mpfund.mod
mpfunf.mod
mpfunh.mod
mpfunj.mod

Could this be the problem?

Cheers,
Daniela

Can you help with this problem?

Provide an answer of your own, or ask daniela romero for more information if necessary.

To post a message you must log in.