Changeset 12514
- Timestamp:
- 2020-03-05T15:44:42+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette_ticket2386/sette_reference-configurations.sh
r12513 r12514 183 183 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 184 184 set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 185 if [ ${USING_XIOS_RRW} == "yes" ] 186 then 187 set_namelist namelist_cfg nn_wxios 1 188 fi 185 189 if [ ${USING_MPMD} == "yes" ] ; then 186 190 set_xio_using_server iodef.xml true … … 213 217 set_namelist namelist_cfg cn_ocerst_in \"GYREPIS_LONG_00000540_restart\" 214 218 set_namelist namelist_top_cfg cn_trcrst_in \"GYREPIS_LONG_00000540_restart_trc\" 219 if [ ${USING_XIOS_RRW} == "yes" ] 220 then 221 set_namelist namelist_cfg nn_wxios 1 222 set_namelist namelist_cfg ln_xios_read .true. 223 fi 215 224 if [ ${USING_MPMD} == "yes" ] ; then 216 225 set_xio_using_server iodef.xml true … … 221 230 L_NPROC=$(( $i - 1 )) 222 231 L_NPROC=`printf "%04d\n" ${L_NPROC}` 223 ln -sf ../LONG/GYREPIS_LONG_00000540_restart_${L_NPROC}.nc .224 232 ln -sf ../LONG/GYREPIS_LONG_00000540_restart_trc_${L_NPROC}.nc . 225 233 done 234 if [ ${USING_XIOS_RRW} == "yes" ] 235 then 236 237 ln -sf ../LONG/GYREPIS_LONG_00000540_restart.nc . 238 else 239 for (( i=1; i<=$NPROC; i++)) ; do 240 L_NPROC=$(( $i - 1 )) 241 L_NPROC=`printf "%04d\n" ${L_NPROC}` 242 ln -sf ../LONG/GYREPIS_LONG_00000540_restart_${L_NPROC}.nc . 243 done 244 fi 245 226 246 cd ${SETTE_DIR} 227 247 . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 309 329 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 310 330 cd ${EXE_DIR} 331 if [ ${USING_XIOS_RRW} == "yes" ] 332 then 333 set_namelist namelist_cfg nn_wxios 1 334 fi 311 335 set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" 312 336 set_namelist namelist_cfg nn_it000 1 … … 372 396 set_namelist namelist_cfg ln_stcor .true. 373 397 set_namelist namelist_cfg ln_tauwoc .true. 398 if [ ${USING_XIOS_RRW} == "yes" ] 399 then 400 set_namelist namelist_cfg nn_wxios 1 401 set_namelist namelist_cfg ln_xios_read .true. 402 fi 374 403 # 375 404 if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi … … 395 424 L_NPROC=$(( $i - 1 )) 396 425 L_NPROC=`printf "%04d\n" ${L_NPROC}` 397 ln -sf ../LONG/O2L3P_LONG_00000496_restart_${L_NPROC}.nc .398 426 ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc_${L_NPROC}.nc . 399 427 ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice_${L_NPROC}.nc . … … 403 431 fi 404 432 done 433 if [ ${USING_XIOS_RRW} == "yes" ] 434 then 435 ln -sf ../LONG/O2L3P_LONG_00000496_restart.nc . 436 else 437 for (( i=1; i<=$NPROC; i++)) ; do 438 L_NPROC=$(( $i - 1 )) 439 L_NPROC=`printf "%04d\n" ${L_NPROC}` 440 ln -sf ../LONG/O2L3P_LONG_00000496_restart_${L_NPROC}.nc . 441 done 442 fi 405 443 if [ ${USING_MPMD} == "yes" ] ; then 406 444 set_xio_using_server iodef.xml true … … 708 746 set_namelist namelist_cfg sn_cfctl%l_config .true. 709 747 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 748 if [ ${USING_XIOS_RRW} == "yes" ] 749 then 750 set_namelist namelist_cfg nn_wxios 1 751 fi 710 752 if [ ${USING_MPMD} == "yes" ] ; then 711 753 set_xio_using_server iodef.xml true … … 733 775 set_namelist namelist_cfg cn_ocerst_in \"AMM12_LONG_00000288_restart\" 734 776 set_namelist namelist_cfg nn_date0 20120102 735 for (( i=1; i<=$NPROC; i++)) ; do 736 L_NPROC=$(( $i - 1 )) 737 L_NPROC=`printf "%04d\n" ${L_NPROC}` 738 ln -sf ../LONG/AMM12_LONG_00000288_restart_${L_NPROC}.nc . 739 done 777 if [ ${USING_XIOS_RRW} == "yes" ] 778 then 779 set_namelist namelist_cfg nn_wxios 1 780 set_namelist namelist_cfg ln_xios_read .true. 781 fi 782 if [ ${USING_XIOS_RRW} == "yes" ]; then 783 ln -sf ../LONG/AMM12_LONG_00000288_restart.nc . 784 else 785 for (( i=1; i<=$NPROC; i++)) ; do 786 L_NPROC=$(( $i - 1 )) 787 L_NPROC=`printf "%04d\n" ${L_NPROC}` 788 ln -sf ../LONG/AMM12_LONG_00000288_restart_${L_NPROC}.nc . 789 done 790 fi 740 791 if [ ${USING_MPMD} == "yes" ] ; then 741 792 set_xio_using_server iodef.xml true … … 832 883 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 833 884 set_namelist namelist_ice_cfg ln_icediachk .true. 885 if [ ${USING_XIOS_RRW} == "yes" ] 886 then 887 set_namelist namelist_cfg nn_wxios 1 888 fi 834 889 if [ ${USING_MPMD} == "yes" ] ; then 835 890 set_xio_using_server iodef.xml true … … 858 913 set_namelist namelist_cfg cn_ocerst_in \"SAS_00000128_restart\" 859 914 set_namelist namelist_ice_cfg cn_icerst_in \"SAS_00000128_restart_ice\" 915 if [ ${USING_XIOS_RRW} == "yes" ] 916 then 917 set_namelist namelist_cfg nn_wxios 1 918 set_namelist namelist_cfg ln_xios_read .true. 919 fi 860 920 if [ ${USING_MPMD} == "yes" ] ; then 861 921 set_xio_using_server iodef.xml true … … 866 926 L_NPROC=$(( $i - 1 )) 867 927 L_NPROC=`printf "%04d\n" ${L_NPROC}` 868 ln -sf ../LONG/SAS_00000128_restart_${L_NPROC}.nc .869 928 ln -sf ../LONG/SAS_00000128_restart_ice_${L_NPROC}.nc . 870 929 done 930 if [ ${USING_XIOS_RRW} == "yes" ]; then 931 ln -sf ../LONG/SAS_00000128_restart.nc . 932 else 933 for (( i=1; i<=$NPROC; i++)) ; do 934 L_NPROC=$(( $i - 1 )) 935 L_NPROC=`printf "%04d\n" ${L_NPROC}` 936 ln -sf ../LONG/SAS_00000128_restart_${L_NPROC}.nc . 937 done 938 fi 939 871 940 cd ${SETTE_DIR} 872 941 . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} … … 983 1052 set_namelist namelist_pisces_cfg ln_ironice .false. 984 1053 set_namelist namelist_pisces_cfg ln_hydrofe .false. 1054 if [ ${USING_XIOS_RRW} == "yes" ] 1055 then 1056 set_namelist namelist_cfg nn_wxios 1 1057 fi 985 1058 if [ ${USING_MPMD} == "yes" ] ; then 986 1059 set_xio_using_server iodef.xml true … … 1032 1105 set_namelist namelist_pisces_cfg ln_ironice .false. 1033 1106 set_namelist namelist_pisces_cfg ln_hydrofe .false. 1107 if [ ${USING_XIOS_RRW} == "yes" ] 1108 then 1109 set_namelist namelist_cfg nn_wxios 1 1110 set_namelist namelist_cfg ln_xios_read .true. 1111 fi 1034 1112 if [ ${USING_MPMD} == "yes" ] ; then 1035 1113 set_xio_using_server iodef.xml true … … 1085 1163 set_namelist 3_namelist_cfg sn_cfctl%l_config .true. 1086 1164 set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. 1087 1165 if [ ${USING_XIOS_RRW} == "yes" ] 1166 then 1167 set_namelist namelist_cfg nn_wxios 1 1168 fi 1088 1169 if [ ${USING_MPMD} == "yes" ] ; then 1089 1170 set_xio_using_server iodef.xml true … … 1140 1221 set_namelist 3_namelist_cfg cn_ocerst_in \"AGRIF_LONG_00000120_restart\" 1141 1222 set_namelist 3_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_00000120_restart_ice\" 1223 if [ ${USING_XIOS_RRW} == "yes" ] 1224 then 1225 set_namelist namelist_cfg nn_wxios 1 1226 set_namelist namelist_cfg ln_xios_read .true. 1227 fi 1142 1228 1143 1229 for (( i=1; i<=$NPROC; i++)) ; do 1144 1230 L_NPROC=$(( $i - 1 )) 1145 1231 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1146 ln -sf ../LONG/AGRIF_LONG_00000010_restart_${L_NPROC}.nc .1147 1232 ln -sf ../LONG/AGRIF_LONG_00000010_restart_ice_${L_NPROC}.nc . 1148 ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_${L_NPROC}.nc .1149 1233 ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_ice_${L_NPROC}.nc . 1150 ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_${L_NPROC}.nc .1151 1234 ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_ice_${L_NPROC}.nc . 1152 ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_${L_NPROC}.nc .1153 1235 ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_ice_${L_NPROC}.nc . 1154 1236 done 1237 if [ ${USING_XIOS_RRW} == "yes" ]; then 1238 ln -sf ../LONG/AGRIF_LONG_00000010_restart.nc . 1239 ln -sf ../LONG/1_AGRIF_LONG_00000010_restart.nc . 1240 ln -sf ../LONG/2_AGRIF_LONG_00000040_restart.nc . 1241 ln -sf ../LONG/3_AGRIF_LONG_00000120_restart.nc . 1242 else 1243 for (( i=1; i<=$NPROC; i++)) ; do 1244 L_NPROC=$(( $i - 1 )) 1245 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1246 ln -sf ../LONG/AGRIF_LONG_00000010_restart_${L_NPROC}.nc . 1247 ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_${L_NPROC}.nc . 1248 ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_${L_NPROC}.nc . 1249 ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_${L_NPROC}.nc . 1250 done 1251 fi 1155 1252 if [ ${USING_MPMD} == "yes" ] ; then 1156 1253 set_xio_using_server iodef.xml true … … 1359 1456 set_namelist namelist_cfg sn_cfctl%l_runstat .true. 1360 1457 #set_namelist namelist_ice_cfg ln_icediachk .true. 1458 if [ ${USING_XIOS_RRW} == "yes" ] 1459 then 1460 set_namelist namelist_cfg nn_wxios 1 1461 fi 1361 1462 if [ ${USING_MPMD} == "yes" ] ; then 1362 1463 set_xio_using_server iodef.xml true … … 1385 1486 set_namelist namelist_cfg cn_ocerst_in \"S12_LONG_00000120_restart\" 1386 1487 set_namelist namelist_ice_cfg cn_icerst_in \"S12_LONG_00000120_restart_ice\" 1488 if [ ${USING_XIOS_RRW} == "yes" ] 1489 then 1490 set_namelist namelist_cfg nn_wxios 1 1491 set_namelist namelist_cfg ln_xios_read .true. 1492 fi 1493 1387 1494 for (( i=1; i<=$NPROC; i++)) ; do 1388 1495 L_NPROC=$(( $i - 1 )) 1389 1496 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1390 ln -sf ../LONG/S12_LONG_00000120_restart_${L_NPROC}.nc .1391 1497 ln -sf ../LONG/S12_LONG_00000120_restart_ice_${L_NPROC}.nc . 1392 1498 done 1499 1500 if [ ${USING_XIOS_RRW} == "yes" ]; then 1501 ln -sf ../LONG/S12_LONG_00000120_restart.nc . 1502 else 1503 for (( i=1; i<=$NPROC; i++)) ; do 1504 L_NPROC=$(( $i - 1 )) 1505 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1506 ln -sf ../LONG/S12_LONG_00000120_restart.nc . 1507 done 1508 fi 1393 1509 if [ ${USING_MPMD} == "yes" ] ; then 1394 1510 set_xio_using_server iodef.xml true
Note: See TracChangeset
for help on using the changeset viewer.