Grid Engine Job Script Example MPICH2 Ethernet - MPICH2 v1.4 and above

Grid Engine Job Script Example MPICH2 v1.4 Ethernet

#!/bin/bash
#
#$ -S /bin/bash
 
export MYAPP=/home/me/bin/hello-mpi.bin
export MYAPP_FLAGS=''
 
#$ -N MyHello
#$ -pe mpich2 24
 
export MPICH_PROCESS_GROUP=no
 
. /etc/profile.d/modules.sh
# Load one of these
module add mpich2/ge/gcc
 
#$ -cwd
# $ -v MPI_HOME
module li
 
CMD="$MPI_HOME/bin/mpiexec $MYAPP $MYAPP_FLAGS" 
echo $CMD
 
$CMD

Copyright 2002-2014 ClusterVision BV