Problem with pythia8.c

Hi, I’ve been trying to execute the example code pythia8.c from the ROOT manual, but I can’t make it work, it shows me this:

root [0] .x pythia8.c
PYTHIA Error in Settings::flag: unknown key Tune:preferLHAPDF
PYTHIA Abort from Pythia::Pythia: unmatched version numbers : in code 8.186 but in XML 8.307
PYTHIA Abort from Pythia::init: constructor initialization failed

-------- PYTHIA Event Listing ---------------------------------------------------------------------------------------------------

no        id   name            status     mothers   daughters     colours      p_x        p_y        p_z         e          m 
                               Charge sum:  0.000           Momentum sum:      0.000      0.000      0.000      0.000      0.000

-------- End PYTHIA Event Listing -----------------------------------------------------------------------------------------------

------- PYTHIA Error and Warning Messages Statistics ----------------------------------------------------------
| |
| times message |
| |
| 1 Abort from Pythia::Pythia: unmatched version numbers |
| 1 Abort from Pythia::init: constructor initialization failed |
| 1 Error in Settings::flag: unknown key |
| |
------- End PYTHIA Error and Warning Messages Statistics ------------------------------------------------------

It seems like I’m supposed to install HEB-MC, or LHAPDF, but I don’t know how to do that, I’m still a newbie. Can someone help me, please?

Hi @E_Armenta ,

welcome to the ROOT forum. @Axel might know what’s the best way to proceed here, let’s ping him.

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.