generate_events compilation issue

Asked by Nikola Whallon

Hello,

I am just starting out and am having an issue running generate_events. Creating my process directory worked fine, but when running generate_events, I run into this compilation error:

MadGraph5Error : A compilation Error occurs when trying to compile /home/nikola/Research/ATLAS/MadGraph5_v1_5_14/processes/proc-2HDM4TC-gg-h3-zh/Source.
 The compilation fails with the following output message:
     gfortran -O -w -ffixed-line-length-132 -c -o combine_events.o combine_events.f
     cd MODEL; make
     make[1]: Entering directory `/home/nikola/Research/ATLAS/MadGraph5_v1_5_14/processes/proc-2HDM4TC-gg-h3-zh/Source/MODEL'
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     make[1]: Nothing to be done for `all'.
     make[1]: Leaving directory `/home/nikola/Research/ATLAS/MadGraph5_v1_5_14/processes/proc-2HDM4TC-gg-h3-zh/Source/MODEL'
     gfortran -O -w -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
     ../lib//libmodel.a(couplings.o): In function `setpara_':
     couplings.f:(.text+0x15): undefined reference to `lh_readin_'
     collect2: error: ld returned 1 exit status
     make: *** [../bin/internal/combine_events] Error 1

My simple test process is defined by a file, whose contents are:

import model_v4 2HDM4TC -modelname

define me e+ e-
define lp e+ mu+

define lm e- mu-

define ll lp lm

define pp c d u s c~ d~ u~ s~

define mmu mu+ mu-
define mW W+ W-
define jj c d u s c~ d~ u~ s~

define mta ta+ ta-
define tt ta+ ta-
generate g g > h3, (h3 > z h1, z > lp lm, h1 > b b~)

output madevent proc-2HDM4TC-gg-h3-zh –f

Again, using mg5 to create my process directory worked fine. The model is 2HDM4TC, which consists of several fortran files, and I have changed the makefile in the model to use the fortran compiler gfortran.

Please let me know if there is more information I should provide.

Thanks,
Nikola

Question information

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

Looks like the function lh_readin
is not define in your model.

DId you miss a "a"?

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask Nikola Whallon for more information if necessary.

To post a message you must log in.