#!/bin/bash

# Export paths here if necessary or recommended.
export LD_LIBRARY_PATH="/shared/libraries/mpi/mpich/3.2-gcc4.8.5/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 /scratch/raja/PROJECTS/TEST/Test/RESU/RUN1

# Run solver.
/shared/v2/libraries/mpi/mpich/3.2-gcc4.8.5/bin/mpiexec -n 56 /work/projects/Code_Saturne/5.0.9/code_saturne-5.0.9/libexec/code_saturne/cs_solver --param setup.xml --mpi $@
export CS_RET=$?

exit $CS_RET
