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

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

dev_r5092_CNRS_SETTE Updates

File size: 2.0 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# External softs directories
9export DIR_XIOS=${DIR_WORK}/XIOS/xios-1.0 DIR_OASI=${DIR_WORK}/OASIS
10
11# Environment architecture (XIOS for compliance)
12. ${DIR_XIOS}/arch/arch-${ARCH}.env
13
14# Super-computers configuration
15if   [ $USER == ${IDRIS_ID} ]; then
16    ARCH=X64_ADA_trust  ; COMPILER=ifort; MPI=intel
17    # Job commands : LoadLeveler
18    JOB_SUB=llsubmit; JOB_LIST=llq    ; JOB_VIEW='llq -xl'; JOB_DEL=llcancel                         
19    # Directories $HOME $WORKDIR $COMMONDIR $TMPDIR     ergon
20    DIR_WORK=$WORKDIR   ; DIR_SCRA=$TMPDIR/trusting    ; DIR_STOR=trusting_sav
21elif [ $USER == ${TGCC_ID}  ]; then
22    ARCH=X64_CURIE_trust; COMPILER=ifort; MPI=bullxmpi
23    # Job commands : ccc_*
24    JOB_SUB=ccc_msub; JOB_LIST=ccc_mpp; JOB_VIEW=ccc_macct; JOB_DEL=ccc_mdel                         
25    # Directories $HOME $WORKDIR            $SCRATCHDIR $STOREDIR
26    DIR_WORK=$CCCWORKDIR; DIR_SCRA=$SCRATCHDIR/trusting; DIR_STOR=$CCCSTOREDIR/trusting_sav
27else
28    ARCH=''             ; COMPILER=''   ; MPI=''
29    JOB_SUB=''      ; JOB_LIST=''     ; JOB_VIEW=''       ; JOB_DEL=''                               
30    DIR_WORK=''      ; DIR_SCRA=''                  ; DIR_STOR=''
31fi
32
33[ -z "$FC" ] && COMPILER=$FC
34
35export ARCH     COMPILER MPI
36export JOB_SUB  JOB_LIST JOB_VIEW JOB_DEL
37export DIR_WORK DIR_SCRA DIR_STOR
38
39# NEMO directories
40NEMO_HOME=${DIR_WORK}/NEMO/${NEMO_BRAN}/NEMOGCM
41export NEMO_HOME
42NEMO_ARCH=${NEMO_HOME}/ARCH        ; NEMO_CONF=${NEMO_HOME}/CONFIG         ; NEMO_ENGI=${NEMO_HOME}/NEMO
43NEMO_EFCM=${NEMO_HOME}/EXTERNAL/fcm; NEMO_IPSL=${NEMO_HOME}/EXTERNAL/IOIPSL; NEMO_TCMP=${NEMO_HOME}/TOOLS/COMPILE
44export NEMO_ARCH NEMO_CONF NEMO_EFCM NEMO_ENGI NEMO_IPSL NEMO_TCMP
45# NEMO inputs
46export NEMO_FORC=${DIR_WORK}/NEMO/FORC FORC_TAR=ORCA2_LIM_nemo_v3.6.tar
47
48# Comparatives directories localization
49DIR_REFE=${DIR_STOR}/${CONF_REFE}/${NEMO_BRAN}
50DIR_TEST=${DIR_SCRA}/${CONF_REFE}/${NEMO_BRAN}/trusting_${DATESTR}
51export DIR_REFE DIR_TEST
Note: See TracBrowser for help on using the repository browser.