Opened 2 years ago
Last modified 2 years ago
#1543 new Bug
Seg Fault when running ./DelphesPythia8
Reported by: | fdelzanno | Owned by: | fdelzanno |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | pythia8, hadronization | Cc: |
Description
Hello,
I am trying to run ./DelphesPythia8 with Delphes-3.5.0 and pythia8245 with a .tcl and .cmnd file. At some point during the pythia event generation, I get this error:
Pythia::next(): 141200 events have been generated
PYTHIA Error in Pythia::next: partonLevel failed; try again
PYTHIA Abort from Pythia::next: parton+hadronLevel failed; giving up
* Break * segmentation violation
usr/lib/system/libsystem_platform.dylib _sigtramp (no debug info)
usr/lib/system/libsystem_c.dylib sF (no debug info)
Users/fdelzanno/Desktop/Delphes-3.5.0/./DelphesPythia8 main (no debug info)
usr/lib/system/libdyld.dylib start (no debug info)
When I run pythia8245 with the same .cmnd file but without Delphes, the same parton+HadronLevel failed error appears but it does not stop the code. How can I run pythia through Delphes without getting the seg fault whenever the parton+HadronLevel error appears?
I went into the readers/DelphesPythia8.cpp file and commented out the following two lines around line 391:
modularDelphes->Clear();
reader->Clear();
This seems to solve the seg fault problem, as it is possible that Delphes attempts to clear data files that do not exist once pythia aborts the event.