compilation error : additional relocation overflows omitted from the output

Asked by Alessandro Ambler on 2019-05-20

Hi,
I am trying to generate events for the process :

generate p p > e v a a [QCD] @0
add process p p > e v a a j [QCD] @1
add process p p > e v a a j j [QCD] @2

but I am getting the errors similar to this one when trying to compile the subproccesses :

WARNING: fct <function compile_dir at 0x7f802a766500> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /project/6019279/aambler/MadGraph/NLO_Template/SubProcesses/P2_gg_emvexaaudx.
The compilation fails with the following output message:
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ check_poles.f
    check_poles.f:130:15:

          1 pmass_rambo, prambo)
                   1
    Warning: Actual argument contains too few elements for dummy argument ‘xm’ (9/100) at (1)
    check_poles.f:160:19:

          1 pmass_rambo, prambo)
                       1
    Warning: Actual argument contains too few elements for dummy argument ‘xm’ (9/100) at (1)
    run.inc:74:21:

           common/to_rwgt/ do_rwgt_scale, rw_Fscale_down, rw_Fscale_up, rw_Rscale_down, rw_Rscale_up,
                         1
    Warning: Padding of 4 bytes required before ‘rw_fscale_down’ in COMMON ‘to_rwgt’ at (1); reorder elements or use -fno-align-commons
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ BinothLHA.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ born_hel.f
    for dir in `ls -d V*`; do cd $dir; make; cd ../; done
    make[1]: Entering directory '/project/6019279/aambler/MadGraph/NLO_Template/SubProcesses/P2_gg_emvexaaudx/V2_gg_emvexaaudx'
    rm -f ../libMadLoop.a
    gfortran -fno-automatic -ffixed-line-length-132 -O3 -c polynomial.f -o polynomial.o
    gfortran -O -fno-automatic -ffixed-line-length-132 -c loop_matrix.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c improve_ps.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c born_matrix.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c loop_num.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c CT_interface.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c MadLoopCommons.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    MadLoopCommons.f:665:35:

                 LOCATION = FINDMINIMUM(X, I, MSIZE) ! find min from this to last
                                       1
    Warning: Type mismatch in argument ‘x’ at (1); passed REAL(8) to INTEGER(4)
    gfortran -O -fno-automatic -ffixed-line-length-132 -c MadLoopParamReader.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c helas_calls_ampb_7.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c helas_calls_ampb_2.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c helas_calls_ampb_4.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c helas_calls_ampb_5.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c helas_calls_uvct_1.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c helas_calls_ampb_1.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c helas_calls_ampb_6.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c helas_calls_ampb_3.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_compute_loop_coefs.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_helas_calls_ampb_6.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_helas_calls_ampb_1.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_helas_calls_uvct_1.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_helas_calls_ampb_7.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_helas_calls_ampb_3.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_helas_calls_ampb_2.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_helas_calls_ampb_4.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_helas_calls_ampb_5.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_4.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_10.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_9.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_5.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_15.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_14.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_8.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_6.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_1.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_13.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_11.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_3.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_12.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_7.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c coef_construction_2.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c loop_CT_calls_2.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c loop_CT_calls_1.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_12.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_7.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_2.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_3.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_4.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_10.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_8.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_15.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_9.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_14.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_5.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_6.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_1.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_11.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c mp_coef_construction_13.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c TIR_interface.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c COLLIER_interface.f -I /project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/include
    COLLIER_interface.f:591:31:

           COMMON/COLLIER_TIR_COEFS/TIR_COEFS_DIRECT_MODE,TIR_COEFS_ERROR
                                   1
    Warning: Named COMMON block ‘collier_tir_coefs’ at (1) shall be of the same size as elsewhere (17730848 vs 17633464 bytes)
    mv libMadLoop.a ../
    make[1]: Leaving directory '/project/6019279/aambler/MadGraph/NLO_Template/SubProcesses/P2_gg_emvexaaudx/V2_gg_emvexaaudx'
    gfortran -o check_poles parton_lum_16.o parton_lum_10.o parton_lum_1.o parton_lum_5.o parton_lum_14.o parton_lum_6.o parton_lum_7.o parton_lum_8.o parton_lum_15.o parton_lum_3.o parton_lum_13.o parton_lum_9.o parton_lum_4.o parton_lum_12.o parton_lum_2.o parton_lum_chooser.o parton_lum_17.o parton_lum_11.o matrix_13.o matrix_9.o matrix_4.o matrix_12.o matrix_2.o matrix_17.o matrix_11.o matrix_16.o matrix_10.o matrix_1.o matrix_5.o matrix_14.o matrix_6.o matrix_7.o matrix_8.o matrix_3.o matrix_15.o real_me_chooser.o leshouche_inc_chooser.o fks_inc_chooser.o setcuts.o setscales.o born.o sborn_sf.o b_sf_004.o b_sf_005.o b_sf_003.o b_sf_002.o b_sf_001.o b_sf_006.o fks_Sij.o fastjetfortran_madfks_core.o fjcore.o fastjet_wrapper.o fks_singular.o veto_xsec.o montecarlocounter.o reweight_xsec.o boostwdir2.o configs_and_props_inc_chooser.o initcluster.o cluster.o reweight.o get_color.o FKSParamReader.o iproc_map.o MC_integer.o reweight_xsec_events_pdf_dummy.o appl_interface_dummy.o genps_fks.o weight_lines.o cuts.o pythia_unlops.o recluster.o check_poles.o BinothLHA.o born_hel.o -L../../lib/ libMadLoop.a -lcts -liregi -L/project/6019279/aambler/MadGraph/MG5_aMC_v2_6_2/HEPTools/lib/ -lcollier -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -lstdc++ -lstdc++
    libMadLoop.a(polynomial.o): In function `mp_create_loop_coefs_':
    polynomial.f:(.text+0x7c8): relocation truncated to fit: R_X86_64_32S against symbol `mp_amps_' defined in COMMON section in libMadLoop.a(mp_compute_loop_coefs.o)
    polynomial.f:(.text+0x7d8): relocation truncated to fit: R_X86_64_32S against symbol `mp_amps_' defined in COMMON section in libMadLoop.a(mp_compute_loop_coefs.o)
    polynomial.f:(.text+0xb71): relocation truncated to fit: R_X86_64_32S against symbol `mp_lcoefs_' defined in COMMON section in libMadLoop.a(mp_compute_loop_coefs.o)
    ../../lib//libcts.a(ffinit_mine.o): In function `ffwarn_':
    ffinit_mine.f:(.text+0xde7): relocation truncated to fit: R_X86_64_32S against symbol `ffprec_' defined in COMMON section in ../../lib//libcts.a(ffinit_mine.o)
    ffinit_mine.f:(.text+0xe75): relocation truncated to fit: R_X86_64_32S against symbol `ffflag_' defined in COMMON section in ../../lib//libcts.a(ffinit_mine.o)
    ffinit_mine.f:(.text+0xedf): relocation truncated to fit: R_X86_64_32S against symbol `aaflag_' defined in COMMON section in ../../lib//libcts.a(ffinit_mine.o)
    ffinit_mine.f:(.text+0x13d1): relocation truncated to fit: R_X86_64_32S against symbol `ffprec_' defined in COMMON section in ../../lib//libcts.a(ffinit_mine.o)
    ffinit_mine.f:(.text+0x13f3): relocation truncated to fit: R_X86_64_32S against symbol `ffflag_' defined in COMMON section in ../../lib//libcts.a(ffinit_mine.o)
    ffinit_mine.f:(.text+0x1524): relocation truncated to fit: R_X86_64_32S against symbol `ffflag_' defined in COMMON section in ../../lib//libcts.a(ffinit_mine.o)
    ffinit_mine.f:(.text+0x169b): relocation truncated to fit: R_X86_64_32S against symbol `ffprec_' defined in COMMON section in ../../lib//libcts.a(ffinit_mine.o)
    ../../lib//libcts.a(ffinit_mine.o): In function `fferr_':
    ffinit_mine.f:(.text+0x1d72): additional relocation overflows omitted from the output
    collect2: error: ld returned 1 exit status
    make: *** [makefile:100: check_poles] Error 1

