Comment 6 for bug 1517186

Revision history for this message
Paolo Torrielli (paolo-torrielli) wrote : Re: [Bug 1517186] pythia8 interface

Hi Keping,
OK, now you could try and see this thread, very similar to yours.

https://answers.launchpad.net/mg5amcnlo/+question/271396

In particular, comment #11 by Marco was the solution of that thread.
Let me know if it works in your case as well.
Cheers.
Paolo

On 19 Nov 2015, at 14:14, Keping Xie <email address hidden> wrote:

> Hi Paolo,
>
> The first line of events.lhe is indeed
> <LesHouchesEvents version="3.0">
>
> As you suggest, the mcatnol.log shows
> ./Pythia8.exe: error while loading shared libraries: libHepMC.so.4: cannot open shared object file: No such file or directory
>
> I have installed the latest version, pythia8212, configured with hepmc2 through commands
> ./configure --prefix=/users/kepingx/share/pythia8 --with-hepmc2=/users/kepingx/share/HepMC --with-root=/grid/software/ROOT/5.34.26/gcc-4.8 --with-lhapdf6=/users/kepingx/share/LHAPDF --with-fastjet3=/users/kepingx/share/fastjet --with-hepmc2-lib=/users/kepingx/share/HepMC/lib
> As the libHepMC.so.4 is located in my "HepMC/lib" directory, I added the option
> --with-hepmc2-lib=/users/kepingx/share/HepMC/lib
> when installing pythia8.
>
> The shower_cart.dat is located in the attachment.
>
> Best regards!
> Keping
>
>
>
> ** Attachment added: "shower_card.dat"
> https://bugs.launchpad.net/mg5amcnlo/+bug/1517186/+attachment/4522048/+files/shower_card.dat
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1517186
>
> Title:
> pythia8 interface
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> I want to do the calculation of "p p > b b~ [QCD]", and interface MadGraph with Pythia8 to get the B-meson information.
> I have installed pythia8 successfully configured with HepMC2, LHAPDF6, ROOT, Fastjet3.
>
> However, when I launch pp_bbx_QCD, and choose
> PYTHIA8 = parton_shower
>
> It gives me error message:
> /users/kepingx/share/pythia8/lib/libpythia8.a(PartonDistributions.o): In function `Pythia8::LHAPDF::symbol(std::string)':
> PartonDistributions.cc:(.text+0xe6c0): undefined reference to `dlerror'
> PartonDistributions.cc:(.text+0xe6cc): undefined reference to `dlsym'
> PartonDistributions.cc:(.text+0xe6d4): undefined refePythia8 compilation did not succeed, exiting
> ext+0xe782): undefined reference to `dlerror'
> PartonDistributions.cc:(.text+0xe7ad): undefined reference to `dlopen'
> PartonDistributions.cc:(.text+0xe7b5): undefined reference to `dlerror'
> /users/kepingx/share/pythia8/lib/libpythia8.a(PartonDistributions.o): In function `Pythia8::LHAPDF::~LHAPDF()':
> PartonDistributions.cc:(.text+0xfaea): undefined reference to `dlclose'
> PartonDistributions.cc:(.text+0xfaf1): undefined reference to `dlerror'
> collect2: error: ld returned 1 exit status
> make: *** [Pythia82] Error 1
>
> So, how can interface MadGraph_aMC@NLO correctly with Pythia8?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mg5amcnlo/+bug/1517186/+subscriptions