MadGraph pythia8 interface

Asked by Suchita Kulkarni

Hello,

I am trying to hadronize events generated by madgraph via the built in interface with pythia8. The installation of interface, pythia8 and hepmc (no LHAPDF) proceeds smooth. However when I try to hadronise simple Drell Yann production (parton level + 2j) using pythia8 interface, I get the error:

InvalidCmd : Could not find cross-section and event number information in Pythia8 log

the log file lists zero cross section. I checked so far with MG5 version 2.6.7 and 2.5.5. Within these two versions I can install the pythia8 interface for newer version the pythia8 installation and the interface installation fails. I am working on a Linus X86_64 machine.

Question information

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

Hi,

What is the crash for 2.7.x when you try to install?
In principle, the installation procedure is 100% the same for all version of MG5aMC (since you first download the installer).

Now that's True that 2.7.x will request to install lhapdf6.2
while previous version of MG5aMC will install lhapdf6.1

Cheers,

Olivier

> On 28 Mar 2020, at 15:43, Suchita Kulkarni <email address hidden> wrote:
>
> New question #689552 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/689552
>
> Hello,
>
> I am trying to hadronize events generated by madgraph via the built in interface with pythia8. The installation of interface, pythia8 and hepmc (no LHAPDF) proceeds smooth. However when I try to hadronise simple Drell Yann production (parton level + 2j) using pythia8 interface, I get the error:
>
> InvalidCmd : Could not find cross-section and event number information in Pythia8 log
>
> the log file lists zero cross section. I checked so far with MG5 version 2.6.7 and 2.5.5. Within these two versions I can install the pythia8 interface for newer version the pythia8 installation and the interface installation fails. I am working on a Linus X86_64 machine.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Suchita Kulkarni (suchitakulkarni) said :
#2

Hi

I am trying the whole procedure on two different systems and whichever one works will be good.

Therefore there are two sets of problems, sorry I was not clear before.

1) I am trying to install MG5 on a computing cluster. I could somehow install 2.6.7 but not 2.7.2. When I try to install 2.7.2, I get the following error:

clip-c2-109 ~/MG5_aMC_v2_7_2> ./bin/mg5_aMC
************************************************************
* *
* 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 2.7.2 2020-03-17 *
* *
* The MadGraph5_aMC@NLO Development Team - Find us at *
* https://server06.fynu.ucl.ac.be/projects/madgraph *
* and *
* http://amcatnlo.web.cern.ch/amcatnlo/ *
* *
* 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_configuration.txt
fastjet-config does not seem to correspond to a valid fastjet-config executable (v3+). We will use fjcore instead.
 Please set the 'fastjet'variable to the full (absolute) /PATH/TO/fastjet-config (including fastjet-config).
 MG5_aMC> set fastjet /PATH/TO/fastjet-config

lhapdf-config does not seem to correspond to a valid lhapdf-config executable.
Please set the 'lhapdf' variable to the (absolute) /PATH/TO/lhapdf-config (including lhapdf-config).
Note that you can still compile and run aMC@NLO with the built-in PDFs
 MG5_aMC> set lhapdf /PATH/TO/lhapdf-config

Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
Checking if MG5 is up-to-date... (takes up to 2s)
No new version of MG5 available
Loading default model: sm
INFO: load particles
INFO: load vertices
INFO: Restrict model sm with file models/sm/restrict_default.dat .
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>install pythia8
   You are installing 'pythia8', please cite ref(s): arXiv:1410.3012.
Downloading the HEPToolInstaller at:
   http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V128.tar.gz
LHAPDF was not found. Do you want to install LHPADF6? (recommended) y/n >[y] [60s to answer]
>n
You decided not to link the Pythia8 installation to LHAPDF. Beware that only built-in PDF sets can be used then.
Now installing Pythia8. Be patient...
Detected 'pythia8' missing dependency: 'hepmc'. Will install it now.
Fetching data with command:
  wget --no-check-certificate http://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.09.tgz
--2020-03-28 16:47:26-- http://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.09.tgz
Resolving hepmc.web.cern.ch (hepmc.web.cern.ch)... 188.184.66.130
Connecting to hepmc.web.cern.ch (hepmc.web.cern.ch)|188.184.66.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3802048 (3.6M) [application/x-tar]
Saving to: ‘hepmc2.06.09.tgz.gz’

hepmc2.06.09.tgz.gz 100%[================================================================================================================>] 3.62M 3.37MB/s in 1.1s

2020-03-28 16:47:27 (3.37 MB/s) - ‘hepmc2.06.09.tgz.gz’ saved [3802048/3802048]

Could not download data at '/tmp/tmpPlk2XS/hepmc2.06.09.tgz'.
Command "install pythia8 " interrupted in sub-command:
"install pythia8" with error:
InvalidCmd : Installation of pythia8 failed.

2) Now I switch to a standalone machine (not within the cluster but a different computing environment). Here I can install any version but I get the error as I pasted before. I tried this just now with 2.6.7, 2.7.0 and 2.7.2.

