Cannot run a nlo ufo model

Asked by Georgios Polykratis

Hello,

I use a nlo model to generate some gluino production.

import model new_EWKino_NLO_UFO-default --modelname
generate p p > go go [QCD]

The generation is successful but I have a problem every time I try to create an output folder. The model works fine for other collaborators so I suspect there is something wrong with the HEPtools. So when I try to create the output I get this, and the process is killed:

MG5_aMC>output test_ppgogo
INFO: Writing out the aMC@NLO code, using optimized Loops
INFO: initialize a new directory: test_ppgogo
INFO: remove old information in test_ppgogo
INFO: Generating real emission matrix-elements...
INFO: Generating Helas calls for FKS process: g g > go go [ all = QCD ] (1 / 11)
INFO: Processing color information for process: g g > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: u u~ > go go [ all = QCD ] (2 / 11)
INFO: Processing color information for process: u u~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: c c~ > go go [ all = QCD ] (3 / 11)
INFO: Reusing existing color information for process: c c~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: d d~ > go go [ all = QCD ] (4 / 11)
INFO: Reusing existing color information for process: d d~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: s s~ > go go [ all = QCD ] (5 / 11)
INFO: Reusing existing color information for process: s s~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: u~ u > go go [ all = QCD ] (6 / 11)
INFO: Processing color information for process: u~ u > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: c~ c > go go [ all = QCD ] (7 / 11)
INFO: Reusing existing color information for process: c~ c > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: d~ d > go go [ all = QCD ] (8 / 11)
INFO: Reusing existing color information for process: d~ d > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: s~ s > go go [ all = QCD ] (9 / 11)
INFO: Reusing existing color information for process: s~ s > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: b b~ > go go [ all = QCD ] (10 / 11)
INFO: Reusing existing color information for process: b b~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: b~ b > go go [ all = QCD ] (11 / 11)
INFO: Reusing existing color information for process: b~ b > go go [ all = QCD ]
INFO: ... Done
INFO: Writing files in P0_gg_gogo (1 / 11)
INFO: Creating files in directory V0_gg_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: g g > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: g g > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_uux_gogo (2 / 11)
INFO: Creating files in directory V0_uux_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
ALOHA: aloha creates VVSS1 set of routines with options: L4
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: u u~ > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: u u~ > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_ccx_gogo (3 / 11)
INFO: Creating files in directory V0_ccx_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
ALOHA: aloha creates FFS2 set of routines with options: C1,L3
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: c c~ > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: c c~ > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_ddx_gogo (4 / 11)
INFO: Creating files in directory V0_ddx_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
ALOHA: aloha creates FFS2 set of routines with options: C1,L3
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: d d~ > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: d d~ > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_ssx_gogo (5 / 11)
INFO: Creating files in directory V0_ssx_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
ALOHA: aloha creates FFS2 set of routines with options: C1,L1
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: s s~ > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: s s~ > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_uxu_gogo (6 / 11)
INFO: Creating files in directory V0_uxu_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
ALOHA: aloha creates FFS2 set of routines with options: C1,L1
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: u~ u > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: u~ u > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_cxc_gogo (7 / 11)
INFO: Creating files in directory V0_cxc_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
ALOHA: aloha creates FFS1 set of routines with options: C1,L2
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: c~ c > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: c~ c > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_dxd_gogo (8 / 11)
INFO: Creating files in directory V0_dxd_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
ALOHA: aloha creates FFV5 set of routines with options: L1
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: d~ d > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: d~ d > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_sxs_gogo (9 / 11)
INFO: Creating files in directory V0_sxs_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: s~ s > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: s~ s > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_bbx_gogo (10 / 11)
INFO: Creating files in directory V0_bbx_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: b b~ > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: b b~ > go go QCD<=2 [ all = QCD ]
INFO: Writing files in P0_bxb_gogo (11 / 11)
INFO: Creating files in directory V0_bxb_gogo
ALOHA: aloha creates VVV2 set of routines with options: L2,P0
ALOHA: aloha creates FFS2 set of routines with options: C1,L1
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: b~ b > go go QCD<=2 [ all = QCD ]
INFO: Generating born Feynman diagrams for Process: b~ b > go go QCD<=2 [ all = QCD ]
History written to /home/giopolykra/MG5_aMC_v2_6_6/bin/test_ppgogo/Cards/proc_card_mg5.dat
ALOHA: aloha creates FFV8 routines
ALOHA: aloha creates FFV9 routines
ALOHA: aloha creates FF9 routines
ALOHA: aloha creates FFV2 routines
ALOHA: aloha creates FF6 routines
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates SS1 routines
ALOHA: aloha creates FF2 routines
ALOHA: aloha creates FFV4 routines
ALOHA: aloha creates FFV5 routines
ALOHA: aloha creates VSS2 routines
ALOHA: aloha creates FFV6 routines
ALOHA: aloha creates SSSS1 set of routines with options: L3
ALOHA: aloha creates FFV3 routines
ALOHA: aloha creates FFS1 routines
ALOHA: aloha creates FFS2 routines
ALOHA: aloha creates VV5 routines
ALOHA: aloha creates FF4 routines
ALOHA: aloha creates VVV2 routines
ALOHA: aloha creates VV4 routines
ALOHA: aloha creates VV3 routines
ALOHA: aloha creates VV2 routines
ALOHA: aloha creates VV1 routines
ALOHA: aloha creates FF1 routines
ALOHA: aloha creates FFV10 routines
ALOHA: aloha creates VV6 routines
ALOHA: aloha creates SS2 routines
ALOHA: aloha creates FF1_9 routines
ALOHA: aloha creates FF4_6 routines
ALOHA: aloha creates FF1_2_4 routines
ALOHA: aloha creates FFV1_8 routines
ALOHA: aloha creates FFV2_3 routines
ALOHA: aloha creates VV4_5 routines
ALOHA: aloha creates VV1_2 routines
ALOHA: aloha creates SS1_2 routines
ALOHA: aloha creates FF1_4_6 routines
ALOHA: aloha creates VV4_6 routines
save configuration file to /home/giopolykra/MG5_aMC_v2_6_6/bin/test_ppgogo/Cards/amcatnlo_configuration.txt
INFO: The value for lhapdf in the current configuration does not correspond to a valid executable.
Please set it correctly either in input/mg5_configuration or with "set lhapdf /path/to/lhapdf-config" and regenrate the process.
To avoid regeneration, edit the /home/giopolykra/MG5_aMC_v2_6_6/bin/test_ppgogo/Cards/amcatnlo_configuration.txt file.
Note that you can still compile and run aMC@NLO with the built-in PDFs

