#!/bin/bash

# Export paths here if necessary or recommended.
export LD_LIBRARY_PATH="/usr/lib64/openmpi/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

/usr/lib64/mpich/bin/mpiexec -n 2 -wdir solid ./syrthes -d tmp.data -n 2 --name solid --log listing : -n 2 -wdir fluid ./cs_solver --mpi --app-name fluid
export CS_RET=$?

exit $CS_RET
