Changeset 9518
- Timestamp:
- 2018-04-27T17:59:40+02:00 (7 years ago)
- Location:
- branches/2017/dev_merge_2017/NEMOGCM/SETTE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette.sh
r9507 r9518 137 137 # ORCA2_OFF_PISCES : 3 138 138 # AMM12 : 4 139 # SAS : 5 fos SAS there is no run.stat so is useless to test REPRO 140 # ISOMIP : 6 141 # ORCA2_LIM3_OBS : 7 142 # ORCA2_AGRIF_LIM3 : 8 143 # ORCA2AGR : 9 & 10 AGRIF active with no zoom, compared to no AGRIF cpp key 144 # AGRIF : 11 & 12 test AGRIF in a double zoom configuration (AGRIF_NORDIC) 139 # SAS : 5 140 # ORCA2_LIM3_OBS : 6 141 # AGRIF : 7 & 8 test AGRIF in a double zoom configuration (AGRIF_NORDIC) 145 142 # and check that key_agrif without zoom = no key_agrif 146 143 147 for config in 1 2 3 4 5 6 7 8 9 10 11 12144 for config in 1 2 3 4 5 6 7 8 148 145 do 149 146 150 # TESTS FOR GYRE_PISCES CONFIGURATION 147 # ----------- 148 # GYRE_PISCES 149 # ----------- 151 150 if [ ${config} -eq 1 ] ; then 152 151 ## Restartability tests for GYRE_PISCES 153 152 export TEST_NAME="LONG" 154 153 cd ${CONFIG_DIR0} … … 166 165 set_namelist namelist_cfg nn_itend 120 167 166 set_namelist namelist_cfg nn_stock 60 168 set_namelist namelist_cfg ln_clobber .true.169 167 set_namelist namelist_cfg ln_linssh .true. 170 set_namelist namelist_cfg ln_read_cfg .false.171 set_namelist namelist_cfg nn_fwb 0172 168 set_namelist namelist_cfg jpni 4 173 169 set_namelist namelist_cfg jpnj 8 … … 191 187 set_namelist namelist_cfg ln_rstart .true. 192 188 set_namelist namelist_cfg nn_rstctl 2 193 set_namelist namelist_cfg ln_clobber .true.194 189 set_namelist namelist_cfg ln_linssh .true. 195 set_namelist namelist_cfg ln_read_cfg .false.196 set_namelist namelist_cfg nn_fwb 0197 190 set_namelist namelist_cfg jpni 4 198 191 set_namelist namelist_cfg jpnj 8 … … 223 216 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 224 217 225 218 ## Reproducibility tests for GYRE_PISCES 226 219 export TEST_NAME="REPRO_4_8" 227 220 cd ${CONFIG_DIR0} … … 237 230 set_namelist namelist_cfg nn_it000 1 238 231 set_namelist namelist_cfg nn_itend 60 239 set_namelist namelist_cfg nn_fwb 0240 set_namelist namelist_cfg ln_ctl .false.241 set_namelist namelist_cfg ln_clobber .true.242 232 set_namelist namelist_cfg ln_linssh .true. 243 set_namelist namelist_cfg ln_read_cfg .false.244 233 set_namelist namelist_cfg jpni 4 245 234 set_namelist namelist_cfg jpnj 8 … … 265 254 set_namelist namelist_cfg nn_it000 1 266 255 set_namelist namelist_cfg nn_itend 60 267 set_namelist namelist_cfg nn_fwb 0268 set_namelist namelist_cfg ln_ctl .false.269 set_namelist namelist_cfg ln_clobber .true.270 256 set_namelist namelist_cfg ln_linssh .true. 271 set_namelist namelist_cfg ln_read_cfg .false.272 257 set_namelist namelist_cfg jpni 8 273 258 set_namelist namelist_cfg jpnj 4 … … 285 270 fi 286 271 287 # TESTS FOR ORCA2_LIM3_PISCES CONFIGURATION 272 # ----------------- 273 # ORCA2_LIM3_PISCES 274 # ----------------- 288 275 if [ ${config} -eq 2 ] ; then 289 276 ## Restartability tests for ORCA2_LIM3_PISCES 290 277 export TEST_NAME="LONG" 291 278 cd ${CONFIG_DIR0} … … 301 288 set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" 302 289 set_namelist namelist_cfg nn_it000 1 303 set_namelist namelist_cfg nn_itend 150 304 set_namelist namelist_cfg nn_stock 75 305 set_namelist namelist_cfg ln_clobber .true. 306 set_namelist namelist_cfg ln_read_cfg .true. 307 set_namelist namelist_cfg ln_linssh .false. 308 set_namelist namelist_cfg ln_icebergs .true. 309 set_namelist namelist_cfg nn_fwb 0 290 set_namelist namelist_cfg nn_itend 1000 291 set_namelist namelist_cfg nn_stock 500 310 292 set_namelist namelist_cfg jpni 4 311 293 set_namelist namelist_cfg jpnj 8 312 294 set_namelist namelist_cfg jpnij 32 313 295 set_namelist namelist_ice_cfg ln_icediachk .true. 314 ## set_namelist namelist_ice_cfg ln_icediahsb .true.315 296 set_namelist namelist_top_cfg ln_trcdta .false. 316 297 # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false … … 340 321 cd ${EXE_DIR} 341 322 set_namelist namelist_cfg cn_exp \"O2L3P_SHORT\" 342 set_namelist namelist_cfg nn_it000 76343 set_namelist namelist_cfg nn_itend 1 50344 set_namelist namelist_cfg nn_stock 75323 set_namelist namelist_cfg nn_it000 501 324 set_namelist namelist_cfg nn_itend 1000 325 set_namelist namelist_cfg nn_stock 500 345 326 set_namelist namelist_cfg ln_rstart .true. 346 327 set_namelist namelist_cfg nn_rstctl 2 347 set_namelist namelist_cfg ln_clobber .true. 348 set_namelist namelist_cfg ln_read_cfg .true. 349 set_namelist namelist_cfg ln_linssh .false. 350 set_namelist namelist_cfg ln_icebergs .true. 351 set_namelist namelist_cfg nn_fwb 0 352 set_namelist namelist_cfg jpni 4 353 set_namelist namelist_cfg jpnj 8 354 set_namelist namelist_cfg jpnij 32 355 set_namelist namelist_ice_cfg ln_icediachk .true. 356 ## set_namelist namelist_ice_cfg ln_icediahsb .true. 328 set_namelist namelist_cfg jpni 4 329 set_namelist namelist_cfg jpnj 8 330 set_namelist namelist_cfg jpnij 32 357 331 set_namelist namelist_top_cfg ln_rsttr .true. 358 332 set_namelist namelist_top_cfg nn_rsttr 2 359 set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000 075_restart\"360 set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000 075_restart_trc\"361 set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000 075_restart_ice\"333 set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000500_restart\" 334 set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000500_restart_trc\" 335 set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000500_restart_ice\" 362 336 # put ln_ironsed, ln_river, ln_ndepo, ln_dust 363 337 # if not you need input files, and for tests is not necessary … … 376 350 L_NPROC=$(( $i - 1 )) 377 351 L_NPROC=`printf "%04d\n" ${L_NPROC}` 378 ln -sf ../LONG/O2L3P_LONG_00000 075_restart_${L_NPROC}.nc .379 ln -sf ../LONG/O2L3P_LONG_00000 075_restart_trc_${L_NPROC}.nc .380 ln -sf ../LONG/O2L3P_LONG_00000 075_restart_ice_${L_NPROC}.nc .381 ln -sf ../LONG/O2L3P_LONG_icebergs_00000 075_restart_${L_NPROC}.nc O2L3P_LONG_00000075_restart_icebergs_${L_NPROC}.nc352 ln -sf ../LONG/O2L3P_LONG_00000500_restart_${L_NPROC}.nc . 353 ln -sf ../LONG/O2L3P_LONG_00000500_restart_trc_${L_NPROC}.nc . 354 ln -sf ../LONG/O2L3P_LONG_00000500_restart_ice_${L_NPROC}.nc . 355 ln -sf ../LONG/O2L3P_LONG_icebergs_00000500_restart_${L_NPROC}.nc O2L3P_LONG_00000500_restart_icebergs_${L_NPROC}.nc 382 356 done 383 357 if [ ${USING_MPMD} == "yes" ] ; then … … 391 365 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 392 366 393 367 ## Reproducibility tests for ORCA2_LIM3_PISCES 394 368 export TEST_NAME="REPRO_4_8" 395 369 cd ${CONFIG_DIR0} … … 404 378 set_namelist namelist_cfg cn_exp \"O2L3P_48\" 405 379 set_namelist namelist_cfg nn_it000 1 406 set_namelist namelist_cfg nn_itend 75 407 set_namelist namelist_cfg ln_ctl .false. 408 set_namelist namelist_cfg ln_clobber .true. 409 set_namelist namelist_cfg ln_read_cfg .true. 410 set_namelist namelist_cfg ln_linssh .false. 411 set_namelist namelist_cfg ln_icebergs .true. 412 set_namelist namelist_cfg nn_fwb 0 413 set_namelist namelist_cfg jpni 4 414 set_namelist namelist_cfg jpnj 8 415 set_namelist namelist_cfg jpnij 32 416 set_namelist namelist_ice_cfg ln_icediachk .true. 417 ## set_namelist namelist_ice_cfg ln_icediahsb .true. 380 set_namelist namelist_cfg nn_itend 450 381 set_namelist namelist_cfg jpni 4 382 set_namelist namelist_cfg jpnj 8 383 set_namelist namelist_cfg jpnij 32 418 384 set_namelist namelist_top_cfg ln_trcdta .false. 419 385 # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false … … 449 415 set_namelist namelist_cfg cn_exp \"O2L3P_84\" 450 416 set_namelist namelist_cfg nn_it000 1 451 set_namelist namelist_cfg nn_itend 75 452 set_namelist namelist_cfg ln_clobber .true. 453 set_namelist namelist_cfg ln_read_cfg .true. 454 set_namelist namelist_cfg ln_linssh .false. 455 set_namelist namelist_cfg ln_icebergs .true. 456 set_namelist namelist_cfg nn_fwb 0 417 set_namelist namelist_cfg nn_itend 450 457 418 set_namelist namelist_cfg jpni 8 458 419 set_namelist namelist_cfg jpnj 4 459 420 set_namelist namelist_cfg jpnij 32 460 set_namelist namelist_ice_cfg ln_icediachk .true.461 ## set_namelist namelist_ice_cfg ln_icediahsb .true.462 421 set_namelist namelist_top_cfg ln_trcdta .false. 463 422 # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false … … 485 444 fi 486 445 487 # TESTS FOR ORCA2_OFF_PISCES CONFIGURATION 446 # ---------------- 447 # ORCA2_OFF_PISCES 448 # ---------------- 488 449 if [ ${config} -eq 3 ] ; then 489 450 ## Restartability tests for ORCA2_OFF_PISCES 490 451 export TEST_NAME="LONG" 491 452 cd ${CONFIG_DIR0} … … 503 464 set_namelist namelist_cfg nn_itend 40 504 465 set_namelist namelist_cfg nn_stock 20 505 set_namelist namelist_cfg ln_clobber .true.506 set_namelist namelist_cfg ln_read_cfg .true.507 set_namelist namelist_cfg ln_linssh .true.508 466 set_namelist namelist_cfg jpni 4 509 467 set_namelist namelist_cfg jpnj 8 … … 539 497 set_namelist namelist_cfg nn_itend 40 540 498 set_namelist namelist_cfg nn_stock 20 541 set_namelist namelist_cfg ln_clobber .true.542 set_namelist namelist_cfg ln_read_cfg .true.543 set_namelist namelist_cfg ln_linssh .true.544 499 set_namelist namelist_cfg jpni 4 545 500 set_namelist namelist_cfg jpnj 8 … … 576 531 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 577 532 578 533 ## Reproducibility tests for ORCA2_OFF_PISCES 579 534 export TEST_NAME="REPRO_4_8" 580 535 cd ${CONFIG_DIR0} … … 590 545 set_namelist namelist_cfg nn_it000 1 591 546 set_namelist namelist_cfg nn_itend 40 592 set_namelist namelist_cfg ln_ctl .false.593 set_namelist namelist_cfg ln_clobber .true.594 set_namelist namelist_cfg ln_read_cfg .true.595 set_namelist namelist_cfg ln_linssh .true.596 547 set_namelist namelist_cfg jpni 4 597 548 set_namelist namelist_cfg jpnj 8 … … 631 582 set_namelist namelist_cfg nn_it000 1 632 583 set_namelist namelist_cfg nn_itend 40 633 set_namelist namelist_cfg ln_ctl .false.634 set_namelist namelist_cfg ln_clobber .true.635 set_namelist namelist_cfg ln_read_cfg .true.636 set_namelist namelist_cfg ln_linssh .true.637 584 set_namelist namelist_cfg jpni 8 638 585 set_namelist namelist_cfg jpnj 4 … … 663 610 fi 664 611 665 # TESTS FOR AMM12 CONFIGURATION 612 # ----- 613 # AMM12 614 # ----- 666 615 if [ ${config} -eq 4 ] ; then 667 616 ## Restartability tests for AMM12 … … 681 630 set_namelist namelist_cfg nn_itend 576 682 631 set_namelist namelist_cfg nn_stock 288 683 set_namelist namelist_cfg nn_fwb 0684 set_namelist namelist_cfg ln_ctl .false.685 set_namelist namelist_cfg ln_clobber .true.686 set_namelist namelist_cfg ln_read_cfg .true.687 set_namelist namelist_cfg ln_linssh .false.688 ##SF689 set_namelist namelist_cfg ln_lin .true.690 set_namelist namelist_cfg ln_loglayer .false.691 ##SF692 632 set_namelist namelist_cfg jpni 4 693 633 set_namelist namelist_cfg jpnj 8 … … 708 648 set_namelist namelist_cfg nn_it000 289 709 649 set_namelist namelist_cfg nn_itend 576 710 set_namelist namelist_cfg nn_fwb 0711 set_namelist namelist_cfg ln_ctl .false.712 set_namelist namelist_cfg ln_clobber .true.713 set_namelist namelist_cfg ln_read_cfg .true.714 set_namelist namelist_cfg ln_linssh .false.715 ##SF716 set_namelist namelist_cfg ln_lin .true.717 set_namelist namelist_cfg ln_loglayer .false.718 ##SF719 650 set_namelist namelist_cfg jpni 4 720 651 set_namelist namelist_cfg jpnj 8 … … 753 684 set_namelist namelist_cfg nn_it000 1 754 685 set_namelist namelist_cfg nn_itend 576 755 set_namelist namelist_cfg nn_fwb 0756 set_namelist namelist_cfg ln_ctl .false.757 set_namelist namelist_cfg ln_clobber .true.758 set_namelist namelist_cfg ln_read_cfg .true.759 set_namelist namelist_cfg ln_linssh .false.760 ##SF761 set_namelist namelist_cfg ln_lin .true.762 set_namelist namelist_cfg ln_loglayer .false.763 ##SF764 686 set_namelist namelist_cfg jpni 8 765 687 set_namelist namelist_cfg jpnj 4 … … 784 706 set_namelist namelist_cfg nn_it000 1 785 707 set_namelist namelist_cfg nn_itend 576 786 set_namelist namelist_cfg nn_fwb 0787 set_namelist namelist_cfg ln_ctl .false.788 set_namelist namelist_cfg ln_clobber .true.789 set_namelist namelist_cfg ln_read_cfg .true.790 set_namelist namelist_cfg ln_linssh .false.791 ##SF792 set_namelist namelist_cfg ln_lin .true.793 set_namelist namelist_cfg ln_loglayer .false.794 ##SF795 708 set_namelist namelist_cfg jpni 4 796 709 set_namelist namelist_cfg jpnj 8 … … 808 721 809 722 810 # TESTS FOR ORCA2_SAS_LIM3 CONFIGURATION 723 # --------- 724 # ORCA2_SAS 725 # --------- 811 726 if [ ${config} -eq 5 ] ; then 812 ## Restartability tests for SAS 727 ## Restartability tests 813 728 export TEST_NAME="LONG" 814 729 cd ${CONFIG_DIR0} … … 826 741 set_namelist namelist_cfg nn_itend 240 827 742 set_namelist namelist_cfg nn_stock 120 828 set_namelist namelist_cfg ln_ctl .false.829 set_namelist namelist_cfg ln_clobber .true.830 set_namelist namelist_cfg ln_read_cfg .true.831 set_namelist namelist_cfg ln_linssh .true.832 set_namelist namelist_cfg nn_fwb 0833 743 set_namelist namelist_cfg jpni 4 834 744 set_namelist namelist_cfg jpnj 8 … … 850 760 set_namelist namelist_cfg nn_it000 121 851 761 set_namelist namelist_cfg nn_itend 240 852 set_namelist namelist_cfg ln_ctl .false.853 set_namelist namelist_cfg ln_clobber .true.854 set_namelist namelist_cfg ln_read_cfg .true.855 set_namelist namelist_cfg ln_linssh .true.856 set_namelist namelist_cfg nn_fwb 0857 762 set_namelist namelist_cfg jpni 4 858 763 set_namelist namelist_cfg jpnj 8 … … 878 783 cd ${SETTE_DIR} 879 784 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 880 fi 881 882 # TESTS FOR ISOMIP CONFIGURATION 883 if [ ${config} -eq 6 ] ; then 884 ## Restartability tests for ISOMIP 885 export TEST_NAME="LONG" 886 cd ${CONFIG_DIR0} 887 . ./makenemo -m ${CMP_NAM} -n ISOMIP_ST -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 888 cd ${SETTE_DIR} 889 . ./param.cfg 890 . ./all_functions.sh 891 . ./prepare_exe_dir.sh 892 JOB_FILE=${EXE_DIR}/run_job.sh 893 NPROC=15 894 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 895 cd ${EXE_DIR} 896 set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" 897 set_namelist namelist_cfg nn_it000 1 898 set_namelist namelist_cfg nn_itend 96 899 set_namelist namelist_cfg nn_stock 48 900 set_namelist namelist_cfg ln_clobber .true. 901 set_namelist namelist_cfg ln_read_cfg .false. 902 set_namelist namelist_cfg ln_icebergs .false. 903 set_namelist namelist_cfg ln_bergdia .false. 904 set_namelist namelist_cfg jpni 5 905 set_namelist namelist_cfg jpnj 3 906 set_namelist namelist_cfg jpnij 15 907 if [ ${USING_MPMD} == "yes" ] ; then 908 set_xio_using_server iodef.xml true 909 else 910 set_xio_using_server iodef.xml false 911 fi 912 cd ${SETTE_DIR} 913 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 914 915 cd ${SETTE_DIR} 916 export TEST_NAME="SHORT" 917 . ./prepare_exe_dir.sh 918 cd ${EXE_DIR} 919 set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" 920 set_namelist namelist_cfg nn_it000 49 921 set_namelist namelist_cfg nn_itend 96 922 set_namelist namelist_cfg nn_stock 48 923 set_namelist namelist_cfg ln_rstart .true. 924 set_namelist namelist_cfg nn_rstctl 2 925 set_namelist namelist_cfg ln_clobber .true. 926 set_namelist namelist_cfg ln_read_cfg .false. 927 set_namelist namelist_cfg ln_bergdia .false. 928 set_namelist namelist_cfg jpni 5 929 set_namelist namelist_cfg jpnj 3 930 set_namelist namelist_cfg jpnij 15 931 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 932 if [ ${USING_MPMD} == "yes" ] ; then 933 set_xio_using_server iodef.xml true 934 else 935 set_xio_using_server iodef.xml false 936 fi 937 for (( i=1; i<=$NPROC; i++)) ; do 938 L_NPROC=$(( $i - 1 )) 939 L_NPROC=`printf "%04d\n" ${L_NPROC}` 940 ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 941 done 942 if [ ${USING_MPMD} == "yes" ] ; then 943 set_xio_using_server iodef.xml true 944 else 945 set_xio_using_server iodef.xml false 946 fi 947 cd ${SETTE_DIR} 948 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 949 cd ${SETTE_DIR} 950 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 951 952 ## Reproducibility tests for ISOMIP 953 export TEST_NAME="REPRO_7_3" 954 cd ${CONFIG_DIR0} 955 cd ${SETTE_DIR} 956 . ./param.cfg 957 . ./all_functions.sh 958 . ./prepare_exe_dir.sh 959 JOB_FILE=${EXE_DIR}/run_job.sh 960 NPROC=21 961 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 962 cd ${EXE_DIR} 963 set_namelist namelist_cfg cn_exp \"ISOMIP_73\" 964 set_namelist namelist_cfg nn_it000 1 965 set_namelist namelist_cfg nn_itend 48 966 set_namelist namelist_cfg ln_ctl .false. 967 set_namelist namelist_cfg ln_clobber .true. 968 set_namelist namelist_cfg ln_read_cfg .false. 969 set_namelist namelist_cfg ln_bergdia .false. 970 set_namelist namelist_cfg jpni 7 971 set_namelist namelist_cfg jpnj 3 972 set_namelist namelist_cfg jpnij 21 973 if [ ${USING_MPMD} == "yes" ] ; then 974 set_xio_using_server iodef.xml true 975 else 976 set_xio_using_server iodef.xml false 977 fi 978 cd ${SETTE_DIR} 979 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 785 786 ## Reproducibility tests 787 export TEST_NAME="REPRO_4_8" 788 cd ${CONFIG_DIR0} 789 cd ${SETTE_DIR} 790 . ./param.cfg 791 . ./all_functions.sh 792 . ./prepare_exe_dir.sh 793 JOB_FILE=${EXE_DIR}/run_job.sh 794 NPROC=32 795 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 796 cd ${EXE_DIR} 797 set_namelist namelist_cfg cn_exp \"SAS_48\" 798 set_namelist namelist_cfg nn_it000 1 799 set_namelist namelist_cfg nn_itend 75 800 set_namelist namelist_cfg jpni 4 801 set_namelist namelist_cfg jpnj 8 802 set_namelist namelist_cfg jpnij 32 803 if [ ${USING_MPMD} == "yes" ] ; then 804 set_xio_using_server iodef.xml true 805 else 806 set_xio_using_server iodef.xml false 807 fi 808 cd ${SETTE_DIR} 809 . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 980 810 cd ${SETTE_DIR} 981 811 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} … … 988 818 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 989 819 cd ${EXE_DIR} 990 set_namelist namelist_cfg cn_exp \"ISOMIP_84\" 991 set_namelist namelist_cfg nn_it000 1 992 set_namelist namelist_cfg nn_itend 48 993 set_namelist namelist_cfg ln_ctl .false. 994 set_namelist namelist_cfg ln_clobber .true. 995 set_namelist namelist_cfg ln_read_cfg .false. 996 set_namelist namelist_cfg ln_bergdia .false. 820 set_namelist namelist_cfg cn_exp \"SAS_84\" 821 set_namelist namelist_cfg nn_it000 1 822 set_namelist namelist_cfg nn_itend 75 997 823 set_namelist namelist_cfg jpni 8 998 824 set_namelist namelist_cfg jpnj 4 … … 1004 830 fi 1005 831 cd ${SETTE_DIR} 1006 . ./prepare_job.sh input_ ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}832 . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 1007 833 cd ${SETTE_DIR} 1008 834 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} … … 1010 836 fi 1011 837 838 839 # -------------- 840 # ORCA2_LIM3_OBS 841 # -------------- 1012 842 ## Test assimilation interface code, OBS and ASM for reproducibility 1013 843 ## Restartability not tested (ASM code not restartable while increments are being applied) 1014 if [ ${config} -eq 7] ; then1015 ## Reproducibility tests for ORCA2_LIM3_OBS 844 if [ ${config} -eq 6 ] ; then 845 ## Reproducibility tests 1016 846 export TEST_NAME="REPRO_4_8" 1017 847 cd ${CONFIG_DIR0} … … 1028 858 set_namelist namelist_cfg nn_it000 1 1029 859 set_namelist namelist_cfg nn_itend 75 1030 set_namelist namelist_cfg nn_fwb 01031 set_namelist namelist_cfg ln_ctl .false.1032 set_namelist namelist_cfg ln_clobber .true.1033 860 set_namelist namelist_cfg ln_read_cfg .true. 1034 set_namelist namelist_cfg ln_linssh .false.1035 set_namelist namelist_cfg ln_icebergs .false.1036 861 set_namelist namelist_cfg jpni 4 1037 862 set_namelist namelist_cfg jpnj 8 … … 1082 907 set_namelist namelist_cfg nn_it000 1 1083 908 set_namelist namelist_cfg nn_itend 75 1084 set_namelist namelist_cfg nn_fwb 01085 set_namelist namelist_cfg ln_ctl .false.1086 set_namelist namelist_cfg ln_clobber .true.1087 909 set_namelist namelist_cfg ln_read_cfg .true. 1088 set_namelist namelist_cfg ln_linssh .false.1089 set_namelist namelist_cfg ln_icebergs .false.1090 910 set_namelist namelist_cfg jpni 8 1091 911 set_namelist namelist_cfg jpnj 4 … … 1126 946 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 1127 947 fi 1128 # TEST FOR ORCA2_LIM3_AGRIF : AGULHAS AGRIF1129 if [ ${config} -eq 8 ] ; then1130 ## Restartability tests1131 export TEST_NAME="LONG"1132 cd ${CONFIG_DIR0}1133 . ./makenemo -m ${CMP_NAM} -n ORCA2AGR_ST -r ORCA2_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC" -j 8 add_key "key_agrif" del_key "key_top"1134 cd ${SETTE_DIR}1135 . ./param.cfg1136 . ./all_functions.sh1137 . ./prepare_exe_dir.sh1138 JOB_FILE=${EXE_DIR}/run_job.sh1139 NPROC=41140 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi1141 cd ${EXE_DIR}1142 set_namelist namelist_cfg cn_exp \"O2AGRIF_LONG\"1143 set_namelist namelist_cfg nn_it000 11144 set_namelist namelist_cfg nn_itend 1501145 set_namelist namelist_cfg nn_stock 751146 set_namelist namelist_cfg ln_clobber .true.1147 set_namelist namelist_cfg ln_read_cfg .true.1148 set_namelist namelist_cfg nn_fwb 01149 set_namelist namelist_cfg jpni 21150 set_namelist namelist_cfg jpnj 21151 set_namelist namelist_cfg jpnij 41152 set_namelist 1_namelist_cfg cn_exp \"O2AGRIF_LONG\"1153 set_namelist 1_namelist_cfg nn_it000 11154 set_namelist 1_namelist_cfg nn_itend 3001155 set_namelist 1_namelist_cfg nn_stock 1501156 set_namelist 1_namelist_cfg nn_fsbc 11157 set_namelist 1_namelist_cfg ln_ctl .false.1158 set_namelist 1_namelist_cfg ln_clobber .true.1159 set_namelist 1_namelist_cfg ln_read_cfg .true.1160 set_namelist 1_namelist_cfg ln_linssh .false.1161 set_namelist 1_namelist_cfg ln_zdfiwm .false.1162 set_namelist 1_namelist_cfg ln_hpg_sco .true.1163 set_namelist 1_namelist_cfg ln_hpg_zps .false.1164 #1165 if [ ${USING_MPMD} == "yes" ] ; then1166 set_xio_using_server iodef.xml true1167 else1168 set_xio_using_server iodef.xml false1169 fi1170 cd ${SETTE_DIR}1171 . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}1172 1173 cd ${SETTE_DIR}1174 export TEST_NAME="SHORT"1175 . ./prepare_exe_dir.sh1176 cd ${EXE_DIR}1177 set_namelist namelist_cfg cn_exp \"O2AGRIF_SHORT\"1178 set_namelist namelist_cfg nn_it000 761179 set_namelist namelist_cfg nn_itend 1501180 set_namelist namelist_cfg nn_stock 751181 set_namelist namelist_cfg ln_rstart .true.1182 set_namelist namelist_cfg nn_rstctl 21183 set_namelist namelist_cfg ln_clobber .true.1184 set_namelist namelist_cfg ln_read_cfg .true.1185 set_namelist namelist_cfg ln_linssh .false.1186 set_namelist namelist_cfg nn_fwb 01187 set_namelist namelist_cfg jpni 21188 set_namelist namelist_cfg jpnj 21189 set_namelist namelist_cfg jpnij 41190 set_namelist 1_namelist_cfg cn_exp \"O2AGRIF_SHORT\"1191 set_namelist 1_namelist_cfg nn_it000 1511192 set_namelist 1_namelist_cfg nn_itend 3001193 set_namelist 1_namelist_cfg nn_stock 1501194 set_namelist 1_namelist_cfg nn_fsbc 11195 set_namelist 1_namelist_cfg ln_rstart .true.1196 set_namelist 1_namelist_cfg nn_rstctl 21197 set_namelist 1_namelist_cfg ln_clobber .true.1198 set_namelist 1_namelist_cfg ln_read_cfg .true.1199 set_namelist 1_namelist_cfg ln_zdfiwm .false.1200 set_namelist 1_namelist_cfg ln_hpg_sco .true.1201 set_namelist 1_namelist_cfg ln_hpg_zps .false.1202 set_namelist namelist_cfg cn_ocerst_in \"O2AGRIF_LONG_00000075_restart\"1203 set_namelist namelist_ice_cfg cn_icerst_in \"O2AGRIF_LONG_00000075_restart_ice\"1204 set_namelist 1_namelist_cfg cn_ocerst_in \"O2AGRIF_LONG_00000150_restart\"1205 set_namelist 1_namelist_ice_cfg cn_icerst_in \"O2AGRIF_LONG_00000150_restart_ice\"1206 1207 for (( i=1; i<=$NPROC; i++)) ; do1208 L_NPROC=$(( $i - 1 ))1209 L_NPROC=`printf "%04d\n" ${L_NPROC}`1210 ln -sf ../LONG/O2AGRIF_LONG_00000075_restart_${L_NPROC}.nc .1211 ln -sf ../LONG/O2AGRIF_LONG_00000075_restart_ice_${L_NPROC}.nc .1212 ln -sf ../LONG/1_O2AGRIF_LONG_00000150_restart_${L_NPROC}.nc .1213 ln -sf ../LONG/1_O2AGRIF_LONG_00000150_restart_ice_${L_NPROC}.nc .1214 done1215 if [ ${USING_MPMD} == "yes" ] ; then1216 set_xio_using_server iodef.xml true1217 else1218 set_xio_using_server iodef.xml false1219 fi1220 cd ${SETTE_DIR}1221 . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}1222 cd ${SETTE_DIR}1223 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}1224 1225 1226 ## Reproducibility tests for ORCA2_LIM3_AGRIF1227 export TEST_NAME="REPRO_4_4"1228 cd ${CONFIG_DIR0}1229 cd ${SETTE_DIR}1230 . ./param.cfg1231 . ./all_functions.sh1232 . ./prepare_exe_dir.sh1233 JOB_FILE=${EXE_DIR}/run_job.sh1234 NPROC=161235 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi1236 cd ${EXE_DIR}1237 set_namelist namelist_cfg cn_exp \"O2AGRIF_44\"1238 set_namelist namelist_cfg nn_it000 11239 set_namelist namelist_cfg nn_itend 751240 set_namelist namelist_cfg ln_ctl .false.1241 set_namelist namelist_cfg ln_clobber .true.1242 set_namelist namelist_cfg ln_read_cfg .true.1243 set_namelist namelist_cfg ln_linssh .false.1244 set_namelist namelist_cfg nn_fwb 01245 set_namelist namelist_cfg jpni 41246 set_namelist namelist_cfg jpnj 41247 set_namelist namelist_cfg jpnij 161248 set_namelist 1_namelist_cfg nn_it000 11249 set_namelist 1_namelist_cfg nn_itend 1501250 set_namelist 1_namelist_cfg nn_fsbc 11251 set_namelist 1_namelist_cfg ln_ctl .false.1252 set_namelist 1_namelist_cfg ln_clobber .true.1253 set_namelist 1_namelist_cfg ln_read_cfg .true.1254 set_namelist 1_namelist_cfg ln_zdfiwm .false.1255 set_namelist 1_namelist_cfg ln_hpg_sco .true.1256 set_namelist 1_namelist_cfg ln_hpg_zps .false.1257 1258 if [ ${USING_MPMD} == "yes" ] ; then1259 set_xio_using_server iodef.xml true1260 else1261 set_xio_using_server iodef.xml false1262 fi1263 cd ${SETTE_DIR}1264 . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}1265 cd ${SETTE_DIR}1266 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}1267 1268 cd ${SETTE_DIR}1269 export TEST_NAME="REPRO_2_8"1270 . ./prepare_exe_dir.sh1271 JOB_FILE=${EXE_DIR}/run_job.sh1272 NPROC=161273 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi1274 cd ${EXE_DIR}1275 set_namelist namelist_cfg cn_exp \"O2AGRIF_28\"1276 set_namelist namelist_cfg nn_it000 11277 set_namelist namelist_cfg nn_itend 751278 set_namelist namelist_cfg ln_ctl .false.1279 set_namelist namelist_cfg ln_clobber .true.1280 set_namelist namelist_cfg ln_read_cfg .true.1281 set_namelist namelist_cfg ln_linssh .false.1282 set_namelist namelist_cfg nn_fwb 01283 set_namelist namelist_cfg jpni 21284 set_namelist namelist_cfg jpnj 81285 set_namelist namelist_cfg jpnij 161286 set_namelist 1_namelist_cfg nn_it000 11287 set_namelist 1_namelist_cfg nn_itend 1501288 set_namelist 1_namelist_cfg nn_fsbc 11289 set_namelist 1_namelist_cfg ln_ctl .false.1290 set_namelist 1_namelist_cfg nn_fsbc 11291 set_namelist 1_namelist_cfg ln_clobber .true.1292 set_namelist 1_namelist_cfg ln_read_cfg .true.1293 set_namelist 1_namelist_cfg ln_zdfiwm .false.1294 set_namelist 1_namelist_cfg ln_hpg_sco .true.1295 set_namelist 1_namelist_cfg ln_hpg_zps .false.1296 1297 if [ ${USING_MPMD} == "yes" ] ; then1298 set_xio_using_server iodef.xml true1299 else1300 set_xio_using_server iodef.xml false1301 fi1302 cd ${SETTE_DIR}1303 . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}1304 cd ${SETTE_DIR}1305 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}1306 fi1307 1308 # test code corruption with AGRIF1309 if [ ${config} -eq 9 ] ; then1310 1311 # Compile with AGRIF but run with no zoom1312 export TEST_NAME="AGRIFNOZ"1313 cd ${CONFIG_DIR0}1314 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_NOZOOM_ST -r ORCA2_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC" -j 8 add_key "key_agrif" del_key "key_top"1315 cd ${SETTE_DIR}1316 . ./param.cfg1317 . ./all_functions.sh1318 . ./prepare_exe_dir.sh1319 JOB_FILE=${EXE_DIR}/run_job.sh1320 NPROC=41321 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi1322 cd ${EXE_DIR}1323 set_namelist namelist_cfg cn_exp \"AGRIFNOZ_SHORT\"1324 set_namelist namelist_cfg nn_it000 11325 set_namelist namelist_cfg nn_itend 751326 set_namelist namelist_cfg ln_ctl .false.1327 set_namelist namelist_cfg ln_clobber .true.1328 set_namelist namelist_cfg ln_read_cfg .true.1329 set_namelist namelist_cfg ln_linssh .false.1330 set_namelist namelist_cfg ln_hpg_sco .true.1331 set_namelist namelist_cfg ln_hpg_zps .false.1332 set_namelist namelist_cfg nn_fwb 01333 set_namelist namelist_cfg jpni 21334 set_namelist namelist_cfg jpnj 21335 set_namelist namelist_cfg jpnij 41336 set_namelist namelist_cfg ln_icebergs .false.1337 #1338 # Set the number of fine grids to zero:1339 sed -i "1s/.*/0/" ${EXE_DIR}/AGRIF_FixedGrids.in1340 1341 if [ ${USING_MPMD} == "yes" ] ; then1342 set_xio_using_server iodef.xml true1343 else1344 set_xio_using_server iodef.xml false1345 fi1346 cd ${SETTE_DIR}1347 . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}1348 cd ${SETTE_DIR}1349 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}1350 1351 fi1352 1353 if [ ${config} -eq 10 ] ; then1354 # Compile with same option as 9 = ORCA2AGUL_NOZOOM, except ne key_agrif to check AGRIF does not hurt...1355 export TEST_NAME="AGRIFNO"1356 cd ${CONFIG_DIR0}1357 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_NOAGR_ST -r ORCA2_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC" -j 8 del_key "key_top"1358 cd ${SETTE_DIR}1359 . ./param.cfg1360 . ./all_functions.sh1361 . ./prepare_exe_dir.sh1362 JOB_FILE=${EXE_DIR}/run_job.sh1363 NPROC=41364 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi1365 cd ${EXE_DIR}1366 set_namelist namelist_cfg cn_exp \"AGRIFNO_SHORT\"1367 set_namelist namelist_cfg nn_it000 11368 set_namelist namelist_cfg nn_itend 751369 set_namelist namelist_cfg ln_ctl .false.1370 set_namelist namelist_cfg ln_clobber .true.1371 set_namelist namelist_cfg ln_read_cfg .true.1372 set_namelist namelist_cfg ln_linssh .false.1373 set_namelist namelist_cfg ln_hpg_sco .true.1374 set_namelist namelist_cfg ln_hpg_zps .false.1375 set_namelist namelist_cfg nn_fwb 01376 set_namelist namelist_cfg jpni 21377 set_namelist namelist_cfg jpnj 21378 set_namelist namelist_cfg jpnij 41379 set_namelist namelist_cfg ln_icebergs .false.1380 #1381 if [ ${USING_MPMD} == "yes" ] ; then1382 set_xio_using_server iodef.xml true1383 else1384 set_xio_using_server iodef.xml false1385 fi1386 cd ${SETTE_DIR}1387 . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}1388 cd ${SETTE_DIR}1389 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}1390 1391 fi1392 948 1393 949 # ------------ 1394 950 # AGRIF NORDIC 1395 951 # ----------- 1396 if [ ${config} -eq 11] ; then1397 ## Restartability tests AGRIF952 if [ ${config} -eq 7 ] ; then 953 ## Restartability tests 1398 954 export TEST_NAME="LONG" 1399 955 cd ${CONFIG_DIR0} … … 1477 1033 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 1478 1034 1479 ## Reproducibility tests AGRIF1035 ## Reproducibility tests 1480 1036 export TEST_NAME="REPRO_4_8" 1481 1037 cd ${CONFIG_DIR0} … … 1580 1136 1581 1137 ## test code corruption with AGRIF (phase 2) ==> Compile without key_agrif (to be compared with AGRIF_ST/ORCA2) 1582 if [ ${config} -eq 12] ; then1138 if [ ${config} -eq 8 ] ; then 1583 1139 export TEST_NAME="ORCA2" 1584 1140 cd ${CONFIG_DIR0} -
branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_rpt.sh
r9223 r9518 327 327 dorv2=`echo $dorv2 | sed -e 's:.*/::'` 328 328 329 rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ | tail -2l | head -1 ` 329 # rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ | tail -2l | head -1 ` 330 rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ | tail -1l` 330 331 rep2=`ls -1rt $vdir/$dir2/$mach/$dorv2/ | tail -1l` 331 332 f1s=$vdir/$dir1/$mach/$dorv1/$rep1/run.stat … … 346 347 fi 347 348 else 348 printf "%-20s %s %s %s %s\n" $rep1 $rep2 " for AGRIF, run.stattest FAILED : " $dorv1 $dorv2349 printf "%-20s %s %s %s %s\n" $rep1 $rep2 " AGRIF: run.stat changed - test FAILED : " $dorv1 $dorv2 349 350 # 350 351 # Offer view of differences on the second pass … … 401 402 do 402 403 # 403 if [ $pass == 1 ]; then echo "---------------2nd pass------------------";fi 404 if [ $pass == 0 ]; then echo "!!---------------1st pass------------------!!";fi 405 if [ $pass == 1 ]; then echo "!!---------------2nd pass------------------!!";fi 404 406 # 405 407 406 408 # Rebuild and restartability test for SAS 407 # 408 for restart_file in WSAS_ST409 do410 restfile $NEMO_VALID $restart_file $pass411 done409 # clem: not needed anymore 410 # for restart_file in WSAS_ST 411 # do 412 # restfile $NEMO_VALID $restart_file $pass 413 # done 412 414 # 413 415 # Restartability test 414 # 415 for restart_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST W ISOMIP_ST WORCA2AGR_ST416 echo " !----restart----! " 417 for restart_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WSAS_ST WAGRIF_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WWAD_ST WSAS_BIPER_ST 416 418 do 417 419 resttest $NEMO_VALID $restart_test $pass … … 419 421 # 420 422 # Reproducibility tests 421 # 422 for repro_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST W ISOMIP_ST WORCA2_LIM3_OBS_ST WORCA2AGR_ST423 echo " !----repro----! " 424 for repro_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WSAS_ST WORCA2_LIM3_OBS_ST WAGRIF_ST WISOMIP_ST 423 425 do 424 426 reprotest $NEMO_VALID $repro_test $pass … … 426 428 done 427 429 428 429 430 # AGRIF special check 431 dir1=WORCA2AGUL_NOZOOM_ST 432 dir2=WORCA2AGUL_NOAGR_ST 430 # AGRIF special check to ensure results are unchanged with and without key_agrif 431 echo " !----agrif check----! " 432 dir1=WAGRIF_ST_NOAGRIF 433 dir2=WAGRIF_ST 433 434 identictest $NEMO_VALID $dir1 $dir2 $pass 434 435 435 436 436 done -
branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_test-cases.sh
r9509 r9518 144 144 # WAD : 4 145 145 # SAS_BIPER : 5 146 147 148 for config in 5 146 # ISOMIP : 6 147 148 149 for config in 1 2 3 4 5 6 149 150 do 150 151 151 #######152 #### ALL tests tested with only 1 proc ==> no different domain decomposition!153 #######154 152 # TESTS FOR OVERFLOW CONFIGURATION 155 153 if [ ${config} -eq 1 ] ; then … … 157 155 export TEST_NAME="LONG" 158 156 cd ${CONFIG_DIR0} 159 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n OVERFLOW_ TESTs-r OVERFLOW -j 8 del_key ${DEL_KEYS}157 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n OVERFLOW_ST -r OVERFLOW -j 8 del_key ${DEL_KEYS} 160 158 cd ${SETTE_DIR} 161 159 . ./param.cfg … … 247 245 export TEST_NAME="LONG" 248 246 cd ${CONFIG_DIR0} 249 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n LOCK_EXCHANGE_ TESTs-r OVERFLOW -j 8 del_key ${DEL_KEYS}247 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n LOCK_EXCHANGE_ST -r OVERFLOW -j 8 del_key ${DEL_KEYS} 250 248 cd ${SETTE_DIR} 251 249 . ./param.cfg … … 336 334 export TEST_NAME="LONG" 337 335 cd ${CONFIG_DIR0} 338 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n VORTEX_ TESTs-r VORTEX -j 8 del_key ${DEL_KEYS}336 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n VORTEX_ST -r VORTEX -j 8 del_key ${DEL_KEYS} 339 337 cd ${SETTE_DIR} 340 338 . ./param.cfg … … 552 550 fi 553 551 552 # ------ 553 # ISOMIP 554 # ------ 555 if [ ${config} -eq 6 ] ; then 556 ## Restartability tests 557 export TEST_NAME="LONG" 558 cd ${CONFIG_DIR0} 559 . ./makenemo -m ${CMP_NAM} -n ISOMIP_ST -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 560 cd ${SETTE_DIR} 561 . ./param.cfg 562 . ./all_functions.sh 563 . ./prepare_exe_dir.sh 564 JOB_FILE=${EXE_DIR}/run_job.sh 565 NPROC=15 566 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 567 cd ${EXE_DIR} 568 set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" 569 set_namelist namelist_cfg nn_it000 1 570 set_namelist namelist_cfg nn_itend 96 571 set_namelist namelist_cfg nn_stock 48 572 set_namelist namelist_cfg jpni 5 573 set_namelist namelist_cfg jpnj 3 574 set_namelist namelist_cfg jpnij 15 575 if [ ${USING_MPMD} == "yes" ] ; then 576 set_xio_using_server iodef.xml true 577 else 578 set_xio_using_server iodef.xml false 579 fi 580 cd ${SETTE_DIR} 581 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 582 583 cd ${SETTE_DIR} 584 export TEST_NAME="SHORT" 585 . ./prepare_exe_dir.sh 586 cd ${EXE_DIR} 587 set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" 588 set_namelist namelist_cfg nn_it000 49 589 set_namelist namelist_cfg nn_itend 96 590 set_namelist namelist_cfg nn_stock 48 591 set_namelist namelist_cfg ln_rstart .true. 592 set_namelist namelist_cfg nn_rstctl 2 593 set_namelist namelist_cfg jpni 5 594 set_namelist namelist_cfg jpnj 3 595 set_namelist namelist_cfg jpnij 15 596 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 597 if [ ${USING_MPMD} == "yes" ] ; then 598 set_xio_using_server iodef.xml true 599 else 600 set_xio_using_server iodef.xml false 601 fi 602 for (( i=1; i<=$NPROC; i++)) ; do 603 L_NPROC=$(( $i - 1 )) 604 L_NPROC=`printf "%04d\n" ${L_NPROC}` 605 ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 606 done 607 if [ ${USING_MPMD} == "yes" ] ; then 608 set_xio_using_server iodef.xml true 609 else 610 set_xio_using_server iodef.xml false 611 fi 612 cd ${SETTE_DIR} 613 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 614 cd ${SETTE_DIR} 615 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 616 617 ## Reproducibility tests 618 export TEST_NAME="REPRO_7_3" 619 cd ${CONFIG_DIR0} 620 cd ${SETTE_DIR} 621 . ./param.cfg 622 . ./all_functions.sh 623 . ./prepare_exe_dir.sh 624 JOB_FILE=${EXE_DIR}/run_job.sh 625 NPROC=21 626 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 627 cd ${EXE_DIR} 628 set_namelist namelist_cfg cn_exp \"ISOMIP_73\" 629 set_namelist namelist_cfg nn_it000 1 630 set_namelist namelist_cfg nn_itend 48 631 set_namelist namelist_cfg jpni 7 632 set_namelist namelist_cfg jpnj 3 633 set_namelist namelist_cfg jpnij 21 634 if [ ${USING_MPMD} == "yes" ] ; then 635 set_xio_using_server iodef.xml true 636 else 637 set_xio_using_server iodef.xml false 638 fi 639 cd ${SETTE_DIR} 640 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 641 cd ${SETTE_DIR} 642 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 643 644 cd ${SETTE_DIR} 645 export TEST_NAME="REPRO_8_4" 646 . ./prepare_exe_dir.sh 647 JOB_FILE=${EXE_DIR}/run_job.sh 648 NPROC=32 649 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 650 cd ${EXE_DIR} 651 set_namelist namelist_cfg cn_exp \"ISOMIP_84\" 652 set_namelist namelist_cfg nn_it000 1 653 set_namelist namelist_cfg nn_itend 48 654 set_namelist namelist_cfg jpni 8 655 set_namelist namelist_cfg jpnj 4 656 set_namelist namelist_cfg jpnij 32 657 if [ ${USING_MPMD} == "yes" ] ; then 658 set_xio_using_server iodef.xml true 659 else 660 set_xio_using_server iodef.xml false 661 fi 662 cd ${SETTE_DIR} 663 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 664 cd ${SETTE_DIR} 665 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 666 667 fi 668 554 669 #---- 555 670 done
Note: See TracChangeset
for help on using the changeset viewer.