## Curie configuration
##--------------------------------------------------------------------------------

## Compilation
##------------

TRUST_COMPILE_FORTRAN='ifort'
TRUST_COMPILE_MPI='bullxmpi/'
TRUST_COMPILE_NETCDF='netcdf-[0-9]'


## Inputs/Outputs
## --------------

TRUST_IO_CDO='cdo'


## Running
##--------

TRUST_JOB_SUBMIT="ccc_msub \${TRUST_JOB_SCRIPT} | grep -oe '\<[0-9]*\>'"
TRUST_JOB_STATE="ccc_mpp  | grep \${TRUST_JOB_ID}"
TRUST_JOB_INFO="ccc_macct        \${TRUST_JOB_ID}"
TRUST_JOB_KILL="ccc_mdel         \${TRUST_JOB_ID}"

TRUST_JOB_TIME="
ccc_macct \${TRUST_JOB_ID} | grep     \"\${TRUST_JOB_ID}.0 *opa\" \
    | awk '{print               \$9      }'                 \
"
TRUST_JOB_RAM_P="
ccc_macct \${TRUST_JOB_ID} | grep -m1 \"\${TRUST_JOB_ID}.0\"      \
    | awk '{printf \"%d Mo\n\", \$2; exit}'                 \
"
TRUST_JOB_RAM_V="
ccc_macct \${TRUST_JOB_ID} | grep -m1 \"\${TRUST_JOB_ID}.0\"      \
    | awk '{printf \"%d Go\n\", \$7; exit}'                 \
"