It seems like I am running out of RAM, so I tried adding the -mcmodel=large compiler option to the FFLAGS environmental variable in Source/make_opts but this does not seem to work. I am using version 2.6.2 as well as gcc and gfortran version 5.4.0.

Thank you for your help!

Alessandro.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2019-05-22
Last reply:
2019-05-22

You should try a more recent version of the compiler and maybe to reduce the optimzation flag to reduce the amount of RAM use. You can also try to compile on a machine with more RAM obviously.

But otherwise we do not have any internal magic to help that situation. I guess that you hit the limit of what we can do at NLO.

Cheers,

Olivier

On 20 May 2019, at 23:02, Alessandro Ambler <<email address hidden><mailto:<email address hidden>>> wrote:

udx

Alessandro Ambler (aambler) said : #2

Hi Olivier,
Thank you for the quick reply! I was looking into the subprocesses that fail to compile and notice that many diagrams have three jets in the final state, even though I thought I was only asking for up to 2 additional jets. Is this normal/expected? Could this be why the compilation runs out of memory? I initially create the process directory with a process card containing :

set default_unset_couplings 99
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
set nb_core 32
import model loop_sm-no_b_mass
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
define p = g u c d s u~ c~ d~ s~ b b~
define j = g u c d s u~ c~ d~ s~ b b~
define e = e+ e-
define v = ve ve~
generate p p > e v a a [QCD] @0
add process p p > e v a a j [QCD] @1
add process p p > e v a a j j [QCD] @2
output /home/aambler/projects/rrg-steven/aambler/MadGraph/nlo_enuaa

then running ./MG5_aMC_v2_6_2/bin/mg5_aMC proc_card_mg5.dat

Thank you,
Alessandro.

Hi,

You are asking 2j at NLO accuracy which requires 3j sample as one of the contribution. So yes this is expected.

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask Alessandro Ambler for more information if necessary.

To post a message you must log in.