aMC@NLO v2.3.0: g g > z h

Asked by Carlo

Dear aMC@NLO authors,
I've been trying to generate gg->ZH events using the beta of version 2.3.0, however I find some errors.
As a first test I simply run:
 > generate g g > z h [QCD]
 > output outdir
 > launch

Using all the default parameters and specifications, but I get this error:
INFO: compile directory
initMadLoop -r -f
Initializing MadLoop loop-induced matrix elements (this can take some time)...
root: Error while executing make in /afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/SubProcesses/PV0_0_1_gg_zh
root: Failed at running the process in /afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/SubProcesses/PV0_0_1_gg_zh.
Error detected in "generate_events run_01"
write debug file /afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
MadGraph5Error : Failed the initialization of loop-induced matrix element 'PV0_0_1_gg_zh' (trying with a maximum of 15 PS points).

Looking at the run_01_tag_1_debug.log file I see these lines, but I couldn't really debug the issue:

generate_events
Traceback (most recent call last):
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/extended_cmd.py", line 879, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/madevent_interface.py", line 1994, in do_generate_events
    postcmd=False)
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/extended_cmd.py", line 919, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/madevent_interface.py", line 2608, in do_survey
    self.configure_directory()
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/madevent_interface.py", line 3853, in configure_directory
    self.do_treatcards('')
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/madevent_interface.py", line 2593, in do_treatcards
    self.exec_cmd('initMadLoop -f')
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/extended_cmd.py", line 919, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/madevent_interface.py", line 2054, in do_initMadLoop
    subproc_prefix='PV', MG_options=self.options)
  File "/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/bin/internal/madevent_interface.py", line 5027, in init_MadLoop
    %(max_mult*n_PS))
MadGraph5Error: Failed the initialization of loop-induced matrix element 'PV0_0_1_gg_zh' (trying with a maximum of 15 PS points).

Should I include a specific UFO model to generate ggZH events, or should I change some specific parameters / setup in order to be able to run?

Thank you very much and regards,
 Carlo

p.s. I'm running with
Python 2.6.6
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
GNU Fortran (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)

Question information

Language:
English Edit question
Status:
Needs information
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Valentin Hirschi Edit question
Last query:
Last reply:
Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#1

Hi Carlo,

This initialization does not crash on my computer, so that I cannot reproduce your problem. I would then need some more information to help you with this issue.

First, can you confirm that you can generate events for a simpler process, such as g g > h [QCD] for example, without any problem?
Also, if you cd to the MadLoop output directory:
/afs/cern.ch/work/c/cpandini/mcgen/testdir/MG5_aMC_v2_3_0_beta/outdir_ggzh_test_1/SubProcesses/PV0_0_1_gg_zh
And try to run by hand the standalone MadLoop executable './check'. Please report errors in that execution if any.

Thanks for the feedback

Revision history for this message
Alessio (alessio-magitteri-v) said :
#2

Hi aMC@NLO authors,

I am experiencing the same error reported in the previous mail and mine reported here (*).

I am generating, using the loop induced method, the following process: g g> h > l+ l- vl~ vl / z a [QCD]
Before this I have generated other processes without any problem, like g g > l+ l- vl~ vl [QCD] or g g > h > l+ l- vl~ vl / w+ [QCD].

As suggested above I have tried to run by hand the standalone MadLoop executable but during the make I receive an error and I can't check anything; the error is reported here (**)

The python version is: Python 2.7.5
the gcc and gfortran version is: 4.9.1

Thank you very much for the help and regards,
 Alessio

(*)

Generating 1000000 events with run name run_01
survey run_01
INFO: compile directory
initMadLoop -f
Initializing MadLoop loop-induced matrix elements (this can take some time)...
root: Error while executing make in /nfs/home/fynu/amagitteri/Collider_Codes/Event_Generator/MG5_aMC_v2_3_0_beta/gg_H_To_WW_2l2nu/SubProcesses/PV0_0_1_gg_h_epveemvex_no_z
root: Failed at running the process in /nfs/home/fynu/amagitteri/Collider_Codes/Event_Generator/MG5_aMC_v2_3_0_beta/gg_H_To_WW_2l2nu/SubProcesses/PV0_0_1_gg_h_epveemvex_no_z.
Error detected in "generate_events "
write debug file /nfs/home/fynu/amagitteri/Collider_Codes/Event_Generator/MG5_aMC_v2_3_0_beta/gg_H_To_WW_2l2nu/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
MadGraph5Error : Failed the initialization of loop-induced matrix element 'PV0_0_1_gg_h_epveemvex_no_z' (trying with a maximum of 15 PS points).
quit

