Some errors about Mrbayes-3.2.2 parallel version (MPICH2) install on Ubuntu PC
1
0
Entering edit mode
9.6 years ago
Ginsea Chen ▴ 130

Hello everyone

Now I tried to install Mrbayes-3.2.2 parallel version on Ubuntu PC, the corresponding MPI software is MPICH2 1.5.

There were errors displayed on terminal after make, the errors as follows:

/usr/bin/ld: cannot find -lmpich
/usr/bin/ld: cannot find -lopa
/usr/bin/ld: cannot find -lmpl
collect2: ld returned 1 exit status
make: ***[mb] Error 1

I can't find any suggestion to solve it on internet, if you have some advice, please tell me.

Thanks!

Mrbayes MPICH2 Ubuntu • 3.0k views
ADD COMMENT
2
Entering edit mode
9.6 years ago

You need to install libmpich2-dev as well, otherwise you don't get the headers and libraries. If that doesn't solve the problem, ensure that libmpl.so, libmpich.so and libopa.so are under /usr/lib (they should be).

ADD COMMENT
0
Entering edit mode

Thanks for you help.

The errors have been solved for you suggestion, but there were a new error displayed in make step, I tried to find some suggestions on the Internet but little information. The error was pasted as follows:

There were little available information in internet and I can't find any way to solve it, so if you have some suggestion, please tell me.

Thank you!

If you have some ways to solve it, please tell me.

Thank you!

ADD REPLY
1
Entering edit mode

I reinstalled mpich2 and these errors were solved, so I think some packages may lose in my PC. Thank you again!

ADD REPLY
0
Entering edit mode

This error will happen if you have both mpich2 and openmpi installed. It looks like it's using the openmpi headers but trying to link to the mpich2 library, which won't work. Try changing the -lmpich -lmpl to -lmpi.

ADD REPLY

Login before adding your answer.

Traffic: 1942 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6