New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
trusting.env in branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE – NEMO

source: branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/trusting.env @ 5276

Last change on this file since 5276 was 5276, checked in by nicolasmartin, 9 years ago

dev_r5092_CNRS_SETTE Update

File size: 1.9 KB
Line 
1#!/bin/bash
2
3
4# Time-stamp
5date_test=$( date )
6export DATESTR=$( LC_ALL=C date -d"${date_test}" +%Y%m%dT%H%M )
7
8# Super-computers configuration
9if   [ $USER == ${IDRIS_ID} ]; then
10    ARCH=X64_ADA_trust
11    # Job commands : LoadLeveler
12    JOB_SUB=llsubmit; JOB_LIST=llq    ; JOB_VIEW='llq -xl'; JOB_DEL=llcancel                         
13    # Directories $HOME $WORKDIR $COMMONDIR $TMPDIR
14    DIR_WORK=$WORKDIR   ; DIR_SCRA=$TMPDIR/trusting    ; DIR_STOR=trusting_sav
15elif [ $USER == ${TGCC_ID}  ]; then
16    ARCH=X64_CURIE_trust
17    # Job commands : ccc_*
18    JOB_SUB=ccc_msub; JOB_LIST=ccc_mpp; JOB_VIEW=ccc_macct; JOB_DEL=ccc_mdel                         
19    # Directories $HOME $WORKDIR            $SCRATCHDIR $STOREDIR
20    DIR_WORK=$CCCWORKDIR; DIR_SCRA=$SCRATCHDIR/trusting; DIR_STOR=$CCCSTOREDIR/trusting_sav
21else
22    ARCH=''
23    JOB_SUB=''      ; JOB_LIST=''     ; JOB_VIEW=''       ; JOB_DEL=''                               
24    DIR_WORK=''      ; DIR_SCRA=''                  ; DIR_STOR=''
25fi
26
27export ARCH
28export JOB_SUB  JOB_LIST JOB_VIEW JOB_DEL
29export DIR_WORK DIR_SCRA DIR_STOR
30
31# NEMO directories
32NEMO_HOME=${DIR_WORK}/NEMO/${NEMO_BRAN}/NEMOGCM
33export NEMO_HOME
34NEMO_ARCH=${NEMO_HOME}/ARCH        ; NEMO_CONF=${NEMO_HOME}/CONFIG         ; NEMO_ENGI=${NEMO_HOME}/NEMO
35NEMO_EFCM=${NEMO_HOME}/EXTERNAL/fcm; NEMO_IPSL=${NEMO_HOME}/EXTERNAL/IOIPSL; NEMO_TCMP=${NEMO_HOME}/TOOLS/COMPILE
36export NEMO_ARCH NEMO_CONF NEMO_EFCM NEMO_ENGI NEMO_IPSL NEMO_TCMP
37# NEMO inputs
38export NEMO_FORC=${DIR_WORK}/NEMO/FORC FORC_TAR=ORCA2_LIM_nemo_v3.6.tar
39
40# External softs directories
41export DIR_XIOS=${DIR_WORK}/XIOS/xios-1.0 DIR_OASI=${DIR_WORK}/OASIS
42
43# Environment architecture (XIOS for compliance)
44. ${DIR_XIOS}/arch/arch-${ARCH}.env
45
46# Comparatives directories localization
47DIR_REFE=${DIR_STOR}/${CONF_REF}/${NEMO_BRAN}
48DIR_TEST=${DIR_SCRA}/${CONF_REF}/${NEMO_BRAN}/trusting_${DATESTR}
49export DIR_REFE DIR_TEST
Note: See TracBrowser for help on using the repository browser.