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!
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!
I reinstalled mpich2 and these errors were solved, so I think some packages may lose in my PC. Thank you again!
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
.