Once again very sorry that I did not give you the full backstory. On any platform I have not attempted installation of LHAPDF.

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

Hi,

Concerning 1)
This sounds a nettwork issue or something of that type.
I do not see how this can be different from 2.6.7 and from 2.7.2

Concerning 2)
Can you paste the pythia log file?
Note that this is likely a pythia issue and if this is so, I might not be able to help you (in that case you will need to contact the Pythia author). But let's take a look at your file first.

Cheers,

Olivier

> On 28 Mar 2020, at 17:08, Suchita Kulkarni <email address hidden> wrote:
>
> Question #689552 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/689552
>
> Status: Answered => Open
>
> Suchita Kulkarni is still having a problem:
> Hi
>
> I am trying the whole procedure on two different systems and whichever
> one works will be good.
>
> Therefore there are two sets of problems, sorry I was not clear before.
>
> 1) I am trying to install MG5 on a computing cluster. I could somehow
> install 2.6.7 but not 2.7.2. When I try to install 2.7.2, I get the
> following error:
>
> clip-c2-109 ~/MG5_aMC_v2_7_2> ./bin/mg5_aMC
> ************************************************************
> * *
> * 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 2.7.2 2020-03-17 *
> * *
> * The MadGraph5_aMC@NLO Development Team - Find us at *
> * https://server06.fynu.ucl.ac.be/projects/madgraph *
> * and *
> * http://amcatnlo.web.cern.ch/amcatnlo/ *
> * *
> * 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_configuration.txt
> fastjet-config does not seem to correspond to a valid fastjet-config executable (v3+). We will use fjcore instead.
> Please set the 'fastjet'variable to the full (absolute) /PATH/TO/fastjet-config (including fastjet-config).
> MG5_aMC> set fastjet /PATH/TO/fastjet-config
>
> lhapdf-config does not seem to correspond to a valid lhapdf-config executable.
> Please set the 'lhapdf' variable to the (absolute) /PATH/TO/lhapdf-config (including lhapdf-config).
> Note that you can still compile and run aMC@NLO with the built-in PDFs
> MG5_aMC> set lhapdf /PATH/TO/lhapdf-config
>
> Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
> Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
> Checking if MG5 is up-to-date... (takes up to 2s)
> No new version of MG5 available
> Loading default model: sm
> INFO: load particles
> INFO: load vertices
> INFO: Restrict model sm with file models/sm/restrict_default.dat .
> 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>install pythia8
> You are installing 'pythia8', please cite ref(s): arXiv:1410.3012.
> Downloading the HEPToolInstaller at:
> http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V128.tar.gz
> LHAPDF was not found. Do you want to install LHPADF6? (recommended) y/n >[y] [60s to answer]
>> n
> You decided not to link the Pythia8 installation to LHAPDF. Beware that only built-in PDF sets can be used then.
> Now installing Pythia8. Be patient...
> Detected 'pythia8' missing dependency: 'hepmc'. Will install it now.
> Fetching data with command:
> wget --no-check-certificate http://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.09.tgz
> --2020-03-28 16:47:26-- http://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.09.tgz
> Resolving hepmc.web.cern.ch (hepmc.web.cern.ch)... 188.184.66.130
> Connecting to hepmc.web.cern.ch (hepmc.web.cern.ch)|188.184.66.130|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 3802048 (3.6M) [application/x-tar]
> Saving to: ‘hepmc2.06.09.tgz.gz’
>
> hepmc2.06.09.tgz.gz
> 100%[================================================================================================================>]
> 3.62M 3.37MB/s in 1.1s
>
> 2020-03-28 16:47:27 (3.37 MB/s) - ‘hepmc2.06.09.tgz.gz’ saved
> [3802048/3802048]
>
> Could not download data at '/tmp/tmpPlk2XS/hepmc2.06.09.tgz'.
> Command "install pythia8 " interrupted in sub-command:
> "install pythia8" with error:
> InvalidCmd : Installation of pythia8 failed.
>
> 2) Now I switch to a standalone machine (not within the cluster but a
> different computing environment). Here I can install any version but I
> get the error as I pasted before. I tried this just now with 2.6.7,
> 2.7.0 and 2.7.2.
>
> Once again very sorry that I did not give you the full backstory. On any
> platform I have not attempted installation of LHAPDF.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Suchita Kulkarni (suchitakulkarni) said :
#4

Hi Oliver,

Concerning 1) I will contact the network administrator and check if the issue is on their side.

Concerning 2) I solved it! It was an issue of PYTHIA8PATH conflict between my standalone pythia8 version and the one installed in MG5. Apparently MG5 does not export it's own pythia8 path and hence it took the default system path, leading to conflict in the versions. I manually export the MG5 pythia8 path for every run and it works fine. I should have caught this before. Sorry to have bothered.

I close this thread for now, depending on the answer of network administrator for issue 1) I will contact you again. Thank you very much.

Best,
Suchita