- Timestamp:
- 2021-05-10T18:02:51+02:00 (3 years ago)
- Location:
- utils/CI/sette
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette/sette.sh
r14244 r14826 5 5 export SETTE_TIMING='no' 6 6 export NOT_USING_QCO='no' 7 export USING_RK3='no' 8 export USING_ICEBERGS='yes' 9 export USING_EXTRA_HALO='no' 10 export USING_TILING='no' 7 11 8 12 # Parse command-line arguments 9 13 if [ $# -gt 0 ]; then 10 while getopts t:x:cshTqoption; do14 while getopts n:x:cshTqQtei option; do 11 15 case $option in 12 16 c) export SETTE_CLEAN_CONFIGS='yes' … … 19 23 echo "MY_SRC and EXP00 in $SETTE_TEST_CONFIGS will be synchronised with the MY_SRC and EXPREF from the reference configuration" 20 24 echo "";; 21 t) export SETTE_TEST_CONFIGS=($OPTARG)25 n) export SETTE_TEST_CONFIGS=($OPTARG) 22 26 echo "" 23 27 if [ ${#SETTE_TEST_CONFIGS[@]} -gt 1 ]; then … … 37 41 echo "key_qco and key_linssh will NOT be activated" 38 42 echo "";; 43 Q) export USING_RK3='no' 44 echo "" 45 echo "key_qco and key_RK3 will be activated" 46 echo "..when they are ready; disabled for now: USING_RK3='no'" 47 echo "";; 48 t) export USING_TILING='yes' 49 echo "" 50 echo "ln_tile will be set to true AND nn_hls will be set to 2" 51 echo "";; 52 e) export USING_EXTRA_HALO='yes' 53 echo "" 54 echo "nn_hls will be set to 2" 55 echo "";; 56 i) export USING_ICEBERGS='no' 57 echo "" 58 echo "ln_icebergs will be set to false" 59 echo "";; 39 60 h | *) echo 'sette.sh with no arguments (in this case all configuration will be tested)' 40 echo '- t"CFG1_to_test CFG2_to_test ..." to test some specific configurations'61 echo '-n "CFG1_to_test CFG2_to_test ..." to test some specific configurations' 41 62 echo '-x "TEST_type TEST_type ..." to specify particular types of test (RESTART is mandatory)' 42 63 echo '-T to set ln_timing true for all non-AGRIF configurations' 43 64 echo '-c to clean each configuration' 44 65 echo '-q run without qco environment' 66 echo '-Q run with key_qco AND key_RK3 (currently disabled)' 67 echo '-t activate ln_tile in all tests that support it; also forces nn_hls=2 (default: off)' 68 echo '-e activate extended halo (nn_hls=2) in all tests that support it (default: nn_hls=1)' 69 echo '-i run without icebergs even in tests that support them (default: on)' 45 70 echo '-s to synchronise the sette MY_SRC and EXP00 with the reference MY_SRC and EXPREF'; exit 42 ;; 46 71 esac -
utils/CI/sette/sette_reference-configurations.sh
r14823 r14826 107 107 export INTERACT_FLAG="no" 108 108 export MPIRUN_FLAG="yes" 109 export USING_ICEBERGS="yes" 110 export USING_EXTRA_HALO="no" 111 export USING_TILING="no" 109 # 112 110 if [ ${USING_TILING} == "yes" ] 113 111 then … … 139 137 then 140 138 export DEL_KEYS="${DEL_KEYS} key_qco key_linssh" 139 fi 140 # 141 if [ ${USING_RK3} == "yes" ] 142 then 143 export ADD_KEYS="${ADD_KEYS} key_qco key_RK3" 144 else 145 export DEL_KEYS="${DEL_KEYS} key_qco key_RK3" 141 146 fi 142 147 # -
utils/CI/sette/sette_test-cases.sh
r14823 r14826 131 131 then 132 132 export DEL_KEYS="${DEL_KEYS} key_qco key_linssh" 133 fi 134 # 135 if [ ${USING_RK3} == "yes" ] 136 then 137 export ADD_KEYS="${ADD_KEYS} key_qco key_RK3" 133 138 fi 134 139 #
Note: See TracChangeset
for help on using the changeset viewer.