No shower/hadronization option even after installing mg5amc_py8_interface
I'm using MG5 v3.5.3. I have manually installed pythia8 somewhere else and input the path in the configuration file. Then successfully installed the mg5amc_
Then I tried to generate some random process, e.g. p p > t t~. Then output, then launch. There is no shower/
Some output during the launching process:
INFO: load configuration from /Users/
INFO: load configuration from /Users/
INFO: load configuration from /Users/
generate_events run_01
The following switches determine which programs are run:
/======
| 1. Choose the shower/
| 2. Choose the detector simulation program | detector = Not Avail. | Please install module |
| 3. Choose an analysis package (plot/convert) | analysis = Not Avail. | Please install module |
| 4. Decay onshell particles | madspin = OFF | ON|onshell|full |
| 5. Add weights to events for new hypp. | reweight = OFF | ON |
\======
I notice that the configuration file in the output directory is 'me5_configurat
The configuration file in the output directory, however, is indeed 'me5_configurat
Is there a bug in this output?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Isaac Wang
- Solved:
- Last query:
- Last reply:
Related bugs
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
Update: I tried to manually write the correct mg5am_py8_interface and pythia8 path into the configuration file in the event/cards path. Does not work.
I noticed that when I start MG5, it reports that lhapdf and fastjet is loaded from the configuration file, but did not mention pythia8. However, the pythia8 configuration code is indeed there. The output for login mg5 is the following:
*******
* *
* W E L C O M E to *
* M A D G R A P H 5 _ a M C @ N L O *
* *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 3.5.3 2023-12-23 *
* *
* The MadGraph5_aMC@NLO Development Team - Find us at *
* http://
* and *
* http://
* *
* Type 'help' for in-line help. *
* Type 'tutorial' to learn how MG5 works *
* Type 'tutorial aMCatNLO' to learn how aMC@NLO works *
* Type 'tutorial MadLoop' to learn how MadLoop works *
* *
*******
load MG5 configuration from input/mg5_
set fastjet to fastjet-config
eMELA-config does not seem to correspond to a valid eMELA-config executable.
Please set the 'fastjet'variable to the full (absolute) /PATH/TO/
MG5_aMC> set eMELA /PATH/TO/
set lhapdf to /Users/
Loading default model: sm
INFO: Restrict model sm with file models/
INFO: Run "set stdout_level DEBUG" before import for more information.
INFO: Change particles name to pass to MG5 convention
Defined multiparticle p = g u c d s u~ c~ d~ s~
Defined multiparticle j = g u c d s u~ c~ d~ s~
Defined multiparticle l+ = e+ mu+
Defined multiparticle l- = e- mu-
Defined multiparticle vl = ve vm vt
Defined multiparticle vl~ = ve~ vm~ vt~
Defined multiparticle all = g u c d s u~ c~ d~ s~ a ve vm vt e- mu- ve~ vm~ vt~ e+ mu+ t b t~ b~ z w+ h w- ta- ta+
MG5_aMC>
The configuration file is the following:
#######
#
# Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
#
# This file is a part of the MadGraph5_aMC@NLO project, an application which
# automatically generates Feynman diagrams and matrix elements for arbitrary
# high-energy processes in the Standard Model and beyond.
#
# It is subject to the MadGraph5_aMC@NLO license which should accompany this
# distribution.
#
# For more information, visit madgraph.
#
#######
#
# This File contains some configuration variable for MadGraph/MadEvent
#
# Line starting by #! are comment and should remain commented
# Line starting with # should be uncommented if you want to modify the default
# value.
# Current value for all options can seen by typing "display options"
# after either ./bin/mg5_aMC or ./bin/madevent
#
# You can place this files in ~/.mg5/
# one version of MG5.
#
#######
#! Allow/Refuse syntax that changed meaning in version 3.1 of the code
#! (Compare to 3.0, 3.1 is back to the meaning of 2.x branch)
#!
# acknowledged_
#! Prefered Fortran Compiler
#! If None: try to find g77 or gfortran on the system
#!
# fortran_compiler = None
# f2py_compiler_py2 = None
# f2py_compiler_py3 = None
#! Prefered C++ Compiler
#! If None: try to find g++ or clang on the system
#!
# cpp_compiler = None
#! Prefered Text Editor
#! Default: use the shell default Editor
#! or try to find one available on the system
#! Be careful: Only shell based editor are allowed
text_editor = nvim #
#! Prefered WebBrower
#! If None: try to find one available on the system
# web_browser = None
#! Prefered PS viewer
#! If None: try to find one available on the system
# eps_viewer = None
#! Time allowed to answer question (if no answer takes default value)
#! 0: No time limit
# timeout = 60
#! Pythia8 path.
#! Defines the path to the pythia8 installation directory (i.e. the
#! on containing the lib, bin and include directories) .
#! If using a relative path, that starts from the mg5 directory
pythia8_path = /Users/
#! MG5aMC_
#! Defines the path of the C++ driver file that is used by MG5_aMC to
#! steer the Pythia8 shower.
#! Can be installed directly from within MG5_aMC with the following command:
#! MG5_aMC> install mg5amc_
mg5amc_
#! Herwig++/Herwig7 paths
#! specify here the paths also to HepMC ant ThePEG
#! define the path to the herwig++, thepeg and hepmc directories.
#! paths can be absolute or relative from mg5 directory
#! WARNING: if Herwig7 has been installed with the bootstrap script,
#! then please set thepeg_path and hepmc_path to the same value as
#! hwpp_path
hwpp_path = /Users/
thepeg_path = /Users/
hepmc_path = /Users/
#! Control when MG5 checks if he is up-to-date.
#! Enter the number of day between two check (0 means never)
#! A question is always asked before any update
auto_update = 7 #
#######
# INFO FOR MADEVENT / aMC@NLO
#######
# If this file is in a MADEVENT Template. 'main directory' is the directory
# containing the SubProcesses directory. Otherwise this is the MadGraph5_aMC@NLO main
# directory (containing the directories madgraph and Template)
#! Allow/Forbid the automatic opening of the web browser (on the status page)
#! when launching MadEvent [True/False]
# automatic_
#! allow notification of finished job in the notification center (Mac Only)
# notification_center = True
#! Default Running mode
#! 0: single machine/ 1: cluster / 2: multicore
# run_mode = 2
#! Cluster Type [pbs|sge|
#! And cluster queue (or partition for slurm)
#! And size of the cluster (some part of the code can adapt splitting accordingly)
# cluster_type = condor
# cluster_queue = madgraph
# cluster_size = 150
#! Path to a node directory to avoid direct writing on the central disk
#! Note that condor clusters avoid direct writing by default (therefore this
#! options does not affect condor clusters)
# cluster_temp_path = None
#! path to a node directory where local file can be found (typically pdf)
#! to avoid to send them to the node (if cluster_temp_path is on True or condor)
# cluster_local_path = None # example: /cvmfs/
#! Cluster waiting time for status update
#! First number is when the number of waiting job is higher than the number
#! of running one (time in second). The second number is in the second case.
# cluster_
#! How to deal with failed submission (can occurs on cluster mode)
#! 0: crash, -1: print error, hangs the program up to manual instructions, N(>0) retry up to N times.
# cluster_nb_retry = 1
#! How much time to wait for the output file before resubmission/crash (filesystem can be very slow)
# cluster_retry_wait = 300
#! Nb_core to use (None = all) This is use only for multicore run
#! This correspond also to the number core used for code compilation for cluster mode
# nb_core = None
#! Pythia-PGS Package
#! relative path start from main directory
pythia-pgs_path = /Users/
#! Delphes Package
#! relative path start from main directory
delphes_path = /Users/
#! MadAnalysis4 fortran-based package [for basic analysis]
#! relative path start from main directory
madanalysis_path = /Users/
#! MadAnalysis5 python-based Package [For advanced analysis]
#! relative path start from main directory
madanalysis5_path = /Users/
#! ExRootAnalysis Package
#! relative path start from main directory
exrootanalysis_path = /Users/
#! TOPDRAWER PATH
#! Path to the directory containing td executables
#! relative path start from main directory
td_path = /Users/
#! lhapdf-config --can be specify differently depending of your python version
#! If None: try to find one available on the system
# lhapdf_py2 = lhapdf-config
# lhapdf_py3 = lhapdf-config
#! fastjet-config
#! If None: try to find one available on the system
# fastjet = fastjet-config
#! eMELA-config
#! If None: try to find one available on the system
# eMELA = eMELA-config
#! MCatNLO-utilities
#! relative path starting from main directory
# MCatNLO-
#! Set what OLP to use for the loop ME generation
# OLP = MadLoop
#! Set the PJFRy++ directory containing pjfry's library
#! if auto: try to find it automatically on the system (default)
#! if '' or None: disabling pjfry
#! if pjfry=/
# pjfry = auto
#! Set the Golem95 directory containing golem's library
#! It only supports version higher than 1.3.0
#! if auto: try to find it automatically on the system (default)
#! if '' or None: disabling Golem95
#! if golem=/
# golem = auto
#! Set the samurai directory containing samurai's library
#! It only supports version higher than 2.0.0
#! if auto: try to find it automatically on the system (default)
#! if '' or None: disabling samurai
#! if samurai=
# samurai = None
#! Set the Ninja directory containing ninja's library
#! if '' or None: disabling ninja
#! if ninja=/
# ninja = ./HEPTools/lib
#! Set the COLLIER directory containing COLLIER's library
#! if '' or None: disabling COLLIER
#! if ninja=/
# Note that it is necessary that you have generated a static library for COLLIER
# collier = ./HEPTools/lib
#! Set how MadLoop dependencies (such as CutTools) should be handled
#! > external : ML5 places a link to the MG5_aMC-wide libraries
#! > internal : ML5 copies all dependencies in the output so that it is independent
#! > environment_paths : ML5 searches for the dependencies in your environment path
# output_dependencies = external
#! SysCalc PATH
#! Path to the directory containing syscalc executables
#! relative path start from main directory
syscalc_path = /Users/
#! Absolute paths to the config script in the bin directory of PineAPPL
#! (to generate PDF-independent fast-interpolation grids).
# pineappl = pineappl
mg5_path = /Users/
# MG5 MAIN DIRECTORY
mg5_path = /Users/
lhapdf = /Users/
# MG5 MAIN DIRECTORY
mg5_path = /Users/
Revision history for this message
|
#2 |
Hi,
pythia8_path = /Users/
is likely an invalid path ...
Cheers,
Olivier
> On 19 Mar 2024, at 19:00, Isaac Wang <email address hidden> wrote:
>
> Question #709602 on MadGraph5_aMC@NLO changed:
> https:/
>
> Isaac Wang gave more information on the question:
> Update: I tried to manually write the correct mg5am_py8_interface and
> pythia8 path into the configuration file in the event/cards path. Does
> not work.
>
> I noticed that when I start MG5, it reports that lhapdf and fastjet is
> loaded from the configuration file, but did not mention pythia8.
> However, the pythia8 configuration code is indeed there. The output for
> login mg5 is the following:
>
> *******
> * *
> * W E L C O M E to *
> * M A D G R A P H 5 _ a M C @ N L O *
> * *
> * *
> * * * *
> * * * * * *
> * * * * * 5 * * * * *
> * * * * * *
> * * * *
> * *
> * VERSION 3.5.3 2023-12-23 *
> * *
> * The MadGraph5_aMC@NLO Development Team - Find us at *
> * http://
> * and *
> * http://
> * *
> * Type 'help' for in-line help. *
> * Type 'tutorial' to learn how MG5 works *
> * Type 'tutorial aMCatNLO' to learn how aMC@NLO works *
> * Type 'tutorial MadLoop' to learn how MadLoop works *
> * *
> *******
> load MG5 configuration from input/mg5_
> set fastjet to fastjet-config
> eMELA-config does not seem to correspond to a valid eMELA-config executable.
> Please set the 'fastjet'variable to the full (absolute) /PATH/TO/
> MG5_aMC> set eMELA /PATH/TO/
>
> set lhapdf to /Users/
> Loading default model: sm
> INFO: Restrict model sm with file models/
> INFO: Run "set stdout_level DEBUG" before import for more information.
> INFO: Change particles name to pass to MG5 convention
> Defined multiparticle p = g u c d s u~ c~ d~ s~
> Defined multiparticle j = g u c d s u~ c~ d~ s~
> Defined multiparticle l+ = e+ mu+
> Defined multiparticle l- = e- mu-
> Defined multiparticle vl = ve vm vt
> Defined multiparticle vl~ = ve~ vm~ vt~
> Defined multiparticle all = g u c d s u~ c~ d~ s~ a ve vm vt e- mu- ve~ vm~ vt~ e+ mu+ t b t~ b~ z w+ h w- ta- ta+
> MG5_aMC>
>
> The configuration file is the following:
> #######
> #
> # Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
> #
> # This file is a part of the MadGraph5_aMC@NLO project, an application which
> # automatically generates Feynman diagrams and matrix elements for arbitrary
> # high-energy processes in the Standard Model and beyond.
> #
> # It is subject to the MadGraph5_aMC@NLO license which should accompany this
> # distribution.
> #
> # For more information, visit madgraph.
> #
> #######
> #
> # This File contains some configuration variable for MadGraph/MadEvent
> #
> # Line starting by #! are comment and should remain commented
> # Line starting with # should be uncommented if you want to modify the default
> # value.
> # Current value for all options can seen by typing "display options"
> # after either ./bin/mg5_aMC or ./bin/madevent
> #
> # You can place this files in ~/.mg5/
> # one version of MG5.
> #
> #######
>
> #! Allow/Refuse syntax that changed meaning in version 3.1 of the code
> #! (Compare to 3.0, 3.1 is back to the meaning of 2.x branch)
> #!
> # acknowledged_
>
>
> #! Prefered Fortran Compiler
> #! If None: try to find g77 or gfortran on the system
> #!
> # fortran_compiler = None
> # f2py_compiler_py2 = None
> # f2py_compiler_py3 = None
>
>
> #! Prefered C++ Compiler
> #! If None: try to find g++ or clang on the system
> #!
> # cpp_compiler = None
>
> #! Prefered Text Editor
> #! Default: use the shell default Editor
> #! or try to find one available on the system
> #! Be careful: Only shell based editor are allowed
> text_editor = nvim #
>
> #! Prefered WebBrower
> #! If None: try to find one available on the system
> # web_browser = None
>
> #! Prefered PS viewer
> #! If None: try to find one available on the system
> # eps_viewer = None
>
> #! Time allowed to answer question (if no answer takes default value)
> #! 0: No time limit
> # timeout = 60
>
> #! Pythia8 path.
> #! Defines the path to the pythia8 installation directory (i.e. the
> #! on containing the lib, bin and include directories) .
> #! If using a relative path, that starts from the mg5 directory
> pythia8_path = /Users/
>
> #! MG5aMC_
> #! Defines the path of the C++ driver file that is used by MG5_aMC to
> #! steer the Pythia8 shower.
> #! Can be installed directly from within MG5_aMC with the following command:
> #! MG5_aMC> install mg5amc_
> mg5amc_
>
> #! Herwig++/Herwig7 paths
> #! specify here the paths also to HepMC ant ThePEG
> #! define the path to the herwig++, thepeg and hepmc directories.
> #! paths can be absolute or relative from mg5 directory
> #! WARNING: if Herwig7 has been installed with the bootstrap script,
> #! then please set thepeg_path and hepmc_path to the same value as
> #! hwpp_path
> hwpp_path = /Users/
> thepeg_path = /Users/
> hepmc_path = /Users/
>
> #! Control when MG5 checks if he is up-to-date.
> #! Enter the number of day between two check (0 means never)
> #! A question is always asked before any update
> auto_update = 7 #
>
> #######
> # INFO FOR MADEVENT / aMC@NLO
> #######
> # If this file is in a MADEVENT Template. 'main directory' is the directory
> # containing the SubProcesses directory. Otherwise this is the MadGraph5_aMC@NLO main
> # directory (containing the directories madgraph and Template)
>
> #! Allow/Forbid the automatic opening of the web browser (on the status page)
> #! when launching MadEvent [True/False]
> # automatic_
> #! allow notification of finished job in the notification center (Mac Only)
> # notification_center = True
>
>
> #! Default Running mode
> #! 0: single machine/ 1: cluster / 2: multicore
> # run_mode = 2
>
> #! Cluster Type [pbs|sge|
> #! And cluster queue (or partition for slurm)
> #! And size of the cluster (some part of the code can adapt splitting accordingly)
> # cluster_type = condor
> # cluster_queue = madgraph
> # cluster_size = 150
>
> #! Path to a node directory to avoid direct writing on the central disk
> #! Note that condor clusters avoid direct writing by default (therefore this
> #! options does not affect condor clusters)
> # cluster_temp_path = None
>
> #! path to a node directory where local file can be found (typically pdf)
> #! to avoid to send them to the node (if cluster_temp_path is on True or condor)
> # cluster_local_path = None # example: /cvmfs/
>
> #! Cluster waiting time for status update
> #! First number is when the number of waiting job is higher than the number
> #! of running one (time in second). The second number is in the second case.
> # cluster_
>
> #! How to deal with failed submission (can occurs on cluster mode)
> #! 0: crash, -1: print error, hangs the program up to manual instructions, N(>0) retry up to N times.
> # cluster_nb_retry = 1
>
> #! How much time to wait for the output file before resubmission/crash (filesystem can be very slow)
> # cluster_retry_wait = 300
>
> #! Nb_core to use (None = all) This is use only for multicore run
> #! This correspond also to the number core used for code compilation for cluster mode
> # nb_core = None
>
> #! Pythia-PGS Package
> #! relative path start from main directory
> pythia-pgs_path = /Users/
>
> #! Delphes Package
> #! relative path start from main directory
> delphes_path = /Users/
>
> #! MadAnalysis4 fortran-based package [for basic analysis]
> #! relative path start from main directory
> madanalysis_path = /Users/
>
> #! MadAnalysis5 python-based Package [For advanced analysis]
> #! relative path start from main directory
> madanalysis5_path = /Users/
>
> #! ExRootAnalysis Package
> #! relative path start from main directory
> exrootanalysis_path = /Users/
>
> #! TOPDRAWER PATH
> #! Path to the directory containing td executables
> #! relative path start from main directory
> td_path = /Users/
>
> #! lhapdf-config --can be specify differently depending of your python version
> #! If None: try to find one available on the system
> # lhapdf_py2 = lhapdf-config
> # lhapdf_py3 = lhapdf-config
>
> #! fastjet-config
> #! If None: try to find one available on the system
> # fastjet = fastjet-config
>
> #! eMELA-config
> #! If None: try to find one available on the system
> # eMELA = eMELA-config
>
> #! MCatNLO-utilities
> #! relative path starting from main directory
> # MCatNLO-
>
> #! Set what OLP to use for the loop ME generation
> # OLP = MadLoop
>
> #! Set the PJFRy++ directory containing pjfry's library
> #! if auto: try to find it automatically on the system (default)
> #! if '' or None: disabling pjfry
> #! if pjfry=/
> # pjfry = auto
>
> #! Set the Golem95 directory containing golem's library
> #! It only supports version higher than 1.3.0
> #! if auto: try to find it automatically on the system (default)
> #! if '' or None: disabling Golem95
> #! if golem=/
> # golem = auto
>
> #! Set the samurai directory containing samurai's library
> #! It only supports version higher than 2.0.0
> #! if auto: try to find it automatically on the system (default)
> #! if '' or None: disabling samurai
> #! if samurai=
> # samurai = None
>
> #! Set the Ninja directory containing ninja's library
> #! if '' or None: disabling ninja
> #! if ninja=/
> # ninja = ./HEPTools/lib
>
> #! Set the COLLIER directory containing COLLIER's library
> #! if '' or None: disabling COLLIER
> #! if ninja=/
> # Note that it is necessary that you have generated a static library for COLLIER
> # collier = ./HEPTools/lib
>
> #! Set how MadLoop dependencies (such as CutTools) should be handled
> #! > external : ML5 places a link to the MG5_aMC-wide libraries
> #! > internal : ML5 copies all dependencies in the output so that it is independent
> #! > environment_paths : ML5 searches for the dependencies in your environment path
> # output_dependencies = external
>
> #! SysCalc PATH
> #! Path to the directory containing syscalc executables
> #! relative path start from main directory
> syscalc_path = /Users/
>
> #! Absolute paths to the config script in the bin directory of PineAPPL
> #! (to generate PDF-independent fast-interpolation grids).
> # pineappl = pineappl
>
>
> mg5_path = /Users/
>
> # MG5 MAIN DIRECTORY
> mg5_path = /Users/
> lhapdf = /Users/
>
> # MG5 MAIN DIRECTORY
> mg5_path = /Users/
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.
Revision history for this message
|
#3 |
Hi,
I do not know why I copied this line. But I reopened this file and the corresponding lines are
#! If using a relative path, that starts from the mg5 directory
pythia8_path = /Users/
#! MG5aMC_
#! Defines the path of the C++ driver file that is used by MG5_aMC to
#! steer the Pythia8 shower.
#! Can be installed directly from within MG5_aMC with the following command:
#! MG5_aMC> install mg5amc_
mg5amc_
Then I re-run MG5, same result.
Revision history for this message
|
#4 |
I got the origin of the problem. It's because the pythia8_path should refer to the pythia8 installation directory, instead of the `pythia8-config` file location.