Using RaxML with OpenMPI

Use the raxmlHPC-MPI program compiled against OpenMPI.

Torque

#!/bin/sh  
#PBS -l nodes=4:ppn=1  
#PBS -q long  
#PBS -N myname

. /usr/modules/init/bash  
module load openmpi openmpi-apps/1.6.4/raxml/8.0.5

mpirun raxmlHPC-MPI -f a -s $HOME/alg -x 12345 -# 10 -m GTR -n TEST

Slurm

#!/bin/sh  
#SBATCH -N 4
#SBATCH -J myname

. /usr/modules/init/bash  
module load openmpi/1.10.2 openmpi-apps/1.10.2/raxml/8.0.5

ulimit -l unlimited
mpirun raxmlHPC-MPI -f a -s $HOME/alg -x 12345 -# 10 -m GTR -n TEST

Note: be sure to include -# or -N AND -b,-x or -f a -x options or the program will not work properly.