py8 installation error due to Rivet.hh(?)

Asked by Jack Y. Araz

Hi Oliver

I couldn't manage to run pythia8 in MG5, I can make it work externally but can't link it or can't install through mg5 (version = 2.6.4). I tried

install pythia8 --source=ucl

but same problem. It gives an error with Rivet.hh during the installation. and when I run it I get the following error;

/usr/bin/ld: cannot find -lboost_iostreams
collect2: error: ld returned 1 exit status
make: *** [Pythia82] Error 1
me/jack/packages/MG5_aMC_v2_6_4/GluProd2/MCatNLO/include Pythia82.cc -o Pythia8.exe \
          -L/home/jack/packages/pythia8219/lib -lpythia8 \
          -I./ -L./ -lHepMC -L../lib -L/home/jack/packages/MG5_aMC_v2_6_4/HEPTools/pythia8//lib -L/usr/lib -L/home/jack/packages/MG5_a\
MC_v2_6_4/HEPTools/zlib/lib -L/home/jack/packages/pythia8219/lib -lpythia8 -lboost_iostreams -lz -ldl -lstdc++ \

Pythia8 compilation did not succeed, exiting

could you possibly help me with this?

thanks
Jack

Question information

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

Hi,

Both problem are bugs in pythia8. So in principle, we can not really help

The one associate to Rivet is completely new to me. and likely just related to one example of pythia8 which fails to compile (likely nothing to be worried about)

The second one is a well known bug of PY8, reported to their author (but they do not seem fast to fix it).
This seems related to Ubuntu type of unix machine.
I have create a patch for the moment, waiting that PY8 author fixes the issue:
https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.5/revision/283#madgraph/interface/common_run_interface.py

Cheers,

Olivier

On 4 Jan 2019, at 01:57, jackaraz <<email address hidden><mailto:<email address hidden>>> wrote:

New question #677308 on MadGraph5_aMC@NLO:
https://answers.launchpad.net/mg5amcnlo/+question/677308

Hi Oliver

I couldn't manage to run pythia8 in MG5, I can make it work externally but can't link it or can't install through mg5 (version = 2.6.4). I tried

install pythia8 --source=ucl

but same problem. It gives an error with Rivet.hh during the installation. and when I run it I get the following error;

/usr/bin/ld: cannot find -lboost_iostreams
collect2: error: ld returned 1 exit status
make: *** [Pythia82] Error 1
me/jack/packages/MG5_aMC_v2_6_4/GluProd2/MCatNLO/include Pythia82.cc -o Pythia8.exe \
         -L/home/jack/packages/pythia8219/lib -lpythia8 \
         -I./ -L./ -lHepMC -L../lib -L/home/jack/packages/MG5_aMC_v2_6_4/HEPTools/pythia8//lib -L/usr/lib -L/home/jack/packages/MG5_a\
MC_v2_6_4/HEPTools/zlib/lib -L/home/jack/packages/pythia8219/lib -lpythia8 -lboost_iostreams -lz -ldl -lstdc++ \

Pythia8 compilation did not succeed, exiting

could you possibly help me with this?

thanks
Jack

--
You received this question notification because you are an answer
contact for MadGraph5_aMC@NLO.

Revision history for this message
Jack Y. Araz (jackaraz) said :
#2

Hi Oliver

Thanks a lot, patch totally saved the day (if I install Pythia8 myself)! and as you said rivet issue is only due to an example in py8, is there a way to fix it, like avoiding that specific example during installation? If not you can mark the question as solved.

Thanks
Jack

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Valentin,

I thought that you bypassed the examples. Is this something new in the latest version of py8?

Cheers,

Olivier

Revision history for this message
Jack Y. Araz (jackaraz) said :
#4

Hi Valentin

While MG5 is compiling the examples, it creates an error for Rivet.hh which is in one of the examples. But when I install py8 by myself and outsource to MG5, with Oliver's patch it works perfectly, I guess because I don't bother to compile every single example. The problem might occur because rivet is included in the code as;

./include/Pythia8Plugins/Pythia8Rivet.h:16:#include "Rivet/Rivet.hh"

and it can not find such file or directory.

Best regards
Jack

Can you help with this problem?

Provide an answer of your own, or ask Jack Y. Araz for more information if necessary.

To post a message you must log in.