#!/bin/bash


# Detect and handle running under SALOME YACS module.
YACS_ARG=
if test "$SALOME_CONTAINERNAME" != "" -a "$CFDRUN_ROOT_DIR" != "" ; then
  YACS_ARG="--yacs-module=${CFDRUN_ROOT_DIR}"/lib/salome/libCFD_RunExelib.so
fi

# Export paths here if necessary or recommended.
export PATH=/usr/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH

cd /home/alexandreguilloux/TENSYL/05-Cas_Test_CS/02-Full_domain/CASE03/RESU/20120201-1412

# Run solver.
/home/alexandreguilloux/TENSYL/05-Cas_Test_CS/02-Full_domain/CASE03/RESU/20120201-1412/cs_solver --param case3.xml $YACS_ARGS $@

CS_RET=$?

exit $CS_RET

