#!/bin/bash
#PBS -S /bin/bash
#PBS -N job-VIV
#PBS -o output.txt
#PBS -e error.txt
#PBS -l walltime=72:00:00
#PBS -l select=1:ncpus=30:mpiprocs=30:mem=30gb
#PBS -P projetvf


# Export paths here if necessary or recommended.
export LD_LIBRARY_PATH="/applications/libraries/mpt/2.14/lib":$LD_LIBRARY_PATH
# Load environment if this script is run directly.
if test "$CS_ENVIRONMENT_SET" != "true" ; then
  module purge
  module load salome_meca/2016
  module load sgi-mpt/2.14
fi


export OMP_NUM_THREADS=1

mpiexec_mpt -np 30 /gpfs/workdir/lzhang/Cas/test_2instances/RESU_COUPLING/20190223-1544/mpmd_exec.sh
export CS_RET=$?

exit $CS_RET
