matrix1.f: undefined reference to `aloha_m7450478851985516657_1_' in MG5

Asked by Abhaya Kumar Swain

Dear MG5 experts,

I have implemented my model file in the Feynrules and the UFO file is then used in MG5_aMC_v2_7_2. The process I generate is,

generate p p > b b~ chi chi

where chi is a new Majorana fermion in my model. When I import the model file, it initially shows the error regarding four fermion interaction but I have commented the corresponding line in the file "models/import_ufo.py" to ignore that error. After that I could import the model successfully but I am getting the following error after "launch",

Error detected in "generate_events "
write debug file /home/abhaya/Downloads/HEP_software/MG5_aMC_v2_7_2/bbBar_PlusMissingEnergy_HQGDM/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/abhaya/Downloads/HEP_software/MG5_aMC_v2_7_2/bbBar_PlusMissingEnergy_HQGDM/SubProcesses/P1_gg_bbxchichi.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c driver.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c myamp.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c genps.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c get_color.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c cuts.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c cluster.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c reweight.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c setscales.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c dummy_fct.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c matrix1.f -I../../Source/
     gfortran -o madevent driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib -lbias -lstdc++
     matrix1.o: In function `matrix1_':
     matrix1.f:(.text+0x78b): undefined reference to `aloha_m7450478851985516657_1_'
     matrix1.f:(.text+0xa89): undefined reference to `aloha_m7450478851985516657_2_'
     matrix1.f:(.text+0x1e3b): undefined reference to `aloha_m6881010291127042458_3_'
     matrix1.f:(.text+0x20b3): undefined reference to `aloha_m6881010291127042458_4_'
     collect2: error: ld returned 1 exit status
     makefile:44: recipe for target 'madevent' failed
     make: *** [madevent] Error 1

 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

It would be really helpful if you kindly suggest anything to resolve this issue.
Thank you in advance.

Thanks and regards
Abhaya

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

This type of function "aloha_m7450478851985516657_1_" is only generated as shortcut name for functions where the normal name would be very very long. The issue is likely related to that. I would need your UFO model in order to look at this in details.

Cheers,

Olivier

(PS you can not attach file to question, you can either sent th UFO model to my email --please put a link to this question-- or create a bug report where you can add attachment)

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#2

Hi,

Thanks for the model,

Here is a patch that fixed the (actually two) issues:
https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.7.4/revision/289

Cheers,

Olivier

Revision history for this message
Abhaya Kumar Swain (abhaya.swain) said :
#3

Hello,

Thank you very much for your quick response. The above patch was really helpful and it indeed fixed the error. But now I am getting another error,

INFO: Update the dependent parameter of the param_card.dat
Generating 10000 events with run name run_02
survey run_02
INFO: compile directory
compile Source Directory
Using random number seed offset = 27
INFO: Running Survey
Creating Jobs
Working on SubProcesses
INFO: P1_gg_bbxchichi
INFO: P1_uux_bbxchichi
INFO: P1_ccx_bbxchichi
INFO: P1_ddx_bbxchichi
INFO: P1_ssx_bbxchichi
INFO: P1_ucx_bbxchichi
INFO: P1_cux_bbxchichi
INFO: Idle: 0, Running: 1, Completed: 20 [ current time: 09h46 ]
INFO: Idle: 0, Running: 0, Completed: 21 [ 0.27s ]
INFO: Idle: 0, Running: 0, Completed: 21 [ 0.27s ]
INFO: End survey
refine 10000
Creating Jobs
INFO: Refine results to 10000
INFO: Generating 10000.0 unweighted events.
INFO: Effective Luminosity 1.2e+103 pb^-1
INFO: need to improve 0 channels
Survey return zero cross section.
   Typical reasons are the following:
   1) A massive s-channel particle has a width set to zero.
   2) The pdf are zero for at least one of the initial state particles
      or you are using maxjetflavor=4 for initial state b:s.
   3) The cuts are too strong.
   Please check/correct your param_card and/or your run_card.
Zero result detected: See https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/FAQ-General-14

Thanks and regards
Abhaya

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#4

Looks like your matrix-element always returns zero:

Cheers,

Olivier

[P1_gg_bbxchichi]$ tail -n 10 */log.txt
==> G1/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

==> G10/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

==> G12/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

==> G14/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

==> G15/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

==> G2/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

==> G4/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

==> G5/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

==> G6/log.txt <==
        1000 points passed the cut but all returned zero
 therefore considering this contribution as zero
 Deleting file events.lhe

ls status:
events.lhe
grid_information
input_app.txt
results.dat
run1_app.log

> On 23 Jun 2020, at 06:25, Abhaya Kumar Swain <email address hidden> wrote:
>
> Question #691460 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/691460
>
> Status: Answered => Open
>
> Abhaya Kumar Swain is still having a problem:
> Hello,
>
> Thank you very much for your quick response. The above patch was really
> helpful and it indeed fixed the error. But now I am getting another
> error,
>
>
> INFO: Update the dependent parameter of the param_card.dat
> Generating 10000 events with run name run_02
> survey run_02
> INFO: compile directory
> compile Source Directory
> Using random number seed offset = 27
> INFO: Running Survey
> Creating Jobs
> Working on SubProcesses
> INFO: P1_gg_bbxchichi
> INFO: P1_uux_bbxchichi
> INFO: P1_ccx_bbxchichi
> INFO: P1_ddx_bbxchichi
> INFO: P1_ssx_bbxchichi
> INFO: P1_ucx_bbxchichi
> INFO: P1_cux_bbxchichi
> INFO: Idle: 0, Running: 1, Completed: 20 [ current time: 09h46 ]
> INFO: Idle: 0, Running: 0, Completed: 21 [ 0.27s ]
> INFO: Idle: 0, Running: 0, Completed: 21 [ 0.27s ]
> INFO: End survey
> refine 10000
> Creating Jobs
> INFO: Refine results to 10000
> INFO: Generating 10000.0 unweighted events.
> INFO: Effective Luminosity 1.2e+103 pb^-1
> INFO: need to improve 0 channels
> Survey return zero cross section.
> Typical reasons are the following:
> 1) A massive s-channel particle has a width set to zero.
> 2) The pdf are zero for at least one of the initial state particles
> or you are using maxjetflavor=4 for initial state b:s.
> 3) The cuts are too strong.
> Please check/correct your param_card and/or your run_card.
> Zero result detected: See https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/FAQ-General-14
>
>
> Thanks and regards
> Abhaya
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Abhaya Kumar Swain (abhaya.swain) said :
#5

Thanks Olivier Mattelaer, that solved my question.