Fork me on GitHub

Opened 11 years ago

Last modified 11 years ago

#261 new Bug

Delphes 3.0.12 installation

Reported by: George Wojcik Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Pythia, Installation Cc: gwojci03@…

Description

Hi,

I'm attempting to install Delphes, but whenever I use the make command, I get the following response:

Building libDelphes.so
Building lhco2root
Building stdhep2pileup
Building root2lhco

/usr/bin/ld: cannot find -lpythia8
collect2: ld returned 1 exit status
make: * [libDelphes.so] Error1
make:
* Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lpythia8
collect2: ld returned 1 exit status
make: * [lhco2root] Error 1
/usr/bin/ld: cannot find -lpythia8
collect2: ld returned 1 exit status
make:
* [stdhep2pileup] Error 1
/usr/bin/ld: cannot find -lpythia8
collect2: ld returned 1 exit status
make: * [root2lhco] Error

I currently have Pythia version 8.185 installed.
I'm quite certain that I'm missing some crucial element in this installation process; I'd really appreciate any help at all.

Thank you,
George

Change History (2)

comment:1 by George Wojcik, 11 years ago

Cc: gwojci03@… added

comment:2 by Pavel Demin, 11 years ago

Hi George,

Delphes' Makefile looks for the Pythia8 libraries at the following location:

$(PYTHIA8DATA)/../lib

Apparently, it's not an optimal solution.

As a workaround, you can just unset the PYTHIA8 environment variable before compiling Delphes:

unset PYTHIA8
make

This won't affect the normal Delphes' functionality.

Regards,

Pavel

Note: See TracTickets for help on using tickets.