- Timestamp:
- 2015-10-16T16:38:37+02:00 (9 years ago)
- 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 2 2 ##--------------------------------------------------- 3 3 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 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 6 10 7 11 8 ## Mandatory 12 ## Global directories 13 ##--------------------------------------------------- 14 TRUS_SCRA= ## Computation 15 TRUS_STOR= ## Backup 16 TRUS_FORC= ## Location of forcing archive to extract (combined use with ${TRUS_TARF}) or 17 ## "" "" all inputs files to copy into ${TRUS_TEST} 18 TRUS_XIOS= ## XIOS installation 19 20 21 ## Default settings 9 22 ##--------------------------------------------------- 10 23 11 ## Few settings can be changed from directly from command line to reduce the creationof user configuration file24 ## These settings can be changed directly from command line to reduce number of user configuration file 12 25 ## See `./trusting.sh [-h|--help]` 13 26 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' 23 29 24 ## NEMO configurations 25 TRUS_REFE='' ## Reference configuration to test 26 TRUS_TEST='' ## Testing configuration name 30 ## Minimal content for code checkout/update 31 TRUS_CKOT=( 'ARCH CONFIG NEMO EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO' ) 27 32 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 42 TRUS_CONF=${TRUS_REFE}'_trust' 43 44 ## CPP keys to add or remove from reference configuration 45 TRUS_KEYA=''; TRUS_KEYD='' 46 [ ${TRUS_REFE} == 'ORCA2_LIM' ] && TRUS_KEYA='key_add key_agrif' && TRUS_KEYD='key_del key_zdftmx' 31 47 32 48 33 ## P ossible use49 ## Personal settings 34 50 ##--------------------------------------------------- 35 51 36 ## Archive inputs name, let void if not requested37 TRUS_TARF='' 52 ## Folder for testing branch (intallation & compilation of testing configuration) 53 [ -z "${TRUS_WORK}" ] && TRUS_WORK= 38 54 39 ## CPP keys to add or remove from reference configuration 40 KEYS_ADD='' 41 KEYS_DEL='' 55 ## Testing folder for computation 56 TRUS_TEST= ## ${TRUS_SCRA}/${TRUS_REFE}/${TRUS_BRAN}/${DATE} recommended 42 57 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 61 TRUS_BHMK= ## ${TRUS_STOR}/${TRUS_REFE}/${TRUS_BRAN} recommended 43 62 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.