(**)

amagitteri@ingrid-ui1:~/Collider_Codes/Event_Generator/MG5_aMC_v2_3_0_beta/gg_H_To_WW_2l2nu/SubProcesses/PV0_0_1_gg_h_epveemvex_no_z> make
cd ..; make -f makefile_MadLoop OLP_static
make[1]: Entering directory `/nfs/home/fynu/amagitteri/Collider_Codes/Event_Generator/MG5_aMC_v2_3_0_beta/gg_H_To_WW_2l2nu/SubProcesses'
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c PV0_0_1_gg_h_epveemvex_no_z/loop_num.f -o PV0_0_1_gg_h_epveemvex_no_z/loop_num.o
cts_mprec.h:1.9:
    Included at PV0_0_1_gg_h_epveemvex_no_z/loop_num.f:38:

      USE MPMODULE
         1
Fatal Error: Cannot read module file 'mpmodule.mod' opened at (1), because it was created by a different version of GNU Fortran
make[1]: *** [PV0_0_1_gg_h_epveemvex_no_z/loop_num.o] Error 1
make[1]: Leaving directory `/nfs/home/fynu/amagitteri/Collider_Codes/Event_Generator/MG5_aMC_v2_3_0_beta/gg_H_To_WW_2l2nu/SubProcesses'
make: *** [libMadLoop.a] Error 2

Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#3

Hi Carlo,

Do you have the same issue as Alessio when trying to compile the process by hand (i.e. typing make in the PV0*) directory?

Now, Alessio, the error you reported:

Fatal Error: Cannot read module file 'mpmodule.mod' opened at (1), because it was created by a different version of GNU Fortran

Typically occurs when the compiler changed since the last time CutTools was compiled.
Could you try again g g > h [QCD] after having recompiled CutTools by going to:

cd <MG_distribution>/vendor/CutTools
make clean
make

Let me know

Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#4

Hi Carlo,

Do you have the same issue as Alessio when trying to compile the process by hand (i.e. typing make in the PV0*) directory?

Now, Alessio, the error you reported:

Fatal Error: Cannot read module file 'mpmodule.mod' opened at (1), because it was created by a different version of GNU Fortran

Typically occurs when the compiler changed since the last time CutTools was compiled.
Could you try again g g > h [QCD] after having recompiled CutTools by going to:

cd <MG_distribution>/vendor/CutTools
make clean
make

Let me know

Revision history for this message
Alessio (alessio-magitteri-v) said :
#5

Hi Valentin,

Many thanks!

I have done as you suggested ( open vendor dir, make clean and then make); I resubmitted all the steps (generation of the diagrams and events) and it is working properly now.

So, may I conclude that the best things ever to do, after the downloading of aMC@NLO tar, is a ri-compiletion of the code inside the framework that is in used?
In this case what parts have to be re-compiled?

Cheers,
Alessio

Revision history for this message
Carlo (carloenrico-pandini) said :
#6

Hi Valentin and Alession,
I'm sorry I never followed up on this issue.
I eventually solved my problem just by setting up a different version of the compiler, using
gcc 4.8.1
and
python 2.7.3

(which I see are different wrt one used by Alessio).

I didn't find any issues and I can complete the test run:
  > generate g g > z h [QCD]
 > output outdir
 > launch

without any compilation issues.
I hope this can be useful.

Cheers,
 Carlo

Revision history for this message
Chris (christopher-anelli) said :
#7

I get a similar error message, "Failed the initialization of loop-induced matrix element"

When I run ./check for the SubProcess, I get a warning message, "inconsistent zero helicity". I was not sure what this could indicate.

Thanks

Chris

Can you help with this problem?

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

To post a message you must log in.