OpenMPI Submit Script

#!/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 openmpi/gcc/64/1.10.1
 
#$ -cwd
#$ -v MPI_HOME
 
# Does not require the -machinefile flag
CMD="mpirun -np $NSLOTS $MYAPP $MYAPP_FLAGS"
 
echo $CMD
 
$CMD

-- AdminUser - 17 May 2016
Topic revision: r4 - 20 Jan 2017, AdminUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding UTSA Research Support Group? Send feedback