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 - 05 Apr 2021
Topic revision: r1 - 28 Oct 2024, 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