Changeset 14869 for utils/CI/sette_ticket2673/sette_test-cases.sh
- Timestamp:
- 2021-05-16T12:41:50+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette_ticket2673/sette_test-cases.sh
r14867 r14869 166 166 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 167 167 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 168 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 169 if [ ${USING_MPMD} == "yes" ] ; then 170 set_xio_using_server iodef.xml true 171 else 172 set_xio_using_server iodef.xml false 173 fi 168 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 169 set_xio_using_server iodef.xml ${USING_MPMD} 174 170 cd ${SETTE_DIR} 175 171 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 189 185 set_namelist namelist_cfg nn_rstctl 2 190 186 set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_${ITRST}_restart\" 191 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 192 if [ ${USING_MPMD} == "yes" ] ; then 193 set_xio_using_server iodef.xml true 194 else 195 set_xio_using_server iodef.xml false 196 fi 187 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 188 set_xio_using_server iodef.xml ${USING_MPMD} 197 189 ln -sf ../LONG/OVF_LONG_${ITRST}_restart.nc . 198 190 … … 235 227 set_namelist namelist_cfg nn_it000 1 236 228 set_namelist namelist_cfg nn_itend ${ITEND} 237 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 238 if [ ${USING_MPMD} == "yes" ] ; then 239 set_xio_using_server iodef.xml true 240 else 241 set_xio_using_server iodef.xml false 242 fi 229 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 230 set_xio_using_server iodef.xml ${USING_MPMD} 243 231 cd ${SETTE_DIR} 244 232 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 286 274 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 287 275 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 288 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 289 if [ ${USING_MPMD} == "yes" ] ; then 290 set_xio_using_server iodef.xml true 291 else 292 set_xio_using_server iodef.xml false 293 fi 276 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 277 set_xio_using_server iodef.xml ${USING_MPMD} 294 278 cd ${SETTE_DIR} 295 279 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 309 293 set_namelist namelist_cfg nn_rstctl 2 310 294 set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_${ITRST}_restart\" 311 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 312 if [ ${USING_MPMD} == "yes" ] ; then 313 set_xio_using_server iodef.xml true 314 else 315 set_xio_using_server iodef.xml false 316 fi 295 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 296 set_xio_using_server iodef.xml ${USING_MPMD} 317 297 ln -sf ../LONG/LOCK_LONG_${ITRST}_restart.nc . 318 298 … … 353 333 rm namelist_*_*_*_* 354 334 cp -pL ${CONFIG_DIR}/${NEW_CONF}/EXP00/$file namelist_cfg 355 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi356 335 set_namelist namelist_cfg nn_it000 1 357 336 set_namelist namelist_cfg nn_itend ${ITEND} 358 if [ ${USING_MPMD} == "yes" ] ; then 359 set_xio_using_server iodef.xml true 360 else 361 set_xio_using_server iodef.xml false 362 fi 337 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 338 set_xio_using_server iodef.xml ${USING_MPMD} 363 339 cd ${SETTE_DIR} 364 340 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 415 391 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 416 392 417 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 418 if [ ${USING_MPMD} == "yes" ] ; then 419 set_xio_using_server iodef.xml true 420 else 421 set_xio_using_server iodef.xml false 422 fi 393 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 394 set_xio_using_server iodef.xml ${USING_MPMD} 423 395 cd ${SETTE_DIR} 424 396 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 448 420 set_namelist 1_namelist_cfg cn_ocerst_in \"VORTEX_LONG_${ITRST_1}_restart\" 449 421 450 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 451 if [ ${USING_MPMD} == "yes" ] ; then 452 set_xio_using_server iodef.xml true 453 else 454 set_xio_using_server iodef.xml false 455 fi 422 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 423 set_xio_using_server iodef.xml ${USING_MPMD} 456 424 if [ $NPROC -eq 1 ] ; then 457 425 ln -sf ../LONG/VORTEX_LONG_${ITRST}_restart.nc . … … 538 506 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 539 507 540 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 541 if [ ${USING_MPMD} == "yes" ] ; then 542 set_xio_using_server iodef.xml true 543 else 544 set_xio_using_server iodef.xml false 545 fi 508 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 509 set_xio_using_server iodef.xml ${USING_MPMD} 546 510 cd ${SETTE_DIR} 547 511 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 598 562 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 599 563 600 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 601 if [ ${USING_MPMD} == "yes" ] ; then 602 set_xio_using_server iodef.xml true 603 else 604 set_xio_using_server iodef.xml false 605 fi 564 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 565 set_xio_using_server iodef.xml ${USING_MPMD} 606 566 cd ${SETTE_DIR} 607 567 . ./prepare_job.sh input_ICE_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 634 594 635 595 636 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 637 if [ ${USING_MPMD} == "yes" ] ; then 638 set_xio_using_server iodef.xml true 639 else 640 set_xio_using_server iodef.xml false 641 fi 596 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 597 set_xio_using_server iodef.xml ${USING_MPMD} 642 598 if [ $NPROC -eq 1 ] ; then 643 599 ln -sf ../LONG/ICE_AGRIF_LONG_${ITRST}_restart.nc . … … 693 649 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 694 650 695 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 696 if [ ${USING_MPMD} == "yes" ] ; then 697 set_xio_using_server iodef.xml true 698 else 699 set_xio_using_server iodef.xml false 700 fi 651 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 652 set_xio_using_server iodef.xml ${USING_MPMD} 701 653 cd ${SETTE_DIR} 702 654 . ./prepare_job.sh input_ICE_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 730 682 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 731 683 732 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 733 if [ ${USING_MPMD} == "yes" ] ; then 734 set_xio_using_server iodef.xml true 735 else 736 set_xio_using_server iodef.xml false 737 fi 684 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 685 set_xio_using_server iodef.xml ${USING_MPMD} 738 686 cd ${SETTE_DIR} 739 687 . ./prepare_job.sh input_ICE_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 783 731 set_namelist namelist_cfg jpnj 3 784 732 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 785 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 786 if [ ${USING_MPMD} == "yes" ] ; then 787 set_xio_using_server iodef.xml true 788 else 789 set_xio_using_server iodef.xml false 790 fi 733 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 734 set_xio_using_server iodef.xml ${USING_MPMD} 791 735 cd ${SETTE_DIR} 792 736 . ./prepare_job.sh input_ISOMIP+.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 808 752 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 809 753 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP+_LONG_${ITRST}_restart\" 810 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 811 if [ ${USING_MPMD} == "yes" ] ; then 812 set_xio_using_server iodef.xml true 813 else 814 set_xio_using_server iodef.xml false 815 fi 754 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 755 set_xio_using_server iodef.xml ${USING_MPMD} 816 756 for (( i=1; i<=$NPROC; i++)) ; do 817 757 L_NPROC=$(( $i - 1 )) … … 852 792 set_namelist namelist_cfg jpnj 3 853 793 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 854 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 855 if [ ${USING_MPMD} == "yes" ] ; then 856 set_xio_using_server iodef.xml true 857 else 858 set_xio_using_server iodef.xml false 859 fi 794 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 795 set_xio_using_server iodef.xml ${USING_MPMD} 860 796 cd ${SETTE_DIR} 861 797 . ./prepare_job.sh input_ISOMIP+.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 878 814 set_namelist namelist_cfg jpnj 4 879 815 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 880 if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 881 if [ ${USING_MPMD} == "yes" ] ; then 882 set_xio_using_server iodef.xml true 883 else 884 set_xio_using_server iodef.xml false 885 fi 816 set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 817 set_xio_using_server iodef.xml ${USING_MPMD} 886 818 cd ${SETTE_DIR} 887 819 . ./prepare_job.sh input_ISOMIP+.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 930 862 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 931 863 932 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 933 if [ ${USING_MPMD} == "yes" ] ; then 934 set_xio_using_server iodef.xml true 935 else 936 set_xio_using_server iodef.xml false 937 fi 864 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 865 set_xio_using_server iodef.xml ${USING_MPMD} 938 866 cd ${SETTE_DIR} 939 867 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 954 882 set_namelist namelist_cfg cn_ocerst_in \"SWG_LONG_${ITRST}_restart\" 955 883 956 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 957 if [ ${USING_MPMD} == "yes" ] ; then 958 set_xio_using_server iodef.xml true 959 else 960 set_xio_using_server iodef.xml false 961 fi 884 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 885 set_xio_using_server iodef.xml ${USING_MPMD} 962 886 if [ $NPROC -eq 1 ] ; then 963 887 ln -sf ../LONG/SWG_LONG_${ITRST}_restart.nc . … … 999 923 1000 924 1001 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1002 if [ ${USING_MPMD} == "yes" ] ; then 1003 set_xio_using_server iodef.xml true 1004 else 1005 set_xio_using_server iodef.xml false 1006 fi 925 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 926 set_xio_using_server iodef.xml ${USING_MPMD} 1007 927 cd ${SETTE_DIR} 1008 928 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 1029 949 set_namelist namelist_cfg sn_cfctl%l_prtctl .true. 1030 950 1031 #if [ ${USING_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1032 if [ ${USING_MPMD} == "yes" ] ; then 1033 set_xio_using_server iodef.xml true 1034 else 1035 set_xio_using_server iodef.xml false 1036 fi 951 #set_namelist_opt namelist_cfg ln_timing ${USING_TIMING} .true. .false. 952 set_xio_using_server iodef.xml ${USING_MPMD} 1037 953 cd ${SETTE_DIR} 1038 954 . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID}
Note: See TracChangeset
for help on using the changeset viewer.