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 5788 for branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/user_template.cfg – NEMO

Ignore:
Timestamp:
2015-10-12T20:28:35+02:00 (9 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS18_TRUST Several enhancements (global variables rename, notification mail object, add job performances, templates description, script to install new minimal branch to test) to improve accessibility for NEMO users & bugfixes (tar creation, modulefiles)

File:
1 edited

Legend:

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

    r5761 r5788  
    1 ## Copy to ./${NEMO_USER}.cfg, fill in according to your installation 
     1## User configuration 
     2##--------------------------------------------------- 
    23 
    3 ## User configuration 
    4 ##------------------- 
     4## Copy to root (./config) and rename it by keeping '.cfg' extension, then fill in according to your installation 
     5## Will be called by its name without extension 
    56 
    67 
    7 ## Global Directories: 
    8 #DIR_WORK='' 
    9 #DIR_SCRA='' 
    10 #DIR_STOR='' 
     8## Mandatory 
     9##--------------------------------------------------- 
     10 
     11## Few settings can be changed from directly from command line to reduce the creation of user configuration file 
     12## See `./trusting.sh [-h|--help]` 
     13 
     14## Directories path 
     15TRUS_BHMK=''           ## Benchmark folder where target files for comparison have been stored 
     16                         ## Inputs  (all) : CPP_*, namelist_*, *.xml et inputs_file.txt (formed by first test) 
     17                         ## Outputs (any) : *.stat, ocean.output, restarts 
     18TEST_DIR=''       ## Testing folder for computation 
     19                         ## ex: ".../trusting_${DATE}" 
     20TRUS_WKCY=''          ## Working copy of branch test 
     21                         ## ex: ".../NEMOGCM" 
     22DIR_XIOS=''       ## XIOS installation 
     23 
     24## NEMO configurations 
     25TRUS_REFE=''          ## Reference configuration to test 
     26TRUS_TEST=''          ## Testing configuration name 
     27 
     28## Forcing files 
     29TRUS_FORC=''          ## Directory with forcing archive to extract (combined use with ${TRUS_TARF}) or 
     30                      ##    " "     ""  all inputs files to copy into ${TEST_DIR} 
    1131 
    1232 
    13 ## NEMO overall installation: 
    14 [ -z "${NEMO_BRAN}" ] && NEMO_BRAN=''    ## NEMO SVN branch to test 
    15                                             ## ex: 'trunk', 'nemo_v3_6_STABLE', ... 
    16 NEMO_HOME=''                             ## NEMOGCM directory (includes ./ARCH, ./CONFIG, ...) 
    17                                             ## ex: "${DIR_WORK}/NEMO/${NEMO_BRAN}/NEMOGCM", ... 
    18 ## ${NEMO_BRAN} must be consistent with URL branch that have been checkout by SVN to build ${NEMO_HOME} 
     33## Possible use  
     34##--------------------------------------------------- 
     35 
     36## Archive inputs name, let void if not requested 
     37TRUS_TARF='' 
     38 
     39## CPP keys to add or remove from reference configuration 
     40KEYS_ADD='' 
     41KEYS_DEL='' 
    1942 
    2043 
    21 ### Reference/'Trusting' configuration 
    22 [ -z "${REFE_CONF}" ] && REFE_CONF=''    ## Reference configuration to test 
    23                                             ## ex: 'ORCA2_LIM_PISCES', 'GYRE', ... 
    24 TEST_CONF=''                             ## Testing configuration name 
    25 KEYS_ADD=''; KEYS_DEL=''                 ## CPP keys to add or remove from reference configuration 
    26                                             ## ex: 'key_mpp_rep key_tide', ... 
    27 #if [ ${REFE_CONF} == '' ]; then 
    28 #    TEST_CONF='' 
    29 #    KEYS_ADD='key_add ...' && KEYS_DEL='key_del ...' 
    30 #elif ... 
    31 #else ... 
    32 #fi 
     44## Optional (can be void if no alternative or need) 
     45##--------------------------------------------------- 
    3346 
    34  
    35 ### Inputs 
    36 NEMO_FORC=''                             ## Directory with forcing archive from DODS/ESGF server to extract or 
    37                                          ##    " "     ""  all inputs files to copy into ${TEST_DIR} 
    38 [ -z "${NEMO_TARF}" ] && NEMO_TARF=''    ## Archive inputs name, let blank if not requested 
    39                                             ## ex: 'ORCA2_LIM_nemo_v3.6.tar', 'AMM12_v3.6.tar', ... 
    40 #[ ${REFE_CONF} == '' ] && NEMO_TARF='' 
    41  
    42  
    43 ## Comparative directories path: 
    44 REFE_DIR=''                 ## "Standard" folder where benchmark result files have been stored for comparison 
    45                                             ## ex: "${DIR_STOR}/${REFE_CONF}/${NEMO_BRAN}" 
    46 TEST_DIR=''                 ## Testing    folder for computation 
    47                                             ## ex: "${DIR_SCRA}/${REFE_CONF}/${NEMO_BRAN}/trusting_${DATE}" 
    48  
    49  
    50 ## External softs directories: 
    51 DIR_XIOS=''                    ## ex: '${DIR_WORK}/XIOS/xios-1.0' 
    52 #DIR_OASI=''                      ## ex: '${DIR_WORK}/OASIS' 
    53  
    54  
    55 ## Mailing list to inform of a failure (-p|--publish required) 
    56 [ -z "$EMAIL"] && EMAIL='' 
     47## Mailing list to notify of a failure (-p|--prod required) 
     48TRUS_MAIL='' 
Note: See TracChangeset for help on using the changeset viewer.