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 "${TRUST_SVN_BRANCH}" ] && TRUST_SVN_BRANCH='trunk' |
---|
16 | |
---|
17 | ## Minimal content for code checkout/update |
---|
18 | TRUST_SVN_CO=( 'ARCH CONFIG NEMO |
---|
19 | EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL |
---|
20 | TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO ' ) |
---|
21 | |
---|
22 | [ -z "${TRUST_CFG_REF}" ] && TRUST_CFG_REF='ORCA2_LIM_PISCES' ## Reference configuration to test |
---|
23 | TRUST_CFG_NEW=${TRUST_CFG_REF}'_trust' ## Testing configuration name |
---|
24 | |
---|
25 | ## Forcing archive, let void if just need to copy the files inside ${TRUST_DIR_FORC} |
---|
26 | [ -z "${TRUST_CFG_FORC}" ] && TRUST_CFG_FORC='ORCA2_LIM_nemo_v3.6.tar' |
---|
27 | [ ${TRUST_CFG_REF} == 'ORCA1_LIM3_PISCES' ] && TRUST_CFG_FORC='INPUTS_ORCA1_LIM3_PISCES_V6.tar' |
---|
28 | [ ${TRUST_CFG_REF} == 'AMM12' ] && TRUST_CFG_FORC='AMM12_v3.6.tar' |
---|
29 | |
---|
30 | ## CPP keys to add or remove from reference configuration |
---|
31 | TRUST_CFG_KEY_ADD=''; TRUST_CFG_KEY_DEL='' |
---|
32 | [ ${TRUST_CFG_REF} == 'ORCA2_LIM' ] && TRUST_CFG_KEY_ADD='key_add key_agrif' && TRUST_CFG_KEY_DEL='key_del key_zdftmx' |
---|
33 | |
---|
34 | |
---|
35 | ## User environment |
---|
36 | ##--------------------------------------------------- |
---|
37 | TRUST_DIR_WORK= ## Testing folder for compilation (branches checkouts & configuration compilation) |
---|
38 | TRUST_DIR_SCRATCH= ## " " "" " " computation |
---|
39 | ## ...../${TRUST_CFG_REF}/${TRUST_SVN_BRANCH}/${TRUST_TEST_DATE} recommended |
---|
40 | TRUST_DIR_STORE= ## 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 | ## ...../${TRUST_CFG_REF}/${TRUST_SVN_BRANCH} recommended (same layout as ${TRUST_DIR_SCRATCH}) |
---|
44 | TRUST_DIR_FORC= ## Path to the forcing archive to extract (usage combined with ${TRUST_CFG_FORC}) or |
---|
45 | ## "" all inputs files who will be copied into ${TRUST_DIR_SCRATCH} |
---|
46 | TRUST_DIR_XIOS= ## XIOS installation |
---|
47 | |
---|
48 | ## Mailing list to notify on failure (-p|--prod option required) |
---|
49 | [ -z "${TRUST_TEST_MAILING}" ] && TRUST_TEST_MAILING='' |
---|