A-A-Abdelhamid / LLP_Sleptons_RPV_SUSY

Here you can find MadGraph5 cards, diagrams, logs, plots, and code used in the project
2 stars 1 forks source link

Generation via CMVFS/LCG Source #30

Closed j-s-ashley closed 2 months ago

j-s-ashley commented 6 months ago

MadGraph, as sourced from LCG on LXPlus, is not set up to allow for showering via Pythia.

image

The process I used to produce this result:

  1. Connect to LXPlus via SSH using Termius.
  2. Ensure Kerberos tickets are valid. klist and, if necessary, kinit
  3. Authenticate grid proxy with CMS VOMS. voms-proxy-init --rfc --voms cms -valid 192:00
  4. Source the view. source /cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-el9-gcc13-opt/setup.sh (for example)
  5. Run MadGraph. mg5_aMC
  6. Manual input of commands contained in this proc card up to shower=Pythia8.
  7. Glare at error.

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.

image

I have tried the following releases: 105, 105a, 104, 104swan

j-s-ashley commented 5 months ago

Closed as insurmountable without admin intervention. We'll be using MadGraph and Pythia separately.

trholmes commented 5 months ago

Can you make a ticket for the LCG folks before closing?

j-s-ashley commented 5 months ago

Ah, that would be smart! I'll get a ticket drafted and include that info in this issue as well. Thanks!

j-s-ashley commented 5 months ago

JIRA issue created: https://its.cern.ch/jira/browse/SPI-2537

I'll update with any responses!

j-s-ashley commented 5 months ago

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. image

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.

j-s-ashley commented 4 months ago

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. 🍻

j-s-ashley commented 4 months ago

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.