Changeset 14873
- Timestamp:
- 2021-05-17T16:19:02+02:00 (3 years ago)
- Location:
- utils/CI/sette_ticket2673
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette_ticket2673/param.cfg
r14867 r14873 67 67 # 68 68 # TYPES OF TESTS TO PERFORM 69 export DO_RESTART=1 # The restart test is always needed because this compiles the code 69 # Note an attempt will be made to compile each configuration even if none of these tests are activated 70 export DO_RESTART=0 70 71 export DO_REPRO=0 71 72 export DO_CORRUPT=0 72 73 export DO_PHYOPTS=0 73 74 TEST_TYPES=(${SETTE_TEST_TYPES[@]:-"RESTART REPRO PHYOPTS CORRUPT"}) 74 if [[ ! ${TEST_TYPES[*]} =~ .*RESTART.* ]]; then export TEST_TYPES=("RESTART" ${TEST_TYPES[@]});fi75 if [[ ${TEST_TYPES[*]} =~ .*RESTART.* ]]; then export DO_RESTART=1 ;fi 75 76 if [[ ${TEST_TYPES[*]} =~ .*REPRO.* ]]; then export DO_REPRO=1 ;fi 76 77 if [[ ${TEST_TYPES[*]} =~ .*CORRUPT.* ]]; then export DO_CORRUPT=1 ;fi -
utils/CI/sette_ticket2673/sette.sh
r14870 r14873 6 6 export CMPL_CORES=8 # Number of threads to use for compiling 7 7 dry_run=0 8 NO_REPORT=0 8 9 # 9 10 # controls for some common namelist, run-time options: … … 33 34 # Parse command-line arguments 34 35 if [ $# -gt 0 ]; then 35 while getopts n:x:v:cd shTzqQteiACFX option; do36 while getopts n:x:v:cdrshTzqQteiACFX option; do 36 37 case $option in 37 38 c) export SETTE_CLEAN_CONFIGS='yes' 38 39 export SETTE_SYNC_CONFIGS='yes' 39 echo "-c: Configuration $ SETTE_TEST_CONFIGSwill be cleaned; this option enforces also synchronisation"40 echo "-c: Configuration ${SETTE_TEST_CONFIGS[@]} will be cleaned; this option enforces also synchronisation" 40 41 echo "";; 41 42 d) dry_run=1 42 43 echo "";; 44 r) NO_REPORT=1 45 echo "";; 43 46 s) export SETTE_SYNC_CONFIGS='yes' 44 echo "-s: MY_SRC and EXP00 in $SETTE_TEST_CONFIGS will be synchronised with the MY_SRC and EXPREF from the reference configuration" 45 echo "";; 46 n) export SETTE_TEST_CONFIGS=($OPTARG) 47 echo "-s: MY_SRC and EXP00 in ${SETTE_TEST_CONFIGS[@]} will be synchronised with the MY_SRC and EXPREF from the reference configuration" 48 echo "";; 49 n) OPTSTR="$OPTARG" 50 OPTSTR="${OPTSTR/ORCA2_SAS_ICE/SAS}" # Permit either shortened (expected) or full name for SAS 51 OPTSTR="${OPTSTR/AGRIF_DEMO/AGRIF}" # Permit either shortened (expected) or full name for AGRIF 52 export SETTE_TEST_CONFIGS=(${OPTSTR}) 47 53 echo "==================================" 48 54 if [ ${#SETTE_TEST_CONFIGS[@]} -gt 1 ]; then … … 52 58 fi 53 59 echo "";; 54 x) export SETTE_TEST_TYPES=($ OPTARG)55 echo "-x: $ SETTE_TEST_TYPEStests requested"60 x) export SETTE_TEST_TYPES=(${OPTARG}) 61 echo "-x: ${SETTE_TEST_TYPES[@]} tests requested" 56 62 echo "";; 57 63 v) export SETTE_SUB_VAL=($OPTARG) … … 107 113 echo '-x "TEST_type TEST_type ..." to specify particular types of test (RESTART is mandatory)' 108 114 echo '-v "subdir" optional validation record subdirectory to be created below NEMO_VALIDATION_DIR' 115 echo '-r to execute without waiting to run sette_rpt.sh at the end (useful for chaining sette.sh invocations)' 109 116 echo '-d to perform a dryrun to simply report what settings will be used' 110 117 echo '-c to clean each configuration' … … 213 220 fi 214 221 222 if [ ${NO_REPORT} -ne 0 ] ; then exit ; fi 215 223 # run sette report 216 224 echo "" -
utils/CI/sette_ticket2673/sette_reference-configurations.sh
r14870 r14873 127 127 # WED025 : regional configuration including sea-ice and tides (Spitzbergen) 128 128 129 . ./all_functions.sh 129 130 for config in ${TEST_CONFIGS[@]} 130 131 do … … 133 134 # GYRE_PISCES 134 135 # ----------- 135 if [ ${config} == "GYRE_PISCES" ] && [ ${DO_RESTART} == "1" ] ; then 136 ## Restartability tests for GYRE_PISCES 136 if [ ${config} == "GYRE_PISCES" ] ; then 137 137 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 138 138 then … … 142 142 fi 143 143 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 144 export TEST_NAME="LONG"145 144 cd ${MAIN_DIR} 146 145 # 147 146 # syncronisation if target directory/file exist (not done by makenemo) 148 . ${SETTE_DIR}/all_functions.sh149 147 sync_config GYRE_PISCES GYRE_PISCES_ST 'cfgs' 150 148 clean_config GYRE_PISCES GYRE_PISCES_ST 'cfgs' … … 152 150 # GYRE uses linssh so remove key_qco if added by default 153 151 . ./makenemo -m ${CMP_NAM} -n GYRE_PISCES_ST -r GYRE_PISCES -j ${CMPL_CORES} add_key "${ADD_KEYS/key_qco/}" del_key "${DEL_KEYS}" 154 cd ${SETTE_DIR} 155 . ./all_functions.sh 152 fi 153 if [ ${config} == "GYRE_PISCES" ] && [ ${DO_RESTART} == "1" ] ; then 154 ## Restartability tests for GYRE_PISCES 155 export TEST_NAME="LONG" 156 cd ${SETTE_DIR} 156 157 . ./prepare_exe_dir.sh 157 158 set_valid_dir … … 216 217 cd ${MAIN_DIR} 217 218 cd ${SETTE_DIR} 218 . ./all_functions.sh219 219 . ./prepare_exe_dir.sh 220 220 set_valid_dir … … 268 268 # ORCA2_ICE_PISCES 269 269 # ----------------- 270 if [ ${config} == "ORCA2_ICE_PISCES" ] && [ ${DO_RESTART} == "1" ] ; then 271 ## Restartability tests for ORCA2_ICE_PISCES 270 if [ ${config} == "ORCA2_ICE_PISCES" ] ; then 272 271 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 273 272 then … … 277 276 fi 278 277 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 279 export TEST_NAME="LONG"280 278 cd ${MAIN_DIR} 281 279 # 282 280 # syncronisation if target directory/file exist (not done by makenemo) 283 . ${SETTE_DIR}/all_functions.sh284 281 sync_config ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 'cfgs' 285 282 clean_config ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 'cfgs' 286 283 # 287 284 . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_PISCES_ST -r ORCA2_ICE_PISCES -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 288 cd ${SETTE_DIR} 289 . ./all_functions.sh 285 fi 286 if [ ${config} == "ORCA2_ICE_PISCES" ] && [ ${DO_RESTART} == "1" ] ; then 287 ## Restartability tests for ORCA2_ICE_PISCES 288 export TEST_NAME="LONG" 289 cd ${SETTE_DIR} 290 290 . ./prepare_exe_dir.sh 291 291 set_valid_dir … … 400 400 cd ${MAIN_DIR} 401 401 cd ${SETTE_DIR} 402 . ./all_functions.sh403 402 . ./prepare_exe_dir.sh 404 403 set_valid_dir … … 491 490 # ORCA2_OFF_PISCES 492 491 # ---------------- 493 if [ ${config} == "ORCA2_OFF_PISCES" ] && [ ${DO_RESTART} == "1" ] ; then 494 ## Restartability tests for ORCA2_OFF_PISCES 492 if [ ${config} == "ORCA2_OFF_PISCES" ] ; then 495 493 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 496 494 then … … 500 498 fi 501 499 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 502 export TEST_NAME="LONG"503 500 cd ${MAIN_DIR} 504 501 # 505 502 # syncronisation if target directory/file exist (not done by makenemo) 506 . ${SETTE_DIR}/all_functions.sh507 503 sync_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 508 504 clean_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' … … 510 506 # ORCA2_OFF_PISCES uses linssh so remove key_qco if added by default 511 507 . ./makenemo -m ${CMP_NAM} -n ORCA2_OFF_PISCES_ST -r ORCA2_OFF_PISCES -j ${CMPL_CORES} add_key "${ADD_KEYS/key_qco/}" del_key "${DEL_KEYS}" 512 cd ${SETTE_DIR} 513 . ./all_functions.sh 508 fi 509 if [ ${config} == "ORCA2_OFF_PISCES" ] && [ ${DO_RESTART} == "1" ] ; then 510 ## Restartability tests for ORCA2_OFF_PISCES 511 export TEST_NAME="LONG" 512 cd ${SETTE_DIR} 514 513 . ./prepare_exe_dir.sh 515 514 set_valid_dir … … 591 590 cd ${MAIN_DIR} 592 591 cd ${SETTE_DIR} 593 . ./all_functions.sh594 592 . ./prepare_exe_dir.sh 595 593 set_valid_dir … … 665 663 # AMM12 666 664 # ----- 667 if [ ${config} == "AMM12" ] && [ ${DO_RESTART} == "1" ] ; then 668 ## Restartability tests for AMM12 665 if [ ${config} == "AMM12" ] ; then 669 666 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 670 667 then … … 674 671 fi 675 672 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 676 export TEST_NAME="LONG"677 673 cd ${MAIN_DIR} 678 674 # 679 675 # syncronisation if target directory/file exist (not done by makenemo) 680 . ${SETTE_DIR}/all_functions.sh681 676 sync_config AMM12 AMM12_ST 'cfgs' 682 677 clean_config AMM12 AMM12_ST 'cfgs' 683 678 # 684 679 . ./makenemo -m ${CMP_NAM} -n AMM12_ST -r AMM12 -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 685 cd ${SETTE_DIR} 686 . ./all_functions.sh 680 fi 681 if [ ${config} == "AMM12" ] && [ ${DO_RESTART} == "1" ] ; then 682 ## Restartability tests for AMM12 683 export TEST_NAME="LONG" 684 cd ${SETTE_DIR} 687 685 . ./prepare_exe_dir.sh 688 686 set_valid_dir … … 740 738 cd ${MAIN_DIR} 741 739 cd ${SETTE_DIR} 742 . ./all_functions.sh743 740 . ./prepare_exe_dir.sh 744 741 set_valid_dir … … 785 782 786 783 # --------- 787 # ORCA2_SAS 784 # ORCA2_SAS_ICE 788 785 # --------- 789 if [ ${config} == "SAS" ] && [ ${DO_RESTART} == "1" ] ; then 790 ## Restartability tests 786 if [ ${config} == "SAS" ] ; then 791 787 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 792 788 then … … 796 792 fi 797 793 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 798 export TEST_NAME="LONG"799 794 cd ${MAIN_DIR} 800 795 # 801 796 # syncronisation if target directory/file exist (not done by makenemo) 802 . ${SETTE_DIR}/all_functions.sh803 797 sync_config ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 'cfgs' 804 798 clean_config ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 'cfgs' … … 806 800 # ORCA2_SAS_ICE uses linssh so remove key_qco if added by default 807 801 . ./makenemo -m ${CMP_NAM} -n ORCA2_SAS_ICE_ST -r ORCA2_SAS_ICE -j ${CMPL_CORES} add_key "${ADD_KEYS/key_qco/}" del_key "${DEL_KEYS}" 808 cd ${SETTE_DIR} 809 . ./all_functions.sh 802 fi 803 if [ ${config} == "SAS" ] && [ ${DO_RESTART} == "1" ] ; then 804 ## Restartability tests 805 export TEST_NAME="LONG" 806 cd ${SETTE_DIR} 810 807 . ./prepare_exe_dir.sh 811 808 set_valid_dir … … 872 869 cd ${MAIN_DIR} 873 870 cd ${SETTE_DIR} 874 . ./all_functions.sh875 871 . ./prepare_exe_dir.sh 876 872 set_valid_dir … … 923 919 ## Test assimilation interface code, OBS and ASM for reproducibility 924 920 ## Restartability not tested (ASM code not restartable while increments are being applied) 925 if [ ${config} == "ORCA2_ICE_OBS" ] && [ ${DO_RESTART} == "1" ]; then921 if [ ${config} == "ORCA2_ICE_OBS" ] ; then 926 922 ## Reproducibility tests 927 923 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] … … 931 927 ITEND=80 # 5 days 932 928 fi 933 export TEST_NAME="REPRO_4_8"934 929 cd ${MAIN_DIR} 935 930 # 936 931 # syncronisation if target directory/file exist (not done by makenemo) 937 . ${SETTE_DIR}/all_functions.sh938 932 sync_config ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 'cfgs' 939 933 clean_config ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 'cfgs' 940 934 # 941 935 . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_OBS_ST -r ORCA2_ICE_PISCES -d "OCE ICE" -j ${CMPL_CORES} add_key "key_asminc ${ADD_KEYS}" del_key "key_top ${DEL_KEYS}" 942 cd ${SETTE_DIR} 943 . ./all_functions.sh 936 fi 937 if [ ${config} == "ORCA2_ICE_OBS" ] && [ ${DO_RESTART} == "1" ] ; then 938 ## Reproducibility tests 939 export TEST_NAME="REPRO_4_8" 940 cd ${SETTE_DIR} 944 941 . ./prepare_exe_dir.sh 945 942 set_valid_dir … … 1034 1031 # AGRIF ICE 1035 1032 # ----------- 1036 if [ ${config} == "AGRIF" ] && [ ${DO_RESTART} == "1" ] ; then 1037 ## Restartability tests 1033 if [ ${config} == "AGRIF" ] ; then 1038 1034 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 1039 1035 then … … 1046 1042 ITRST_2=$( printf "%08d" $(( ${ITEND} * 4 / 2 )) ) 1047 1043 ITRST_3=$( printf "%08d" $(( ${ITEND} * 4 * 3 / 2 )) ) 1048 export TEST_NAME="LONG"1049 1044 cd ${MAIN_DIR} 1050 1045 # 1051 1046 # syncronisation if target directory/file exist (not done by makenemo) 1052 . ${SETTE_DIR}/all_functions.sh1053 1047 sync_config AGRIF_DEMO AGRIF_DEMO_ST 'cfgs' 1054 1048 clean_config AGRIF_DEMO AGRIF_DEMO_ST 'cfgs' 1055 1049 # 1056 1050 . ./makenemo -m ${CMP_NAM} -n AGRIF_DEMO_ST -r AGRIF_DEMO -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 1057 cd ${SETTE_DIR} 1058 . ./all_functions.sh 1051 fi 1052 if [ ${config} == "AGRIF" ] && [ ${DO_RESTART} == "1" ] ; then 1053 ## Restartability tests 1054 export TEST_NAME="LONG" 1055 cd ${SETTE_DIR} 1059 1056 . ./prepare_exe_dir.sh 1060 1057 set_valid_dir … … 1159 1156 cd ${MAIN_DIR} 1160 1157 cd ${SETTE_DIR} 1161 . ./all_functions.sh1162 1158 . ./prepare_exe_dir.sh 1163 1159 set_valid_dir … … 1253 1249 cd ${MAIN_DIR} 1254 1250 cd ${SETTE_DIR} 1255 . ./all_functions.sh1256 1251 . ./prepare_exe_dir.sh 1257 1252 set_valid_dir … … 1285 1280 # 1286 1281 # syncronisation if target directory/file exist (not done by makenemo) 1287 . ${SETTE_DIR}/all_functions.sh1288 1282 sync_config AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 'cfgs' 1289 1283 clean_config AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 'cfgs' … … 1291 1285 . ./makenemo -m ${CMP_NAM} -n AGRIF_DEMO_NOAGRIF_ST -r AGRIF_DEMO -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "key_agrif ${DEL_KEYS}" 1292 1286 cd ${SETTE_DIR} 1293 . ./all_functions.sh1294 1287 . ./prepare_exe_dir.sh 1295 1288 set_valid_dir … … 1316 1309 # WED025 1317 1310 # ------- 1318 if [ ${config} == "WED025" ] && [ ${DO_RESTART} == "1" ] ; then 1319 ## Restartability tests 1311 if [ ${config} == "WED025" ] ; then 1320 1312 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 1321 1313 then … … 1325 1317 fi 1326 1318 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 1327 export TEST_NAME="LONG"1328 1319 cd ${MAIN_DIR} 1329 1320 # 1330 1321 # syncronisation if target directory/file exist (not done by makenemo) 1331 . ${SETTE_DIR}/all_functions.sh1332 1322 sync_config WED025 WED025_ST 'cfgs' 1333 1323 clean_config WED025 WED025_ST 'cfgs' … … 1335 1325 # WED025 uses ln_hpg_isf so remove key_qco if added by default 1336 1326 . ./makenemo -m ${CMP_NAM} -n WED025_ST -r WED025 -j ${CMPL_CORES} add_key "${ADD_KEYS/key_qco/}" del_key "${DEL_KEYS}" 1337 cd ${SETTE_DIR} 1338 . ./all_functions.sh 1327 fi 1328 if [ ${config} == "WED025" ] && [ ${DO_RESTART} == "1" ] ; then 1329 ## Restartability tests 1330 export TEST_NAME="LONG" 1331 cd ${SETTE_DIR} 1339 1332 . ./prepare_exe_dir.sh 1340 1333 set_valid_dir … … 1395 1388 cd ${MAIN_DIR} 1396 1389 cd ${SETTE_DIR} 1397 . ./all_functions.sh1398 1390 . ./prepare_exe_dir.sh 1399 1391 set_valid_dir -
utils/CI/sette_ticket2673/sette_test-cases.sh
r14869 r14873 127 127 # WAD 128 128 129 . ./all_functions.sh 129 130 for config in ${TEST_CONFIGS[@]} 130 131 do … … 133 134 # OVERFLOW 134 135 # --------- 135 if [ ${config} == "OVERFLOW" ] && [ ${DO_RESTART} == "1" ] ; then 136 ## Restartability tests for OVERFLOW 136 if [ ${config} == "OVERFLOW" ] ; then 137 137 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 138 138 then … … 142 142 fi 143 143 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 144 cd ${MAIN_DIR} 145 # 146 # 147 clean_config OVERFLOW OVERFLOW_ST 'tests' 148 # 149 sync_config OVERFLOW OVERFLOW_ST 'tests' 150 # 151 . ./makenemo -m ${CMP_NAM} -n OVERFLOW_ST -a OVERFLOW -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 152 fi 153 if [ ${config} == "OVERFLOW" ] && [ ${DO_RESTART} == "1" ] ; then 154 ## Restartability tests for OVERFLOW 144 155 export TEST_NAME="LONG" 145 cd ${MAIN_DIR} 146 # 147 . ${SETTE_DIR}/all_functions.sh 148 # 149 clean_config OVERFLOW OVERFLOW_ST 'tests' 150 # 151 sync_config OVERFLOW OVERFLOW_ST 'tests' 152 # 153 . ./makenemo -m ${CMP_NAM} -n OVERFLOW_ST -a OVERFLOW -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 154 cd ${SETTE_DIR} 155 . ./all_functions.sh 156 cd ${SETTE_DIR} 156 157 . ./prepare_exe_dir.sh 157 158 set_valid_dir … … 215 216 ## 216 217 cd ${SETTE_DIR} 217 . ./all_functions.sh218 218 . ./prepare_exe_dir.sh 219 219 set_valid_dir … … 240 240 # LOCK_EXCHANGE 241 241 # -------------- 242 if [ ${config} == "LOCK_EXCHANGE" ] && [ ${DO_RESTART} == "1" ] ; then 243 ## Restartability tests for LOCK_EXCHANGE 242 if [ ${config} == "LOCK_EXCHANGE" ] ; then 244 243 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 245 244 then … … 249 248 fi 250 249 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 250 cd ${MAIN_DIR} 251 # 252 # syncronisation if target directory/file exist (not done by makenemo) 253 # 254 clean_config LOCK_EXCHANGE LOCK_EXCHANGE_ST 'tests' 255 # 256 sync_config LOCK_EXCHANGE LOCK_EXCHANGE_ST 'tests' 257 # 258 . ./makenemo -m ${CMP_NAM} -n LOCK_EXCHANGE_ST -a LOCK_EXCHANGE -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 259 fi 260 if [ ${config} == "LOCK_EXCHANGE" ] && [ ${DO_RESTART} == "1" ] ; then 261 ## Restartability tests for LOCK_EXCHANGE 251 262 export TEST_NAME="LONG" 252 cd ${MAIN_DIR} 253 # 254 # syncronisation if target directory/file exist (not done by makenemo) 255 . ${SETTE_DIR}/all_functions.sh 256 # 257 clean_config LOCK_EXCHANGE LOCK_EXCHANGE_ST 'tests' 258 # 259 sync_config LOCK_EXCHANGE LOCK_EXCHANGE_ST 'tests' 260 # 261 . ./makenemo -m ${CMP_NAM} -n LOCK_EXCHANGE_ST -a LOCK_EXCHANGE -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 262 cd ${SETTE_DIR} 263 . ./all_functions.sh 263 cd ${SETTE_DIR} 264 264 . ./prepare_exe_dir.sh 265 265 set_valid_dir … … 323 323 ## 324 324 cd ${SETTE_DIR} 325 . ./all_functions.sh326 325 . ./prepare_exe_dir.sh 327 326 set_valid_dir … … 349 348 # VORTEX 350 349 # --------- 351 if [ ${config} == "VORTEX" ] && [ ${DO_RESTART} == "1" ] ; then 352 ## Restartability tests for VORTEX 350 if [ ${config} == "VORTEX" ] ; then 353 351 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 354 352 then … … 359 357 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 360 358 ITRST_1=$( printf "%08d" $(( ${ITEND} * 3 / 2 )) ) 359 cd ${MAIN_DIR} 360 # 361 # syncronisation if target directory/file exist (not done by makenemo) 362 # 363 clean_config VORTEX VORTEX_ST 'tests' 364 # 365 sync_config VORTEX VORTEX_ST 'tests' 366 # 367 . ./makenemo -m ${CMP_NAM} -n VORTEX_ST -a VORTEX -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 368 fi 369 if [ ${config} == "VORTEX" ] && [ ${DO_RESTART} == "1" ] ; then 370 ## Restartability tests for VORTEX 361 371 export TEST_NAME="LONG" 362 cd ${MAIN_DIR} 363 # 364 # syncronisation if target directory/file exist (not done by makenemo) 365 . ${SETTE_DIR}/all_functions.sh 366 # 367 clean_config VORTEX VORTEX_ST 'tests' 368 # 369 sync_config VORTEX VORTEX_ST 'tests' 370 # 371 . ./makenemo -m ${CMP_NAM} -n VORTEX_ST -a VORTEX -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 372 cd ${SETTE_DIR} 373 . ./all_functions.sh 372 cd ${SETTE_DIR} 374 373 . ./prepare_exe_dir.sh 375 374 set_valid_dir … … 445 444 cd ${MAIN_DIR} 446 445 cd ${SETTE_DIR} 447 . ./all_functions.sh448 446 . ./prepare_exe_dir.sh 449 447 set_valid_dir … … 519 517 # ICE_AGRIF 520 518 # --------- 521 if [ ${config} == "ICE_AGRIF" ] && [ ${DO_RESTART} == "1" ] ; then 522 ## Restartability tests for ICE_AGRIF 519 if [ ${config} == "ICE_AGRIF" ] ; then 523 520 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 524 521 then … … 529 526 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 530 527 ITRST_1=$( printf "%08d" $(( ${ITEND} * 3 / 2 )) ) 531 export TEST_NAME="LONG"532 528 cd ${MAIN_DIR} 533 529 # 534 530 # syncronisation if target directory/file exist (not done by makenemo) 535 . ${SETTE_DIR}/all_functions.sh536 531 # 537 532 clean_config ICE_AGRIF ICE_AGRIF_ST 'tests' … … 541 536 # ICE_AGRIF uses linssh so remove key_qco if added by default 542 537 . ./makenemo -m ${CMP_NAM} -n ICE_AGRIF_ST -a ICE_AGRIF -j ${CMPL_CORES} add_key "${ADD_KEYS/key_qco/}" del_key "${DEL_KEYS}" 543 cd ${SETTE_DIR} 544 . ./all_functions.sh 538 fi 539 if [ ${config} == "ICE_AGRIF" ] && [ ${DO_RESTART} == "1" ] ; then 540 ## Restartability tests for ICE_AGRIF 541 export TEST_NAME="LONG" 542 cd ${SETTE_DIR} 545 543 . ./prepare_exe_dir.sh 546 544 set_valid_dir … … 625 623 cd ${MAIN_DIR} 626 624 cd ${SETTE_DIR} 627 . ./all_functions.sh628 625 . ./prepare_exe_dir.sh 629 626 set_valid_dir … … 694 691 # ISOMIP+ 695 692 # ------ 696 if [ ${config} == "ISOMIP+" ] && [ ${DO_RESTART} == "1" ] ; then 697 ## Restartability tests 693 if [ ${config} == "ISOMIP+" ] ; then 698 694 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 699 695 then … … 703 699 fi 704 700 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 705 export TEST_NAME="LONG"706 701 cd ${MAIN_DIR} 707 702 # 708 703 # syncronisation if target directory/file exist (not done by makenemo) 709 . ${SETTE_DIR}/all_functions.sh710 704 # 711 705 clean_config ISOMIP+ ISOMIP+_ST 'tests' … … 715 709 # ISOMIP+ uses ln_hpg_isf so remove key_qco if added by default 716 710 . ./makenemo -m ${CMP_NAM} -n ISOMIP+_ST -a ISOMIP+ -j ${CMPL_CORES} add_key "${ADD_KEYS/key_qco/}" del_key "${DEL_KEYS}" 717 cd ${SETTE_DIR} 718 . ./all_functions.sh 711 fi 712 if [ ${config} == "ISOMIP+" ] && [ ${DO_RESTART} == "1" ] ; then 713 ## Restartability tests 714 export TEST_NAME="LONG" 715 cd ${SETTE_DIR} 719 716 . ./prepare_exe_dir.sh 720 717 set_valid_dir … … 778 775 cd ${MAIN_DIR} 779 776 cd ${SETTE_DIR} 780 . ./all_functions.sh781 777 . ./prepare_exe_dir.sh 782 778 set_valid_dir … … 827 823 # SWG 828 824 # --------- 829 if [ ${config} == "SWG" ] && [ ${DO_RESTART} == "1" ] && [ ${USING_QCO} == "yes" ] ; then 830 ## Restartability tests for SWG 825 if [ ${config} == "SWG" ] && [ ${USING_QCO} == "yes" ] ; then 831 826 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 832 827 then … … 836 831 fi 837 832 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 833 cd ${MAIN_DIR} 834 # 835 # syncronisation if target directory/file exist (not done by makenemo) 836 # 837 clean_config SWG SWG_ST 'tests' 838 # 839 sync_config SWG SWG_ST 'tests' 840 # 841 . ./makenemo -m ${CMP_NAM} -n SWG_ST -a SWG -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 842 fi 843 if [ ${config} == "SWG" ] && [ ${DO_RESTART} == "1" ] && [ ${USING_QCO} == "yes" ] ; then 844 ## Restartability tests for SWG 838 845 export TEST_NAME="LONG" 839 cd ${MAIN_DIR} 840 # 841 # syncronisation if target directory/file exist (not done by makenemo) 842 . ${SETTE_DIR}/all_functions.sh 843 # 844 clean_config SWG SWG_ST 'tests' 845 # 846 sync_config SWG SWG_ST 'tests' 847 # 848 . ./makenemo -m ${CMP_NAM} -n SWG_ST -a SWG -j ${CMPL_CORES} add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 849 cd ${SETTE_DIR} 850 . ./all_functions.sh 846 cd ${SETTE_DIR} 851 847 . ./prepare_exe_dir.sh 852 848 set_valid_dir … … 905 901 cd ${MAIN_DIR} 906 902 cd ${SETTE_DIR} 907 . ./all_functions.sh908 903 . ./prepare_exe_dir.sh 909 904 set_valid_dir
Note: See TracChangeset
for help on using the changeset viewer.