INFO: Use Fortran compiler gfortran
Command "output test_ppgogo" interrupted with error:
OSError : [Errno 12] Cannot allocate memory
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.
MG5_aMC>Killed

I am expecting the nnpdf3.0 to be used which I installed at the HEPTools/lhapdf6/share/LHAPDF/ folder but at the output folder ppgogo/lib/Pdfdata/ (of the failed attempt) I see that only the NNPDF23 has been used.

Concerning the warning about the lhapdf, its path in the MG5_debug file is set correctly to /home/giopolykra/MG5_aMC_v2_6_6/HEPTools/lhapdf6/bin/lhapdf-config.

Ps: I am using MG5_aMC_v2_6_6

Question information

Language:
English Edit question
Status:
Expired
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 you are running on a machine with not enough RAM in order to generate such process.
You can try to use the option
set low_mem_multicore_nlo_generation True
combine to a small amount of core to try to make it trough.

Off course a simpler method is to run on a machine with a larger amount of RAM

Cheers,

Olivier

Revision history for this message
Georgios Polykratis (giopolykra) said :
#2

This is weird since my machine has 7.7gb of usable memory. I tried the option for small memory usage after a fresh installation of madgraph 2.6.6 installing zlib, boost, lhapdf6, hepmc, pythia8, ninja, oneloop and collier

after generation I have
11 subprocesses with 766 real emission diagrams, 53 born diagrams and 2685 virtual diagrams

but despite that I get a new error

MG5_aMC>output ppgogo
INFO: Writing out the aMC@NLO code, using optimized Loops
INFO: initialize a new directory: ppgogo
INFO: remove old information in ppgogo
INFO: Compiling CutTools. This has to be done only once and can take a couple of minutes.
INFO: Compiling IREGI. This has to be done only once and can take a couple of minutes.
INFO: Generating real emission matrix-elements...
INFO: Generating Helas calls for FKS process: g g > go go [ all = QCD ] (1 / 11)
INFO: Processing color information for process: g g > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: u u~ > go go [ all = QCD ] (2 / 11)
INFO: Processing color information for process: u u~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: c c~ > go go [ all = QCD ] (3 / 11)
INFO: Reusing existing color information for process: c c~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: d d~ > go go [ all = QCD ] (4 / 11)
INFO: Reusing existing color information for process: d d~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: s s~ > go go [ all = QCD ] (5 / 11)
INFO: Reusing existing color information for process: s s~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: u~ u > go go [ all = QCD ] (6 / 11)
INFO: Processing color information for process: u~ u > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: c~ c > go go [ all = QCD ] (7 / 11)
INFO: Reusing existing color information for process: c~ c > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: d~ d > go go [ all = QCD ] (8 / 11)
INFO: Reusing existing color information for process: d~ d > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: s~ s > go go [ all = QCD ] (9 / 11)
INFO: Reusing existing color information for process: s~ s > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: b b~ > go go [ all = QCD ] (10 / 11)
INFO: Reusing existing color information for process: b b~ > go go [ all = QCD ]
INFO: Generating Helas calls for FKS process: b~ b > go go [ all = QCD ] (11 / 11)
INFO: Reusing existing color information for process: b~ b > go go [ all = QCD ]
INFO: ... Done
Writing directories...
Command "output ppgogo" interrupted with error:
ValueError : Number of processes must be at least 1
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

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

