LHAPDF v6.2.1 ERROR IN MG5 v2.6.5

Asked by SUBHASISH BEHERA on 2019-04-26

Hi Olivier,

I am having an issue during my MG5 session. I was trying to generate : p p > t t~ at 100 TeV C.M. and end up with the following issue during my run :

INFO: NNPDF30_nlo_as_0118 successfully downloaded and stored in /home/subhasish/RESEARCH/PACKAGES_USED/LHAPDF_621_INSTALL/share/LHAPDF
compile Source Directory
Error detected in "generate_events run_01"
write debug file /home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/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/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/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_lhapdf.o alfas_functions_lhapdf.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
     cd PDF; make
     cd MODEL; make
     cd CERNLIB; make
     cd BIAS/dummy; make
     make[1]: Entering directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/Source/MODEL'
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     make[1]: Entering directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/Source/DHELAS'
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     make[1]: Entering directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/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 aloha_functions.o aloha_functions.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o couplings.o couplings.f
     make[1]: Entering directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/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 pdfwrap_lhapdf.o pdfwrap_lhapdf.f
     make[1]: Entering directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/Source/BIAS/dummy'
     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
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o dummy.o dummy.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o dlsqp2.o dlsqp2.f
     ar cru ../../../lib/libbias.a dummy.o
     ranlib ../../../lib/libbias.a
     make[1]: Leaving directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/Source/BIAS/dummy'
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o lha_read.o lha_read.f
     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 DiscreteSampler.o DiscreteSampler.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o mtlprt.o mtlprt.f
     g++ -O -O3 -I/home/subhasish/RESEARCH/PACKAGES_USED/LHAPDF_621_INSTALL/include -c -o pdf_lhapdf6.o pdf_lhapdf6.cc
     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 printout.o printout.f
     pdf_lhapdf6.cc:14:32: fatal error: boost/shared_ptr.hpp: No such file or directory
      #include <boost/shared_ptr.hpp>
                                     ^
     compilation terminated.
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o radmul.o radmul.f
     ar cru ../lib/libgeneric.a alfas_functions_lhapdf.o transpole.o invarients.o hfill.o pawgraphs.o ran1.o rw_events.o rw_routines.o kin_functions.o open_file.o basecode.o setrun.o run_printout.o dgauss.o readgrid.o getissud.o
     ranlib ../lib/libgeneric.a
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o model_functions.o model_functions.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/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/Source/CERNLIB'
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o couplings1.o couplings1.f
     make[1]: *** [pdf_lhapdf6.o] Error 1
     make[1]: Leaving directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/Source/PDF'
     make: *** [../lib/libpdf.a] Error 2
     make: *** Waiting for unfinished jobs....
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o couplings2.o couplings2.f
     ar cru ../../lib/libmodel.a couplings.o lha_read.o printout.o rw_para.o model_functions.o couplings1.o couplings2.o
     ranlib ../../lib/libmodel.a
     make[1]: Leaving directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/Source/MODEL'
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o VVV1P0_1.o VVV1P0_1.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o FFV1_2.o FFV1_2.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o FFV1P0_3.o FFV1P0_3.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o FFV1_1.o FFV1_1.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o FFV1_0.o FFV1_0.f
     ar cru ../../lib/libdhelas.a aloha_functions.o VVV1P0_1.o FFV1_2.o FFV1P0_3.o FFV1_1.o FFV1_0.o
     ranlib ../../lib/libdhelas.a
     make[1]: Leaving directory `/home/subhasish/RESEARCH/EVENT_GENERATORS/MADGRAPH5/MG5_aMC_v2_6_5/PROC_sm_0/Source/DHELAS'

 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
quit
INFO:
MG5_aMC>

Thanks in advance.

Thanks,
Subhasish

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
SUBHASISH BEHERA
Solved:
2019-04-26
Last query:
2019-04-26
Last reply:
2019-04-26

Did you see any comment to the version of lhapdf being linked to MG5aMC?

Your error seems to indicate that MG5aMC tries to link to lhapdf6.1 and not to lhapdf6.2 which needs a completely different fortran interface to be link to the fortran code)

Next question is how do you link lhapdf6.2?
and are you sure that your installation is fully consistent?

In particular what is the output of
lhapdf-config --version
and of the one the
PATH/lhapdf-config --version
where PATH/lhapdf-config
correspond to the lhapdf parameter of the config file

Cheers,

Olivier

Dear Olivier,

Thanks for your reply.

Thanks,
Subhasish