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

Ignore:
Timestamp:
2015-10-16T16:38:37+02:00 (9 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS18_TRUST Establishing common environment for installing & running trusting, consolidation of scripts & continuation of templates & help section improvments

File:
1 edited

Legend:

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

    r5788 r5799  
    1 ## User configuration 
     1## User configuration template 
    22##--------------------------------------------------- 
    33 
    44## 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 
     5## Rules for completion: 
     6   ## Undefined variables (=)   are mandatory 
     7   ## Void         " "    (='') " " optional 
     8## Look into other configuration file for examples 
     9## It will be called by its name without extension 
    610 
    711 
    8 ## Mandatory 
     12## Global directories 
     13##--------------------------------------------------- 
     14TRUS_SCRA=     ## Computation 
     15TRUS_STOR=     ## Backup 
     16TRUS_FORC=     ## Location of forcing archive to extract (combined use with ${TRUS_TARF}) or 
     17               ##    ""    "" all inputs files to copy into ${TRUS_TEST} 
     18TRUS_XIOS=     ## XIOS installation 
     19 
     20 
     21## Default settings 
    922##--------------------------------------------------- 
    1023 
    11 ## Few settings can be changed from directly from command line to reduce the creation of user configuration file 
     24## These settings can be changed directly from command line to reduce number of user configuration file 
    1225## See `./trusting.sh [-h|--help]` 
    1326 
    14 ## Directories path 
    15 TRUS_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 
    18 TEST_DIR=''       ## Testing folder for computation 
    19                          ## ex: ".../trusting_${DATE}" 
    20 TRUS_WKCY=''          ## Working copy of branch test 
    21                          ## ex: ".../NEMOGCM" 
    22 DIR_XIOS=''       ## XIOS installation 
     27## SVN branch name 
     28[ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' 
    2329 
    24 ## NEMO configurations 
    25 TRUS_REFE=''          ## Reference configuration to test 
    26 TRUS_TEST=''          ## Testing configuration name 
     30## Minimal content for code checkout/update 
     31TRUS_CKOT=( 'ARCH CONFIG NEMO EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO' ) 
    2732 
    28 ## Forcing files 
    29 TRUS_FORC=''          ## Directory with forcing archive to extract (combined use with ${TRUS_TARF}) or 
    30                       ##    " "     ""  all inputs files to copy into ${TEST_DIR} 
     33## Reference configuration to test 
     34[ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' 
     35 
     36## Forcing archive, let void if not need to untar inside ${TRUS_FORC} 
     37[ -z "${TRUS_TARF}" ] && TRUS_TARF='ORCA2_LIM_nemo_v3.6.tar' 
     38[ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TARF='INPUTS_ORCA1_LIM3_PISCES_V6.tar' 
     39[ ${TRUS_REFE} == 'AMM12'             ] && TRUS_TARF='AMM12_v3.6.tar' 
     40 
     41## Testing configuration name 
     42TRUS_CONF=${TRUS_REFE}'_trust' 
     43 
     44## CPP keys to add or remove from reference configuration 
     45TRUS_KEYA=''; TRUS_KEYD='' 
     46[ ${TRUS_REFE} == 'ORCA2_LIM' ] && TRUS_KEYA='key_add key_agrif' && TRUS_KEYD='key_del key_zdftmx' 
    3147 
    3248 
    33 ## Possible use  
     49## Personal settings 
    3450##--------------------------------------------------- 
    3551 
    36 ## Archive inputs name, let void if not requested 
    37 TRUS_TARF='' 
     52## Folder for testing branch (intallation & compilation of testing configuration) 
     53[ -z "${TRUS_WORK}" ] && TRUS_WORK= 
    3854 
    39 ## CPP keys to add or remove from reference configuration 
    40 KEYS_ADD='' 
    41 KEYS_DEL='' 
     55## Testing folder for computation 
     56TRUS_TEST=     ## ${TRUS_SCRA}/${TRUS_REFE}/${TRUS_BRAN}/${DATE} recommended 
    4257 
     58## Benchmark folder where target files for comparison have been stored, ie: 
     59   ## Inputs  (all) : CPP_*, namelist_*, *.xml et inputs_list.txt (created by first test) 
     60   ## Outputs (any) : *.stat, ocean.output, restarts 
     61TRUS_BHMK=     ## ${TRUS_STOR}/${TRUS_REFE}/${TRUS_BRAN} recommended 
    4362 
    44 ## Optional (can be void if no alternative or need) 
    45 ##--------------------------------------------------- 
    46  
    47 ## Mailing list to notify of a failure (-p|--prod required) 
    48 TRUS_MAIL='' 
     63## Mailing list to notify on failure (-p|--prod option required) 
     64[ -z "${TRUS_MAIL}" ] && TRUS_MAIL='' 
Note: See TracChangeset for help on using the changeset viewer.