Changeset 13755
- Timestamp:
- 2020-11-09T17:14:02+01:00 (4 years ago)
- Location:
- utils/CI/r12931_sette_ticket2462
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/r12931_sette_ticket2462/sette_reference-configurations.sh
r13754 r13755 238 238 set_xio_using_server iodef.xml false 239 239 fi 240 for (( i=1; i<=$NPROC; i++)) ; do 241 L_NPROC=$(( $i - 1 )) 242 L_NPROC=`printf "%04d\n" ${L_NPROC}` 243 ln -sf ../LONG/GYREPIS_LONG_${ITRST}_restart_${L_NPROC}.nc . 244 ln -sf ../LONG/GYREPIS_LONG_${ITRST}_restart_trc_${L_NPROC}.nc . 245 done 240 241 if [ ${USING_XIOS_RRW} == "yes" ] 242 then 243 ln -sf ../LONG/GYREPIS_LONG_${ITRST}_restart.nc . 244 ln -sf ../LONG/GYREPIS_LONG_${ITRST}_restart_trc.nc . 245 else 246 for (( i=1; i<=$NPROC; i++)) ; do 247 L_NPROC=$(( $i - 1 )) 248 L_NPROC=`printf "%04d\n" ${L_NPROC}` 249 ln -sf ../LONG/GYREPIS_LONG_${ITRST}_restart_${L_NPROC}.nc . 250 ln -sf ../LONG/GYREPIS_LONG_${ITRST}_restart_trc_${L_NPROC}.nc . 251 done 252 fi 246 253 cd ${SETTE_DIR} 247 254 . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 270 277 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 271 278 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 272 if [ ${USING_XIOS_RRW} == "yes" ] ; then273 set_namelist namelist_cfg nn_wxios 1274 set_namelist namelist_cfg ln_xios_read .true.279 if [ ${USING_XIOS_RRW} == "yes" ] 280 then 281 set_namelist namelist_cfg nn_wxios 1 275 282 fi 276 283 if [ ${USING_MPMD} == "yes" ] ; then … … 301 308 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 302 309 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 303 if [ ${USING_XIOS_RRW} == "yes" ] ; then304 set_namelist namelist_cfg nn_wxios 1305 set_namelist namelist_cfg ln_xios_read .true.306 fi307 310 if [ ${USING_MPMD} == "yes" ] ; then 308 311 set_xio_using_server iodef.xml true … … 348 351 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 349 352 cd ${EXE_DIR} 353 if [ ${USING_XIOS_RRW} == "yes" ] 354 then 355 set_namelist namelist_cfg nn_wxios 1 356 fi 350 357 set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" 351 358 set_namelist namelist_cfg nn_it000 1 … … 363 370 set_namelist namelist_cfg ln_stcor .true. 364 371 set_namelist namelist_cfg ln_tauwoc .true. 365 if [ ${USING_XIOS_RRW} == "yes" ] ; then366 set_namelist namelist_cfg nn_wxios 1367 fi368 372 # 369 373 if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi … … 437 441 # put ln_pisdmp to false : no restoring to global mean value 438 442 set_namelist namelist_pisces_cfg ln_pisdmp .false. 439 for (( i=1; i<=$NPROC; i++)) ; do 440 L_NPROC=$(( $i - 1 )) 441 L_NPROC=`printf "%04d\n" ${L_NPROC}` 442 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_${L_NPROC}.nc . 443 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_trc_${L_NPROC}.nc . 444 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 445 if [ ${USING_ICEBERGS} == "yes" ] 446 then 447 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_icb_${L_NPROC}.nc O2L3P_LONG_${ITRST}_restart_icb_${L_NPROC}.nc 448 fi 449 done 450 if [ ${USING_XIOS_RRW} == "yes" ] ; then 451 ln -sf ../LONG/O2L3P_LONG_00000496_restart.nc . 452 ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice.nc . 453 ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc.nc . 454 else 455 for (( i=1; i<=$NPROC; i++)) ; do 456 L_NPROC=$(( $i - 1 )) 457 L_NPROC=`printf "%04d\n" ${L_NPROC}` 458 ln -sf ../LONG/O2L3P_LONG_00000496_restart_${L_NPROC}.nc . 459 ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice_${L_NPROC}.nc . 460 ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc_${L_NPROC}.nc . 461 done 443 if [ ${USING_XIOS_RRW} == "yes" ] 444 then 445 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart.nc . 446 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_trc.nc . 447 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_ice.nc . 448 if [ ${USING_ICEBERGS} == "yes" ] 449 then 450 for (( i=1; i<=$NPROC; i++)) ; do 451 L_NPROC=$(( $i - 1 )) 452 L_NPROC=`printf "%04d\n" ${L_NPROC}` 453 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_icb_${L_NPROC}.nc O2L3P_LONG_${ITRST}_restart_icb_${L_NPROC}.nc 454 done 455 fi 456 else 457 for (( i=1; i<=$NPROC; i++)) ; do 458 L_NPROC=$(( $i - 1 )) 459 L_NPROC=`printf "%04d\n" ${L_NPROC}` 460 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_${L_NPROC}.nc . 461 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_trc_${L_NPROC}.nc . 462 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 463 if [ ${USING_ICEBERGS} == "yes" ] 464 then 465 ln -sf ../LONG/O2L3P_LONG_${ITRST}_restart_icb_${L_NPROC}.nc O2L3P_LONG_${ITRST}_restart_icb_${L_NPROC}.nc 466 fi 467 done 462 468 fi 463 469 if [ ${USING_MPMD} == "yes" ] ; then … … 497 503 set_namelist namelist_cfg ln_stcor .true. 498 504 set_namelist namelist_cfg ln_tauwoc .true. 499 if [ ${USING_XIOS_RRW} == "yes" ] ; then500 set_namelist namelist_cfg nn_wxios 1501 fi502 505 503 506 if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi … … 546 549 set_namelist namelist_cfg ln_stcor .true. 547 550 set_namelist namelist_cfg ln_tauwoc .true. 548 if [ ${USING_XIOS_RRW} == "yes" ] ; then549 set_namelist namelist_cfg nn_wxios 1550 fi551 551 552 552 if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi 553 553 # for debugging purposes set_namelist namelist_cfg rn_test_box -180.0, 180.0, -90.0, -55.0 554 554 555 set_namelist namelist_top_cfg ln_trcdta .false. 556 set_namelist namelist_top_cfg ln_trcbc .false. 557 # put ln_ironsed, ln_hydrofe to false 558 # if not you need input files, and for tests is not necessary 559 set_namelist namelist_pisces_cfg ln_varpar .false. 560 set_namelist namelist_pisces_cfg ln_ironsed .false. 561 set_namelist namelist_pisces_cfg ln_ironice .false. 562 set_namelist namelist_pisces_cfg ln_hydrofe .false. 563 if [ ${USING_XIOS_RRW} == "yes" ] 564 then 565 set_namelist namelist_cfg nn_wxios 1 566 fi 567 # put ln_pisdmp to false : no restoring to global mean value 568 set_namelist namelist_pisces_cfg ln_pisdmp .false. 569 if [ ${USING_MPMD} == "yes" ] ; then 570 set_xio_using_server iodef.xml true 571 else 572 set_xio_using_server iodef.xml false 573 fi 574 cd ${SETTE_DIR} 575 . ./prepare_job.sh input_ORCA2_ICE_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 576 cd ${SETTE_DIR} 577 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 578 fi 579 580 # ---------------- 581 # ORCA2_OFF_PISCES 582 # ---------------- 583 if [ ${config} == "ORCA2_OFF_PISCES" ] ; then 584 ## Restartability tests for ORCA2_OFF_PISCES 585 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 586 then 587 ITEND=16 # 4 days 588 else 589 ITEND=380 # 95 days 590 fi 591 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 592 export TEST_NAME="LONG" 593 cd ${MAIN_DIR} 594 # 595 # syncronisation if target directory/file exist (not done by makenemo) 596 . ${SETTE_DIR}/all_functions.sh 597 sync_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 598 clean_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 599 # 600 . ./makenemo -m ${CMP_NAM} -n ORCA2_OFF_PISCES_ST -r ORCA2_OFF_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 601 cd ${SETTE_DIR} 602 . ./param.cfg 603 . ./all_functions.sh 604 . ./prepare_exe_dir.sh 605 set_valid_dir 606 clean_valid_dir 607 JOB_FILE=${EXE_DIR}/run_job.sh 608 NPROC=32 609 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 610 cd ${EXE_DIR} 611 set_namelist namelist_cfg cn_exp \"OFFP_LONG\" 612 set_namelist namelist_cfg nn_it000 1 613 set_namelist namelist_cfg nn_itend ${ITEND} 614 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 615 set_namelist namelist_cfg jpni 4 616 set_namelist namelist_cfg jpnj 8 617 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 618 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 619 set_namelist namelist_cfg ln_qsr_rgb .true. 555 620 set_namelist namelist_top_cfg ln_trcdta .false. 556 621 set_namelist namelist_top_cfg ln_trcbc .false. … … 563 628 # put ln_pisdmp to false : no restoring to global mean value 564 629 set_namelist namelist_pisces_cfg ln_pisdmp .false. 565 if [ ${USING_MPMD} == "yes" ] ; then 566 set_xio_using_server iodef.xml true 567 else 568 set_xio_using_server iodef.xml false 569 fi 570 cd ${SETTE_DIR} 571 . ./prepare_job.sh input_ORCA2_ICE_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 572 cd ${SETTE_DIR} 573 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 574 fi 575 576 # ---------------- 577 # ORCA2_OFF_PISCES 578 # ---------------- 579 if [ ${config} == "ORCA2_OFF_PISCES" ] ; then 580 ## Restartability tests for ORCA2_OFF_PISCES 581 if [ $( echo ${CMP_NAM} | grep -ic debug ) -eq 1 ] 582 then 583 ITEND=16 # 4 days 584 else 585 ITEND=380 # 95 days 586 fi 587 ITRST=$( printf "%08d" $(( ${ITEND} / 2 )) ) 588 export TEST_NAME="LONG" 589 cd ${MAIN_DIR} 590 # 591 # syncronisation if target directory/file exist (not done by makenemo) 592 . ${SETTE_DIR}/all_functions.sh 593 sync_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 594 clean_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 595 # 596 . ./makenemo -m ${CMP_NAM} -n ORCA2_OFF_PISCES_ST -r ORCA2_OFF_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 597 cd ${SETTE_DIR} 598 . ./param.cfg 599 . ./all_functions.sh 600 . ./prepare_exe_dir.sh 601 set_valid_dir 602 clean_valid_dir 603 JOB_FILE=${EXE_DIR}/run_job.sh 604 NPROC=32 605 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 606 cd ${EXE_DIR} 607 set_namelist namelist_cfg cn_exp \"OFFP_LONG\" 608 set_namelist namelist_cfg nn_it000 1 630 if [ ${USING_XIOS_RRW} == "yes" ] 631 then 632 set_namelist namelist_cfg nn_wxios 1 633 fi 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_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 641 642 cd ${SETTE_DIR} 643 export TEST_NAME="SHORT" 644 . ./prepare_exe_dir.sh 645 set_valid_dir 646 clean_valid_dir 647 cd ${EXE_DIR} 648 set_namelist namelist_cfg cn_exp \"OFFP_SHORT\" 649 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 609 650 set_namelist namelist_cfg nn_itend ${ITEND} 610 651 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) … … 614 655 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 615 656 set_namelist namelist_cfg ln_qsr_rgb .true. 616 if [ ${USING_XIOS_RRW} == "yes" ] ; then 617 set_namelist namelist_cfg nn_wxios 1 618 fi 657 set_namelist namelist_top_cfg ln_rsttr .true. 658 set_namelist namelist_top_cfg nn_rsttr 2 659 set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_${ITRST}_restart_trc\" 660 if [ ${USING_XIOS_RRW} == "yes" ] 661 then 662 set_namelist namelist_cfg nn_wxios 1 663 set_namelist namelist_cfg ln_xios_read .true. 664 fi 665 if [ ${USING_XIOS_RRW} == "yes" ] 666 then 667 ln -sf ../LONG/OFFP_LONG_${ITRST}_restart_trc.nc . 668 else 669 for (( i=1; i<=$NPROC; i++)) ; do 670 L_NPROC=$(( $i - 1 )) 671 L_NPROC=`printf "%04d\n" ${L_NPROC}` 672 ln -sf ../LONG/OFFP_LONG_${ITRST}_restart_trc_${L_NPROC}.nc . 673 done 674 fi 675 set_namelist namelist_top_cfg ln_trcbc .false. 676 # put ln_ironsed, ln_hydrofe to false 677 # if not you need input files, and for tests is not necessary 678 set_namelist namelist_pisces_cfg ln_varpar .false. 679 set_namelist namelist_pisces_cfg ln_ironsed .false. 680 set_namelist namelist_pisces_cfg ln_ironice .false. 681 set_namelist namelist_pisces_cfg ln_hydrofe .false. 682 # put ln_pisdmp to false : no restoring to global mean value 683 set_namelist namelist_pisces_cfg ln_pisdmp .false. 684 if [ ${USING_MPMD} == "yes" ] ; then 685 set_xio_using_server iodef.xml true 686 else 687 set_xio_using_server iodef.xml false 688 fi 689 cd ${SETTE_DIR} 690 . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 691 cd ${SETTE_DIR} 692 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 693 694 ## Reproducibility tests for ORCA2_OFF_PISCES 695 export TEST_NAME="REPRO_4_8" 696 cd ${MAIN_DIR} 697 cd ${SETTE_DIR} 698 . ./param.cfg 699 . ./all_functions.sh 700 . ./prepare_exe_dir.sh 701 set_valid_dir 702 clean_valid_dir 703 JOB_FILE=${EXE_DIR}/run_job.sh 704 NPROC=32 705 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 706 cd ${EXE_DIR} 707 set_namelist namelist_cfg cn_exp \"OFFP_48\" 708 set_namelist namelist_cfg nn_it000 1 709 set_namelist namelist_cfg nn_itend ${ITEND} 710 set_namelist namelist_cfg jpni 4 711 set_namelist namelist_cfg jpnj 8 712 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 713 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 714 set_namelist namelist_cfg ln_qsr_rgb .true. 619 715 set_namelist namelist_top_cfg ln_trcdta .false. 620 716 set_namelist namelist_top_cfg ln_trcbc .false. … … 627 723 # put ln_pisdmp to false : no restoring to global mean value 628 724 set_namelist namelist_pisces_cfg ln_pisdmp .false. 725 if [ ${USING_XIOS_RRW} == "yes" ] 726 then 727 set_namelist namelist_cfg nn_wxios 1 728 fi 629 729 if [ ${USING_MPMD} == "yes" ] ; then 630 730 set_xio_using_server iodef.xml true … … 634 734 cd ${SETTE_DIR} 635 735 . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 636 637 cd ${SETTE_DIR} 638 export TEST_NAME="SHORT" 639 . ./prepare_exe_dir.sh 640 set_valid_dir 641 clean_valid_dir 642 cd ${EXE_DIR} 643 set_namelist namelist_cfg cn_exp \"OFFP_SHORT\" 644 set_namelist namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) 645 set_namelist namelist_cfg nn_itend ${ITEND} 646 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 647 set_namelist namelist_cfg jpni 4 648 set_namelist namelist_cfg jpnj 8 736 cd ${SETTE_DIR} 737 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 738 739 cd ${SETTE_DIR} 740 export TEST_NAME="REPRO_8_4" 741 . ./prepare_exe_dir.sh 742 set_valid_dir 743 clean_valid_dir 744 JOB_FILE=${EXE_DIR}/run_job.sh 745 NPROC=32 746 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 747 cd ${EXE_DIR} 748 set_namelist namelist_cfg cn_exp \"OFFP_84\" 749 set_namelist namelist_cfg nn_it000 1 750 set_namelist namelist_cfg nn_itend ${ITEND} 751 set_namelist namelist_cfg jpni 8 752 set_namelist namelist_cfg jpnj 4 649 753 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 650 754 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 651 755 set_namelist namelist_cfg ln_qsr_rgb .true. 652 if [ ${USING_XIOS_RRW} == "yes" ] ; then653 set_namelist namelist_cfg nn_wxios 1654 set_namelist namelist_cfg ln_xios_read .true.655 fi656 set_namelist namelist_top_cfg ln_rsttr .true.657 set_namelist namelist_top_cfg nn_rsttr 2658 set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_${ITRST}_restart_trc\"659 for (( i=1; i<=$NPROC; i++)) ; do660 L_NPROC=$(( $i - 1 ))661 L_NPROC=`printf "%04d\n" ${L_NPROC}`662 ln -sf ../LONG/OFFP_LONG_${ITRST}_restart_trc_${L_NPROC}.nc .663 done664 set_namelist namelist_top_cfg ln_trcbc .false.665 # put ln_ironsed, ln_hydrofe to false666 # if not you need input files, and for tests is not necessary667 set_namelist namelist_pisces_cfg ln_varpar .false.668 set_namelist namelist_pisces_cfg ln_ironsed .false.669 set_namelist namelist_pisces_cfg ln_ironice .false.670 set_namelist namelist_pisces_cfg ln_hydrofe .false.671 # put ln_pisdmp to false : no restoring to global mean value672 set_namelist namelist_pisces_cfg ln_pisdmp .false.673 if [ ${USING_MPMD} == "yes" ] ; then674 set_xio_using_server iodef.xml true675 else676 set_xio_using_server iodef.xml false677 fi678 cd ${SETTE_DIR}679 . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID}680 cd ${SETTE_DIR}681 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}682 683 ## Reproducibility tests for ORCA2_OFF_PISCES684 export TEST_NAME="REPRO_4_8"685 cd ${MAIN_DIR}686 cd ${SETTE_DIR}687 . ./param.cfg688 . ./all_functions.sh689 . ./prepare_exe_dir.sh690 set_valid_dir691 clean_valid_dir692 JOB_FILE=${EXE_DIR}/run_job.sh693 NPROC=32694 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi695 cd ${EXE_DIR}696 set_namelist namelist_cfg cn_exp \"OFFP_48\"697 set_namelist namelist_cfg nn_it000 1698 set_namelist namelist_cfg nn_itend ${ITEND}699 set_namelist namelist_cfg jpni 4700 set_namelist namelist_cfg jpnj 8701 set_namelist namelist_cfg sn_cfctl%l_runstat .true.702 set_namelist namelist_cfg sn_cfctl%l_trcstat .true.703 set_namelist namelist_cfg ln_qsr_rgb .true.704 if [ ${USING_XIOS_RRW} == "yes" ] ; then705 set_namelist namelist_cfg nn_wxios 1706 fi707 set_namelist namelist_top_cfg ln_trcdta .false.708 set_namelist namelist_top_cfg ln_trcbc .false.709 # put ln_ironsed, ln_hydrofe to false710 # if not you need input files, and for tests is not necessary711 set_namelist namelist_pisces_cfg ln_varpar .false.712 set_namelist namelist_pisces_cfg ln_ironsed .false.713 set_namelist namelist_pisces_cfg ln_ironice .false.714 set_namelist namelist_pisces_cfg ln_hydrofe .false.715 # put ln_pisdmp to false : no restoring to global mean value716 set_namelist namelist_pisces_cfg ln_pisdmp .false.717 if [ ${USING_MPMD} == "yes" ] ; then718 set_xio_using_server iodef.xml true719 else720 set_xio_using_server iodef.xml false721 fi722 cd ${SETTE_DIR}723 . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID}724 cd ${SETTE_DIR}725 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}726 727 cd ${SETTE_DIR}728 export TEST_NAME="REPRO_8_4"729 . ./prepare_exe_dir.sh730 set_valid_dir731 clean_valid_dir732 JOB_FILE=${EXE_DIR}/run_job.sh733 NPROC=32734 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi735 cd ${EXE_DIR}736 set_namelist namelist_cfg cn_exp \"OFFP_84\"737 set_namelist namelist_cfg nn_it000 1738 set_namelist namelist_cfg nn_itend ${ITEND}739 set_namelist namelist_cfg jpni 8740 set_namelist namelist_cfg jpnj 4741 set_namelist namelist_cfg sn_cfctl%l_runstat .true.742 set_namelist namelist_cfg sn_cfctl%l_trcstat .true.743 set_namelist namelist_cfg ln_qsr_rgb .true.744 if [ ${USING_XIOS_RRW} == "yes" ] ; then745 set_namelist namelist_cfg nn_wxios 1746 fi747 756 set_namelist namelist_top_cfg ln_trcdta .false. 748 757 set_namelist namelist_top_cfg ln_trcbc .false. … … 833 842 set_namelist namelist_cfg cn_ocerst_in \"AMM12_LONG_${ITRST}_restart\" 834 843 set_namelist namelist_cfg nn_date0 20120102 835 for (( i=1; i<=$NPROC; i++)) ; do 836 L_NPROC=$(( $i - 1 )) 837 L_NPROC=`printf "%04d\n" ${L_NPROC}` 838 ln -sf ../LONG/AMM12_LONG_${ITRST}_restart_${L_NPROC}.nc . 839 done 844 if [ ${USING_XIOS_RRW} == "yes" ] 845 then 846 set_namelist namelist_cfg nn_wxios 1 847 set_namelist namelist_cfg ln_xios_read .true. 848 fi 849 if [ ${USING_XIOS_RRW} == "yes" ] 850 then 851 ln -sf ../LONG/AMM12_LONG_${ITRST}_restart.nc . 852 else 853 for (( i=1; i<=$NPROC; i++)) ; do 854 L_NPROC=$(( $i - 1 )) 855 L_NPROC=`printf "%04d\n" ${L_NPROC}` 856 ln -sf ../LONG/AMM12_LONG_${ITRST}_restart_${L_NPROC}.nc . 857 done 858 fi 840 859 if [ ${USING_MPMD} == "yes" ] ; then 841 860 set_xio_using_server iodef.xml true … … 867 886 set_namelist namelist_cfg jpnj 4 868 887 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 869 if [ ${USING_XIOS_RRW} == "yes" ] ; then 888 if [ ${USING_XIOS_RRW} == "yes" ] 889 then 870 890 set_namelist namelist_cfg nn_wxios 1 871 891 fi … … 894 914 set_namelist namelist_cfg jpnj 8 895 915 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 896 if [ ${USING_XIOS_RRW} == "yes" ] ; then897 set_namelist namelist_cfg nn_wxios 1898 fi899 916 if [ ${USING_MPMD} == "yes" ] ; then 900 917 set_xio_using_server iodef.xml true … … 978 995 set_namelist namelist_cfg cn_ocerst_in \"SAS_${ITRST}_restart\" 979 996 set_namelist namelist_ice_cfg cn_icerst_in \"SAS_${ITRST}_restart_ice\" 997 if [ ${USING_MPMD} == "yes" ] ; then 998 set_xio_using_server iodef.xml true 999 else 1000 set_xio_using_server iodef.xml false 1001 fi 980 1002 if [ ${USING_XIOS_RRW} == "yes" ] 981 1003 then … … 983 1005 set_namelist namelist_cfg ln_xios_read .true. 984 1006 fi 985 if [ ${USING_MPMD} == "yes" ] ; then 986 set_xio_using_server iodef.xml true 987 else 988 set_xio_using_server iodef.xml false 989 fi 990 for (( i=1; i<=$NPROC; i++)) ; do 991 L_NPROC=$(( $i - 1 )) 992 L_NPROC=`printf "%04d\n" ${L_NPROC}` 993 ln -sf ../LONG/SAS_${ITRST}_restart_${L_NPROC}.nc . 994 ln -sf ../LONG/SAS_${ITRST}_restart_ice_${L_NPROC}.nc . 995 done 1007 if [ ${USING_XIOS_RRW} == "yes" ] 1008 then 1009 ln -sf ../LONG/SAS_${ITRST}_restart.nc . 1010 ln -sf ../LONG/SAS_${ITRST}_restart_ice.nc . 1011 else 1012 for (( i=1; i<=$NPROC; i++)) ; do 1013 L_NPROC=$(( $i - 1 )) 1014 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1015 ln -sf ../LONG/SAS_${ITRST}_restart_${L_NPROC}.nc . 1016 ln -sf ../LONG/SAS_${ITRST}_restart_ice_${L_NPROC}.nc . 1017 done 1018 fi 996 1019 cd ${SETTE_DIR} 997 1020 . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 1024 1047 set_namelist namelist_cfg jpnj 8 1025 1048 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1026 if [ ${USING_XIOS_RRW} == "yes" ] ; then1027 set_namelist namelist_cfg nn_wxios 11028 fi1029 1049 if [ ${USING_MPMD} == "yes" ] ; then 1030 1050 set_xio_using_server iodef.xml true … … 1052 1072 set_namelist namelist_cfg jpnj 4 1053 1073 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1054 if [ ${USING_XIOS_RRW} == "yes" ] ; then 1074 if [ ${USING_XIOS_RRW} == "yes" ] 1075 then 1055 1076 set_namelist namelist_cfg nn_wxios 1 1056 1077 fi … … 1129 1150 set_namelist namelist_pisces_cfg ln_ironice .false. 1130 1151 set_namelist namelist_pisces_cfg ln_hydrofe .false. 1131 if [ ${USING_XIOS_RRW} == "yes" ]1132 then1133 set_namelist namelist_cfg nn_wxios 11134 fi1135 1152 if [ ${USING_MPMD} == "yes" ] ; then 1136 1153 set_xio_using_server iodef.xml true … … 1235 1252 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 1236 1253 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1237 if [ ${USING_XIOS_RRW} == "yes" ] ; then1238 set_namelist namelist_cfg nn_wxios 11239 fi1240 1254 set_namelist 1_namelist_cfg cn_exp \"AGRIF_LONG\" 1241 1255 set_namelist 1_namelist_cfg nn_it000 1 … … 1253 1267 set_namelist 3_namelist_cfg nn_stock $(( ${ITEND} * 4 * 3 / 2 )) 1254 1268 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1255 1269 if [ ${USING_XIOS_RRW} == "yes" ] 1270 then 1271 set_namelist namelist_cfg nn_wxios 1 1272 fi 1256 1273 if [ ${USING_MPMD} == "yes" ] ; then 1257 1274 set_xio_using_server iodef.xml true … … 1275 1292 set_namelist namelist_cfg ln_rstart .true. 1276 1293 set_namelist namelist_cfg nn_rstctl 2 1277 if [ ${USING_XIOS_RRW} == "yes" ] ; then1278 set_namelist namelist_cfg nn_wxios 11279 set_namelist namelist_cfg ln_xios_read .true.1280 fi1281 1294 set_namelist 1_namelist_cfg cn_exp \"AGRIF_SHORT\" 1282 1295 set_namelist 1_namelist_cfg nn_it000 $(( ${ITEND} / 2 + 1 )) … … 1308 1321 set_namelist 3_namelist_cfg cn_ocerst_in \"AGRIF_LONG_${ITRST_3}_restart\" 1309 1322 set_namelist 3_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_${ITRST_3}_restart_ice\" 1310 1311 for (( i=1; i<=$NPROC; i++)) ; do 1312 L_NPROC=$(( $i - 1 )) 1313 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1314 ln -sf ../LONG/AGRIF_LONG_${ITRST}_restart_${L_NPROC}.nc . 1315 ln -sf ../LONG/AGRIF_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 1316 ln -sf ../LONG/1_AGRIF_LONG_${ITRST_1}_restart_${L_NPROC}.nc . 1317 ln -sf ../LONG/1_AGRIF_LONG_${ITRST_1}_restart_ice_${L_NPROC}.nc . 1318 ln -sf ../LONG/2_AGRIF_LONG_${ITRST_2}_restart_${L_NPROC}.nc . 1319 ln -sf ../LONG/2_AGRIF_LONG_${ITRST_2}_restart_ice_${L_NPROC}.nc . 1320 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart_${L_NPROC}.nc . 1321 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart_ice_${L_NPROC}.nc . 1322 done 1323 if [ ${USING_XIOS_RRW} == "yes" ] 1324 then 1325 set_namelist namelist_cfg nn_wxios 1 1326 set_namelist namelist_cfg ln_xios_read .true. 1327 fi 1328 1329 if [ ${USING_XIOS_RRW} == "yes" ] 1330 then 1331 ln -sf ../LONG/AGRIF_LONG_${ITRST}_restart.nc . 1332 ln -sf ../LONG/AGRIF_LONG_${ITRST}_restart_ice.nc . 1333 ln -sf ../LONG/1_AGRIF_LONG_${ITRST_1}_restart.nc . 1334 ln -sf ../LONG/1_AGRIF_LONG_${ITRST_1}_restart_ice.nc . 1335 ln -sf ../LONG/2_AGRIF_LONG_${ITRST_2}_restart.nc . 1336 ln -sf ../LONG/2_AGRIF_LONG_${ITRST_2}_restart_ice.nc . 1337 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart.nc . 1338 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart_ice.nc . 1339 else 1340 for (( i=1; i<=$NPROC; i++)) ; do 1341 L_NPROC=$(( $i - 1 )) 1342 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1343 ln -sf ../LONG/AGRIF_LONG_${ITRST}_restart_${L_NPROC}.nc . 1344 ln -sf ../LONG/AGRIF_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 1345 ln -sf ../LONG/1_AGRIF_LONG_${ITRST_1}_restart_${L_NPROC}.nc . 1346 ln -sf ../LONG/1_AGRIF_LONG_${ITRST_1}_restart_ice_${L_NPROC}.nc . 1347 ln -sf ../LONG/2_AGRIF_LONG_${ITRST_2}_restart_${L_NPROC}.nc . 1348 ln -sf ../LONG/2_AGRIF_LONG_${ITRST_2}_restart_ice_${L_NPROC}.nc . 1349 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart_${L_NPROC}.nc . 1350 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart_ice_${L_NPROC}.nc . 1351 done 1352 fi 1323 1353 if [ ${USING_MPMD} == "yes" ] ; then 1324 1354 set_xio_using_server iodef.xml true … … 1350 1380 set_namelist namelist_cfg jpnj 8 1351 1381 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1352 if [ ${USING_XIOS_RRW} == "yes" ] ; then1353 set_namelist namelist_cfg nn_wxios 11354 fi1355 1382 set_namelist 1_namelist_cfg cn_exp \"AGRIF_28\" 1356 1383 set_namelist 1_namelist_cfg nn_it000 1 … … 1372 1399 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1373 1400 1401 if [ ${USING_XIOS_RRW} == "yes" ] 1402 then 1403 set_namelist namelist_cfg nn_wxios 1 1404 fi 1405 1374 1406 if [ ${USING_MPMD} == "yes" ] ; then 1375 1407 set_xio_using_server iodef.xml true … … 1397 1429 set_namelist namelist_cfg jpnj 4 1398 1430 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1399 if [ ${USING_XIOS_RRW} == "yes" ] ; then1400 set_namelist namelist_cfg nn_wxios 11401 fi1402 1431 set_namelist 1_namelist_cfg cn_exp \"AGRIF_44\" 1403 1432 set_namelist 1_namelist_cfg nn_it000 1 … … 1418 1447 set_namelist 3_namelist_cfg jpnj 4 1419 1448 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1420 1421 1449 if [ ${USING_MPMD} == "yes" ] ; then 1422 1450 set_xio_using_server iodef.xml true … … 1452 1480 set_namelist namelist_cfg nn_itend ${ITEND} 1453 1481 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1454 if [ ${USING_XIOS_RRW} == "yes" ] ; then1455 set_namelist namelist_cfg nn_wxios 11456 fi1457 1482 1458 1483 # Set the number of fine grids to zero: … … 1497 1522 set_namelist namelist_cfg nn_itend ${ITEND} 1498 1523 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1499 if [ ${USING_XIOS_RRW} == "yes" ] ; then1500 set_namelist namelist_cfg nn_wxios 11501 fi1502 1524 # 1503 1525 if [ ${USING_MPMD} == "yes" ] ; then … … 1582 1604 set_namelist namelist_cfg cn_ocerst_in \"WED025_LONG_${ITRST}_restart\" 1583 1605 set_namelist namelist_ice_cfg cn_icerst_in \"WED025_LONG_${ITRST}_restart_ice\" 1584 for (( i=1; i<=$NPROC; i++)) ; do 1585 L_NPROC=$(( $i - 1 )) 1586 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1587 ln -sf ../LONG/WED025_LONG_${ITRST}_restart_${L_NPROC}.nc . 1588 ln -sf ../LONG/WED025_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 1589 done 1606 if [ ${USING_XIOS_RRW} == "yes" ] 1607 then 1608 set_namelist namelist_cfg nn_wxios 1 1609 set_namelist namelist_cfg ln_xios_read .true. 1610 fi 1611 if [ ${USING_XIOS_RRW} == "yes" ] 1612 then 1613 ln -sf ../LONG/WED025_LONG_${ITRST}_restart.nc . 1614 ln -sf ../LONG/WED025_LONG_${ITRST}_restart_ice.nc . 1615 else 1616 for (( i=1; i<=$NPROC; i++)) ; do 1617 L_NPROC=$(( $i - 1 )) 1618 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1619 ln -sf ../LONG/WED025_LONG_${ITRST}_restart_${L_NPROC}.nc . 1620 ln -sf ../LONG/WED025_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 1621 done 1622 fi 1590 1623 if [ ${USING_MPMD} == "yes" ] ; then 1591 1624 set_xio_using_server iodef.xml true … … 1618 1651 set_namelist namelist_cfg jpnj 7 1619 1652 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1620 if [ ${USING_XIOS_RRW} == "yes" ] ; then1621 set_namelist namelist_cfg nn_wxios 11622 fi1623 1653 if [ ${USING_MPMD} == "yes" ] ; then 1624 1654 set_xio_using_server iodef.xml true … … 1647 1677 set_namelist namelist_cfg jpnj 4 1648 1678 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1649 if [ ${USING_XIOS_RRW} == "yes" ] ; then 1679 if [ ${USING_XIOS_RRW} == "yes" ] 1680 then 1650 1681 set_namelist namelist_cfg nn_wxios 1 1651 1682 fi -
utils/CI/r12931_sette_ticket2462/sette_test-cases.sh
r13754 r13755 194 194 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 195 195 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 196 if [ ${USING_XIOS_RRW} == "yes" ] ; then 196 if [ ${USING_XIOS_RRW} == "yes" ] 197 then 197 198 set_namelist namelist_cfg nn_wxios 1 198 199 fi … … 219 220 set_namelist namelist_cfg nn_rstctl 2 220 221 set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_${ITRST}_restart\" 221 if [ ${USING_XIOS_RRW} == "yes" ] ; then 222 if [ ${USING_XIOS_RRW} == "yes" ] 223 then 222 224 set_namelist namelist_cfg nn_wxios 1 223 225 set_namelist namelist_cfg ln_xios_read .true. … … 317 319 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 318 320 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 319 if [ ${USING_XIOS_RRW} == "yes" ] ; then 321 if [ ${USING_XIOS_RRW} == "yes" ] 322 then 320 323 set_namelist namelist_cfg nn_wxios 1 321 324 fi … … 342 345 set_namelist namelist_cfg nn_rstctl 2 343 346 set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_${ITRST}_restart\" 344 if [ ${USING_XIOS_RRW} == "yes" ] ; then 345 set_namelist namelist_cfg nn_wxios 1 347 if [ ${USING_XIOS_RRW} == "yes" ] 348 then 349 set_namelist namelist_cfg nn_wxios 1 350 set_namelist namelist_cfg ln_xios_read .true. 346 351 fi 347 352 if [ ${USING_MPMD} == "yes" ] ; then … … 433 438 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 434 439 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 435 if [ ${USING_XIOS_RRW} == "yes" ] ; then436 set_namelist namelist_cfg nn_wxios 1437 fi438 440 439 441 set_namelist 1_namelist_cfg cn_exp \"VORTEX_LONG\" … … 442 444 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 / 2 )) 443 445 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 444 445 446 if [ ${USING_XIOS_RRW} == "yes" ] 446 447 then … … 470 471 set_namelist namelist_cfg nn_rstctl 2 471 472 set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_${ITRST}_restart\" 472 if [ ${USING_XIOS_RRW} == "yes" ] ; then473 set_namelist namelist_cfg nn_wxios 1474 set_namelist namelist_cfg ln_xios_read .true.475 fi476 473 477 474 set_namelist 1_namelist_cfg cn_exp \"VORTEX_SHORT\" … … 483 480 set_namelist 1_namelist_cfg nn_rstctl 2 484 481 set_namelist 1_namelist_cfg cn_ocerst_in \"VORTEX_LONG_${ITRST_1}_restart\" 482 if [ ${USING_XIOS_RRW} == "yes" ] 483 then 484 set_namelist namelist_cfg nn_wxios 1 485 set_namelist namelist_cfg ln_xios_read .true. 486 fi 485 487 486 488 if [ ${USING_MPMD} == "yes" ] ; then … … 489 491 set_xio_using_server iodef.xml false 490 492 fi 491 if [ [ ($NPROC -eq 1 || ${USING_XIOS_RRW} == "yes") ]]; then493 if [ $NPROC -eq 1 ] || [ ${USING_XIOS_RRW} == "yes" ] ; then 492 494 ln -sf ../LONG/VORTEX_LONG_${ITRST}_restart.nc . 493 495 ln -sf ../LONG/1_VORTEX_LONG_${ITRST_1}_restart.nc . … … 525 527 set_namelist namelist_cfg jpnj 3 526 528 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 527 if [ ${USING_XIOS_RRW} == "yes" ] ; then528 set_namelist namelist_cfg nn_wxios 1529 set_namelist namelist_cfg ln_xios_read .true.530 fi531 529 532 530 set_namelist 1_namelist_cfg cn_exp \"VORTEX_23\" … … 537 535 set_namelist 1_namelist_cfg jpnj 3 538 536 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 539 537 if [ ${USING_XIOS_RRW} == "yes" ] 538 then 539 set_namelist namelist_cfg nn_wxios 1 540 fi 540 541 if [ ${USING_MPMD} == "yes" ] ; then 541 542 set_xio_using_server iodef.xml true … … 565 566 set_namelist namelist_cfg jpnj 2 566 567 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 567 if [ ${USING_XIOS_RRW} == "yes" ] ; then568 set_namelist namelist_cfg nn_wxios 1569 fi570 568 571 569 set_namelist 1_namelist_cfg cn_exp \"VORTEX_32\" … … 629 627 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 630 628 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 631 if [ ${USING_XIOS_RRW} == "yes" ] ; then 632 set_namelist namelist_cfg nn_wxios 1 633 fi 629 634 630 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_LONG\" 635 631 set_namelist 1_namelist_cfg nn_it000 1 … … 637 633 set_namelist 1_namelist_cfg nn_stock $(( ${ITEND} * 3 / 2 )) 638 634 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 639 635 if [ ${USING_XIOS_RRW} == "yes" ] 636 then 637 set_namelist namelist_cfg nn_wxios 1 638 fi 640 639 if [ ${USING_MPMD} == "yes" ] ; then 641 640 set_xio_using_server iodef.xml true … … 661 660 set_namelist namelist_cfg cn_ocerst_in \"ICE_AGRIF_LONG_${ITRST}_restart\" 662 661 set_namelist namelist_ice_cfg cn_icerst_in \"ICE_AGRIF_LONG_${ITRST}_restart_ice\" 663 if [ ${USING_XIOS_RRW} == "yes" ] ; then664 set_namelist namelist_cfg nn_wxios 1665 set_namelist namelist_cfg ln_xios_read .true.666 fi667 662 668 663 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_SHORT\" … … 676 671 set_namelist 1_namelist_ice_cfg cn_icerst_in \"ICE_AGRIF_LONG_${ITRST_1}_restart_ice\" 677 672 678 673 if [ ${USING_XIOS_RRW} == "yes" ] 674 then 675 set_namelist namelist_cfg nn_wxios 1 676 set_namelist namelist_cfg ln_xios_read .true. 677 fi 678 679 679 if [ ${USING_MPMD} == "yes" ] ; then 680 680 set_xio_using_server iodef.xml true … … 682 682 set_xio_using_server iodef.xml false 683 683 fi 684 if [ [ ($NPROC -eq 1 || ${USING_XIOS_RRW} == "yes") ]] ; then684 if [ $NPROC -eq 1 ] || [ ${USING_XIOS_RRW} == "yes" ] ; then 685 685 ln -sf ../LONG/ICE_AGRIF_LONG_${ITRST}_restart.nc . 686 686 ln -sf ../LONG/ICE_AGRIF_LONG_${ITRST}_restart_ice.nc . … … 724 724 set_namelist namelist_cfg jpnj 3 725 725 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 726 if [ ${USING_XIOS_RRW} == "yes" ] ; then727 set_namelist namelist_cfg nn_wxios 1728 fi729 726 730 727 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_23\" … … 735 732 set_namelist 1_namelist_cfg jpnj 3 736 733 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 734 if [ ${USING_XIOS_RRW} == "yes" ] 735 then 736 set_namelist namelist_cfg nn_wxios 1 737 fi 737 738 738 739 if [ ${USING_MPMD} == "yes" ] ; then … … 763 764 set_namelist namelist_cfg jpnj 2 764 765 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 765 if [ ${USING_XIOS_RRW} == "yes" ] ; then766 set_namelist namelist_cfg nn_wxios 1767 fi768 766 769 767 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_32\" … … 865 863 set_xio_using_server iodef.xml false 866 864 fi 867 for (( i=1; i<=$NPROC; i++)) ; do 868 L_NPROC=$(( $i - 1 )) 869 L_NPROC=`printf "%04d\n" ${L_NPROC}` 870 ln -sf ../LONG/ISOMIP+_LONG_${ITRST}_restart_${L_NPROC}.nc . 871 done 865 866 if [ ${USING_XIOS_RRW} == "yes" ] 867 then 868 ln -sf ../LONG/ISOMIP+_LONG_${ITRST}_restart.nc . 869 else 870 for (( i=1; i<=$NPROC; i++)) ; do 871 L_NPROC=$(( $i - 1 )) 872 L_NPROC=`printf "%04d\n" ${L_NPROC}` 873 ln -sf ../LONG/ISOMIP+_LONG_${ITRST}_restart_${L_NPROC}.nc . 874 done 875 fi 872 876 873 877 cd ${SETTE_DIR} … … 901 905 set_namelist namelist_cfg jpnj 3 902 906 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 903 if [ ${USING_XIOS_RRW} == "yes" ] ; then904 set_namelist namelist_cfg nn_wxios 1905 fi906 907 if [ ${USING_MPMD} == "yes" ] ; then 907 908 set_xio_using_server iodef.xml true … … 929 930 set_namelist namelist_cfg jpnj 4 930 931 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 931 if [ ${USING_XIOS_RRW} == "yes" ] ; then 932 if [ ${USING_XIOS_RRW} == "yes" ] 933 then 932 934 set_namelist namelist_cfg nn_wxios 1 933 935 fi
Note: See TracChangeset
for help on using the changeset viewer.