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.
Changeset 8818 for branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/cfg/martin.cfg – NEMO

Ignore:
Timestamp:
2017-11-27T14:10:49+01:00 (6 years ago)
Author:
nicolasmartin
Message:

Continuation of global refactoring of the tool, set cfg files mime property and modify trusting.env trying to handle default settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/cfg/martin.cfg

    • Property svn:mime-type set to application/x-shellscript
    r8808 r8818  
    1 ## Installation for trusting tests on Curie Supercomputer 
    2 ##--------------------------------------------------- 
     1## Settings for  
     2##-------------------------------------------------------------------------------- 
    33 
    44 
    5 ## Default settings 
    6 ##--------------------------------------------------- 
    7 TRUST_SVN_CO=( 'ARCH           CONFIG          NEMO               \ 
    8                 EXTERNAL/AGRIF EXTERNAL/fcm    EXTERNAL/IOIPSL    \ 
    9                 TOOLS/COMPILE  TOOLS/maketools TOOLS/REBUILD_NEMO  ' ) 
     5## Trusting installation 
     6## --------------------- 
     7   TRUST_DIR_WORK=$CCCWORKDIR/NEMO 
     8TRUST_DIR_SCRATCH=$CCCSCRATCHDIR/NEMO/trusting 
     9  TRUST_DIR_STORE=$CCCSTOREDIR/NEMO/trusting_sav 
    1010 
    11 TRUST_CFG_NEW=${TRUST_CFG_REF}'_trust' 
    1211 
    13 if   [ -z "${TRUST_SVN_BRANCH}"                      ]; then 
    14     TRUST_SVN_BRANCH='trunk' 
     12## Branch checkout 
     13## --------------- 
    1514 
    16     if   [ -z "${TRUST_CFG_REF}"           ]; then 
    17    TRUST_CFG_REF='ORCA2_LIM3_PISCES' 
    18     elif [     ${TRUST_CFG_REF} == 'AMM12' ]; then 
    19    TRUST_CFG_FORC='AMM12_v3.7.tar' 
    20     fi 
    2115 
    22     [ -z "${TRUST_CFG_FORC}" ] && TRUST_CFG_FORC='ORCA2_LIM_nemo_v3.7.tar  \ 
    23                                                   INPUTS_PISCES_v3.6st.tar  ' 
    24 elif [     ${TRUST_SVN_BRANCH} == 'nemo_v3_6_STABLE' ]; then 
     16## NEMO configuration 
     17## ------------------ 
     18[ ${TRUST_CFG_REF} == 'ORCA2_LIM_PISCES'  ] && TRUST_CFG_NEW='O2LP_trust' 
     19[ ${TRUST_CFG_REF} == 'ORCA2_LIM3_PISCES' ] && TRUST_CFG_NEW='O2L3P_trust' 
     20[ ${TRUST_CFG_REF} == 'ORCA1_LIM3_PISCES' ] && TRUST_CFG_NEW='O1L3P_trust' 
    2521 
    26     if   [ -z "${TRUST_CFG_REF}"                       ]; then 
    27    TRUST_CFG_REF='ORCA2_LIM_PISCES' 
    28     elif [     ${TRUST_CFG_REF} == 'ORCA1_LIM3_PISCES' ]; then 
    29    TRUST_CFG_FORC='INPUTS_ORCA1_LIM3_PISCES_V10.tar' 
    30     elif [     ${TRUST_CFG_REF} == 'AMM12'             ]; then 
    31    TRUST_CFG_FORC='AMM12_v3.6.tar' 
    32     fi 
    3322 
     23## Inputs/Outputs 
     24## -------------- 
     25TRUST_IO_FORC_PATH=$CCCWORKDIR/NEMO/FORC 
     26     TRUST_IO_XIOS=$CCCWORKDIR/XIOS 
     27 
     28if   [ ${TRUST_SVN_BRANCH} == 'nemo_v3_6_STABLE'  ]; then 
     29    TRUST_IO_XIOS+='/xios-1.0' 
     30elif [ ${TRUST_CFG_REF} == 'ORCA1_LIM3_PISCES'    ]; then 
     31    TRUST_IO_XIOS+='/XIOS_DEV_CMIP6' 
     32else 
     33    TRUST_IO_XIOS+='/trunk' 
    3434fi 
    3535 
    36 TRUST_CFG_KEY_ADD=''; TRUST_CFG_KEY_DEL='' 
    3736 
    38 [ -z "${TRUST_CFG_FORC}" ] && TRUST_CFG_FORC='ORCA2_LIM_nemo_v3.6.tar' 
     37## Trusting test 
     38##-------------- 
    3939 
    40 ## User environment 
    41 ##--------------------------------------------------- 
    42 TRUST_DIR_WORK=$CCCWORKDIR/NEMO 
    43 TRUST_DIR_SCRATCH=$CCCSCRATCHDIR/NEMO/trusting/${TRUST_CFG_REF}/${TRUST_SVN_BRANCH}/${TRUST_TEST_DATE} 
    44 TRUST_DIR_STORE=$CCCSTOREDIR/NEMO/trusting_sav/${TRUST_CFG_REF}/${TRUST_SVN_BRANCH} 
    45 TRUST_DIR_FORC=$CCCWORKDIR/NEMO/FORC 
    46 TRUST_DIR_XIOS=$CCCWORKDIR/XIOS/xios-1.0 
    47  
    48 if   [ ${TRUST_CFG_REF} == 'ORCA2_LIM_PISCES'  ]; then 
    49     TRUST_CFG_NEW='O2LP_trust' 
    50 elif [ ${TRUST_CFG_REF} == 'ORCA2_LIM3_PISCES' ]; then 
    51     TRUST_CFG_NEW='O2L3P_trust' 
    52 elif [ ${TRUST_CFG_REF} == 'ORCA1_LIM3_PISCES' ]; then 
    53     TRUST_CFG_NEW='O1L3P_trust' 
    54     TRUST_DIR_XIOS=$CCCWORKDIR/XIOS/XIOS_DEV_CMIP6 
    55 fi 
    56  
    57 [ ${TRUST_SVN_BRANCH} == 'trunk' ] && TRUST_DIR_XIOS=$CCCWORKDIR/XIOS/trunk 
    58  
    59 [ -z "${TRUST_TEST_MAILING}" ] && TRUST_TEST_MAILING='nicolas.martin@upmc.fr 
    60                                     claire.levy@locean-ipsl.upmc.fr 
    61                                     officers@nemo-ocean.eu' 
     40TRUST_TEST_MAILING=$( cat ./cfg/mailing_list.txt ) 
Note: See TracChangeset for help on using the changeset viewer.