Error regarding installing Pythia8

Asked by shibasipu

Hi Olivier,
                           I was trying to install PY8 in MG5_2.5.1. I am getting the following error message.

make[1]: Entering directory `/tmp/tmpeyD9ys/HepMC-2.06.09/src'
/bin/sh ../libtool --tag=CXX --mode=link g++ -ansi -pedantic -Wall -g -O2 -o libHepMC.la -rpath /home/shibananda/RESEARCH/EVENT_GENERATOR/MG5_aMC_v2_5_1/HEPTools/hepmc/lib -version-info 4:0:0 CompareGenEvent.lo Flow.lo GenEvent.lo GenEventStreamIO.lo GenParticle.lo GenCrossSection.lo GenVertex.lo GenRanges.lo HeavyIon.lo IO_AsciiParticles.lo IO_GenEvent.lo PdfInfo.lo Polarization.lo SearchVector.lo StreamHelpers.lo StreamInfo.lo Units.lo WeightContainer.lo
g++ -shared -nostdlib /usr/lib/../lib64/crti.o /cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/crtbeginS.o .libs/CompareGenEvent.o .libs/Flow.o .libs/GenEvent.o .libs/GenEventStreamIO.o .libs/GenParticle.o .libs/GenCrossSection.o .libs/GenVertex.o .libs/GenRanges.o .libs/HeavyIon.o .libs/IO_AsciiParticles.o .libs/IO_GenEvent.o .libs/PdfInfo.o .libs/Polarization.o .libs/SearchVector.o .libs/StreamHelpers.o .libs/StreamInfo.o .libs/Units.o .libs/WeightContainer.o -Wl,--rpath -Wl,/cm/local/apps/gcc/5.2.0/lib/../lib -Wl,--rpath -Wl,/cm/local/apps/gcc/5.2.0/lib/../lib -L/cm/shared/apps/slurm/15.08.6/lib64/../lib64 -L/cm/local/apps/cuda/libs/current/lib64/../lib64 -L/cm/shared/apps/cuda75/toolkit/7.5.18/lib64/../lib64 -L/cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0 -L/cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/cm/shared/apps/slurm/15.08.6/lib64/slurm -L/cm/shared/apps/slurm/15.08.6/lib64 -L/cm/local/apps/cuda/libs/current/lib64 -L/cm/shared/apps/cuda75/toolkit/7.5.18/lib64 -L/cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../.. /cm/local/apps/gcc/5.2.0/lib/../lib/libstdc++.so -lm -lc -lgcc_s /cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/crtendS.o /usr/lib/../lib64/crtn.o -Wl,-soname -Wl,libHepMC.so.4 -o .libs/libHepMC.so.4.0.0
/cm/local/apps/gcc/5.2.0/lib/../lib/libstdc++.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[1]: *** [libHepMC.la] Error 1
make[1]: Leaving directory `/tmp/tmpeyD9ys/HepMC-2.06.09/src'
make: *** [install-recursive] Error 1
 Finished HEPMC installation

    > Now aborting installation of tool 'pythia8'.
Command "install pythia8 " interrupted in sub-command:
"install pythia8" with error:
InvalidCmd : Installation of pythia8 failed.

Regards,
Shiba

Question information

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

Looks like your installation has a mix of 32 bit and 64 bit library.
Your linker can not handle that.

in particular I guess that
/cm/local/apps/gcc/5.2.0/lib/../lib/libstdc++.so
is 32 bit, while the rest is 64bit (but It can also be the opposite)

Cheers,

Olivier

