Parallel jobs with MOAB
Discussion started by John Schenk , on 28 March 04:04 PM

I am trying to run a parallel MrBayes job on the HPC using moab, but so far I haven’t been able to get it to run.

Does anyone have an example moab submit file for a MrBayes job that runs on multiple (8) processors, then combines the results in the end?

Thanks,

John

Replies
You will need to be a member of this group first before you can post a reply.
James Wilgenbusch
This has worked for me:

#!/bin/bash

#MOAB -l nodes=8
#MOAB -j oe
#MOAB -m abe
#MOAB -N MRBAYES-OPENMPI
#MOAB -l walltime=4:00:00

source /usr/local/profile.d/openmpi-gnu.sh
mpirun /opt/Bio/mpimrbayes/mb_p $HOME/MOAB_DEMO/MrBayesDemo/mrbayes.nxs

The mrbayes.nxs file contains:

begin mrbayes;
set autoclose=yes nowarn=yes;
execute /panfs/storage.local/scs/home/jwilgenb/MOAB_DEMO/MrBayesDemo/alignment80_453.nxs;
prset Aamodelpr=fixed(wag);
mcmc ngen=10000000000 nruns=4 nchains=8;
end;

Monday, 28 March 2011 16:21