LHAPDF with Pythia8 installation with HEPTools

Asked by teddym

Dear Authors:
     By default, `install pythia8` will also install lhapdf6 for me. However, when checking the pythia8_install.log, One can see warnings like

Ignoring invalid option "--with-lhapdf6-plugin"
Disabling LHAPDF6, library LHAPDF missing

This should be typo in the option or some miss-match with the Pythia8 configure procedure.

With this, when running through Pythia8 showering, it will report following error:

PYTHIA Error in Plugin::Plugin: libpythia8lhapdf6.so: cannot open shared object file: No such file or directory
 PYTHIA Error in Pythia::init: could not set up PDF for beam A
 PYTHIA Abort from Pythia::init: PDF initialization failed

How can I quickly fix this issue? Thanks!

Best
Ted

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

In old version of pythia8 the flag "-with-lhapdf6-plugin" was needed for the installation.
In more recent, one only need --with-lhapdf6=LHAPDF6_PATH
That flag is also present and should be take into account to compile the code correctly.

The error that you report seems more an issue to find at run time the library.
Which likely means that you have to update the LD_LIBRARY_PATH to be able to find it.

Cheers,

Olivier

> On 17 Aug 2022, at 06:20, teddym <email address hidden> wrote:
>
> Ignoring invalid option "--with-lhapdf6-plugin"

Can you help with this problem?

Provide an answer of your own, or ask teddym for more information if necessary.

To post a message you must log in.