#!/bin/bash
###Compile under PGI, which is the default on Kraken, using:
###ftn -r8 -Mextend -Mdalign -Msave utransferfinal_2_loop_parallelized.mpi.f -o utransferfinal.mpi.lex
#PBS -A <account ID here, for example TG-MCA09S012>
#PBS -N yourjobnamehere
#### Must request an entire node (multiples of 12)
#PBS -l size=7200
#PBS -l walltime=24:00:00
## Mail to user on a=abort, b=begin, e=end
#PBS -m abe
## Combine the error message file with the output
#PBS -j oe
## Specify user for mail
#PBS -M youremailaddress@gmail.com
cd $PBS_O_WORKDIR
aprun -n 7200 ./utransferfinal.mpi.lex