Pythia not detected when using generate_events

Asked by Jared Barron on 2019-08-23

Hello,

I've installed Pythia8 from within Madgraph, and Delphes separately, then moved my Delphes directory into the main Madgraph directory. When I generate events through the CLI by running ~/MG5_aMC_v_6_5/bin/mg5_aMC , I can turn on showering and detector simulation, and everything runs as expected. However, when I then try to generate additional runs from the output directory of the simulation, using <output>/bin/generate_events, the CLI comes up, but claims 'Delphes program installed but no parton shower module detected. Please install pythia8' , and showering and detector simulation are not available to select. I've checked in the <output>/Cards/me5_configuration.txt , and the pythia8_path and mg5_pythia8_interface paths are ./HEPTools/pythia8 and ./HEPTools/MG5aMC_PY8_interface, which I believe are correct. Both of those directories exist in the main Madgraph directory, so I'm not sure why Pythia can't be found. I've used /generate_events before on a different machine, without issues.

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2019-08-23
Last query:
2019-08-23
Last reply:
2019-08-23

Just comment those lines in that file or put the absolute path instead

Cheers

Olivier

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: <email address hidden> <email address hidden> on behalf of Jared Barron <email address hidden>
Sent: Friday, August 23, 2019 6:43:15 PM
To: Olivier Mattelaer <email address hidden>
Subject: [Question #683237]: Pythia not detected when using generate_events

New question #683237 on MadGraph5_aMC@NLO:
https://answers.launchpad.net/mg5amcnlo/+question/683237

Hello,

I've installed Pythia8 from within Madgraph, and Delphes separately, then moved my Delphes directory into the main Madgraph directory. When I generate events through the CLI by running ~/MG5_aMC_v_6_5/bin/mg5_aMC , I can turn on showering and detector simulation, and everything runs as expected. However, when I then try to generate additional runs from the output directory of the simulation, using <output>/bin/generate_events, the CLI comes up, but claims 'Delphes program installed but no parton shower module detected. Please install pythia8' , and showering and detector simulation are not available to select. I've checked in the <output>/Cards/me5_configuration.txt , and the pythia8_path and mg5_pythia8_interface paths are ./HEPTools/pythia8 and ./HEPTools/MG5aMC_PY8_interface, which I believe are correct. Both of those directories exist in the main Madgraph directory, so I'm not sure why Pythia can't be found. I've used /generate_events before on a different machine, without issues.

--
You received this question notification because you are an answer
contact for MadGraph5_aMC@NLO.

Jared Barron (jbarron) said : #2

Thanks Olivier Mattelaer, that solved my question.

Jared Barron (jbarron) said : #3

Oh, it was a very simple mistake - I was under the impression that #! were commented lines and that # indicated lines that were not commented. I don't know why I thought that. Thank you!