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

Last change on this file since 5268 was 5268, checked in by nicolasmartin, 6 years ago

dev_r5092_CNRS_SETTE First commit for super-computers trusting scripts

File size: 1.8 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    ID=${IDRIS_ID}      ; ARCH='X64_ADA'
11    JOB_SUB=llsubmit    ; JOB_VIEW=''                  ; JOB_DEL=llcancel                          ; JOB_LIST=llq
12    DIR_WORK=$WORKDIR   ; DIR_SCRA=$TMPDIR/trusting    ; DIR_STOR=$HOME/Workspace/NEMO/trusting_sav
13elif [ $USER == ${TGCC_ID}  ]; then
14    ID=${TGCC_ID}       ; ARCH='X64_CURIE'
15    JOB_SUB=ccc_msub    ; JOB_VIEW=ccc_macct           ; JOB_DEL=ccc_mdel                          ; JOB_LIST=ccc_mpp
16    DIR_WORK=$CCCWORKDIR; DIR_SCRA=$SCRATCHDIR/trusting; DIR_STOR=$CCCSTOREDIR/trusting_sav
17else
18    ID=''            ; ARCH=''
19    JOB_SUB=''       ; JOB_VIEW=''                  ; JOB_DEL=''
20    DIR_WORK=''      ; DIR_SCRA=''                  ; DIR_STOR=''
21fi
22
23export ID       ARCH
24export JOB_SUB  JOB_VIEW JOB_DEL  JOB_LIST
25export DIR_WORK DIR_SCRA DIR_STOR
26
27
28# NEMO compilation config
29NEMO_BRAN=trunk; NEMO_HOME=${DIR_WORK}/NEMO/${NEMO_BRAN}/NEMOGCM # dev_r5092_CNRS_SETTE dev_v3_4_STABLE_2012
30export NEMO_HOME NEMO_BRAN
31NEMO_ARCH=${NEMO_HOME}/ARCH        ; NEMO_CONF=${NEMO_HOME}/CONFIG         ; NEMO_ENGI=${NEMO_HOME}/NEMO
32NEMO_EFCM=${NEMO_HOME}/EXTERNAL/fcm; NEMO_IPSL=${NEMO_HOME}/EXTERNAL/IOIPSL; NEMO_TCMP=${NEMO_HOME}/TOOLS/COMPILE
33export NEMO_ARCH NEMO_CONF NEMO_EFCM NEMO_ENGI NEMO_IPSL NEMO_TCMP
34
35
36# NEMO inputs config
37export NEMO_FORC=${DIR_WORK}/NEMO/FORC FORC_TAR=ORCA2_LIM_nemo_v3.6.tar
38
39
40# External softs directories
41export DIR_XIOS=${DIR_WORK}/XIOS/xios-1.0 DIR_OASI=${DIR_WORK}/OASIS
42
43
44# Environment architecture
45. ${DIR_XIOS}/arch/arch-${ARCH}_trust.env
46
47
48# Comparatives directories localization
49DIR_REFE=${DIR_STOR}/${CONF_REF}/${NEMO_BRAN}
50DIR_TEST=${DIR_SCRA}/${CONF_REF}/${NEMO_BRAN}/trusting_${DATESTR}
51export DIR_REFE DIR_TEST
Note: See TracBrowser for help on using the repository browser.