#!/bin/bash


## Patterns (UTC time-stamp & messengers filename)
##--------------------------------------
dat=$( date )
export DATE=$( date -ud "$dat" +"%Y%m%d%Z%H%M" )
export PATTERNAME=${TRUS_USER}'_'${TRUS_HPCC}
export TRUS_SVNH='https://forge.ipsl.jussieu.fr/nemo/svn'


## Source user configuration
##---------------------------------------------------
. ${TRUS_DIRE}/config/${TRUS_USER}.cfg
export TRUS_SCRA TRUS_STOR TRUS_XIOS TRUS_FORC
export TRUS_WORK TRUS_BRAN TRUS_BHMK TRUS_TEST
export TRUS_REFE TRUS_CONF TRUS_TARF TRUS_KEYA TRUS_KEYD
export TRUS_MAIL

export TRUS_NGCM=${TRUS_WORK}/${TRUS_BRAN}/NEMOGCM


## Source (super)computer configuration
##---------------------------------------------------
. ${TRUS_DIRE}/config/${TRUS_HPCC}.cfg
export TRUS_ENVI
export TRUS_CDOD
export TRUS_JSUB TRUS_JSTA TRUS_JKIL TRUS_JPME TRUS_JTIM TRUS_JVME TRUS_JINF
export TRUS_CMPF TRUS_CDOR TRUS_MPIR TRUS_CDFR
export TRUS_NPRO TRUS_TOUT

