#!/bin/bash # #$ -S /bin/bash #$ -N name_of_job #$ -pe openmpi 16 . /etc/profile.d/modules.sh # Load program modules module load openfoam/6.0 . $foamDotFile mpirun -np 16 FoamFile -parallel