Looks like a new error. can you copy/paste the debug file?

Olivier

Revision history for this message
Georgios Polykratis (giopolykra) said :
#4

Sure here it is,

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.6 2018-06-28 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
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
import model sm
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
import model new_EWKino_NLO_UFO-default --modelname
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
define j = p
generate p p > go go [QCD]
set low_mem_multicore_nlo_generation True
output ppgogo
Traceback (most recent call last):
  File "/home/giopolykra/MG5_aMC_v2_6_6/madgraph/interface/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/giopolykra/MG5_aMC_v2_6_6/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/home/giopolykra/MG5_aMC_v2_6_6/madgraph/interface/master_interface.py", line 296, in do_output
    self.cmd.do_output(self, line, *args, **opts)
  File "/home/giopolykra/MG5_aMC_v2_6_6/madgraph/interface/amcatnlo_interface.py", line 553, in do_output
    self.export(nojpeg, main_file_name, group_processes=group_processes)
  File "/home/giopolykra/MG5_aMC_v2_6_6/madgraph/interface/master_interface.py", line 310, in export
    return self.cmd.export(self, *args, **opts)
  File "/home/giopolykra/MG5_aMC_v2_6_6/madgraph/interface/amcatnlo_interface.py", line 695, in export
    pool = multiprocessing.Pool(processes=self.ncores_for_proc_gen,maxtasksperchild=1)
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 232, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild)
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 154, in __init__
    raise ValueError("Number of processes must be at least 1")
ValueError: Number of processes must be at least 1
                          MadGraph5_aMC@NLO Options
                          ----------------
        complex_mass_scheme : False
    default_unset_couplings : 99
                      gauge : unitary
         group_subprocesses : Auto
  ignore_six_quark_processes : False
           loop_color_flows : False
      loop_optimized_output : True
  low_mem_multicore_nlo_generation : True (user set)
     max_npoint_for_channel : 0
               stdout_level : 20 (user set)

                         MadEvent Options
                          ----------------
     automatic_html_opening : True
                    nb_core : None
        notification_center : True
                   run_mode : 2

                      Configuration Options
                      ---------------------
                        OLP : MadLoop
                    amcfast : amcfast-config
                   applgrid : applgrid-config
                auto_update : 7
         cluster_local_path : None
           cluster_nb_retry : 1
              cluster_queue : None (user set)
         cluster_retry_wait : 300
               cluster_size : 100
      cluster_status_update : (600, 30)
          cluster_temp_path : None
               cluster_type : condor
                    collier : /home/giopolykra/MG5_aMC_v2_6_6/HEPTools/lib (user set)
               cpp_compiler : None
             crash_on_error : False
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : None
                    fastjet : None (user set)
           fortran_compiler : None
                      golem : None (user set)
                 hepmc_path : /home/giopolykra/MG5_aMC_v2_6_6/HEPTools/hepmc (user set)
                  hwpp_path : None (user set)
                     lhapdf : /home/giopolykra/MG5_aMC_v2_6_6/HEPTools/lhapdf6/bin/lhapdf-config (user set)
          madanalysis5_path : None (user set)
           madanalysis_path : ./MadAnalysis
  mg5amc_py8_interface_path : /home/giopolykra/MG5_aMC_v2_6_6/HEPTools/MG5aMC_PY8_interface (user set)
                      ninja : /home/giopolykra/MG5_aMC_v2_6_6/HEPTools/lib (user set)
        output_dependencies : external
                      pjfry : None (user set)
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : /home/giopolykra/MG5_aMC_v2_6_6/HEPTools/pythia8 (user set)
                    samurai : None
               syscalc_path : ./SysCalc
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.