Compilation error

Asked by Sebastian Urrutia-Quiroga on 2019-09-30

Hi all,

I've created the UFO files of my own BSM model using SARAH, but I'm having some issues with them. Using the same files with the same MG5 version (2.6.6), everything works fine in my laptop (MacOS), but in a second computer (Linux) I got the following errors:

Error detected in "generate_events run_01"
write debug file /home/tpeng23/local/MG5/DecayZ/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : A compilation Error occurs when trying to compile /home/tpeng23/local/MG5/DecayZ/Source.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o StringCast.o StringCast.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o ranmar.o ranmar.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o transpole.o transpole.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o invarients.o invarients.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o hfill.o hfill.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o pawgraphs.o pawgraphs.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o ran1.o ran1.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_events.o rw_events.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_routines.o rw_routines.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o kin_functions.o kin_functions.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o open_file.o open_file.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o basecode.o basecode.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o setrun.o setrun.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o run_printout.o run_printout.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o dgauss.o dgauss.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o readgrid.o readgrid.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o getissud.o getissud.f
     cd DHELAS; make
     make[1]: Entering directory `/home/tpeng23/local/MG5/DecayZ/Source/DHELAS'
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o aloha_functions.o aloha_functions.f
     cd PDF; make
     cd MODEL; make
     make[1]: Entering directory `/home/tpeng23/local/MG5/DecayZ/Source/PDF'
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o Ctq6Pdf.o Ctq6Pdf.f
     make[1]: Entering directory `/home/tpeng23/local/MG5/DecayZ/Source/MODEL'
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o couplings.o couplings.f
     cd CERNLIB; make
     make[1]: Entering directory `/home/tpeng23/local/MG5/DecayZ/Source/CERNLIB'
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o abend.o abend.f
     intparam_definition.inc:324.22:
         Included at couplings.f:16:

             MDL_TW = ASIN(SQRT(DCMPLX(1.000000D+00-MDL_MWP__EXP__2
                           1
     Error: 'x' argument of 'asin' intrinsic at (1) must be REAL
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o dlsqp2.o dlsqp2.f
     intparam_definition.inc:324.22:
         Included at couplings.f:38:

             MDL_TW = ASIN(SQRT(DCMPLX(1.000000D+00-MDL_MWP__EXP__2
                           1
     Error: 'x' argument of 'asin' intrinsic at (1) must be REAL
     make[1]: *** [couplings.o] Error 1
     make[1]: Leaving directory `/home/tpeng23/local/MG5/DecayZ/Source/MODEL'
     make: *** [../lib/libmodel.a] Error 2
     make: *** Waiting for unfinished jobs....
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o lenocc.o lenocc.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o mtlprt.o mtlprt.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o mtlset.o mtlset.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o pdfwrap.o pdfwrap.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o radmul.o radmul.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o opendata.o opendata.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o pdf.o pdf.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o PhotonFlux.o PhotonFlux.f
     ar cru ../../lib/libcernlib.a abend.o dlsqp2.o lenocc.o mtlprt.o mtlset.o radmul.o
     ranlib ../../lib/libcernlib.a
     make[1]: Leaving directory `/home/tpeng23/local/MG5/DecayZ/Source/CERNLIB'
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o pdg2pdf.o pdg2pdf.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o NNPDFDriver.o NNPDFDriver.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o FFV3_0.o FFV3_0.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o FFV2_0.o FFV2_0.f
     ar cru ../../lib/libdhelas.a aloha_functions.o FFV3_0.o FFV2_0.o
     ranlib ../../lib/libdhelas.a
     make[1]: Leaving directory `/home/tpeng23/local/MG5/DecayZ/Source/DHELAS'
     ar cru ../../lib/libpdf.a Ctq6Pdf.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDriver.o
     ranlib ../../lib/libpdf.a
     make[1]: Leaving directory `/home/tpeng23/local/MG5/DecayZ/Source/PDF'

 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

Do you know where could be the problem? Thank you in advance!

Best,
Sebastian

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2019-10-01
Last query:
2019-10-01
Last reply:
2019-10-01

Hi,

Which version of gfortran are you using?
Updating to a recent version of gfortran/gcc is likely to solve the issue.

Cheers,

Olivier

On 30 Sep 2019, at 02:08, Sebastian Urrutia-Quiroga <<email address hidden><mailto:<email address hidden>>> wrote:

Error: 'x' argument of 'asin' intrinsic at (1) must be REAL

Hi Olivier,

The second computer I'm using has gcc/GNU Fortran (GCC) 4.4.6, is it too old?

Thanks,
Sebastian

That's quite old indeed.

Cheers,

Olivier

> On 1 Oct 2019, at 03:33, Sebastian Urrutia-Quiroga <email address hidden> wrote:
>
> Question #684454 on MadGraph5_aMC@NLO changed:
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fanswers.launchpad.net%2Fmg5amcnlo%2F%2Bquestion%2F684454&amp;data=02%7C01%7C%7C8bb4cb3b648646ab8dad08d7460f6a33%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637054904972997992&amp;sdata=MIoL%2BtwBSoBp5ENZIHNsn3yu3UIb3JAxbYb8bIF27NE%3D&amp;reserved=0
>
> Status: Answered => Open
>
> Sebastian Urrutia-Quiroga is still having a problem:
> Hi Olivier,
>
> The second computer I'm using has gcc/GNU Fortran (GCC) 4.4.6, is it too
> old?
>
> Thanks,
> Sebastian
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Thanks Olivier Mattelaer, that solved my question.