- Timestamp:
- 2020-10-02T17:36:24+02:00 (4 years ago)
- Location:
- utils/CI/sette
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette/BATCH_TEMPLATE/batch-X64_IRENE_DEBUG
r12128 r13559 1 1 #!/bin/bash 2 #MSUB -T 3600 # elapsed time limit in seconds (60 minutes)2 #MSUB -T 1790 # elapsed time limit in seconds (60 minutes) 3 3 #MSUB -r SETTE_JOB # Job name 4 4 #MSUB -o sette.jobid_%I.txt # standard output -
utils/CI/sette/BATCH_TEMPLATE/batch-X64_IRENE_GCC_DEBUG
r12653 r13559 1 1 #!/bin/bash 2 #MSUB -T 4000 # elapsed time limit in seconds (60 minutes)2 #MSUB -T 1790 # elapsed time limit in seconds (60 minutes) 3 3 #MSUB -r SETTE_JOB # Job name 4 4 #MSUB -o sette.jobid_%I.txt # standard output -
utils/CI/sette/BATCH_TEMPLATE/batch-X64_JEANZAY_DEBUG
r11645 r13559 8 8 # de Slurm "multithread" fait bien référence à l'hyperthreading. 9 9 #SBATCH --hint=nomultithread # 1 processus MPI par coeur physique (pas d'hyperthreading) 10 #SBATCH --time=00: 59:00 # Temps d’exécution maximum demande (HH:MM:SS)10 #SBATCH --time=00:29:00 # Temps d’exécution maximum demande (HH:MM:SS) 11 11 #SBATCH --output=sette.jobid_%j.out # Nom du fichier de sortie 12 12 #SBATCH --error=sette.jobid_%j.out # Nom du fichier d'erreur (ici commun avec la sortie) -
utils/CI/sette/sette_reference-configurations.sh
r13507 r13559 160 160 if [ ${config} == "GYRE_PISCES" ] ; then 161 161 ## Restartability tests for GYRE_PISCES 162 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 163 then 164 ITEND=12 # 1 day 165 else 166 ITEND=1080 # 90 days 167 fi 168 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 162 169 export TEST_NAME="LONG" 163 170 cd ${MAIN_DIR} … … 181 188 set_namelist namelist_cfg cn_exp \"GYREPIS_LONG\" 182 189 set_namelist namelist_cfg nn_it000 1 183 set_namelist namelist_cfg nn_itend 1080184 set_namelist namelist_cfg nn_stock 540190 set_namelist namelist_cfg nn_itend ${ITEND} 191 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 185 192 set_namelist namelist_cfg ln_linssh .true. 186 193 set_namelist namelist_cfg jpni 2 … … 203 210 cd ${EXE_DIR} 204 211 set_namelist namelist_cfg cn_exp \"GYREPIS_SHORT\" 205 set_namelist namelist_cfg nn_it000 541206 set_namelist namelist_cfg nn_itend 1080207 set_namelist namelist_cfg nn_stock 540212 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 213 set_namelist namelist_cfg nn_itend ${ITEND} 214 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 208 215 set_namelist namelist_cfg ln_rstart .true. 209 216 set_namelist namelist_cfg nn_rstctl 2 … … 215 222 set_namelist namelist_top_cfg ln_rsttr .true. 216 223 set_namelist namelist_top_cfg nn_rsttr 2 217 set_namelist namelist_cfg cn_ocerst_in \"GYREPIS_LONG_ 00000540_restart\"218 set_namelist namelist_top_cfg cn_trcrst_in \"GYREPIS_LONG_ 00000540_restart_trc\"224 set_namelist namelist_cfg cn_ocerst_in \"GYREPIS_LONG_${ITRST}_restart\" 225 set_namelist namelist_top_cfg cn_trcrst_in \"GYREPIS_LONG_${ITRST}_restart_trc\" 219 226 if [ ${USING_MPMD} == "yes" ] ; then 220 227 set_xio_using_server iodef.xml true … … 225 232 L_NPROC=$(( $i - 1 )) 226 233 L_NPROC=`printf "%04d\n" ${L_NPROC}` 227 ln -sf ../LONG/GYREPIS_LONG_ 00000540_restart_${L_NPROC}.nc .228 ln -sf ../LONG/GYREPIS_LONG_ 00000540_restart_trc_${L_NPROC}.nc .234 ln -sf ../LONG/GYREPIS_LONG_${ITRST}_restart_${L_NPROC}.nc . 235 ln -sf ../LONG/GYREPIS_LONG_${ITRST}_restart_trc_${L_NPROC}.nc . 229 236 done 230 237 cd ${SETTE_DIR} … … 248 255 set_namelist namelist_cfg cn_exp \"GYREPIS_48\" 249 256 set_namelist namelist_cfg nn_it000 1 250 set_namelist namelist_cfg nn_itend 1080257 set_namelist namelist_cfg nn_itend ${ITEND} 251 258 set_namelist namelist_cfg ln_linssh .true. 252 259 set_namelist namelist_cfg jpni 2 … … 275 282 set_namelist namelist_cfg cn_exp \"GYREPIS_84\" 276 283 set_namelist namelist_cfg nn_it000 1 277 set_namelist namelist_cfg nn_itend 1080284 set_namelist namelist_cfg nn_itend ${ITEND} 278 285 set_namelist namelist_cfg ln_linssh .true. 279 286 set_namelist namelist_cfg jpni 4 … … 298 305 if [ ${config} == "ORCA2_ICE_PISCES" ] ; then 299 306 ## Restartability tests for ORCA2_ICE_PISCES 307 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 308 then 309 ITEND=16 # 1 day 310 else 311 ITEND=992 # 62 days 312 fi 313 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 300 314 export TEST_NAME="LONG" 301 315 cd ${MAIN_DIR} … … 319 333 set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" 320 334 set_namelist namelist_cfg nn_it000 1 321 set_namelist namelist_cfg nn_itend 992322 set_namelist namelist_cfg nn_stock 496335 set_namelist namelist_cfg nn_itend ${ITEND} 336 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 323 337 set_namelist namelist_cfg jpni 4 324 338 set_namelist namelist_cfg jpnj 8 … … 362 376 cd ${EXE_DIR} 363 377 set_namelist namelist_cfg cn_exp \"O2L3P_SHORT\" 364 set_namelist namelist_cfg nn_it000 497365 set_namelist namelist_cfg nn_itend 992366 set_namelist namelist_cfg nn_stock 496378 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 379 set_namelist namelist_cfg nn_itend ${ITEND} 380 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 367 381 set_namelist namelist_cfg ln_rstart .true. 368 382 set_namelist namelist_cfg nn_rstctl 2 … … 385 399 set_namelist namelist_top_cfg ln_rsttr .true. 386 400 set_namelist namelist_top_cfg nn_rsttr 2 387 set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_ 00000496_restart\"388 set_namelist namelist_cfg cn_icbrst_in \"O2L3P_LONG_ 00000496_restart_icb\"389 set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_ 00000496_restart_trc\"390 set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_ 00000496_restart_ice\"401 set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_${ITRST}_restart\" 402 set_namelist namelist_cfg cn_icbrst_in \"O2L3P_LONG_${ITRST}_restart_icb\" 403 set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_${ITRST}_restart_trc\" 404 set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_${ITRST}_restart_ice\" 391 405 set_namelist namelist_top_cfg ln_trcbc .false. 392 406 # put ln_ironsed, ln_hydrofe to false … … 401 415 L_NPROC=$(( $i - 1 )) 402 416 L_NPROC=`printf "%04d\n" ${L_NPROC}` 403 ln -sf ../LONG/O2L3P_LONG_ 00000496_restart_${L_NPROC}.nc .404 ln -sf ../LONG/O2L3P_LONG_ 00000496_restart_trc_${L_NPROC}.nc .405 ln -sf ../LONG/O2L3P_LONG_ 00000496_restart_ice_${L_NPROC}.nc .417 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_${L_NPROC}.nc . 418 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_trc_${L_NPROC}.nc . 419 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 406 420 if [ ${USING_ICEBERGS} == "yes" ] 407 421 then 408 ln -sf ../LONG/O2L3P_LONG_ 00000496_restart_icb_${L_NPROC}.nc O2L3P_LONG_00000496_restart_icb_${L_NPROC}.nc422 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_icb_${L_NPROC}.nc O2L3P_LONG_${ITRST}_restart_icb_${L_NPROC}.nc 409 423 fi 410 424 done … … 434 448 set_namelist namelist_cfg cn_exp \"O2L3P_48\" 435 449 set_namelist namelist_cfg nn_it000 1 436 set_namelist namelist_cfg nn_itend 992450 set_namelist namelist_cfg nn_itend ${ITEND} 437 451 set_namelist namelist_cfg jpni 4 438 452 set_namelist namelist_cfg jpnj 8 … … 480 494 set_namelist namelist_cfg cn_exp \"O2L3P_84\" 481 495 set_namelist namelist_cfg nn_it000 1 482 set_namelist namelist_cfg nn_itend 992496 set_namelist namelist_cfg nn_itend ${ITEND} 483 497 set_namelist namelist_cfg jpni 8 484 498 set_namelist namelist_cfg jpnj 4 … … 521 535 if [ ${config} == "ORCA2_OFF_PISCES" ] ; then 522 536 ## Restartability tests for ORCA2_OFF_PISCES 537 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 538 then 539 ITEND=16 # 4 days 540 else 541 ITEND=380 # 95 days 542 fi 543 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 523 544 export TEST_NAME="LONG" 524 545 cd ${MAIN_DIR} … … 542 563 set_namelist namelist_cfg cn_exp \"OFFP_LONG\" 543 564 set_namelist namelist_cfg nn_it000 1 544 set_namelist namelist_cfg nn_itend 380545 set_namelist namelist_cfg nn_stock 190565 set_namelist namelist_cfg nn_itend ${ITEND} 566 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 546 567 set_namelist namelist_cfg jpni 4 547 568 set_namelist namelist_cfg jpnj 8 … … 574 595 cd ${EXE_DIR} 575 596 set_namelist namelist_cfg cn_exp \"OFFP_SHORT\" 576 set_namelist namelist_cfg nn_it000 191577 set_namelist namelist_cfg nn_itend 380578 set_namelist namelist_cfg nn_stock 190597 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 598 set_namelist namelist_cfg nn_itend ${ITEND} 599 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 579 600 set_namelist namelist_cfg jpni 4 580 601 set_namelist namelist_cfg jpnj 8 … … 584 605 set_namelist namelist_top_cfg ln_rsttr .true. 585 606 set_namelist namelist_top_cfg nn_rsttr 2 586 set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_ 00000190_restart_trc\"607 set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_${ITRST}_restart_trc\" 587 608 for (( i=1; i<=$NPROC; i++)) ; do 588 609 L_NPROC=$(( $i - 1 )) 589 610 L_NPROC=`printf "%04d\n" ${L_NPROC}` 590 ln -sf ../LONG/OFFP_LONG_ 00000190_restart_trc_${L_NPROC}.nc .611 ln -sf ../LONG/OFFP_LONG_${ITRST}_restart_trc_${L_NPROC}.nc . 591 612 done 592 613 set_namelist namelist_top_cfg ln_trcbc .false. … … 624 645 set_namelist namelist_cfg cn_exp \"OFFP_48\" 625 646 set_namelist namelist_cfg nn_it000 1 626 set_namelist namelist_cfg nn_itend 380647 set_namelist namelist_cfg nn_itend ${ITEND} 627 648 set_namelist namelist_cfg jpni 4 628 649 set_namelist namelist_cfg jpnj 8 … … 661 682 set_namelist namelist_cfg cn_exp \"OFFP_84\" 662 683 set_namelist namelist_cfg nn_it000 1 663 set_namelist namelist_cfg nn_itend 380684 set_namelist namelist_cfg nn_itend ${ITEND} 664 685 set_namelist namelist_cfg jpni 8 665 686 set_namelist namelist_cfg jpnj 4 … … 693 714 if [ ${config} == "AMM12" ] ; then 694 715 ## Restartability tests for AMM12 716 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 717 then 718 ITEND=12 # 3 h 719 else 720 ITEND=576 # 4 days 721 fi 722 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 695 723 export TEST_NAME="LONG" 696 724 cd ${MAIN_DIR} … … 714 742 set_namelist namelist_cfg cn_exp \"AMM12_LONG\" 715 743 set_namelist namelist_cfg nn_it000 1 716 set_namelist namelist_cfg nn_itend 576717 set_namelist namelist_cfg nn_stock 288744 set_namelist namelist_cfg nn_itend ${ITEND} 745 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 718 746 set_namelist namelist_cfg jpni 4 719 747 set_namelist namelist_cfg jpnj 8 … … 734 762 cd ${EXE_DIR} 735 763 set_namelist namelist_cfg cn_exp \"AMM12_SHORT\" 736 set_namelist namelist_cfg nn_it000 289 737 set_namelist namelist_cfg nn_itend 576 764 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 765 set_namelist namelist_cfg nn_itend ${ITEND} 766 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 738 767 set_namelist namelist_cfg jpni 4 739 768 set_namelist namelist_cfg jpnj 8 … … 741 770 set_namelist namelist_cfg ln_rstart .true. 742 771 set_namelist namelist_cfg nn_rstctl 2 743 set_namelist namelist_cfg cn_ocerst_in \"AMM12_LONG_ 00000288_restart\"772 set_namelist namelist_cfg cn_ocerst_in \"AMM12_LONG_${ITRST}_restart\" 744 773 set_namelist namelist_cfg nn_date0 20120102 745 774 for (( i=1; i<=$NPROC; i++)) ; do 746 775 L_NPROC=$(( $i - 1 )) 747 776 L_NPROC=`printf "%04d\n" ${L_NPROC}` 748 ln -sf ../LONG/AMM12_LONG_ 00000288_restart_${L_NPROC}.nc .777 ln -sf ../LONG/AMM12_LONG_${ITRST}_restart_${L_NPROC}.nc . 749 778 done 750 779 if [ ${USING_MPMD} == "yes" ] ; then … … 773 802 set_namelist namelist_cfg cn_exp \"AMM12_84\" 774 803 set_namelist namelist_cfg nn_it000 1 775 set_namelist namelist_cfg nn_itend 576804 set_namelist namelist_cfg nn_itend ${ITEND} 776 805 set_namelist namelist_cfg jpni 8 777 806 set_namelist namelist_cfg jpnj 4 … … 797 826 set_namelist namelist_cfg cn_exp \"AMM12_48\" 798 827 set_namelist namelist_cfg nn_it000 1 799 set_namelist namelist_cfg nn_itend 576828 set_namelist namelist_cfg nn_itend ${ITEND} 800 829 set_namelist namelist_cfg jpni 4 801 830 set_namelist namelist_cfg jpnj 8 … … 818 847 if [ ${config} == "SAS" ] ; then 819 848 ## Restartability tests 849 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 850 then 851 ITEND=16 # 1 day 852 else 853 ITEND=256 # 16 days 854 fi 855 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 820 856 export TEST_NAME="LONG" 821 857 cd ${MAIN_DIR} … … 839 875 set_namelist namelist_cfg cn_exp \"SAS\" 840 876 set_namelist namelist_cfg nn_it000 1 841 set_namelist namelist_cfg nn_itend 256842 set_namelist namelist_cfg nn_stock 128877 set_namelist namelist_cfg nn_itend ${ITEND} 878 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 843 879 set_namelist namelist_cfg jpni 4 844 880 set_namelist namelist_cfg jpnj 8 … … 860 896 cd ${EXE_DIR} 861 897 set_namelist namelist_cfg cn_exp \"SAS\" 862 set_namelist namelist_cfg nn_it000 129 863 set_namelist namelist_cfg nn_itend 256 898 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 899 set_namelist namelist_cfg nn_itend ${ITEND} 900 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 864 901 set_namelist namelist_cfg jpni 4 865 902 set_namelist namelist_cfg jpnj 8 … … 868 905 set_namelist namelist_cfg nn_rstctl 2 869 906 set_namelist namelist_cfg nn_date0 010109 870 set_namelist namelist_cfg cn_ocerst_in \"SAS_ 00000128_restart\"871 set_namelist namelist_ice_cfg cn_icerst_in \"SAS_ 00000128_restart_ice\"907 set_namelist namelist_cfg cn_ocerst_in \"SAS_${ITRST}_restart\" 908 set_namelist namelist_ice_cfg cn_icerst_in \"SAS_${ITRST}_restart_ice\" 872 909 if [ ${USING_MPMD} == "yes" ] ; then 873 910 set_xio_using_server iodef.xml true … … 878 915 L_NPROC=$(( $i - 1 )) 879 916 L_NPROC=`printf "%04d\n" ${L_NPROC}` 880 ln -sf ../LONG/SAS_ 00000128_restart_${L_NPROC}.nc .881 ln -sf ../LONG/SAS_ 00000128_restart_ice_${L_NPROC}.nc .917 ln -sf ../LONG/SAS_${ITRST}_restart_${L_NPROC}.nc . 918 ln -sf ../LONG/SAS_${ITRST}_restart_ice_${L_NPROC}.nc . 882 919 done 883 920 cd ${SETTE_DIR} … … 887 924 888 925 ## Reproducibility tests 926 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 927 then 928 ITEND=16 # 1 day 929 else 930 ITEND=80 # 5 days 931 fi 889 932 export TEST_NAME="REPRO_4_8" 890 933 cd ${MAIN_DIR} … … 901 944 set_namelist namelist_cfg cn_exp \"SAS_48\" 902 945 set_namelist namelist_cfg nn_it000 1 903 set_namelist namelist_cfg nn_itend 80946 set_namelist namelist_cfg nn_itend ${ITEND} 904 947 set_namelist namelist_cfg jpni 4 905 948 set_namelist namelist_cfg jpnj 8 … … 926 969 set_namelist namelist_cfg cn_exp \"SAS_84\" 927 970 set_namelist namelist_cfg nn_it000 1 928 set_namelist namelist_cfg nn_itend 80971 set_namelist namelist_cfg nn_itend ${ITEND} 929 972 set_namelist namelist_cfg jpni 8 930 973 set_namelist namelist_cfg jpnj 4 … … 950 993 if [ ${config} == "ORCA2_ICE_OBS" ] ; then 951 994 ## Reproducibility tests 995 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 996 then 997 ITEND=16 # 1 day 998 else 999 ITEND=80 # 5 days 1000 fi 952 1001 export TEST_NAME="REPRO_4_8" 953 1002 cd ${MAIN_DIR} … … 971 1020 set_namelist namelist_cfg cn_exp \"O2L3OBS_48\" 972 1021 set_namelist namelist_cfg nn_it000 1 973 set_namelist namelist_cfg nn_itend 801022 set_namelist namelist_cfg nn_itend ${ITEND} 974 1023 set_namelist namelist_cfg ln_read_cfg .true. 975 1024 set_namelist namelist_cfg jpni 4 … … 1019 1068 set_namelist namelist_cfg cn_exp \"O2L3OBS_84\" 1020 1069 set_namelist namelist_cfg nn_it000 1 1021 set_namelist namelist_cfg nn_itend 801070 set_namelist namelist_cfg nn_itend ${ITEND} 1022 1071 set_namelist namelist_cfg ln_read_cfg .true. 1023 1072 set_namelist namelist_cfg jpni 8 … … 1062 1111 if [ ${config} == "AGRIF" ] ; then 1063 1112 ## Restartability tests 1113 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 1114 then 1115 ITEND=4 # 6h 1116 else 1117 ITEND=20 # 1d and 6h 1118 fi 1119 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 1120 ITRST_1=$( printf "%08d" $(( ${ITEND} / 2 )) ) 1121 ITRST_2=$( printf "%08d" $(( ${ITEND} * 4 / 2 )) ) 1122 ITRST_3=$( printf "%08d" $(( ${ITEND} * 4 * 3 / 2 )) ) 1064 1123 export TEST_NAME="LONG" 1065 1124 cd ${MAIN_DIR} … … 1083 1142 set_namelist namelist_cfg cn_exp \"AGRIF_LONG\" 1084 1143 set_namelist namelist_cfg nn_it000 1 1085 set_namelist namelist_cfg nn_itend 201086 set_namelist namelist_cfg nn_stock 101144 set_namelist namelist_cfg nn_itend ${ITEND} 1145 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 1087 1146 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1088 1147 set_namelist 1_namelist_cfg cn_exp \"AGRIF_LONG\" 1089 1148 set_namelist 1_namelist_cfg nn_it000 1 1090 set_namelist 1_namelist_cfg nn_itend 201091 set_namelist 1_namelist_cfg nn_stock 101149 set_namelist 1_namelist_cfg nn_itend ${ITEND} 1150 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} / 2 )) 1092 1151 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 1093 1152 set_namelist 2_namelist_cfg cn_exp \"AGRIF_LONG\" 1094 1153 set_namelist 2_namelist_cfg nn_it000 1 1095 set_namelist 2_namelist_cfg nn_itend 801096 set_namelist 2_namelist_cfg nn_stock 401154 set_namelist 2_namelist_cfg nn_itend $(( ${ITEND} * 4 )) 1155 set_namelist 2_namelist_cfg nn_stock $(( ${ITEND} * 4 / 2 )) 1097 1156 set_namelist 2_namelist_cfg sn_cfctl%l_runstat .true. 1098 1157 set_namelist 3_namelist_cfg cn_exp \"AGRIF_LONG\" 1099 1158 set_namelist 3_namelist_cfg nn_it000 1 1100 set_namelist 3_namelist_cfg nn_itend 2401101 set_namelist 3_namelist_cfg nn_stock 1201159 set_namelist 3_namelist_cfg nn_itend $(( ${ITEND} * 4 * 3 )) 1160 set_namelist 3_namelist_cfg nn_stock $(( ${ITEND} * 4 * 3 / 2 )) 1102 1161 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1103 1162 … … 1117 1176 cd ${EXE_DIR} 1118 1177 set_namelist namelist_cfg cn_exp \"AGRIF_SHORT\" 1119 set_namelist namelist_cfg nn_it000 111120 set_namelist namelist_cfg nn_itend 201121 set_namelist namelist_cfg nn_stock 101178 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 1179 set_namelist namelist_cfg nn_itend ${ITEND} 1180 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 1122 1181 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1123 1182 set_namelist namelist_cfg ln_rstart .true. 1124 1183 set_namelist namelist_cfg nn_rstctl 2 1125 1184 set_namelist 1_namelist_cfg cn_exp \"AGRIF_SHORT\" 1126 set_namelist 1_namelist_cfg nn_it000 111127 set_namelist 1_namelist_cfg nn_itend 201128 set_namelist 1_namelist_cfg nn_stock 101185 set_namelist 1_namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 1186 set_namelist 1_namelist_cfg nn_itend ${ITEND} 1187 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} / 2 )) 1129 1188 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 1130 1189 set_namelist 1_namelist_cfg ln_rstart .true. 1131 1190 set_namelist 1_namelist_cfg nn_rstctl 2 1132 1191 set_namelist 2_namelist_cfg cn_exp \"AGRIF_SHORT\" 1133 set_namelist 2_namelist_cfg nn_it000 411134 set_namelist 2_namelist_cfg nn_itend 801135 set_namelist 2_namelist_cfg nn_stock 401192 set_namelist 2_namelist_cfg nn_it000 $(( ${ITEND} * 4 / 2 + 1 )) 1193 set_namelist 2_namelist_cfg nn_itend $(( ${ITEND} * 4 )) 1194 set_namelist 2_namelist_cfg nn_stock $(( ${ITEND} * 4 / 2 )) 1136 1195 set_namelist 2_namelist_cfg sn_cfctl%l_runstat .true. 1137 1196 set_namelist 2_namelist_cfg ln_rstart .true. 1138 1197 set_namelist 2_namelist_cfg nn_rstctl 2 1139 1198 set_namelist 3_namelist_cfg cn_exp \"AGRIF_SHORT\" 1140 set_namelist 3_namelist_cfg nn_it000 1211141 set_namelist 3_namelist_cfg nn_itend 2401142 set_namelist 3_namelist_cfg nn_stock 1201199 set_namelist 3_namelist_cfg nn_it000 $(( ${ITEND} * 4 * 3 / 2 + 1 )) 1200 set_namelist 3_namelist_cfg nn_itend $(( ${ITEND} * 4 * 3 )) 1201 set_namelist 3_namelist_cfg nn_stock $(( ${ITEND} * 4 * 3 / 2 )) 1143 1202 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1144 1203 set_namelist 3_namelist_cfg ln_rstart .true. 1145 1204 set_namelist 3_namelist_cfg nn_rstctl 2 1146 set_namelist namelist_cfg cn_ocerst_in \"AGRIF_LONG_ 00000010_restart\"1147 set_namelist namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_ 00000010_restart_ice\"1148 set_namelist 1_namelist_cfg cn_ocerst_in \"AGRIF_LONG_ 00000010_restart\"1149 set_namelist 1_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_ 00000010_restart_ice\"1150 set_namelist 2_namelist_cfg cn_ocerst_in \"AGRIF_LONG_ 00000040_restart\"1151 set_namelist 2_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_ 00000040_restart_ice\"1152 set_namelist 3_namelist_cfg cn_ocerst_in \"AGRIF_LONG_ 00000120_restart\"1153 set_namelist 3_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_ 00000120_restart_ice\"1205 set_namelist namelist_cfg cn_ocerst_in \"AGRIF_LONG_${ITRST}_restart\" 1206 set_namelist namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_${ITRST}_restart_ice\" 1207 set_namelist 1_namelist_cfg cn_ocerst_in \"AGRIF_LONG_${ITRST_1}_restart\" 1208 set_namelist 1_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_${ITRST_1}_restart_ice\" 1209 set_namelist 2_namelist_cfg cn_ocerst_in \"AGRIF_LONG_${ITRST_2}_restart\" 1210 set_namelist 2_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_${ITRST_2}_restart_ice\" 1211 set_namelist 3_namelist_cfg cn_ocerst_in \"AGRIF_LONG_${ITRST_3}_restart\" 1212 set_namelist 3_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_${ITRST_3}_restart_ice\" 1154 1213 1155 1214 for (( i=1; i<=$NPROC; i++)) ; do 1156 1215 L_NPROC=$(( $i - 1 )) 1157 1216 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1158 ln -sf ../LONG/AGRIF_LONG_ 00000010_restart_${L_NPROC}.nc .1159 ln -sf ../LONG/AGRIF_LONG_ 00000010_restart_ice_${L_NPROC}.nc .1160 ln -sf ../LONG/1_AGRIF_LONG_ 00000010_restart_${L_NPROC}.nc .1161 ln -sf ../LONG/1_AGRIF_LONG_ 00000010_restart_ice_${L_NPROC}.nc .1162 ln -sf ../LONG/2_AGRIF_LONG_ 00000040_restart_${L_NPROC}.nc .1163 ln -sf ../LONG/2_AGRIF_LONG_ 00000040_restart_ice_${L_NPROC}.nc .1164 ln -sf ../LONG/3_AGRIF_LONG_ 00000120_restart_${L_NPROC}.nc .1165 ln -sf ../LONG/3_AGRIF_LONG_ 00000120_restart_ice_${L_NPROC}.nc .1217 ln -sf ../LONG/AGRIF_LONG_${ITRST}_restart_${L_NPROC}.nc . 1218 ln -sf ../LONG/AGRIF_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 1219 ln -sf ../LONG/1_AGRIF_LONG_${ITRST_1}_restart_${L_NPROC}.nc . 1220 ln -sf ../LONG/1_AGRIF_LONG_${ITRST_1}_restart_ice_${L_NPROC}.nc . 1221 ln -sf ../LONG/2_AGRIF_LONG_${ITRST_2}_restart_${L_NPROC}.nc . 1222 ln -sf ../LONG/2_AGRIF_LONG_${ITRST_2}_restart_ice_${L_NPROC}.nc . 1223 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart_${L_NPROC}.nc . 1224 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart_ice_${L_NPROC}.nc . 1166 1225 done 1167 1226 if [ ${USING_MPMD} == "yes" ] ; then … … 1190 1249 set_namelist namelist_cfg cn_exp \"AGRIF_28\" 1191 1250 set_namelist namelist_cfg nn_it000 1 1192 set_namelist namelist_cfg nn_itend 201251 set_namelist namelist_cfg nn_itend ${ITEND} 1193 1252 set_namelist namelist_cfg jpni 2 1194 1253 set_namelist namelist_cfg jpnj 8 … … 1196 1255 set_namelist 1_namelist_cfg cn_exp \"AGRIF_28\" 1197 1256 set_namelist 1_namelist_cfg nn_it000 1 1198 set_namelist 1_namelist_cfg nn_itend 201257 set_namelist 1_namelist_cfg nn_itend ${ITEND} 1199 1258 set_namelist 1_namelist_cfg jpni 2 1200 1259 set_namelist 1_namelist_cfg jpnj 8 … … 1202 1261 set_namelist 2_namelist_cfg cn_exp \"AGRIF_28\" 1203 1262 set_namelist 2_namelist_cfg nn_it000 1 1204 set_namelist 2_namelist_cfg nn_itend 801263 set_namelist 2_namelist_cfg nn_itend $(( ${ITEND} * 4 )) 1205 1264 set_namelist 2_namelist_cfg jpni 2 1206 1265 set_namelist 2_namelist_cfg jpnj 8 … … 1208 1267 set_namelist 3_namelist_cfg cn_exp \"AGRIF_28\" 1209 1268 set_namelist 3_namelist_cfg nn_it000 1 1210 set_namelist 3_namelist_cfg nn_itend 2401269 set_namelist 3_namelist_cfg nn_itend $(( ${ITEND} * 4 * 3 )) 1211 1270 set_namelist 3_namelist_cfg jpni 2 1212 1271 set_namelist 3_namelist_cfg jpnj 8 … … 1234 1293 set_namelist namelist_cfg cn_exp \"AGRIF_44\" 1235 1294 set_namelist namelist_cfg nn_it000 1 1236 set_namelist namelist_cfg nn_itend 201295 set_namelist namelist_cfg nn_itend ${ITEND} 1237 1296 set_namelist namelist_cfg jpni 4 1238 1297 set_namelist namelist_cfg jpnj 4 … … 1240 1299 set_namelist 1_namelist_cfg cn_exp \"AGRIF_44\" 1241 1300 set_namelist 1_namelist_cfg nn_it000 1 1242 set_namelist 1_namelist_cfg nn_itend 201301 set_namelist 1_namelist_cfg nn_itend ${ITEND} 1243 1302 set_namelist 1_namelist_cfg jpni 4 1244 1303 set_namelist 1_namelist_cfg jpnj 4 … … 1246 1305 set_namelist 2_namelist_cfg cn_exp \"AGRIF_44\" 1247 1306 set_namelist 2_namelist_cfg nn_it000 1 1248 set_namelist 2_namelist_cfg nn_itend 801307 set_namelist 2_namelist_cfg nn_itend $(( ${ITEND} * 4 )) 1249 1308 set_namelist 2_namelist_cfg jpni 4 1250 1309 set_namelist 2_namelist_cfg jpnj 4 … … 1252 1311 set_namelist 3_namelist_cfg cn_exp \"AGRIF_44\" 1253 1312 set_namelist 3_namelist_cfg nn_it000 1 1254 set_namelist 3_namelist_cfg nn_itend 2401313 set_namelist 3_namelist_cfg nn_itend $(( ${ITEND} * 4 * 3 )) 1255 1314 set_namelist 3_namelist_cfg jpni 4 1256 1315 set_namelist 3_namelist_cfg jpnj 4 … … 1268 1327 1269 1328 ## test code corruption with AGRIF (phase 1) ==> Compile with key_agrif but run with no zoom 1329 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 1330 then 1331 ITEND=16 # 1d 1332 else 1333 ITEND=150 # 5d and 9h 1334 fi 1270 1335 export TEST_NAME="ORCA2" 1271 1336 cd ${MAIN_DIR} … … 1282 1347 set_namelist namelist_cfg cn_exp \"ORCA2\" 1283 1348 set_namelist namelist_cfg nn_it000 1 1284 set_namelist namelist_cfg nn_itend 1501349 set_namelist namelist_cfg nn_itend ${ITEND} 1285 1350 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1286 1351 … … 1324 1389 set_namelist namelist_cfg cn_exp \"ORCA2\" 1325 1390 set_namelist namelist_cfg nn_it000 1 1326 set_namelist namelist_cfg nn_itend 1501391 set_namelist namelist_cfg nn_itend ${ITEND} 1327 1392 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1328 1393 # … … 1344 1409 if [ ${config} == "WED025" ] ; then 1345 1410 ## Restartability tests 1411 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 1412 then 1413 ITEND=12 # 4h 1414 else 1415 ITEND=720 # 10 days 1416 fi 1417 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 1346 1418 export TEST_NAME="LONG" 1347 1419 cd ${MAIN_DIR} … … 1365 1437 set_namelist namelist_cfg cn_exp \"WED025_LONG\" 1366 1438 set_namelist namelist_cfg nn_it000 1 1367 set_namelist namelist_cfg nn_itend 7201368 set_namelist namelist_cfg nn_stock 3601439 set_namelist namelist_cfg nn_itend ${ITEND} 1440 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 1369 1441 set_namelist namelist_cfg nn_date0 20000115 1370 1442 set_namelist namelist_cfg jpni 4 … … 1387 1459 cd ${EXE_DIR} 1388 1460 set_namelist namelist_cfg cn_exp \"WED025_SHORT\" 1389 set_namelist namelist_cfg nn_it000 3611390 set_namelist namelist_cfg nn_itend 7201391 set_namelist namelist_cfg nn_stock 3601461 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 1462 set_namelist namelist_cfg nn_itend ${ITEND} 1463 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 1392 1464 set_namelist namelist_cfg ln_rstart .true. 1393 1465 set_namelist namelist_cfg nn_rstctl 2 … … 1395 1467 set_namelist namelist_cfg jpnj 8 1396 1468 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1397 set_namelist namelist_cfg cn_ocerst_in \"WED025_LONG_ 00000360_restart\"1398 set_namelist namelist_ice_cfg cn_icerst_in \"WED025_LONG_ 00000360_restart_ice\"1469 set_namelist namelist_cfg cn_ocerst_in \"WED025_LONG_${ITRST}_restart\" 1470 set_namelist namelist_ice_cfg cn_icerst_in \"WED025_LONG_${ITRST}_restart_ice\" 1399 1471 for (( i=1; i<=$NPROC; i++)) ; do 1400 1472 L_NPROC=$(( $i - 1 )) 1401 1473 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1402 ln -sf ../LONG/WED025_LONG_ 00000360_restart_${L_NPROC}.nc .1403 ln -sf ../LONG/WED025_LONG_ 00000360_restart_ice_${L_NPROC}.nc .1474 ln -sf ../LONG/WED025_LONG_${ITRST}_restart_${L_NPROC}.nc . 1475 ln -sf ../LONG/WED025_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 1404 1476 done 1405 1477 if [ ${USING_MPMD} == "yes" ] ; then … … 1428 1500 set_namelist namelist_cfg cn_exp \"WED025_56\" 1429 1501 set_namelist namelist_cfg nn_it000 1 1430 set_namelist namelist_cfg nn_itend 7201502 set_namelist namelist_cfg nn_itend ${ITEND} 1431 1503 set_namelist namelist_cfg nn_date0 20000115 1432 1504 set_namelist namelist_cfg jpni 6 … … 1454 1526 set_namelist namelist_cfg cn_exp \"WED025_84\" 1455 1527 set_namelist namelist_cfg nn_it000 1 1456 set_namelist namelist_cfg nn_itend 7201528 set_namelist namelist_cfg nn_itend ${ITEND} 1457 1529 set_namelist namelist_cfg nn_date0 20000115 1458 1530 set_namelist namelist_cfg jpni 8 -
utils/CI/sette/sette_test-cases.sh
r13382 r13559 162 162 if [ ${config} == "OVERFLOW" ] ; then 163 163 ## Restartability tests for OVERFLOW 164 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 165 then 166 ITEND=12 167 else 168 ITEND=120 169 fi 170 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 164 171 export TEST_NAME="LONG" 165 172 cd ${MAIN_DIR} … … 184 191 set_namelist namelist_cfg cn_exp \"OVF_LONG\" 185 192 set_namelist namelist_cfg nn_it000 1 186 set_namelist namelist_cfg nn_itend 120187 set_namelist namelist_cfg nn_stock 60193 set_namelist namelist_cfg nn_itend ${ITEND} 194 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 188 195 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 189 196 if [ ${USING_MPMD} == "yes" ] ; then … … 202 209 cd ${EXE_DIR} 203 210 set_namelist namelist_cfg cn_exp \"OVF_SHORT\" 204 set_namelist namelist_cfg nn_it000 61205 set_namelist namelist_cfg nn_itend 120206 set_namelist namelist_cfg nn_stock 60211 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 212 set_namelist namelist_cfg nn_itend ${ITEND} 213 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 207 214 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 208 215 set_namelist namelist_cfg ln_rstart .true. 209 216 set_namelist namelist_cfg nn_rstctl 2 210 set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_ 00000060_restart\"211 if [ ${USING_MPMD} == "yes" ] ; then 212 set_xio_using_server iodef.xml true 213 else 214 set_xio_using_server iodef.xml false 215 fi 216 ln -sf ../LONG/OVF_LONG_ 00000060_restart.nc .217 set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_${ITRST}_restart\" 218 if [ ${USING_MPMD} == "yes" ] ; then 219 set_xio_using_server iodef.xml true 220 else 221 set_xio_using_server iodef.xml false 222 fi 223 ln -sf ../LONG/OVF_LONG_${ITRST}_restart.nc . 217 224 218 225 cd ${SETTE_DIR} … … 224 231 ## Test for all advection, vert. coordinates, vector form, flux form: test runability and complete all time steps 225 232 ## Needed namelist-xxxx for every type of run tested 233 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 234 then 235 ITEND=12 236 else 237 ITEND=6120 238 fi 226 239 cd ${CONFIG_DIR}/${NEW_CONF}/EXP00 227 240 … … 244 257 rm namelist_*_*_*_* 245 258 cp -pL ${CONFIG_DIR}/${NEW_CONF}/EXP00/$file namelist_cfg 259 set_namelist namelist_cfg nn_it000 1 260 set_namelist namelist_cfg nn_itend ${ITEND} 246 261 if [ ${USING_MPMD} == "yes" ] ; then 247 262 set_xio_using_server iodef.xml true … … 262 277 if [ ${config} == "LOCK_EXCHANGE" ] ; then 263 278 ## Restartability tests for LOCK_EXCHANGE 279 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 280 then 281 ITEND=12 282 else 283 ITEND=120 284 fi 285 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 264 286 export TEST_NAME="LONG" 265 287 cd ${MAIN_DIR} … … 285 307 set_namelist namelist_cfg cn_exp \"LOCK_LONG\" 286 308 set_namelist namelist_cfg nn_it000 1 287 set_namelist namelist_cfg nn_ stock 60288 set_namelist namelist_cfg sn_cfctl%l_runstat .true.289 set_namelist namelist_cfg nn_itend 120309 set_namelist namelist_cfg nn_itend ${ITEND} 310 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 311 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 290 312 if [ ${USING_MPMD} == "yes" ] ; then 291 313 set_xio_using_server iodef.xml true … … 303 325 cd ${EXE_DIR} 304 326 set_namelist namelist_cfg cn_exp \"LOCK_SHORT\" 305 set_namelist namelist_cfg nn_it000 61306 set_namelist namelist_cfg nn_itend 120307 set_namelist namelist_cfg nn_stock 60327 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 328 set_namelist namelist_cfg nn_itend ${ITEND} 329 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 308 330 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 309 331 set_namelist namelist_cfg ln_rstart .true. 310 332 set_namelist namelist_cfg nn_rstctl 2 311 set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_ 00000060_restart\"312 if [ ${USING_MPMD} == "yes" ] ; then 313 set_xio_using_server iodef.xml true 314 else 315 set_xio_using_server iodef.xml false 316 fi 317 ln -sf ../LONG/LOCK_LONG_ 00000060_restart.nc .333 set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_${ITRST}_restart\" 334 if [ ${USING_MPMD} == "yes" ] ; then 335 set_xio_using_server iodef.xml true 336 else 337 set_xio_using_server iodef.xml false 338 fi 339 ln -sf ../LONG/LOCK_LONG_${ITRST}_restart.nc . 318 340 319 341 cd ${SETTE_DIR} … … 364 386 if [ ${config} == "VORTEX" ] ; then 365 387 ## Restartability tests for VORTEX 388 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 389 then 390 ITEND=12 391 else 392 ITEND=240 393 fi 394 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 395 ITRST_1=$( printf "%08d" $(( ${ITEND} * 3 / 2 )) ) 366 396 export TEST_NAME="LONG" 367 397 cd ${MAIN_DIR} … … 387 417 set_namelist namelist_cfg cn_exp \"VORTEX_LONG\" 388 418 set_namelist namelist_cfg nn_it000 1 389 set_namelist namelist_cfg nn_itend 240390 set_namelist namelist_cfg nn_stock 120391 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 419 set_namelist namelist_cfg nn_itend ${ITEND} 420 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 421 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 392 422 393 423 set_namelist 1_namelist_cfg cn_exp \"VORTEX_LONG\" 394 424 set_namelist 1_namelist_cfg nn_it000 1 395 set_namelist 1_namelist_cfg nn_itend 720396 set_namelist 1_namelist_cfg nn_stock 360425 set_namelist 1_namelist_cfg nn_itend $(( ${ITEND} * 3 )) 426 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 / 2 )) 397 427 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 398 428 … … 412 442 cd ${EXE_DIR} 413 443 set_namelist namelist_cfg cn_exp \"VORTEX_SHORT\" 414 set_namelist namelist_cfg nn_it000 121415 set_namelist namelist_cfg nn_itend 240416 set_namelist namelist_cfg nn_stock 120444 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 445 set_namelist namelist_cfg nn_itend ${ITEND} 446 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 417 447 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 418 448 set_namelist namelist_cfg ln_rstart .true. 419 449 set_namelist namelist_cfg nn_rstctl 2 420 set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_ 00000120_restart\"450 set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_${ITRST}_restart\" 421 451 422 452 set_namelist 1_namelist_cfg cn_exp \"VORTEX_SHORT\" 423 set_namelist 1_namelist_cfg nn_it000 361 424 set_namelist 1_namelist_cfg nn_itend 720 453 set_namelist 1_namelist_cfg nn_it000 $(( ${ITEND} * 3 / 2 + 1 )) 454 set_namelist 1_namelist_cfg nn_itend $(( ${ITEND} * 3 )) 455 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 / 2 )) 425 456 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 426 set_namelist 1_namelist_cfg nn_stock 360427 457 set_namelist 1_namelist_cfg ln_rstart .true. 428 458 set_namelist 1_namelist_cfg nn_rstctl 2 429 set_namelist 1_namelist_cfg cn_ocerst_in \"VORTEX_LONG_ 00000360_restart\"459 set_namelist 1_namelist_cfg cn_ocerst_in \"VORTEX_LONG_${ITRST_1}_restart\" 430 460 431 461 if [ ${USING_MPMD} == "yes" ] ; then … … 435 465 fi 436 466 if [ $NPROC -eq 1 ] ; then 437 ln -sf ../LONG/VORTEX_LONG_ 00000120_restart.nc .438 ln -sf ../LONG/1_VORTEX_LONG_ 00000360_restart.nc .467 ln -sf ../LONG/VORTEX_LONG_${ITRST}_restart.nc . 468 ln -sf ../LONG/1_VORTEX_LONG_${ITRST_1}_restart.nc . 439 469 else 440 470 for (( i=1; i<=$NPROC; i++)) ; do 441 471 L_NPROC=$(( $i - 1 )) 442 472 L_NPROC=`printf "%04d\n" ${L_NPROC}` 443 ln -sf ../LONG/VORTEX_LONG_ 00000120_restart_${L_NPROC}.nc .444 ln -sf ../LONG/1_VORTEX_LONG_ 00000360_restart_${L_NPROC}.nc .473 ln -sf ../LONG/VORTEX_LONG_${ITRST}_restart_${L_NPROC}.nc . 474 ln -sf ../LONG/1_VORTEX_LONG_${ITRST_1}_restart_${L_NPROC}.nc . 445 475 done 446 476 fi … … 465 495 set_namelist namelist_cfg cn_exp \"VORTEX_23\" 466 496 set_namelist namelist_cfg nn_it000 1 467 set_namelist namelist_cfg nn_itend 240468 set_namelist namelist_cfg nn_stock 120497 set_namelist namelist_cfg nn_itend ${ITEND} 498 set_namelist namelist_cfg nn_stock ${ITEND} 469 499 set_namelist namelist_cfg jpni 2 470 500 set_namelist namelist_cfg jpnj 3 … … 473 503 set_namelist 1_namelist_cfg cn_exp \"VORTEX_23\" 474 504 set_namelist 1_namelist_cfg nn_it000 1 475 set_namelist 1_namelist_cfg nn_itend 720476 set_namelist 1_namelist_cfg nn_stock 360505 set_namelist 1_namelist_cfg nn_itend $(( ${ITEND} * 3 )) 506 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 )) 477 507 set_namelist 1_namelist_cfg jpni 2 478 508 set_namelist 1_namelist_cfg jpnj 3 … … 501 531 set_namelist namelist_cfg cn_exp \"VORTEX_32\" 502 532 set_namelist namelist_cfg nn_it000 1 503 set_namelist namelist_cfg nn_itend 240504 set_namelist namelist_cfg nn_stock 120533 set_namelist namelist_cfg nn_itend ${ITEND} 534 set_namelist namelist_cfg nn_stock ${ITEND} 505 535 set_namelist namelist_cfg jpni 3 506 536 set_namelist namelist_cfg jpnj 2 … … 509 539 set_namelist 1_namelist_cfg cn_exp \"VORTEX_32\" 510 540 set_namelist 1_namelist_cfg nn_it000 1 511 set_namelist 1_namelist_cfg nn_itend 720512 set_namelist 1_namelist_cfg nn_stock 360541 set_namelist 1_namelist_cfg nn_itend $(( ${ITEND} * 3 )) 542 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 )) 513 543 set_namelist 1_namelist_cfg jpni 3 514 544 set_namelist 1_namelist_cfg jpnj 2 … … 533 563 if [ ${config} == "ICE_AGRIF" ] ; then 534 564 ## Restartability tests for ICE_AGRIF 565 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 566 then 567 ITEND=10 568 else 569 ITEND=200 570 fi 571 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 572 ITRST_1=$( printf "%08d" $(( ${ITEND} * 3 / 2 )) ) 535 573 export TEST_NAME="LONG" 536 574 cd ${MAIN_DIR} … … 556 594 set_namelist namelist_cfg cn_exp \"ICE_AGRIF_LONG\" 557 595 set_namelist namelist_cfg nn_it000 1 558 set_namelist namelist_cfg nn_itend 200559 set_namelist namelist_cfg sn_cfctl%l_runstat .true.560 set_namelist namelist_cfg nn_stock 100596 set_namelist namelist_cfg nn_itend ${ITEND} 597 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 598 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 561 599 562 600 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_LONG\" 563 601 set_namelist 1_namelist_cfg nn_it000 1 564 set_namelist 1_namelist_cfg nn_itend 600 602 set_namelist 1_namelist_cfg nn_itend $(( ${ITEND} * 3 )) 603 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 / 2 )) 565 604 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 566 set_namelist 1_namelist_cfg nn_stock 300567 605 568 606 if [ ${USING_MPMD} == "yes" ] ; then … … 581 619 cd ${EXE_DIR} 582 620 set_namelist namelist_cfg cn_exp \"ICE_AGRIF_SHORT\" 583 set_namelist namelist_cfg nn_it000 101584 set_namelist namelist_cfg nn_itend 200585 set_namelist namelist_cfg sn_cfctl%l_runstat .true.586 set_namelist namelist_cfg nn_stock 100621 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 622 set_namelist namelist_cfg nn_itend ${ITEND} 623 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 624 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 587 625 set_namelist namelist_cfg ln_rstart .true. 588 626 set_namelist namelist_cfg nn_rstctl 2 589 set_namelist namelist_cfg cn_ocerst_in \"ICE_AGRIF_LONG_ 00000100_restart\"590 set_namelist namelist_ice_cfg cn_icerst_in \"ICE_AGRIF_LONG_ 00000100_restart_ice\"627 set_namelist namelist_cfg cn_ocerst_in \"ICE_AGRIF_LONG_${ITRST}_restart\" 628 set_namelist namelist_ice_cfg cn_icerst_in \"ICE_AGRIF_LONG_${ITRST}_restart_ice\" 591 629 592 630 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_SHORT\" 593 set_namelist 1_namelist_cfg nn_it000 301 594 set_namelist 1_namelist_cfg nn_itend 600 631 set_namelist 1_namelist_cfg nn_it000 $(( ${ITEND} * 3 / 2 + 1 )) 632 set_namelist 1_namelist_cfg nn_itend $(( ${ITEND} * 3 )) 633 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 / 2 )) 595 634 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 596 set_namelist 1_namelist_cfg nn_stock 300597 635 set_namelist 1_namelist_cfg ln_rstart .true. 598 636 set_namelist 1_namelist_cfg nn_rstctl 2 599 set_namelist 1_namelist_cfg cn_ocerst_in \"ICE_AGRIF_LONG_ 00000300_restart\"600 set_namelist 1_namelist_ice_cfg cn_icerst_in \"ICE_AGRIF_LONG_ 00000300_restart_ice\"637 set_namelist 1_namelist_cfg cn_ocerst_in \"ICE_AGRIF_LONG_${ITRST_1}_restart\" 638 set_namelist 1_namelist_ice_cfg cn_icerst_in \"ICE_AGRIF_LONG_${ITRST_1}_restart_ice\" 601 639 602 640 … … 607 645 fi 608 646 if [ $NPROC -eq 1 ] ; then 609 ln -sf ../LONG/ICE_AGRIF_LONG_ 00000100_restart.nc .610 ln -sf ../LONG/ICE_AGRIF_LONG_ 00000100_restart_ice.nc .611 ln -sf ../LONG/1_ICE_AGRIF_LONG_ 00000300_restart.nc .612 ln -sf ../LONG/1_ICE_AGRIF_LONG_ 00000300_restart_ice.nc .647 ln -sf ../LONG/ICE_AGRIF_LONG_${ITRST}_restart.nc . 648 ln -sf ../LONG/ICE_AGRIF_LONG_${ITRST}_restart_ice.nc . 649 ln -sf ../LONG/1_ICE_AGRIF_LONG_${ITRST_1}_restart.nc . 650 ln -sf ../LONG/1_ICE_AGRIF_LONG_${ITRST_1}_restart_ice.nc . 613 651 else 614 652 for (( i=1; i<=$NPROC; i++)) ; do 615 653 L_NPROC=$(( $i - 1 )) 616 654 L_NPROC=`printf "%04d\n" ${L_NPROC}` 617 ln -sf ../LONG/ICE_AGRIF_LONG_ 00000100_restart_${L_NPROC}.nc .618 ln -sf ../LONG/ICE_AGRIF_LONG_ 00000100_restart_ice_${L_NPROC}.nc .619 ln -sf ../LONG/1_ICE_AGRIF_LONG_ 00000300_restart_${L_NPROC}.nc .620 ln -sf ../LONG/1_ICE_AGRIF_LONG_ 00000300_restart_ice_${L_NPROC}.nc .655 ln -sf ../LONG/ICE_AGRIF_LONG_${ITRST}_restart_${L_NPROC}.nc . 656 ln -sf ../LONG/ICE_AGRIF_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 657 ln -sf ../LONG/1_ICE_AGRIF_LONG_${ITRST_1}_restart_${L_NPROC}.nc . 658 ln -sf ../LONG/1_ICE_AGRIF_LONG_${ITRST_1}_restart_ice_${L_NPROC}.nc . 621 659 done 622 660 fi … … 643 681 set_namelist namelist_cfg cn_exp \"ICE_AGRIF_23\" 644 682 set_namelist namelist_cfg nn_it000 1 645 set_namelist namelist_cfg nn_itend 200646 set_namelist namelist_cfg nn_stock 100683 set_namelist namelist_cfg nn_itend ${ITEND} 684 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 647 685 set_namelist namelist_cfg jpni 2 648 686 set_namelist namelist_cfg jpnj 3 … … 651 689 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_23\" 652 690 set_namelist 1_namelist_cfg nn_it000 1 653 set_namelist 1_namelist_cfg nn_itend 600654 set_namelist 1_namelist_cfg nn_stock 300691 set_namelist 1_namelist_cfg nn_itend $(( ${ITEND} * 3 )) 692 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 / 2 )) 655 693 set_namelist 1_namelist_cfg jpni 2 656 694 set_namelist 1_namelist_cfg jpnj 3 … … 679 717 set_namelist namelist_cfg cn_exp \"ICE_AGRIF_32\" 680 718 set_namelist namelist_cfg nn_it000 1 681 set_namelist namelist_cfg nn_itend 200682 set_namelist namelist_cfg nn_stock 100719 set_namelist namelist_cfg nn_itend ${ITEND} 720 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 683 721 set_namelist namelist_cfg jpni 3 684 722 set_namelist namelist_cfg jpnj 2 … … 687 725 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_32\" 688 726 set_namelist 1_namelist_cfg nn_it000 1 689 set_namelist 1_namelist_cfg nn_itend 600690 set_namelist 1_namelist_cfg nn_stock 300727 set_namelist 1_namelist_cfg nn_itend $(( ${ITEND} * 3 )) 728 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 / 2 )) 691 729 set_namelist 1_namelist_cfg jpni 3 692 730 set_namelist 1_namelist_cfg jpnj 2 … … 710 748 if [ ${config} == "ISOMIP+" ] ; then 711 749 ## Restartability tests 750 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 751 then 752 ITEND=12 753 else 754 ITEND=1200 755 fi 756 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 712 757 export TEST_NAME="LONG" 713 758 cd ${MAIN_DIR} … … 733 778 set_namelist namelist_cfg cn_exp \"ISOMIP+_LONG\" 734 779 set_namelist namelist_cfg nn_it000 1 735 set_namelist namelist_cfg nn_itend 1200736 set_namelist namelist_cfg nn_stock 600780 set_namelist namelist_cfg nn_itend ${ITEND} 781 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 737 782 set_namelist namelist_cfg jpni 9 738 783 set_namelist namelist_cfg jpnj 3 … … 753 798 cd ${EXE_DIR} 754 799 set_namelist namelist_cfg cn_exp \"ISOMIP+_SHORT\" 755 set_namelist namelist_cfg nn_it000 601756 set_namelist namelist_cfg nn_itend 1200757 set_namelist namelist_cfg nn_stock 600800 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 801 set_namelist namelist_cfg nn_itend ${ITEND} 802 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 758 803 set_namelist namelist_cfg ln_rstart .true. 759 804 set_namelist namelist_cfg nn_rstctl 2 … … 761 806 set_namelist namelist_cfg jpnj 3 762 807 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 763 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP+_LONG_ 00000600_restart\"808 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP+_LONG_${ITRST}_restart\" 764 809 if [ ${USING_MPMD} == "yes" ] ; then 765 810 set_xio_using_server iodef.xml true … … 770 815 L_NPROC=$(( $i - 1 )) 771 816 L_NPROC=`printf "%04d\n" ${L_NPROC}` 772 ln -sf ../LONG/ISOMIP+_LONG_ 00000600_restart_${L_NPROC}.nc .817 ln -sf ../LONG/ISOMIP+_LONG_${ITRST}_restart_${L_NPROC}.nc . 773 818 done 774 819 … … 779 824 780 825 ## Reproducibility tests 826 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 827 then 828 ITEND=12 829 else 830 ITEND=600 831 fi 781 832 export TEST_NAME="REPRO_9_3" 782 833 cd ${MAIN_DIR} … … 793 844 set_namelist namelist_cfg cn_exp \"ISOMIP+_93\" 794 845 set_namelist namelist_cfg nn_it000 1 795 set_namelist namelist_cfg nn_itend 600846 set_namelist namelist_cfg nn_itend ${ITEND} 796 847 set_namelist namelist_cfg jpni 9 797 848 set_namelist namelist_cfg jpnj 3 … … 818 869 set_namelist namelist_cfg cn_exp \"ISOMIP+_84\" 819 870 set_namelist namelist_cfg nn_it000 1 820 set_namelist namelist_cfg nn_itend 600871 set_namelist namelist_cfg nn_itend ${ITEND} 821 872 set_namelist namelist_cfg jpni 8 822 873 set_namelist namelist_cfg jpnj 4
Note: See TracChangeset
for help on using the changeset viewer.