Closed j-s-ashley closed 2 months ago
Closed as insurmountable without admin intervention. We'll be using MadGraph and Pythia separately.
Can you make a ticket for the LCG folks before closing?
Ah, that would be smart! I'll get a ticket drafted and include that info in this issue as well. Thanks!
JIRA issue created: https://its.cern.ch/jira/browse/SPI-2537
I'll update with any responses!
The Plot Intensifies...
Pythia, as sourced via LCG, has a similar problem.
Basic functionality is intact, but the HepMC libraries (for both 2e and 3e) are not linked in the Pythia configuration files.
This means that, although we can shower with Pythia, since (thankfully) the LHE-input reading functionality is built into Pythia's own code, we cannot output in HepMC format.
Attempts to set LD_LIBRARY_PATH to include the HepMC libraries have not been productive.
I tacked the path to the HepMC library onto the end of the existing string for LD_LIBRARY_PATH, then tried running a basic HepMC output Pythia example file and was met with a familiar wall of "undefined reference" errors. 🍻
the HepMC libraries (for both 2e and 3e) are not linked in the Pythia configuration files
This is true in most LCG views, but not all. After being shown a list of Pythia packages with the HEPMC2_USE flag set to true, I was able to track down a handful of views that used those packages.
The most up-to-date view that contains working installations of MadGraph and HepMC-enabled Pythia is located on LXPlus here: /cvmfs/sft.cern.ch/lcg/views/LCG_102b_ATLAS_6/x86_64-centos9-gcc11-opt/setup.sh
I'll be updating the generate_events README to include the full process of setting up the LCG view to use both generators.
Effectively, this issue has been circumnavigated, though the core problem (none of the LCG stacks allow MadGraph to shower with Pythia seamlessly) still exists.
MadGraph, as sourced from LCG on LXPlus, is not set up to allow for showering via Pythia.
The process I used to produce this result:
klist
and, if necessary,kinit
voms-proxy-init --rfc --voms cms -valid 192:00
source /cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-el9-gcc13-opt/setup.sh
(for example)mg5_aMC
shower=Pythia8
.When I try to get MadGraph to install Pythia for showering (by entering the command
install pythia8
after step 6), it yells at me about the file system being read-only.I have tried the following releases: 105, 105a, 104, 104swan