> On Nov 22, 2016, at 12:27, shibasipu <email address hidden> wrote:
>
> New question #404291 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/404291
>
> Hi Olivier,
> I was trying to install PY8 in MG5_2.5.1. I am getting the following error message.
>
> make[1]: Entering directory `/tmp/tmpeyD9ys/HepMC-2.06.09/src'
> /bin/sh ../libtool --tag=CXX --mode=link g++ -ansi -pedantic -Wall -g -O2 -o libHepMC.la -rpath /home/shibananda/RESEARCH/EVENT_GENERATOR/MG5_aMC_v2_5_1/HEPTools/hepmc/lib -version-info 4:0:0 CompareGenEvent.lo Flow.lo GenEvent.lo GenEventStreamIO.lo GenParticle.lo GenCrossSection.lo GenVertex.lo GenRanges.lo HeavyIon.lo IO_AsciiParticles.lo IO_GenEvent.lo PdfInfo.lo Polarization.lo SearchVector.lo StreamHelpers.lo StreamInfo.lo Units.lo WeightContainer.lo
> g++ -shared -nostdlib /usr/lib/../lib64/crti.o /cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/crtbeginS.o .libs/CompareGenEvent.o .libs/Flow.o .libs/GenEvent.o .libs/GenEventStreamIO.o .libs/GenParticle.o .libs/GenCrossSection.o .libs/GenVertex.o .libs/GenRanges.o .libs/HeavyIon.o .libs/IO_AsciiParticles.o .libs/IO_GenEvent.o .libs/PdfInfo.o .libs/Polarization.o .libs/SearchVector.o .libs/StreamHelpers.o .libs/StreamInfo.o .libs/Units.o .libs/WeightContainer.o -Wl,--rpath -Wl,/cm/local/apps/gcc/5.2.0/lib/../lib -Wl,--rpath -Wl,/cm/local/apps/gcc/5.2.0/lib/../lib -L/cm/shared/apps/slurm/15.08.6/lib64/../lib64 -L/cm/local/apps/cuda/libs/current/lib64/../lib64 -L/cm/shared/apps/cuda75/toolkit/7.5.18/lib64/../lib64 -L/cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0 -L/cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/cm/shared/apps/slurm/15.08.6/lib64/slurm -L/cm/shared/apps/slurm/15.08.6/lib64 -L/cm/local/apps/cuda/libs/current/lib64 -L/cm/shared/apps/cuda75/toolkit/7.5.18/lib64 -L/cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../.. /cm/local/apps/gcc/5.2.0/lib/../lib/libstdc++.so -lm -lc -lgcc_s /cm/local/apps/gcc/5.2.0/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/crtendS.o /usr/lib/../lib64/crtn.o -Wl,-soname -Wl,libHepMC.so.4 -o .libs/libHepMC.so.4.0.0
> /cm/local/apps/gcc/5.2.0/lib/../lib/libstdc++.so: could not read symbols: File in wrong format
> collect2: error: ld returned 1 exit status
> make[1]: *** [libHepMC.la] Error 1
> make[1]: Leaving directory `/tmp/tmpeyD9ys/HepMC-2.06.09/src'
> make: *** [install-recursive] Error 1
> Finished HEPMC installation
>
>> Now aborting installation of tool 'pythia8'.
> Command "install pythia8 " interrupted in sub-command:
> "install pythia8" with error:
> InvalidCmd : Installation of pythia8 failed.
>
>
> Regards,
> Shiba
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
shibasipu (shibasipu) said :
#2

Hi Olivier,
                        thanks for your quick response. Then what is your suggestion ? How can I resolve this problem.

Regards,
Shiba

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

Hi,

I do not have any suggestions actually.
Pythia8 author might be able to give you more hint.

The only think I can suggest is to check which library are 32 bit from those which are 64 bit.
and see if you can change your path to have a consistent setup on that side.
One other suggestion is to force the 32 bit (or 64 bit ) compilation. This require to modify the makefile of Pythia8 (and therefore I let them to comment on that)

Cheers,

Oliver

> On Nov 22, 2016, at 13:23, shibasipu <email address hidden> wrote:
>
> Question #404291 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404291
>
> Status: Answered => Open
>
> shibasipu is still having a problem:
> Hi Olivier,
> thanks for your quick response. Then what is your suggestion ? How can I resolve this problem.
>
>
>
>
>
> Regards,
> Shiba
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Stefan Prestel (prestel) said :
#4

Hi Shiba,

As Olivier suggests, you could try to force the 64 bit compilation by adding the option "--enable-64bit" to your configure command, e.g. use a configure command

 ./configure --prefix=/path/to/install --with-hepmc2=/path/to/hepmc --with-lhapdf6=/path/to/lhapdf --with-lhapdf6-plugin=LHAPDF6.h --with-gzip=/path/to/libz --with-boost=/path/to/boost --with-promc=/path/to/promc --enable-64bit

Please let us know if that helps.

Cheers,
Stefan

Revision history for this message
shibasipu (shibasipu) said :
#5

Hi Stefan,
                       thanks. sorry, Do I have to run above line From Madgraph home directory ?

Regards,
Shiba

Revision history for this message
shibasipu (shibasipu) said :
#6

Hi Stefan,
                          Are you saying to install Pythia8 separately and then link to MG5 ? I am guessing this from your suggestion.
Please clarify.

Thanks in advance.

Regards,
Shiba

Revision history for this message
Ethan Hunt (ashwink2) said :
#7

I like getting info from here https://freerobuxtips.com to play my most favorite game.

Can you help with this problem?

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

To post a message you must log in.