Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#1122 closed Bug (fixed)

DelphesPythia8 with Pythia 8.226

Reported by: apdf Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: pythia8226 Cc:

Description

I could previously make and use DelphesPythia8 (in both Delphes-3.4.0 and Delphes-3.4.1) with an older version of pythia (8.219). However, I had to update to a newer version of pythia (8.226). Now when I try to make DelphesPythia8, by running:

make HAS_PYTHIA8=true DelphesPythia8

I get the following errors:

>> Building DelphesPythia8
tmp/readers/DelphesPythia8.o: In function `Pythia8::AlpgenHooks::AlpgenHooks(Pythia8::Pythia&)':
DelphesPythia8.cpp:(.text+0x20b7): undefined reference to `Pythia8::Settings::mode(std::string, int, bool)'
tmp/readers/DelphesPythia8.o: In function `Pythia8::AlpgenHooks::AlpgenHooks(Pythia8::Pythia&)':
DelphesPythia8.cpp:(.text+0x232c): undefined reference to `Pythia8::Settings::mode(std::string, int, bool)'
tmp/readers/DelphesPythia8.o: In function `Pythia8::JetMatchingMadgraph::initAfterBeams()':
DelphesPythia8.cpp:(.text._ZN7Pythia819JetMatchingMadgraph14initAfterBeamsEv[_ZN7Pythia819JetMatchingMadgraph14initAfterBeamsEv]+0x1996): undefined reference to `Pythia8::Settings::flag(std::string, bool, bool)'
DelphesPythia8.cpp:(.text._ZN7Pythia819JetMatchingMadgraph14initAfterBeamsEv[_ZN7Pythia819JetMatchingMadgraph14initAfterBeamsEv]+0x1a44): undefined reference to `Pythia8::Settings::parm(std::string, double, bool)'
DelphesPythia8.cpp:(.text._ZN7Pythia819JetMatchingMadgraph14initAfterBeamsEv[_ZN7Pythia819JetMatchingMadgraph14initAfterBeamsEv]+0x1aea): undefined reference to `Pythia8::Settings::mode(std::string, int, bool)'
DelphesPythia8.cpp:(.text._ZN7Pythia819JetMatchingMadgraph14initAfterBeamsEv[_ZN7Pythia819JetMatchingMadgraph14initAfterBeamsEv]+0x1ba6): undefined reference to `Pythia8::Settings::parm(std::string, double, bool)'
tmp/readers/DelphesPythia8.o: In function `Pythia8::AlpgenHooks::initAfterBeams()':
DelphesPythia8.cpp:(.text._ZN7Pythia811AlpgenHooks14initAfterBeamsEv[_ZN7Pythia811AlpgenHooks14initAfterBeamsEv]+0x580): undefined reference to `Pythia8::Settings::parm(std::string, double, bool)'
DelphesPythia8.cpp:(.text._ZN7Pythia811AlpgenHooks14initAfterBeamsEv[_ZN7Pythia811AlpgenHooks14initAfterBeamsEv]+0x5fe): undefined reference to `Pythia8::Settings::parm(std::string, double, bool)'
DelphesPythia8.cpp:(.text._ZN7Pythia811AlpgenHooks14initAfterBeamsEv[_ZN7Pythia811AlpgenHooks14initAfterBeamsEv]+0x695): undefined reference to `Pythia8::Settings::parm(std::string, double, bool)'
DelphesPythia8.cpp:(.text._ZN7Pythia811AlpgenHooks14initAfterBeamsEv[_ZN7Pythia811AlpgenHooks14initAfterBeamsEv]+0x788): undefined reference to `Pythia8::Settings::mode(std::string, int, bool)'
tmp/readers/DelphesPythia8.o: In function `Pythia8::JetMatchingMadgraphInputAlpgen::initAfterBeams()':
DelphesPythia8.cpp:(.text._ZN7Pythia830JetMatchingMadgraphInputAlpgen14initAfterBeamsEv[_ZN7Pythia830JetMatchingMadgraphInputAlpgen14initAfterBeamsEv]+0x36): undefined reference to `Pythia8::Settings::flag(std::string, bool, bool)'
collect2: error: ld returned 1 exit status
Makefile:2320: recipe for target 'DelphesPythia8' failed

I also double checked that I could get this to work with pythia8219 and that I could use my install of pythia8226 separately from Delphes. I can't seem to track down what's causing this, any help would be appreciated. Thanks!

Change History (4)

comment:1 by Pavel Demin, 7 years ago

I've just tried to build Delphes with Pythia 8.226 and it worked.

Could you try to rebuild Delphes with the following commands?

make HAS_PYTHIA8=true distclean
make HAS_PYTHIA8=true DelphesPythia8

comment:2 by apdf, 7 years ago

Hi Pavel,

Apologies for the slow reply. I tried making DelphesPythia8 on my local machine and that worked fine. The problem is only isolated to making on the server I am using. So I believe my original problem has nothing to do with Delphes, but more than likely is something wrong with my setup there. I'm sure I can figure that out, now that we've isolated the problem.

Thanks!

comment:3 by Pavel Demin, 7 years ago

Resolution: fixed
Status: newclosed

comment:4 by David Shih, 5 years ago

Hi,

Just curious how you fixed this on your server? I'm seeing the exact same error with Delphes 3.4.1 and pythia8243 (and it was also working previously for me with pythia8219).

Thanks,
David

Note: See TracTickets for help on using tickets.