Changeset 9568 for branches/UKMO/dev_merge_2017_restart_datestamp_GO6_mixing/NEMOGCM/SETTE/sette_test-cases.sh
- Timestamp:
- 2018-05-10T16:27:38+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_merge_2017_restart_datestamp_GO6_mixing/NEMOGCM/SETTE/sette_test-cases.sh
r9458 r9568 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 # TESTS FOR OVERFLOW CONFIGURATION 152 # --------- 153 # OVERFLOW 154 # --------- 155 155 if [ ${config} -eq 1 ] ; then 156 156 ## Restartability tests for OVERFLOW 157 157 export TEST_NAME="LONG" 158 158 cd ${CONFIG_DIR0} 159 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n OVERFLOW_ TESTs-r OVERFLOW -j 8 del_key ${DEL_KEYS}159 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n OVERFLOW_ST -r OVERFLOW -j 8 del_key ${DEL_KEYS} 160 160 cd ${SETTE_DIR} 161 161 . ./param.cfg … … 170 170 set_namelist namelist_cfg nn_itend 120 171 171 set_namelist namelist_cfg nn_stock 60 172 set_namelist namelist_cfg ln_clobber .true.173 172 if [ ${USING_MPMD} == "yes" ] ; then 174 173 set_xio_using_server iodef.xml true … … 189 188 set_namelist namelist_cfg ln_rstart .true. 190 189 set_namelist namelist_cfg nn_rstctl 2 191 set_namelist namelist_cfg ln_clobber .true.192 set_namelist namelist_top_cfg ln_rsttr .true.193 set_namelist namelist_top_cfg nn_rsttr 2194 190 set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_00000060_restart\" 195 191 if [ ${USING_MPMD} == "yes" ] ; then … … 228 224 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 229 225 cd ${EXE_DIR} 230 set_namelist namelist_cfg ln_clobber .true.231 226 if [ ${USING_MPMD} == "yes" ] ; then 232 227 set_xio_using_server iodef.xml true … … 242 237 fi 243 238 244 # TESTS FOR LOCK_EXCHANGE CONFIGURATION 239 # -------------- 240 # LOCK_EXCHANGE 241 # -------------- 245 242 if [ ${config} -eq 2 ] ; then 246 243 ## Restartability tests for LOCK_EXCHANGE 247 244 export TEST_NAME="LONG" 248 245 cd ${CONFIG_DIR0} 249 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n LOCK_EXCHANGE_ TESTs-r OVERFLOW -j 8 del_key ${DEL_KEYS}246 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n LOCK_EXCHANGE_ST -r OVERFLOW -j 8 del_key ${DEL_KEYS} 250 247 cd ${SETTE_DIR} 251 248 . ./param.cfg … … 260 257 set_namelist namelist_cfg nn_stock 60 261 258 set_namelist namelist_cfg nn_itend 120 262 set_namelist namelist_cfg ln_clobber .true.263 259 if [ ${USING_MPMD} == "yes" ] ; then 264 260 set_xio_using_server iodef.xml true … … 279 275 set_namelist namelist_cfg ln_rstart .true. 280 276 set_namelist namelist_cfg nn_rstctl 2 281 set_namelist namelist_cfg ln_clobber .true.282 set_namelist namelist_top_cfg ln_rsttr .true.283 set_namelist namelist_top_cfg nn_rsttr 2284 277 set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_00000060_restart\" 285 278 if [ ${USING_MPMD} == "yes" ] ; then … … 317 310 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 318 311 cd ${EXE_DIR} 319 set_namelist namelist_cfg ln_clobber .true.320 312 if [ ${USING_MPMD} == "yes" ] ; then 321 313 set_xio_using_server iodef.xml true … … 331 323 fi 332 324 333 # TESTS FOR VORTEX CONFIGURATION 325 # --------- 326 # VORTEX 327 # --------- 334 328 if [ ${config} -eq 3 ] ; then 335 329 ## Restartability tests for VORTEX 336 330 export TEST_NAME="LONG" 337 331 cd ${CONFIG_DIR0} 338 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n VORTEX_ TESTs-r VORTEX -j 8 del_key ${DEL_KEYS}332 . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n VORTEX_ST -r VORTEX -j 8 del_key ${DEL_KEYS} 339 333 cd ${SETTE_DIR} 340 334 . ./param.cfg … … 349 343 set_namelist namelist_cfg nn_stock 60 350 344 set_namelist namelist_cfg nn_itend 120 351 set_namelist namelist_cfg ln_clobber .true.352 345 if [ ${USING_MPMD} == "yes" ] ; then 353 346 set_xio_using_server iodef.xml true … … 368 361 set_namelist namelist_cfg ln_rstart .true. 369 362 set_namelist namelist_cfg nn_rstctl 2 370 set_namelist namelist_cfg ln_clobber .true.371 set_namelist namelist_top_cfg ln_rsttr .true.372 set_namelist namelist_top_cfg nn_rsttr 2373 363 set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000060_restart\" 374 364 if [ ${USING_MPMD} == "yes" ] ; then … … 407 397 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 408 398 cd ${EXE_DIR} 409 set_namelist namelist_cfg ln_clobber .true.410 399 if [ ${USING_MPMD} == "yes" ] ; then 411 400 set_xio_using_server iodef.xml true … … 422 411 423 412 424 #--clem: 425 # TESTS FOR SAS_BIPER CONFIGURATION 413 # --------- 414 # SAS_BIPER 415 # --------- 426 416 if [ ${config} -eq 5 ] ; then 427 417 ## Restartability tests for SAS_BIPER 428 418 export TEST_NAME="LONG" 429 419 cd ${CONFIG_DIR0} … … 441 431 set_namelist namelist_cfg nn_itend 200 442 432 set_namelist namelist_cfg nn_stock 100 443 set_namelist namelist_cfg ln_clobber .true. 444 # set_namelist namelist_cfg nn_fsbc 1 445 set_namelist namelist_cfg jpni 1 446 set_namelist namelist_cfg jpnj 1 447 set_namelist namelist_cfg jpnij 1 448 449 set_namelist namelist_ice_cfg ln_icethd .true. 433 434 #set_namelist namelist_ice_cfg ln_icethd .true. 450 435 set_namelist namelist_ice_cfg ln_icedyn .true. 451 436 set_namelist namelist_ice_cfg ln_dynFULL .true. 452 437 set_namelist namelist_ice_cfg ln_dynRHGADV .false. 453 438 set_namelist namelist_ice_cfg ln_dynADV .false. 454 set_namelist namelist_ice_cfg ln_adv_Pra .false.455 set_namelist namelist_ice_cfg ln_adv_UMx .true.456 set_namelist namelist_ice_cfg ln_icediachk .true.457 439 458 440 set_namelist 1_namelist_cfg cn_exp \"SAS_BIPER_LONG\" … … 460 442 set_namelist 1_namelist_cfg nn_itend 600 461 443 set_namelist 1_namelist_cfg nn_stock 300 462 set_namelist 1_namelist_cfg ln_clobber .true. 463 set_namelist 1_namelist_cfg jpni 1 464 set_namelist 1_namelist_cfg jpnj 1 465 set_namelist 1_namelist_cfg jpnij 1 466 467 set_namelist 1_namelist_ice_cfg ln_icethd .true. 444 445 #set_namelist 1_namelist_ice_cfg ln_icethd .true. 468 446 set_namelist 1_namelist_ice_cfg ln_icedyn .true. 469 447 set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 470 448 set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 471 449 set_namelist 1_namelist_ice_cfg ln_dynADV .false. 472 set_namelist 1_namelist_ice_cfg ln_adv_Pra .false.473 set_namelist 1_namelist_ice_cfg ln_adv_UMx .true.474 # set_namelist 1_namelist_ice_cfg ln_icediachk .true.475 450 if [ ${USING_MPMD} == "yes" ] ; then 476 451 set_xio_using_server iodef.xml true … … 491 466 set_namelist namelist_cfg ln_rstart .true. 492 467 set_namelist namelist_cfg nn_rstctl 2 493 set_namelist namelist_cfg ln_clobber .true. 494 set_namelist namelist_cfg jpni 1 495 set_namelist namelist_cfg jpnj 1 496 set_namelist namelist_cfg jpnij 1 497 498 set_namelist namelist_ice_cfg ln_icethd .true. 468 469 #set_namelist namelist_ice_cfg ln_icethd .true. 499 470 set_namelist namelist_ice_cfg ln_icedyn .true. 500 471 set_namelist namelist_ice_cfg ln_dynFULL .true. 501 472 set_namelist namelist_ice_cfg ln_dynRHGADV .false. 502 473 set_namelist namelist_ice_cfg ln_dynADV .false. 503 set_namelist namelist_ice_cfg ln_adv_Pra .false.504 set_namelist namelist_ice_cfg ln_adv_UMx .true.505 set_namelist namelist_ice_cfg ln_icediachk .true.506 474 set_namelist namelist_cfg cn_ocerst_in \"SAS_BIPER_LONG_00000100_restart\" 507 475 set_namelist namelist_ice_cfg cn_icerst_in \"SAS_BIPER_LONG_00000100_restart_ice\" … … 513 481 set_namelist 1_namelist_cfg ln_rstart .true. 514 482 set_namelist 1_namelist_cfg nn_rstctl 2 515 set_namelist 1_namelist_cfg ln_clobber .true. 516 set_namelist 1_namelist_cfg jpni 1 517 set_namelist 1_namelist_cfg jpnj 1 518 set_namelist 1_namelist_cfg jpnij 1 519 520 set_namelist 1_namelist_ice_cfg ln_icethd .true. 483 484 #set_namelist 1_namelist_ice_cfg ln_icethd .true. 521 485 set_namelist 1_namelist_ice_cfg ln_icedyn .true. 522 486 set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 523 487 set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 524 488 set_namelist 1_namelist_ice_cfg ln_dynADV .false. 525 set_namelist 1_namelist_ice_cfg ln_adv_Pra .false.526 set_namelist 1_namelist_ice_cfg ln_adv_UMx .true.527 # set_namelist 1_namelist_ice_cfg ln_icediachk .true.528 489 set_namelist 1_namelist_cfg cn_ocerst_in \"SAS_BIPER_LONG_00000300_restart\" 529 490 set_namelist 1_namelist_ice_cfg cn_icerst_in \"SAS_BIPER_LONG_00000300_restart_ice\" … … 582 543 fi 583 544 545 # ------ 546 # ISOMIP 547 # ------ 548 if [ ${config} -eq 6 ] ; then 549 ## Restartability tests 550 export TEST_NAME="LONG" 551 cd ${CONFIG_DIR0} 552 . ./makenemo -m ${CMP_NAM} -n ISOMIP_ST -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 553 cd ${SETTE_DIR} 554 . ./param.cfg 555 . ./all_functions.sh 556 . ./prepare_exe_dir.sh 557 JOB_FILE=${EXE_DIR}/run_job.sh 558 NPROC=15 559 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 560 cd ${EXE_DIR} 561 set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" 562 set_namelist namelist_cfg nn_it000 1 563 set_namelist namelist_cfg nn_itend 96 564 set_namelist namelist_cfg nn_stock 48 565 set_namelist namelist_cfg jpni 5 566 set_namelist namelist_cfg jpnj 3 567 set_namelist namelist_cfg jpnij 15 568 if [ ${USING_MPMD} == "yes" ] ; then 569 set_xio_using_server iodef.xml true 570 else 571 set_xio_using_server iodef.xml false 572 fi 573 cd ${SETTE_DIR} 574 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 575 576 cd ${SETTE_DIR} 577 export TEST_NAME="SHORT" 578 . ./prepare_exe_dir.sh 579 cd ${EXE_DIR} 580 set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" 581 set_namelist namelist_cfg nn_it000 49 582 set_namelist namelist_cfg nn_itend 96 583 set_namelist namelist_cfg nn_stock 48 584 set_namelist namelist_cfg ln_rstart .true. 585 set_namelist namelist_cfg nn_rstctl 2 586 set_namelist namelist_cfg jpni 5 587 set_namelist namelist_cfg jpnj 3 588 set_namelist namelist_cfg jpnij 15 589 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 590 if [ ${USING_MPMD} == "yes" ] ; then 591 set_xio_using_server iodef.xml true 592 else 593 set_xio_using_server iodef.xml false 594 fi 595 for (( i=1; i<=$NPROC; i++)) ; do 596 L_NPROC=$(( $i - 1 )) 597 L_NPROC=`printf "%04d\n" ${L_NPROC}` 598 ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 599 done 600 if [ ${USING_MPMD} == "yes" ] ; then 601 set_xio_using_server iodef.xml true 602 else 603 set_xio_using_server iodef.xml false 604 fi 605 cd ${SETTE_DIR} 606 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 607 cd ${SETTE_DIR} 608 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 609 610 ## Reproducibility tests 611 export TEST_NAME="REPRO_7_3" 612 cd ${CONFIG_DIR0} 613 cd ${SETTE_DIR} 614 . ./param.cfg 615 . ./all_functions.sh 616 . ./prepare_exe_dir.sh 617 JOB_FILE=${EXE_DIR}/run_job.sh 618 NPROC=21 619 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 620 cd ${EXE_DIR} 621 set_namelist namelist_cfg cn_exp \"ISOMIP_73\" 622 set_namelist namelist_cfg nn_it000 1 623 set_namelist namelist_cfg nn_itend 48 624 set_namelist namelist_cfg jpni 7 625 set_namelist namelist_cfg jpnj 3 626 set_namelist namelist_cfg jpnij 21 627 if [ ${USING_MPMD} == "yes" ] ; then 628 set_xio_using_server iodef.xml true 629 else 630 set_xio_using_server iodef.xml false 631 fi 632 cd ${SETTE_DIR} 633 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 634 cd ${SETTE_DIR} 635 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 636 637 cd ${SETTE_DIR} 638 export TEST_NAME="REPRO_8_4" 639 . ./prepare_exe_dir.sh 640 JOB_FILE=${EXE_DIR}/run_job.sh 641 NPROC=32 642 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 643 cd ${EXE_DIR} 644 set_namelist namelist_cfg cn_exp \"ISOMIP_84\" 645 set_namelist namelist_cfg nn_it000 1 646 set_namelist namelist_cfg nn_itend 48 647 set_namelist namelist_cfg jpni 8 648 set_namelist namelist_cfg jpnj 4 649 set_namelist namelist_cfg jpnij 32 650 if [ ${USING_MPMD} == "yes" ] ; then 651 set_xio_using_server iodef.xml true 652 else 653 set_xio_using_server iodef.xml false 654 fi 655 cd ${SETTE_DIR} 656 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 657 cd ${SETTE_DIR} 658 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 659 660 fi 661 584 662 #---- 585 663 done
Note: See TracChangeset
for help on using the changeset viewer.