Question: Mrbayes Mpi Version Not Working Correctly On Server
gravatar for Lisa
5.1 years ago by
Lisa310 wrote:

I was wondering if you would be able to provide any advice for me on an issue I'm having. I'm working on a server trying to get the MPI version of mrbayes installed so I can use more than 1 processor at a time. To do this, mrbayes must be complied with the -mpi flag set.

I've downloaded the source version from the website, and compiled it following the mpi instructions which are as follows:


./configure --enable-mpi=yes


Once that is done you should be able to start the program mrbayes(mb) through the following command:

mpirun -np 8 mb

where -np is the number of processors.

However I'm finding that this isn't opening a parallel version of mrbayes, it is instead opening 8 versions of mrbayes on the server at once. I also tried this on my local Ubuntu machine as I thought that it was something that I was doing wrong, however this works fine here and I can get it to work in parallel mode. At first I thought that it wasn't working as the MPICH daemon wasn't running to allow the communication between cores, however I checked and it is. I also checked my complication to ensure that mpi mode was correctly enabled and it also is. I have sudo access to the server so it also isn't an issue of permissions.

I was wondering if anybody came across this problem before and if so if you knew how to solve it?

Thanks, I really appreciate you taking the time to read this. Any advice you may have would be appreciated.

installation • 1.8k views
ADD COMMENTlink written 5.1 years ago by Lisa310

Ok so I didn't really solve it but on talking to a colleague they suggested that I copy the executable from my local machine that worked correctly onto the server to see if that would work. We weren't really expecting it to, but it did. So not a proper solution, but a possibility in case anybody ever runs into the same problem.

ADD REPLYlink written 5.1 years ago by Lisa310
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1300 users visited in the last hour