Hi,
I have an issue which very well might be related to other ones discussed previously but I didn't see a resolution there.
My aMC (MG5_aMC_v2_2_1) works fine when the internal pdf sets are used. But when I specify lhapdf through the run_card it fails (error below). I think it happens both at LO and NLO (for the case below I was testing with the tutorial which suggested "generate p p > t t~").
I have:
a new machine with SLC6 and devtoolset-2 (I think it is 2.1) on top of it. The compiler is:
gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
And a standard installation of lhapdf 5.9.1 which was installed with the compiler above (i.e. lhapdf was installed under devtoolset-2). LHAPDF works fine with other programs.
I'll appreciate your help. I hope that since my installation is very standard you will be able to recreate it.
With best, Alex
P.S. the screen output and debug file are below.
<<<<<<<<<<<<<<<< screen output:
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
INFO: Using LHAPDF v5.9.1 interface for PDFs
Error: no display specified
Error detected in "generate_events run_01"
write debug file /home/amitov/programs/MG5_aMC_v2_2_1/MY_FIRST_MG5_RUN/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/amitov/programs/MG5_aMC_v2_2_1/MY_FIRST_MG5_RUN/Source.
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.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 -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(wrapheragrid.o): In function `heragrid_':
wrapheragrid.f:(.text+0x2cb): relocation truncated to fit: R_X86_64_PC32 against symbol `fgridz_' defined in COMMON section in ../lib//libLHAPDF.a(wrapheragrid.o)
../lib//libLHAPDF.a(wrapheragrid.o): In function `master.0.heragridevolve_':
wrapheragrid.f:(.text+0x837): relocation truncated to fit: R_X86_64_PC32 against symbol `qccons_' defined in COMMON section in ../lib//libLHAPDF.a(wrapheragrid.o)
wrapheragrid.f:(.text+0xc4d): relocation truncated to fit: R_X86_64_PC32 against symbol `fgridz_' defined in COMMON section in ../lib//libLHAPDF.a(wrapheragrid.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+0x6c): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x90): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0xb1): relocation truncated to fit: R_X86_64_PC32 against symbol `ctqpar1nhess_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x1ab): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x1d8): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x1f6): relocation truncated to fit: R_X86_64_PC32 against symbol `ctqpar1nhess_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x5d3): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
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
<<<<<<<<<<<<<<<<<<<<<<< run_01_tag_1_debug.log
#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.2.1 2014-09-25 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
generate_events run_01
Traceback (most recent call last):
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/interface/extended_cmd.py", line 879, in onecmd
return self.onecmd_orig(line, **opt)
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/interface/extended_cmd.py", line 872, in onecmd_orig
return func(arg, **opt)
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/interface/madevent_interface.py", line 1923, in do_generate_events
postcmd=False)
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/interface/extended_cmd.py", line 919, in exec_cmd
stop = Cmd.onecmd_orig(current_interface, line, **opt)
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/interface/extended_cmd.py", line 872, in onecmd_orig
return func(arg, **opt)
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/interface/madevent_interface.py", line 2293, in do_survey
self.configure_directory()
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/interface/madevent_interface.py", line 3348, in configure_directory
self.compile(arg=[name], cwd=os.path.join(self.me_dir, 'Source'))
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/interface/extended_cmd.py", line 987, in compile
return misc.compile(nb_core=self.options['nb_core'], *args, **opts)
File "/home/amitov/programs/MG5_aMC_v2_2_1/madgraph/various/misc.py", line 311, in compile
raise MadGraph5Error, error_text
MadGraph5Error: A compilation Error occurs when trying to compile /home/amitov/programs/MG5_aMC_v2_2_1/MY_FIRST_MG5_RUN/Source.
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.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 -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(wrapheragrid.o): In function `heragrid_':
wrapheragrid.f:(.text+0x2cb): relocation truncated to fit: R_X86_64_PC32 against symbol `fgridz_' defined in COMMON section in ../lib//libLHAPDF.a(wrapheragrid.o)
../lib//libLHAPDF.a(wrapheragrid.o): In function `master.0.heragridevolve_':
wrapheragrid.f:(.text+0x837): relocation truncated to fit: R_X86_64_PC32 against symbol `qccons_' defined in COMMON section in ../lib//libLHAPDF.a(wrapheragrid.o)
wrapheragrid.f:(.text+0xc4d): relocation truncated to fit: R_X86_64_PC32 against symbol `fgridz_' defined in COMMON section in ../lib//libLHAPDF.a(wrapheragrid.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+0x6c): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x90): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0xb1): relocation truncated to fit: R_X86_64_PC32 against symbol `ctqpar1nhess_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x1ab): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x1d8): relocation truncated to fit: R_X86_64_PC32 against symbol `ctq6co_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x1f6): relocation truncated to fit: R_X86_64_PC32 against symbol `ctqpar1nhess_' defined in COMMON section in ../lib//libLHAPDF.a(wrapcteq6.o)
wrapcteq6.f:(.text+0x5d3): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
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
Run Options
-----------
stdout_level : 20 (user set)
MadEvent Options
----------------
automatic_html_opening : False (user set)
cluster_temp_path : None
cluster_queue : None (user set)
cluster_memory : None (user set)
cluster_time : None (user set)
nb_core : 32 (user set)
run_mode : 2
Configuration Options
---------------------
text_editor : None
cluster_status_update : (600, 30)
pythia8_path : None (user set)
hwpp_path : None (user set)
pythia-pgs_path : None (user set)
td_path : None (user set)
delphes_path : None (user set)
thepeg_path : None (user set)
cluster_type : condor
exrootanalysis_path : None (user set)
eps_viewer : None
web_browser : None
syscalc_path : None (user set)
madanalysis_path : None (user set)
lhapdf : lhapdf-config
hepmc_path : None (user set)
cluster_retry_wait : 300
fortran_compiler : gfortran (user set)
auto_update : 7 (user set)
cluster_nb_retry : 1
timeout : 60
cpp_compiler : g++ (user set)
<<<<<<<<<<<<<<<<<<<<<<< end.