Changeset 12999 for utils/CI/r12931_sette_ticket2462/sette_test-cases.sh
- Timestamp:
- 2020-06-01T12:52:45+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/r12931_sette_ticket2462/sette_test-cases.sh
r12931 r12999 187 187 set_namelist namelist_cfg nn_stock 60 188 188 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 189 if [ ${USING_XIOS_RRW} == "yes" ] ; then 190 set_namelist namelist_cfg nn_wxios 1 191 fi 189 192 if [ ${USING_MPMD} == "yes" ] ; then 190 193 set_xio_using_server iodef.xml true … … 209 212 set_namelist namelist_cfg nn_rstctl 2 210 213 set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_00000060_restart\" 214 if [ ${USING_XIOS_RRW} == "yes" ] ; then 215 set_namelist namelist_cfg nn_wxios 1 216 set_namelist namelist_cfg ln_xios_read .true. 217 fi 211 218 if [ ${USING_MPMD} == "yes" ] ; then 212 219 set_xio_using_server iodef.xml true … … 288 295 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 289 296 set_namelist namelist_cfg nn_itend 120 297 if [ ${USING_XIOS_RRW} == "yes" ] ; then 298 set_namelist namelist_cfg nn_wxios 1 299 fi 290 300 if [ ${USING_MPMD} == "yes" ] ; then 291 301 set_xio_using_server iodef.xml true … … 310 320 set_namelist namelist_cfg nn_rstctl 2 311 321 set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_00000060_restart\" 322 if [ ${USING_XIOS_RRW} == "yes" ] ; then 323 set_namelist namelist_cfg nn_wxios 1 324 fi 312 325 if [ ${USING_MPMD} == "yes" ] ; then 313 326 set_xio_using_server iodef.xml true … … 390 403 set_namelist namelist_cfg nn_stock 120 391 404 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 405 if [ ${USING_XIOS_RRW} == "yes" ] ; then 406 set_namelist namelist_cfg nn_wxios 1 407 fi 392 408 393 409 set_namelist 1_namelist_cfg cn_exp \"VORTEX_LONG\" … … 396 412 set_namelist 1_namelist_cfg nn_stock 360 397 413 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 414 415 if [ ${USING_XIOS_RRW} == "yes" ] 416 then 417 set_namelist namelist_cfg nn_wxios 1 418 fi 398 419 399 420 if [ ${USING_MPMD} == "yes" ] ; then … … 419 440 set_namelist namelist_cfg nn_rstctl 2 420 441 set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000120_restart\" 442 if [ ${USING_XIOS_RRW} == "yes" ] ; then 443 set_namelist namelist_cfg nn_wxios 1 444 set_namelist namelist_cfg ln_xios_read .true. 445 fi 421 446 422 447 set_namelist 1_namelist_cfg cn_exp \"VORTEX_SHORT\" … … 434 459 set_xio_using_server iodef.xml false 435 460 fi 436 if [ $NPROC -eq 1 ]; then461 if [[ ($NPROC -eq 1 || ${USING_XIOS_RRW} == "yes") ]]; then 437 462 ln -sf ../LONG/VORTEX_LONG_00000120_restart.nc . 438 463 ln -sf ../LONG/1_VORTEX_LONG_00000360_restart.nc . … … 470 495 set_namelist namelist_cfg jpnj 3 471 496 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 497 if [ ${USING_XIOS_RRW} == "yes" ] ; then 498 set_namelist namelist_cfg nn_wxios 1 499 set_namelist namelist_cfg ln_xios_read .true. 500 fi 472 501 473 502 set_namelist 1_namelist_cfg cn_exp \"VORTEX_23\" … … 506 535 set_namelist namelist_cfg jpnj 2 507 536 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 537 if [ ${USING_XIOS_RRW} == "yes" ] ; then 538 set_namelist namelist_cfg nn_wxios 1 539 fi 508 540 509 541 set_namelist 1_namelist_cfg cn_exp \"VORTEX_32\" … … 559 591 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 560 592 set_namelist namelist_cfg nn_stock 100 561 593 if [ ${USING_XIOS_RRW} == "yes" ] ; then 594 set_namelist namelist_cfg nn_wxios 1 595 fi 562 596 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_LONG\" 563 597 set_namelist 1_namelist_cfg nn_it000 1 … … 589 623 set_namelist namelist_cfg cn_ocerst_in \"ICE_AGRIF_LONG_00000100_restart\" 590 624 set_namelist namelist_ice_cfg cn_icerst_in \"ICE_AGRIF_LONG_00000100_restart_ice\" 625 if [ ${USING_XIOS_RRW} == "yes" ] ; then 626 set_namelist namelist_cfg nn_wxios 1 627 set_namelist namelist_cfg ln_xios_read .true. 628 fi 591 629 592 630 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_SHORT\" … … 606 644 set_xio_using_server iodef.xml false 607 645 fi 608 if [ $NPROC -eq 1] ; then646 if [[ ($NPROC -eq 1 || ${USING_XIOS_RRW} == "yes") ]] ; then 609 647 ln -sf ../LONG/ICE_AGRIF_LONG_00000100_restart.nc . 610 648 ln -sf ../LONG/ICE_AGRIF_LONG_00000100_restart_ice.nc . … … 648 686 set_namelist namelist_cfg jpnj 3 649 687 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 688 if [ ${USING_XIOS_RRW} == "yes" ] ; then 689 set_namelist namelist_cfg nn_wxios 1 690 fi 650 691 651 692 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_23\" … … 684 725 set_namelist namelist_cfg jpnj 2 685 726 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 727 if [ ${USING_XIOS_RRW} == "yes" ] ; then 728 set_namelist namelist_cfg nn_wxios 1 729 fi 686 730 687 731 set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_32\" … … 738 782 set_namelist namelist_cfg jpnj 3 739 783 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 784 if [ ${USING_XIOS_RRW} == "yes" ] 785 then 786 set_namelist namelist_cfg nn_wxios 1 787 fi 740 788 if [ ${USING_MPMD} == "yes" ] ; then 741 789 set_xio_using_server iodef.xml true … … 762 810 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 763 811 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 764 if [ ${USING_MPMD} == "yes" ] ; then 765 set_xio_using_server iodef.xml true 766 else 767 set_xio_using_server iodef.xml false 768 fi 769 for (( i=1; i<=$NPROC; i++)) ; do 770 L_NPROC=$(( $i - 1 )) 771 L_NPROC=`printf "%04d\n" ${L_NPROC}` 772 ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 773 done 774 812 if [ ${USING_XIOS_RRW} == "yes" ] 813 then 814 set_namelist namelist_cfg nn_wxios 1 815 set_namelist namelist_cfg ln_xios_read .true. 816 fi 817 if [ ${USING_MPMD} == "yes" ] ; then 818 set_xio_using_server iodef.xml true 819 else 820 set_xio_using_server iodef.xml false 821 fi 822 if [ ${USING_XIOS_RRW} == "yes" ]; then 823 ln -sf ../LONG/ISOMIP_LONG_00000048_restart.nc . 824 else 825 for (( i=1; i<=$NPROC; i++)) ; do 826 L_NPROC=$(( $i - 1 )) 827 L_NPROC=`printf "%04d\n" ${L_NPROC}` 828 ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 829 done 830 fi 775 831 cd ${SETTE_DIR} 776 832 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 797 853 set_namelist namelist_cfg jpnj 3 798 854 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 855 if [ ${USING_XIOS_RRW} == "yes" ] ; then 856 set_namelist namelist_cfg nn_wxios 1 857 fi 799 858 if [ ${USING_MPMD} == "yes" ] ; then 800 859 set_xio_using_server iodef.xml true … … 822 881 set_namelist namelist_cfg jpnj 4 823 882 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 883 if [ ${USING_XIOS_RRW} == "yes" ] ; then 884 set_namelist namelist_cfg nn_wxios 1 885 fi 824 886 if [ ${USING_MPMD} == "yes" ] ; then 825 887 set_xio_using_server iodef.xml true
Note: See TracChangeset
for help on using the changeset viewer.