#!/bin/bash
#$ -pe openmpi-ib 220
# Export paths here if necessary or recommended.
export LD_LIBRARY_PATH="/usr/local/mpi/intel/openmpi/1.8.3/lib":$LD_LIBRARY_PATH

export OMP_NUM_THREADS=1

cd /mnt/fastdata/mep16kc/Simulations/meshstudy/RESU/20170608-1135

# Run solver.
mpiexec -n 220 ./cs_solver --param meshdependance.xml --mpi $@
export CS_RET=$?

exit $CS_RET
