MrBayes
Introduction
MrBayes is a program for Bayesian inference of phylogeny.
Running MrBayes in Parallel on Soroban
To run MrBayes in parallel, the parallel version of the program must be run using mpirun
. The number of tasks requested via --ntasks
is passed as the number of parallel processes to mpirun
via the -np
flag and the variable $SLURM_NTASKS
.
#!/bin/bash #SBATCH --job-name=mrbayes_test
#SBATCH --mail-user=your.name@fu-berlin.de
#SBATCH --mail-type=end
#SBATCH --ntasks=4
#SBATCH --me-per-cpu=1000
module add mrbayes
mpirun -np $SLURM_NTASKS mb-parallel -i test.nex > test.out