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 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
Topic revision: r6 - 23 Jul 2019, 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 Foswiki? Send feedback