1 | ## User configuration template |
---|
2 | ##--------------------------------------------------- |
---|
3 | |
---|
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 |
---|
6 | ## Look into other configuration file for examples |
---|
7 | |
---|
8 | |
---|
9 | ## Default settings |
---|
10 | ##--------------------------------------------------- |
---|
11 | ## These settings can be changed directly from command line to reduce number of user configuration file |
---|
12 | ## See `./trusting.sh [-h|--help]` |
---|
13 | |
---|
14 | ## SVN branch name ('trunk', 'nemo_v3_6_STABLE', development branches) |
---|
15 | [ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' |
---|
16 | |
---|
17 | ## Minimal content for code checkout/update |
---|
18 | TRUS_CKOT=( 'ARCH CONFIG NEMO \ |
---|
19 | EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL \ |
---|
20 | TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO ' ) |
---|
21 | |
---|
22 | [ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' ## Reference configuration to test |
---|
23 | TRUS_CONF=${TRUS_REFE}'_trust' ## Testing configuration name |
---|
24 | |
---|
25 | ## Forcing archive, let void if just need to copy the files inside ${TRUS_FORC} |
---|
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' |
---|
29 | |
---|
30 | ## CPP keys to add or remove from reference configuration |
---|
31 | TRUS_KEYA=''; TRUS_KEYD='' |
---|
32 | [ ${TRUS_REFE} == 'ORCA2_LIM' ] && TRUS_KEYA='key_add key_agrif' && TRUS_KEYD='key_del key_zdftmx' |
---|
33 | |
---|
34 | |
---|
35 | ## User environment |
---|
36 | ##--------------------------------------------------- |
---|
37 | TRUS_WORK= ## Testing folder for compilation (branches checkouts & configuration compilation) |
---|
38 | TRUS_SCRA= ## " " "" " " computation |
---|
39 | ## ...../${TRUS_REFE}/${TRUS_BRAN}/${DATE} recommended |
---|
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 |
---|
47 | |
---|
48 | ## Mailing list to notify on failure (-p|--prod option required) |
---|
49 | [ -z "${TRUS_MAIL}" ] && TRUS_MAIL='' |
---|