Changeset 13790 for utils/CI/sette
- Timestamp:
- 2020-11-13T13:10:04+01:00 (4 years ago)
- Location:
- utils/CI/sette
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette/all_functions.sh
r13788 r13790 352 352 [ -f ${EXE_DIR}/output.namelist.dyn ] && cp ${EXE_DIR}/*output.nam* ${NEMO_VALIDATION_DIR}/. 353 353 [ -f ${EXE_DIR}/tracer.stat ] && cp ${EXE_DIR}/*tracer.stat ${NEMO_VALIDATION_DIR}/. 354 [ -f ${EXE_DIR}/timing.output ] && cp ${EXE_DIR}/*timing.output ${NEMO_VALIDATION_DIR}/. 354 355 355 356 if [ -n "$(ls ${NEMO_VALIDATION_DIR}/*run*)" ] ; then -
utils/CI/sette/prepare_job.sh
r13568 r13790 199 199 fi 200 200 ;; 201 X86_ARCHER2*) 202 OSPACE=2 203 SSPACE=4 204 NB_REM=$( echo $NB_PROC $OSPACE $NXIO_PROC $SSPACE | awk '{print ( $1 * $2 + $3 * $4 ) % 128}') 205 echo "NB_REM= "$NB_REM 206 if [ ${NB_REM} == 0 ] ; then 207 # number of processes required is an integer multiple of 128 208 # 209 NB_NODES=$( echo $NB_PROC $OSPACE $NXIO_PROC $SSPACE | awk '{print ( $1 * $2 + $3 * $4 ) / 128}') 210 else 211 # 212 # number of processes required is not an integer multiple of 128 213 # round up the number of nodes required. 214 # 215 NB_NODES=$( echo $NB_PROC $OSPACE $NXIO_PROC $SSPACE | awk '{printf("%d",( $1 * $2 + $3 * $4 ) / 128 + 1 )}') 216 fi 217 ;; 201 218 XC_ARCHER_INTEL) 202 219 # ocean cores are packed 24 to a node -
utils/CI/sette/sette.sh
r13568 r13790 6 6 # Parse command-line arguments 7 7 if [ $# -gt 0 ]; then 8 while getopts t:x:csh option; do8 while getopts t:x:cshT option; do 9 9 case $option in 10 10 c) export SETTE_CLEAN_CONFIGS='yes' … … 27 27 x) export SETTE_TEST_TYPES=($OPTARG) 28 28 ;; 29 T) export SETTE_TIMING='yes' 30 echo "" 31 echo "ln_timing will be set to true" 32 echo "";; 29 33 h | *) echo 'sette.sh with no arguments (in this case all configuration will be tested)' 30 34 echo '-t "CFG1_to_test CFG2_to_test ..." to test some specific configurations' 31 35 echo '-x "TEST_type TEST_type ..." to specify particular types of test (RESTART is mandatory)' 36 echo '-T to set ln_timing true for all non-AGRIF configurations' 32 37 echo '-c to clean each configuration' 33 38 echo '-s to synchronise the sette MY_SRC and EXP00 with the reference MY_SRC and EXPREF'; exit 42 ;; -
utils/CI/sette/sette_reference-configurations.sh
r13784 r13790 36 36 # "yes" to run in MPMD (detached) mode with stand-alone IO servers 37 37 # "no" to run in SPMD (attached) mode without separate IO servers 38 # SETTE_TIMING : flag to control the production of timing.output 39 # requires SETTE_TIMING="yes" 40 38 41 # NUM_XIOSERVERS : number of stand-alone IO servers to employ 39 42 # set to zero if USING_MPMD="no" … … 200 203 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 201 204 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 205 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 202 206 if [ ${USING_MPMD} == "yes" ] ; then 203 207 set_xio_using_server iodef.xml true … … 229 233 set_namelist namelist_cfg cn_ocerst_in \"GYREPIS_LONG_${ITRST}_restart\" 230 234 set_namelist namelist_top_cfg cn_trcrst_in \"GYREPIS_LONG_${ITRST}_restart_trc\" 235 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 231 236 if [ ${USING_MPMD} == "yes" ] ; then 232 237 set_xio_using_server iodef.xml true … … 269 274 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 270 275 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 276 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 271 277 if [ ${USING_MPMD} == "yes" ] ; then 272 278 set_xio_using_server iodef.xml true … … 296 302 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 297 303 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 304 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 298 305 if [ ${USING_MPMD} == "yes" ] ; then 299 306 set_xio_using_server iodef.xml true … … 372 379 # put ln_pisdmp to false : no restoring to global mean value 373 380 set_namelist namelist_pisces_cfg ln_pisdmp .false. 381 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 374 382 if [ ${USING_MPMD} == "yes" ] ; then 375 383 set_xio_using_server iodef.xml true … … 437 445 fi 438 446 done 447 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 439 448 if [ ${USING_MPMD} == "yes" ] ; then 440 449 set_xio_using_server iodef.xml true … … 493 502 # put ln_pisdmp to false : no restoring to global mean value 494 503 set_namelist namelist_pisces_cfg ln_pisdmp .false. 504 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 495 505 if [ ${USING_MPMD} == "yes" ] ; then 496 506 set_xio_using_server iodef.xml true … … 542 552 # put ln_pisdmp to false : no restoring to global mean value 543 553 set_namelist namelist_pisces_cfg ln_pisdmp .false. 554 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 544 555 if [ ${USING_MPMD} == "yes" ] ; then 545 556 set_xio_using_server iodef.xml true … … 603 614 # put ln_pisdmp to false : no restoring to global mean value 604 615 set_namelist namelist_pisces_cfg ln_pisdmp .false. 616 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 605 617 if [ ${USING_MPMD} == "yes" ] ; then 606 618 set_xio_using_server iodef.xml true … … 643 655 # put ln_pisdmp to false : no restoring to global mean value 644 656 set_namelist namelist_pisces_cfg ln_pisdmp .false. 657 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 645 658 if [ ${USING_MPMD} == "yes" ] ; then 646 659 set_xio_using_server iodef.xml true … … 687 700 # put ln_pisdmp to false : no restoring to global mean value 688 701 set_namelist namelist_pisces_cfg ln_pisdmp .false. 702 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 689 703 if [ ${USING_MPMD} == "yes" ] ; then 690 704 set_xio_using_server iodef.xml true … … 724 738 # put ln_pisdmp to false : no restoring to global mean value 725 739 set_namelist namelist_pisces_cfg ln_pisdmp .false. 740 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 726 741 if [ ${USING_MPMD} == "yes" ] ; then 727 742 set_xio_using_server iodef.xml true … … 773 788 set_namelist namelist_cfg jpnj 8 774 789 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 790 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 775 791 if [ ${USING_MPMD} == "yes" ] ; then 776 792 set_xio_using_server iodef.xml true … … 803 819 ln -sf ../LONG/AMM12_LONG_${ITRST}_restart_${L_NPROC}.nc . 804 820 done 821 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 805 822 if [ ${USING_MPMD} == "yes" ] ; then 806 823 set_xio_using_server iodef.xml true … … 835 852 set_namelist namelist_cfg jpnj 4 836 853 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 854 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 837 855 if [ ${USING_MPMD} == "yes" ] ; then 838 856 set_xio_using_server iodef.xml true … … 859 877 set_namelist namelist_cfg jpnj 8 860 878 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 879 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 861 880 if [ ${USING_MPMD} == "yes" ] ; then 862 881 set_xio_using_server iodef.xml true … … 910 929 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 911 930 set_namelist namelist_ice_cfg ln_icediachk .true. 931 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 912 932 if [ ${USING_MPMD} == "yes" ] ; then 913 933 set_xio_using_server iodef.xml true … … 936 956 set_namelist namelist_cfg cn_ocerst_in \"SAS_${ITRST}_restart\" 937 957 set_namelist namelist_ice_cfg cn_icerst_in \"SAS_${ITRST}_restart_ice\" 958 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 938 959 if [ ${USING_MPMD} == "yes" ] ; then 939 960 set_xio_using_server iodef.xml true … … 980 1001 set_namelist namelist_cfg jpnj 8 981 1002 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1003 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 982 1004 if [ ${USING_MPMD} == "yes" ] ; then 983 1005 set_xio_using_server iodef.xml true … … 1005 1027 set_namelist namelist_cfg jpnj 4 1006 1028 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1029 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1007 1030 if [ ${USING_MPMD} == "yes" ] ; then 1008 1031 set_xio_using_server iodef.xml true … … 1079 1102 set_namelist namelist_pisces_cfg ln_ironice .false. 1080 1103 set_namelist namelist_pisces_cfg ln_hydrofe .false. 1104 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1081 1105 if [ ${USING_MPMD} == "yes" ] ; then 1082 1106 set_xio_using_server iodef.xml true … … 1127 1151 set_namelist namelist_pisces_cfg ln_ironice .false. 1128 1152 set_namelist namelist_pisces_cfg ln_hydrofe .false. 1153 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1129 1154 if [ ${USING_MPMD} == "yes" ] ; then 1130 1155 set_xio_using_server iodef.xml true … … 1193 1218 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1194 1219 1220 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1195 1221 if [ ${USING_MPMD} == "yes" ] ; then 1196 1222 set_xio_using_server iodef.xml true … … 1256 1282 ln -sf ../LONG/3_AGRIF_LONG_${ITRST_3}_restart_ice_${L_NPROC}.nc . 1257 1283 done 1284 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1258 1285 if [ ${USING_MPMD} == "yes" ] ; then 1259 1286 set_xio_using_server iodef.xml true … … 1307 1334 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1308 1335 1336 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1309 1337 if [ ${USING_MPMD} == "yes" ] ; then 1310 1338 set_xio_using_server iodef.xml true … … 1351 1379 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1352 1380 1381 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1353 1382 if [ ${USING_MPMD} == "yes" ] ; then 1354 1383 set_xio_using_server iodef.xml true … … 1391 1420 sed -i "1s/.*/0/" ${EXE_DIR}/AGRIF_FixedGrids.in 1392 1421 1422 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1393 1423 if [ ${USING_MPMD} == "yes" ] ; then 1394 1424 set_xio_using_server iodef.xml true … … 1430 1460 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1431 1461 # 1462 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1432 1463 if [ ${USING_MPMD} == "yes" ] ; then 1433 1464 set_xio_using_server iodef.xml true … … 1482 1513 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1483 1514 #set_namelist namelist_ice_cfg ln_icediachk .true. 1515 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1484 1516 if [ ${USING_MPMD} == "yes" ] ; then 1485 1517 set_xio_using_server iodef.xml true … … 1513 1545 ln -sf ../LONG/WED025_LONG_${ITRST}_restart_ice_${L_NPROC}.nc . 1514 1546 done 1547 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1515 1548 if [ ${USING_MPMD} == "yes" ] ; then 1516 1549 set_xio_using_server iodef.xml true … … 1546 1579 set_namelist namelist_cfg jpnj 7 1547 1580 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1581 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1548 1582 if [ ${USING_MPMD} == "yes" ] ; then 1549 1583 set_xio_using_server iodef.xml true … … 1572 1606 set_namelist namelist_cfg jpnj 4 1573 1607 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1608 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 1574 1609 if [ ${USING_MPMD} == "yes" ] ; then 1575 1610 set_xio_using_server iodef.xml true -
utils/CI/sette/sette_test-cases.sh
r13784 r13790 197 197 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 198 198 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 199 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 199 200 if [ ${USING_MPMD} == "yes" ] ; then 200 201 set_xio_using_server iodef.xml true … … 219 220 set_namelist namelist_cfg nn_rstctl 2 220 221 set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_${ITRST}_restart\" 222 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 221 223 if [ ${USING_MPMD} == "yes" ] ; then 222 224 set_xio_using_server iodef.xml true … … 265 267 set_namelist namelist_cfg nn_it000 1 266 268 set_namelist namelist_cfg nn_itend ${ITEND} 269 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 267 270 if [ ${USING_MPMD} == "yes" ] ; then 268 271 set_xio_using_server iodef.xml true … … 316 319 set_namelist namelist_cfg nn_stock $(( ${ITEND} / 2 )) 317 320 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 321 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 318 322 if [ ${USING_MPMD} == "yes" ] ; then 319 323 set_xio_using_server iodef.xml true … … 338 342 set_namelist namelist_cfg nn_rstctl 2 339 343 set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_${ITRST}_restart\" 344 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 340 345 if [ ${USING_MPMD} == "yes" ] ; then 341 346 set_xio_using_server iodef.xml true … … 382 387 rm namelist_*_*_*_* 383 388 cp -pL ${CONFIG_DIR}/${NEW_CONF}/EXP00/$file namelist_cfg 389 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 384 390 set_namelist namelist_cfg nn_it000 1 385 391 set_namelist namelist_cfg nn_itend ${ITEND} … … 444 450 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 445 451 452 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 446 453 if [ ${USING_MPMD} == "yes" ] ; then 447 454 set_xio_using_server iodef.xml true … … 476 483 set_namelist 1_namelist_cfg cn_ocerst_in \"VORTEX_LONG_${ITRST_1}_restart\" 477 484 485 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 478 486 if [ ${USING_MPMD} == "yes" ] ; then 479 487 set_xio_using_server iodef.xml true … … 529 537 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 530 538 539 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 531 540 if [ ${USING_MPMD} == "yes" ] ; then 532 541 set_xio_using_server iodef.xml true … … 565 574 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 566 575 576 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 567 577 if [ ${USING_MPMD} == "yes" ] ; then 568 578 set_xio_using_server iodef.xml true … … 624 634 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 625 635 636 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 626 637 if [ ${USING_MPMD} == "yes" ] ; then 627 638 set_xio_using_server iodef.xml true … … 659 670 660 671 672 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 661 673 if [ ${USING_MPMD} == "yes" ] ; then 662 674 set_xio_using_server iodef.xml true … … 718 730 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 719 731 732 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 720 733 if [ ${USING_MPMD} == "yes" ] ; then 721 734 set_xio_using_server iodef.xml true … … 754 767 set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. 755 768 769 #if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 756 770 if [ ${USING_MPMD} == "yes" ] ; then 757 771 set_xio_using_server iodef.xml true … … 806 820 set_namelist namelist_cfg jpnj 3 807 821 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 822 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 808 823 if [ ${USING_MPMD} == "yes" ] ; then 809 824 set_xio_using_server iodef.xml true … … 830 845 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 831 846 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP+_LONG_${ITRST}_restart\" 847 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 832 848 if [ ${USING_MPMD} == "yes" ] ; then 833 849 set_xio_using_server iodef.xml true … … 874 890 set_namelist namelist_cfg jpnj 3 875 891 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 892 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 876 893 if [ ${USING_MPMD} == "yes" ] ; then 877 894 set_xio_using_server iodef.xml true … … 899 916 set_namelist namelist_cfg jpnj 4 900 917 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 918 if [ ${SETTE_TIMING} == "yes" ] ; then set_namelist namelist_cfg ln_timing .true. ; fi 901 919 if [ ${USING_MPMD} == "yes" ] ; then 902 920 set_xio_using_server iodef.xml true
Note: See TracChangeset
for help on using the changeset viewer.