#!/bin/bash

# Export paths here if necessary or recommended.
export PATH="/home/zhang/software/mpich2/141/bin":$PATH
export LD_LIBRARY_PATH="/home/zhang/software/mpich2/141/lib":$LD_LIBRARY_PATH

# Load environment if this script is run directly.
if test "$CS_ENVIRONMENT_SET" != "true" ; then
  module purge
fi

export OMP_NUM_THREADS=1

cd /home/zhang/testcase/codes/oat15a/oate15a/RESU/20170522-1726

# Run solver.
/home/zhang/software/mpich2/141/bin/mpiexec -n 5 /home/zhang/cfdexe/codeStaure/libexec/code_saturne/cs_solver --param setup.xml --log 0 --logp 1 --mpi $@
export CS_RET=$?

exit $CS_RET
