## Ada configuration
##---------------------------------------------------


## Default settings
##---------------------------------------------------
TRUST_JOB_ENV=${TRUST_IO_XIOS}/arch/arch-${TRUST_MAIN_HPCC}

='cdo diffn'

[ -z "${TRUST_COMPILE_NPROC}" ] && TRUST_COMPILE_NPROC='16'
[ -z "${TRUST_JOB_TIMEOUT}" ] && TRUST_JOB_TIMEOUT='10800'


## (Super)computer environment
##---------------------------------------------------
TRUST_JOB_SCRIPT=${TRUST_MAIN_HPCC}.sh
TRUST_JOB_SUBMIT="llsubmit ${TRUST_JOB_SCRIPT} | grep -oe '\<[0-9]*\>'"
TRUST_JOB_INFO="llq -x \${TRUST_JOB_ID}"
TRUST_JOB_STATE="llq      | grep \${TRUST_JOB_ID}"
TRUST_JOB_KILL="llcancel        \${TRUST_JOB_ID}"

TRUST_JOB_TIME="grep IdrisMemMPI NEMO_CI_\${TRUST_JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'"
TRUST_JOB_RAM_P="grep IdrisMemMPI NEMO_CI_\${TRUST_JOB_ID} | cut -d, -f3 | awk '{print \$3     ,\$4 }'"
TRUST_JOB_RAM_V="grep IdrisMemMPI NEMO_CI_\${TRUST_JOB_ID} | cut -d, -f2 | awk '{print \$3     ,\$4 }'"

TRUST_COMPILE_FORTRAN='ifort'
TRUST_IO_CDO='cdo/'
TRUST_COMPILE_MPI='intel/impi/'
TRUST_COMPILE_NETCDF='netcdf/'

PATH='/smplocal/pub/cdo/1.5.9/bin':$PATH
## Not working with module delimiter ':'
#WRAPPER_LDFLAGS='-L/smplocal/pub/IdrMemMPI/1.4/lib -lidrmem '${WRAPPER_LDFLAGS}
