Changeset 12522 for utils/CI/sette_ticket2386/sette_test-cases.sh
- Timestamp:
- 2020-03-09T11:23:42+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette_ticket2386/sette_test-cases.sh
r12428 r12522 181 181 set_namelist namelist_cfg sn_cfctl%l_config .true. 182 182 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 183 if [ ${USING_XIOS_RRW} == "yes" ] 184 then 185 set_namelist namelist_cfg nn_wxios 1 186 fi 187 183 188 if [ ${USING_MPMD} == "yes" ] ; then 184 189 set_xio_using_server iodef.xml true … … 204 209 set_namelist namelist_cfg nn_rstctl 2 205 210 set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_00000060_restart\" 211 if [ ${USING_XIOS_RRW} == "yes" ] 212 then 213 set_namelist namelist_cfg nn_wxios 1 214 set_namelist namelist_cfg ln_xios_read .true. 215 fi 216 206 217 if [ ${USING_MPMD} == "yes" ] ; then 207 218 set_xio_using_server iodef.xml true … … 379 390 set_namelist 1_namelist_cfg sn_cfctl%l_config .true. 380 391 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 392 393 if [ ${USING_XIOS_RRW} == "yes" ] 394 then 395 set_namelist namelist_cfg nn_wxios 1 396 fi 381 397 382 398 if [ ${USING_MPMD} == "yes" ] ; then … … 413 429 set_namelist 1_namelist_cfg nn_rstctl 2 414 430 set_namelist 1_namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000360_restart\" 431 432 if [ ${USING_XIOS_RRW} == "yes" ] 433 then 434 set_namelist namelist_cfg nn_wxios 1 435 set_namelist namelist_cfg ln_xios_read .true. 436 fi 415 437 416 438 if [ ${USING_MPMD} == "yes" ] ; then … … 419 441 set_xio_using_server iodef.xml false 420 442 fi 421 if [ $NPROC -eq 1 ]; then443 if [[ ($NPROC -eq 1 || ${USING_XIOS_RRW} == "yes") ]]; then 422 444 ln -sf ../LONG/VORTEX_LONG_00000120_restart.nc . 423 445 ln -sf ../LONG/1_VORTEX_LONG_00000360_restart.nc . … … 548 570 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 549 571 set_namelist 1_namelist_cfg nn_stock 300 572 573 if [ ${USING_XIOS_RRW} == "yes" ] 574 then 575 set_namelist namelist_cfg nn_wxios 1 576 fi 550 577 551 578 if [ ${USING_MPMD} == "yes" ] ; then … … 584 611 set_namelist 1_namelist_cfg cn_ocerst_in \"ICE_AGRIF_LONG_00000300_restart\" 585 612 set_namelist 1_namelist_ice_cfg cn_icerst_in \"ICE_AGRIF_LONG_00000300_restart_ice\" 586 613 614 if [ ${USING_XIOS_RRW} == "yes" ] 615 then 616 set_namelist namelist_cfg nn_wxios 1 617 set_namelist namelist_cfg ln_xios_read .true. 618 fi 587 619 588 620 if [ ${USING_MPMD} == "yes" ] ; then … … 591 623 set_xio_using_server iodef.xml false 592 624 fi 593 if [ $NPROC -eq 1] ; then625 if [[ ($NPROC -eq 1 || ${USING_XIOS_RRW} == "yes") ]] ; then 594 626 ln -sf ../LONG/ICE_AGRIF_LONG_00000100_restart.nc . 595 627 ln -sf ../LONG/ICE_AGRIF_LONG_00000100_restart_ice.nc . … … 720 752 set_namelist namelist_cfg sn_cfctl%l_config .true. 721 753 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 754 if [ ${USING_XIOS_RRW} == "yes" ] 755 then 756 set_namelist namelist_cfg nn_wxios 1 757 fi 722 758 if [ ${USING_MPMD} == "yes" ] ; then 723 759 set_xio_using_server iodef.xml true … … 745 781 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 746 782 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 747 if [ ${USING_MPMD} == "yes" ] ; then 748 set_xio_using_server iodef.xml true 749 else 750 set_xio_using_server iodef.xml false 751 fi 752 for (( i=1; i<=$NPROC; i++)) ; do 753 L_NPROC=$(( $i - 1 )) 754 L_NPROC=`printf "%04d\n" ${L_NPROC}` 755 ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 756 done 757 783 if [ ${USING_XIOS_RRW} == "yes" ] 784 then 785 set_namelist namelist_cfg nn_wxios 1 786 set_namelist namelist_cfg ln_xios_read .true. 787 fi 788 if [ ${USING_MPMD} == "yes" ] ; then 789 set_xio_using_server iodef.xml true 790 else 791 set_xio_using_server iodef.xml false 792 fi 793 if [ ${USING_XIOS_RRW} == "yes" ]; then 794 ln -sf ../LONG/ISOMIP_LONG_00000048_restart.nc . 795 else 796 for (( i=1; i<=$NPROC; i++)) ; do 797 L_NPROC=$(( $i - 1 )) 798 L_NPROC=`printf "%04d\n" ${L_NPROC}` 799 ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 800 done 801 fi 758 802 cd ${SETTE_DIR} 759 803 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID}
Note: See TracChangeset
for help on using the changeset viewer.