#!/bin/bash # #$ -S /bin/bash export MYAPP=./test_openmpi export MYAPP_FLAGS='' #$ -N TEST_OPENMPI #$ -pe openmpi 4 . /etc/profile.d/modules.sh # Load one of these module load shared openmpi/gcc/64/1.10.7 #$ -cwd #$ -v MPI_HOME # Does not require the -machinefile flag CMD="mpirun -np $NSLOTS $MYAPP $MYAPP_FLAGS" echo $CMD $CMD-- AdminUser - 17 May 2016