Error regarding installing Pythia8
Hi Olivier,
make[1]: Entering directory `/tmp/tmpeyD9ys
/bin/sh ../libtool --tag=CXX --mode=link g++ -ansi -pedantic -Wall -g -O2 -o libHepMC.la -rpath /home/shibanand
g++ -shared -nostdlib /usr/lib/
/cm/local/
collect2: error: ld returned 1 exit status
make[1]: *** [libHepMC.la] Error 1
make[1]: Leaving directory `/tmp/tmpeyD9ys
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
- Assignee:
- Stefan Prestel Edit question
- Last query:
- 2016-11-22
- Last reply:
- 2016-11-22
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/
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:/
>
> 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
> /bin/sh ../libtool --tag=CXX --mode=link g++ -ansi -pedantic -Wall -g -O2 -o libHepMC.la -rpath /home/shibanand
> g++ -shared -nostdlib /usr/lib/
> /cm/local/
> collect2: error: ld returned 1 exit status
> make[1]: *** [libHepMC.la] Error 1
> make[1]: Leaving directory `/tmp/tmpeyD9ys
> 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.
shibasipu (shibasipu) said : | #2 |
Hi Olivier,
Regards,
Shiba
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:/
>
> 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.
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=
Please let us know if that helps.
Cheers,
Stefan
shibasipu (shibasipu) said : | #5 |
Hi Stefan,
Regards,
Shiba
shibasipu (shibasipu) said : | #6 |
Hi Stefan,
Please clarify.
Thanks in advance.
Regards,
Shiba
Can you help with this problem?
Provide an answer of your own, or ask shibasipu for more information if necessary.