#!/bin/bash # Use Bash Shell #$ -V # Inherit the submission environment #$ -cwd # Start job in submission directory #$ -N myMPI # Job Name #$ -j y # combine stderr & stdout into stdout #$ -o $JOB_NAME.o$JOB_ID # Name of the output file (eg. myMPI.oJobID) #$ -pe 16way 32 #$ -q development # Queue name #$ -l h_rt=00:10:00 # Run time (hh:mm:ss) - 1.5 hours # Run the MPI executable named "a.out" cd $TG_CLUSTER_SCRATCH cp $HOME/hello_world . ibrun ./hello_world