[5799] | 1 | ## User configuration template |
---|
[5788] | 2 | ##--------------------------------------------------- |
---|
[5286] | 3 | |
---|
[5929] | 4 | ## Copy to root, rename it and then fill in according to your user environment |
---|
| 5 | ## Rules for completion: undefined variables (=) are mandatory & void variables (='') are optional |
---|
[5799] | 6 | ## Look into other configuration file for examples |
---|
[5286] | 7 | |
---|
[5683] | 8 | |
---|
[5799] | 9 | ## Default settings |
---|
| 10 | ##--------------------------------------------------- |
---|
| 11 | ## These settings can be changed directly from command line to reduce number of user configuration file |
---|
[5788] | 12 | ## See `./trusting.sh [-h|--help]` |
---|
[5286] | 13 | |
---|
[5929] | 14 | ## SVN branch name ('trunk', 'nemo_v3_6_STABLE', development branches) |
---|
[5799] | 15 | [ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' |
---|
[5761] | 16 | |
---|
[5799] | 17 | ## Minimal content for code checkout/update |
---|
[5929] | 18 | TRUS_CKOT=( 'ARCH CONFIG NEMO \ |
---|
| 19 | EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL \ |
---|
| 20 | TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO ' ) |
---|
[5286] | 21 | |
---|
[5929] | 22 | [ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' ## Reference configuration to test |
---|
| 23 | TRUS_CONF=${TRUS_REFE}'_trust' ## Testing configuration name |
---|
[5761] | 24 | |
---|
[5929] | 25 | ## Forcing archive, let void if just need to copy the files inside ${TRUS_FORC} |
---|
[5799] | 26 | [ -z "${TRUS_TARF}" ] && TRUS_TARF='ORCA2_LIM_nemo_v3.6.tar' |
---|
| 27 | [ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TARF='INPUTS_ORCA1_LIM3_PISCES_V6.tar' |
---|
| 28 | [ ${TRUS_REFE} == 'AMM12' ] && TRUS_TARF='AMM12_v3.6.tar' |
---|
[5681] | 29 | |
---|
[5788] | 30 | ## CPP keys to add or remove from reference configuration |
---|
[5799] | 31 | TRUS_KEYA=''; TRUS_KEYD='' |
---|
| 32 | [ ${TRUS_REFE} == 'ORCA2_LIM' ] && TRUS_KEYA='key_add key_agrif' && TRUS_KEYD='key_del key_zdftmx' |
---|
[5681] | 33 | |
---|
| 34 | |
---|
[5929] | 35 | ## User environment |
---|
[5788] | 36 | ##--------------------------------------------------- |
---|
[5929] | 37 | TRUS_WORK= ## Testing folder for compilation (branches checkouts & configuration compilation) |
---|
| 38 | TRUS_SCRA= ## " " "" " " computation |
---|
[8780] | 39 | ## ...../${TRUS_REFE}/${TRUS_BRAN}/${TRUS_DATE} recommended |
---|
[5929] | 40 | TRUS_STOR= ## Benchmark folder where target files for comparison have been stored, ie: |
---|
| 41 | ## Inputs (all) : CPP_*, namelist_*, *.xml et inputs_list.txt (created by initial test) |
---|
| 42 | ## Outputs (any) : *.stat, ocean.output, restarts |
---|
| 43 | ## ...../${TRUS_REFE}/${TRUS_BRAN} recommended (same layout as ${TRUS_SCRA}) |
---|
| 44 | TRUS_FORC= ## Path to the forcing archive to extract (usage combined with ${TRUS_TARF}) or |
---|
| 45 | ## "" all inputs files who will be copied into ${TRUS_SCRA} |
---|
| 46 | TRUS_XIOS= ## XIOS installation |
---|
[5681] | 47 | |
---|
[5799] | 48 | ## Mailing list to notify on failure (-p|--prod option required) |
---|
| 49 | [ -z "${TRUS_MAIL}" ] && TRUS_MAIL='' |
---|