Hi,
I tried to change the pdf using lhapdf-5.9.1, gave madgraph the location of lhapdf-config, changed
the run card to:
'lhapdf' = pdlabel
10042 = lhaid #10042 cteq6l1 same set as madgraph
Madgraph download the set, but when it is compiling the directories, it returns the
following compilation error:
INFO: Using LHAPDF v5.9.1 interface for PDFs
Error detected in "generate_events run_01"
write debug file /home/thibaud/PhD/MG5_aMC_v2_1_1/bin/mrs02nl_02/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
MadGraph5Error : A compilation Error occurs when trying to compile /home/thibaud/PhD/MG5_aMC_v2_1_1/bin/mrs02nl_02/Source.
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o combine_events.o combine_events.f
gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
gfortran -O -w -fbounds-check -ffixed-line-length-132 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -lLHAPDF -lstdc++
../lib//libLHAPDF.a(wrapNNPDFgrid.o): In function `master.0.nnpdfintevolve_':
wrapNNPDFgrid.f:(.text+0x904): relocation truncated to fit: R_X86_64_PC32 against symbol `nnpdf10cnrep_' defined in COMMON section in ../lib//libLHAPDF.a(wrapNNPDFgrid.o)
../lib//libLHAPDF.a(wrapcteq6.o): In function `lhct6set_':
wrapcteq6.f:(.text+0x3): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
../lib//libLHAPDF.a(wrapcteq6.o): In function `ctlhpartonx6_':
wrapcteq6.f:(.text+0x87): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0xac): relocation truncated to fit: R_X86_64_PC32 against symbol `ctqpar1nhess_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x1a8): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x1da): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x2c9): relocation truncated to fit: R_X86_64_PC32 against symbol `ctqpar1nhess_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x3ae): relocation truncated to fit: R_X86_64_PC32 against symbol `ctqpar1nhess_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x5eb): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x62d): relocation truncated to fit: R_X86_64_PC32 against symbol `ctqpar1nhess_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x6ac): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
makefile:56: recipe for target '../bin/internal/combine_events' failed
make: *** [../bin/internal/combine_events] Error 1
Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/madgraph5.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/madgraph5
What am I doing wrong?
I tried to had the compilation flag -mcmodel=large to make_opts without success.
I also saw this commit. When will support for LHAPDF 6 added?
https://code.launchpad.net/~maddevelopers/mg5amcnlo/2.1.2-lhapdf6/+merge/217497
Thank you for your help.
Cheers.