Ignore:
Timestamp:
2015-05-19T21:53:20+02:00 (6 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Updates & nemo.cfg, $ARCH.cfg & template.cfg files for cfg dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/trusting.env

    r5280 r5283  
    44# Time-stamp 
    55date_test=$( date ) 
    6 export DATESTR=$( LC_ALL=C date -d"${date_test}" +%Y%m%dT%H%M ) 
     6export DATE_STR=$( LC_ALL=C date -d"${date_test}" +%Y%m%dT%H%M ) 
    77 
    8 # External softs directories 
    9 export DIR_XIOS=${DIR_WORK}/XIOS/xios-1.0 DIR_OASI=${DIR_WORK}/OASIS 
    108 
    11 # Environment architecture (XIOS for compliance) 
    12 . ${DIR_XIOS}/arch/arch-${ARCH}.env 
     9# Sourcing super-computer running configuration 
     10. cfg/$ARCH.cfg 
    1311 
    14 # Super-computers configuration 
    15 if   [ $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 
    21 elif [ $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 
    27 else 
    28     ARCH=''             ; COMPILER=''   ; MPI='' 
    29     JOB_SUB=''      ; JOB_LIST=''     ; JOB_VIEW=''       ; JOB_DEL=''                                 
    30     DIR_WORK=''      ; DIR_SCRA=''                  ; DIR_STOR='' 
    31 fi 
     12export COMPILER MPI_NAME 
     13export JOB_SUBM JOB_LIST JOB_VIEW JOB_DELE 
     14export DIR_WORK DIR_SCRA DIR_STOR 
     15export DIR_XIOS DIR_OASI 
    3216 
    33 [ -z "$FC" ] && COMPILER=$FC 
    3417 
    35 export ARCH     COMPILER MPI 
    36 export JOB_SUB  JOB_LIST JOB_VIEW JOB_DEL  
    37 export DIR_WORK DIR_SCRA DIR_STOR  
     18# Sourcing NEMO configuration 
     19. cfg/nemo.cfg 
    3820 
    39 # NEMO directories 
    40 NEMO_HOME=${DIR_WORK}/NEMO/${NEMO_BRAN}/NEMOGCM 
    41 export NEMO_HOME 
    42 NEMO_ARCH=${NEMO_HOME}/ARCH        ; NEMO_CONF=${NEMO_HOME}/CONFIG         ; NEMO_ENGI=${NEMO_HOME}/NEMO 
    43 NEMO_EFCM=${NEMO_HOME}/EXTERNAL/fcm; NEMO_IPSL=${NEMO_HOME}/EXTERNAL/IOIPSL; NEMO_TCMP=${NEMO_HOME}/TOOLS/COMPILE 
    44 export NEMO_ARCH NEMO_CONF NEMO_EFCM NEMO_ENGI NEMO_IPSL NEMO_TCMP 
    45 # NEMO inputs 
    46 export NEMO_FORC=${DIR_WORK}/NEMO/FORC FORC_TAR=ORCA2_LIM_nemo_v3.6.tar 
     21export NEMO_HOME NEMO_FORC FORC_TARF 
     22NEMO_ARCH=${NEMO_HOME}/ARCH         ; NEMO_CONF=${NEMO_HOME}/CONFIG         ; NEMO_ENGI=${NEMO_HOME}/NEMO 
     23NEMO_EFCM=${NEMO_HOME}/EXTERNAL/fcm ; NEMO_IPSL=${NEMO_HOME}/EXTERNAL/IOIPSL; NEMO_SETT=${NEMO_HOME}/SETTE 
     24NEMO_TCMP=${NEMO_HOME}/TOOLS/COMPILE 
     25export NEMO_ARCH NEMO_CONF NEMO_EFCM NEMO_ENGI NEMO_IPSL NEMO_SETT NEMO_TCMP 
     26 
    4727 
    4828# Comparatives directories localization 
    4929DIR_REFE=${DIR_STOR}/${CONF_REFE}/${NEMO_BRAN} 
    50 DIR_TEST=${DIR_SCRA}/${CONF_REFE}/${NEMO_BRAN}/trusting_${DATESTR} 
     30DIR_TEST=${DIR_SCRA}/${CONF_REFE}/${NEMO_BRAN}/trusting_${DATE_STR} 
    5131export DIR_REFE DIR_TEST 
Note: See TracChangeset for help on using the changeset viewer.