Changeset 12999


Ignore:
Timestamp:
2020-06-01T12:52:45+02:00 (4 months ago)
Author:
andmirek
Message:

Ticket #2462 update sette to handle restart read/write with XIOS

Location:
utils/CI/r12931_sette_ticket2462
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/r12931_sette_ticket2462/sette_reference-configurations.sh

    r12931 r12999  
    188188    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    189189    set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 
     190    if [ ${USING_XIOS_RRW} == "yes" ] 
     191       then 
     192       set_namelist namelist_cfg nn_wxios 1 
     193    fi 
    190194    if [ ${USING_MPMD} == "yes" ] ; then 
    191195       set_xio_using_server iodef.xml true 
     
    217221    set_namelist namelist_cfg cn_ocerst_in \"GYREPIS_LONG_00000540_restart\" 
    218222    set_namelist namelist_top_cfg cn_trcrst_in \"GYREPIS_LONG_00000540_restart_trc\" 
    219     if [ ${USING_MPMD} == "yes" ] ; then 
    220        set_xio_using_server iodef.xml true 
    221     else 
    222        set_xio_using_server iodef.xml false 
    223     fi 
    224     for (( i=1; i<=$NPROC; i++)) ; do 
    225         L_NPROC=$(( $i - 1 )) 
    226         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    227         ln -sf ../LONG/GYREPIS_LONG_00000540_restart_${L_NPROC}.nc . 
    228         ln -sf ../LONG/GYREPIS_LONG_00000540_restart_trc_${L_NPROC}.nc . 
    229     done 
     223    if [ ${USING_XIOS_RRW} == "yes" ] 
     224       then 
     225       set_namelist namelist_cfg nn_wxios 1 
     226       set_namelist namelist_cfg ln_xios_read .true. 
     227    fi 
     228    if [ ${USING_MPMD} == "yes" ] ; then 
     229       set_xio_using_server iodef.xml true 
     230    else 
     231       set_xio_using_server iodef.xml false 
     232    fi 
     233    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     234            ln -sf ../LONG/GYREPIS_LONG_00000540_restart.nc . 
     235            ln -sf ../LONG/GYREPIS_LONG_00000540_restart_trc.nc . 
     236       else 
     237            for (( i=1; i<=$NPROC; i++)) ; do 
     238                L_NPROC=$(( $i - 1 )) 
     239                L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     240                ln -sf ../LONG/GYREPIS_LONG_00000540_restart_${L_NPROC}.nc . 
     241                ln -sf ../LONG/GYREPIS_LONG_00000540_restart_trc_${L_NPROC}.nc . 
     242            done 
     243    fi 
    230244    cd ${SETTE_DIR} 
    231245    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
     
    254268    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    255269    set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 
     270    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     271       set_namelist namelist_cfg nn_wxios 1 
     272       set_namelist namelist_cfg ln_xios_read .true. 
     273    fi 
    256274    if [ ${USING_MPMD} == "yes" ] ; then 
    257275       set_xio_using_server iodef.xml true 
     
    281299    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    282300    set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 
     301    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     302       set_namelist namelist_cfg nn_wxios 1 
     303       set_namelist namelist_cfg ln_xios_read .true. 
     304    fi 
    283305    if [ ${USING_MPMD} == "yes" ] ; then 
    284306       set_xio_using_server iodef.xml true 
     
    332354    set_namelist namelist_cfg ln_stcor .true. 
    333355    set_namelist namelist_cfg ln_tauwoc .true. 
     356    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     357       set_namelist namelist_cfg nn_wxios 1 
     358    fi 
    334359    # 
    335360    if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi 
     
    378403    set_namelist namelist_cfg ln_stcor .true. 
    379404    set_namelist namelist_cfg ln_tauwoc .true. 
     405    if [ ${USING_XIOS_RRW} == "yes" ] 
     406       then 
     407       set_namelist namelist_cfg nn_wxios 1 
     408       set_namelist namelist_cfg ln_xios_read .true. 
     409    fi 
    380410    # 
    381411    if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi 
     
    401431        L_NPROC=$(( $i - 1 )) 
    402432        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    403         ln -sf ../LONG/O2L3P_LONG_00000496_restart_${L_NPROC}.nc . 
    404         ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc_${L_NPROC}.nc . 
    405         ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice_${L_NPROC}.nc . 
    406433        if [ ${USING_ICEBERGS} == "yes" ] 
    407434            then 
     
    409436        fi 
    410437    done 
     438    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     439            ln -sf ../LONG/O2L3P_LONG_00000496_restart.nc . 
     440            ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice.nc . 
     441            ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc.nc . 
     442       else 
     443            for (( i=1; i<=$NPROC; i++)) ; do 
     444                L_NPROC=$(( $i - 1 )) 
     445                L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     446                ln -sf ../LONG/O2L3P_LONG_00000496_restart_${L_NPROC}.nc . 
     447                ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice_${L_NPROC}.nc . 
     448                ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc_${L_NPROC}.nc . 
     449            done 
     450    fi 
    411451    if [ ${USING_MPMD} == "yes" ] ; then 
    412452       set_xio_using_server iodef.xml true 
     
    445485    set_namelist namelist_cfg ln_stcor .true. 
    446486    set_namelist namelist_cfg ln_tauwoc .true. 
     487    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     488       set_namelist namelist_cfg nn_wxios 1 
     489    fi 
    447490 
    448491    if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi 
     
    491534    set_namelist namelist_cfg ln_stcor .true. 
    492535    set_namelist namelist_cfg ln_tauwoc .true. 
     536    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     537       set_namelist namelist_cfg nn_wxios 1 
     538    fi 
    493539 
    494540    if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi 
     
    549595    set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 
    550596    set_namelist namelist_cfg ln_qsr_rgb .true. 
     597    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     598       set_namelist namelist_cfg nn_wxios 1 
     599    fi 
    551600    set_namelist namelist_top_cfg ln_trcdta .false. 
    552601    set_namelist namelist_top_cfg ln_trcbc  .false. 
     
    582631    set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 
    583632    set_namelist namelist_cfg ln_qsr_rgb .true. 
     633    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     634       set_namelist namelist_cfg nn_wxios 1 
     635       set_namelist namelist_cfg ln_xios_read .true. 
     636    fi 
    584637    set_namelist namelist_top_cfg ln_rsttr .true. 
    585638    set_namelist namelist_top_cfg nn_rsttr 2 
    586639    set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_00000190_restart_trc\" 
    587     for (( i=1; i<=$NPROC; i++)) ; do 
    588         L_NPROC=$(( $i - 1 )) 
    589         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    590         ln -sf ../LONG/OFFP_LONG_00000190_restart_trc_${L_NPROC}.nc . 
    591     done 
     640    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     641        ln -s ../LONG/OFFP_LONG_00000190_restart_trc.nc ./ 
     642    else 
     643        for (( i=1; i<=$NPROC; i++)) ; do 
     644            L_NPROC=$(( $i - 1 )) 
     645            L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     646            ln -sf ../LONG/OFFP_LONG_00000190_restart_trc_${L_NPROC}.nc . 
     647        done 
     648    fi 
    592649    set_namelist namelist_top_cfg ln_trcbc  .false. 
    593650    # put ln_ironsed, ln_hydrofe to false 
     
    630687    set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 
    631688    set_namelist namelist_cfg ln_qsr_rgb .true. 
     689    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     690       set_namelist namelist_cfg nn_wxios 1 
     691    fi 
    632692    set_namelist namelist_top_cfg ln_trcdta .false. 
    633693    set_namelist namelist_top_cfg ln_trcbc  .false. 
     
    667727    set_namelist namelist_cfg sn_cfctl%l_trcstat .true. 
    668728    set_namelist namelist_cfg ln_qsr_rgb .true. 
     729    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     730       set_namelist namelist_cfg nn_wxios 1 
     731    fi 
    669732    set_namelist namelist_top_cfg ln_trcdta .false. 
    670733    set_namelist namelist_top_cfg ln_trcbc  .false. 
     
    719782    set_namelist namelist_cfg jpnj 8 
    720783    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 
    721788    if [ ${USING_MPMD} == "yes" ] ; then 
    722789       set_xio_using_server iodef.xml true 
     
    743810    set_namelist namelist_cfg cn_ocerst_in \"AMM12_LONG_00000288_restart\" 
    744811    set_namelist namelist_cfg nn_date0 20120102 
    745     for (( i=1; i<=$NPROC; i++)) ; do 
    746         L_NPROC=$(( $i - 1 )) 
    747         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    748         ln -sf ../LONG/AMM12_LONG_00000288_restart_${L_NPROC}.nc . 
    749     done 
     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_XIOS_RRW} == "yes" ]; then 
     818        ln -sf ../LONG/AMM12_LONG_00000288_restart.nc . 
     819    else 
     820        for (( i=1; i<=$NPROC; i++)) ; do 
     821             L_NPROC=$(( $i - 1 )) 
     822             L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     823             ln -sf ../LONG/AMM12_LONG_00000288_restart_${L_NPROC}.nc . 
     824        done 
     825    fi 
    750826    if [ ${USING_MPMD} == "yes" ] ; then 
    751827       set_xio_using_server iodef.xml true 
     
    777853    set_namelist namelist_cfg jpnj 4 
    778854    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 
    779858    if [ ${USING_MPMD} == "yes" ] ; then 
    780859       set_xio_using_server iodef.xml true 
     
    801880    set_namelist namelist_cfg jpnj 8 
    802881    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     882    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     883       set_namelist namelist_cfg nn_wxios 1 
     884    fi 
    803885    if [ ${USING_MPMD} == "yes" ] ; then 
    804886       set_xio_using_server iodef.xml true 
     
    845927    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    846928    set_namelist namelist_ice_cfg ln_icediachk .true. 
     929    if [ ${USING_XIOS_RRW} == "yes" ] 
     930       then 
     931       set_namelist namelist_cfg nn_wxios 1 
     932    fi 
    847933    if [ ${USING_MPMD} == "yes" ] ; then 
    848934       set_xio_using_server iodef.xml true 
     
    870956    set_namelist namelist_cfg cn_ocerst_in \"SAS_00000128_restart\" 
    871957    set_namelist namelist_ice_cfg cn_icerst_in \"SAS_00000128_restart_ice\" 
    872     if [ ${USING_MPMD} == "yes" ] ; then 
    873        set_xio_using_server iodef.xml true 
    874     else 
    875        set_xio_using_server iodef.xml false 
    876     fi 
    877     for (( i=1; i<=$NPROC; i++)) ; do 
    878         L_NPROC=$(( $i - 1 )) 
    879         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    880         ln -sf ../LONG/SAS_00000128_restart_${L_NPROC}.nc . 
    881         ln -sf ../LONG/SAS_00000128_restart_ice_${L_NPROC}.nc . 
    882     done 
     958    if [ ${USING_XIOS_RRW} == "yes" ] 
     959       then 
     960       set_namelist namelist_cfg nn_wxios 1 
     961       set_namelist namelist_cfg ln_xios_read .true. 
     962    fi 
     963    if [ ${USING_MPMD} == "yes" ] ; then 
     964       set_xio_using_server iodef.xml true 
     965    else 
     966       set_xio_using_server iodef.xml false 
     967    fi 
     968    if [ ${USING_XIOS_RRW} == "yes" ]; then 
     969        ln -sf ../LONG/SAS_00000128_restart.nc . 
     970        ln -sf ../LONG/SAS_00000128_restart_ice.nc . 
     971    else 
     972        for (( i=1; i<=$NPROC; i++)) ; do 
     973            L_NPROC=$(( $i - 1 )) 
     974            L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     975            ln -sf ../LONG/SAS_00000128_restart_${L_NPROC}.nc . 
     976            ln -sf ../LONG/SAS_00000128_restart_ice_${L_NPROC}.nc . 
     977        done 
     978    fi 
    883979    cd ${SETTE_DIR} 
    884980    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
     
    9051001    set_namelist namelist_cfg jpnj 8 
    9061002    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1003    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1004       set_namelist namelist_cfg nn_wxios 1 
     1005    fi 
    9071006    if [ ${USING_MPMD} == "yes" ] ; then 
    9081007       set_xio_using_server iodef.xml true 
     
    9301029    set_namelist namelist_cfg jpnj 4 
    9311030    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1031    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1032       set_namelist namelist_cfg nn_wxios 1 
     1033    fi 
    9321034    if [ ${USING_MPMD} == "yes" ] ; then 
    9331035       set_xio_using_server iodef.xml true 
     
    9981100    set_namelist namelist_pisces_cfg ln_ironice .false. 
    9991101    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
     1102    if [ ${USING_XIOS_RRW} == "yes" ] 
     1103       then 
     1104       set_namelist namelist_cfg nn_wxios 1 
     1105    fi 
    10001106    if [ ${USING_MPMD} == "yes" ] ; then 
    10011107       set_xio_using_server iodef.xml true 
     
    10461152    set_namelist namelist_pisces_cfg ln_ironice .false. 
    10471153    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
     1154    if [ ${USING_XIOS_RRW} == "yes" ] 
     1155       then 
     1156       set_namelist namelist_cfg nn_wxios 1 
     1157    fi 
    10481158    if [ ${USING_MPMD} == "yes" ] ; then 
    10491159       set_xio_using_server iodef.xml true 
     
    10861196    set_namelist namelist_cfg nn_stock 10 
    10871197    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1198    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1199       set_namelist namelist_cfg nn_wxios 1 
     1200    fi 
    10881201    set_namelist 1_namelist_cfg cn_exp \"AGRIF_LONG\" 
    10891202    set_namelist 1_namelist_cfg nn_it000 1 
     
    11231236    set_namelist namelist_cfg ln_rstart .true. 
    11241237    set_namelist namelist_cfg nn_rstctl 2 
     1238    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1239       set_namelist namelist_cfg nn_wxios 1 
     1240       set_namelist namelist_cfg ln_xios_read .true. 
     1241    fi 
    11251242    set_namelist 1_namelist_cfg cn_exp \"AGRIF_SHORT\" 
    11261243    set_namelist 1_namelist_cfg nn_it000 11 
     
    11531270    set_namelist 3_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_00000120_restart_ice\" 
    11541271 
    1155     for (( i=1; i<=$NPROC; i++)) ; do 
    1156         L_NPROC=$(( $i - 1 )) 
    1157         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    1158         ln -sf ../LONG/AGRIF_LONG_00000010_restart_${L_NPROC}.nc . 
    1159         ln -sf ../LONG/AGRIF_LONG_00000010_restart_ice_${L_NPROC}.nc . 
    1160         ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_${L_NPROC}.nc . 
    1161         ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_ice_${L_NPROC}.nc . 
    1162         ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_${L_NPROC}.nc . 
    1163         ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_ice_${L_NPROC}.nc . 
    1164         ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_${L_NPROC}.nc . 
    1165         ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_ice_${L_NPROC}.nc . 
    1166     done 
     1272    if [ ${USING_XIOS_RRW} == "yes" ]; then 
     1273        ln -sf ../LONG/AGRIF_LONG_00000010_restart.nc . 
     1274        ln -sf ../LONG/1_AGRIF_LONG_00000010_restart.nc . 
     1275        ln -sf ../LONG/2_AGRIF_LONG_00000040_restart.nc . 
     1276        ln -sf ../LONG/3_AGRIF_LONG_00000120_restart.nc . 
     1277        ln -sf ../LONG/AGRIF_LONG_00000010_restart_ice.nc . 
     1278        ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_ice.nc . 
     1279        ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_ice.nc . 
     1280        ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_ice.nc . 
     1281    else 
     1282        for (( i=1; i<=$NPROC; i++)) ; do 
     1283            L_NPROC=$(( $i - 1 )) 
     1284            L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     1285            ln -sf ../LONG/AGRIF_LONG_00000010_restart_${L_NPROC}.nc . 
     1286            ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_${L_NPROC}.nc . 
     1287            ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_${L_NPROC}.nc . 
     1288            ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_${L_NPROC}.nc . 
     1289            ln -sf ../LONG/AGRIF_LONG_00000010_restart_ice_${L_NPROC}.nc . 
     1290            ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_ice_${L_NPROC}.nc . 
     1291            ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_ice_${L_NPROC}.nc . 
     1292            ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_ice_${L_NPROC}.nc . 
     1293        done 
     1294    fi 
    11671295    if [ ${USING_MPMD} == "yes" ] ; then 
    11681296       set_xio_using_server iodef.xml true 
     
    11941322    set_namelist namelist_cfg jpnj 8 
    11951323    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1324    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1325       set_namelist namelist_cfg nn_wxios 1 
     1326    fi 
    11961327    set_namelist 1_namelist_cfg cn_exp \"AGRIF_28\" 
    11971328    set_namelist 1_namelist_cfg nn_it000 1 
     
    12381369    set_namelist namelist_cfg jpnj 4 
    12391370    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1371    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1372       set_namelist namelist_cfg nn_wxios 1 
     1373    fi 
    12401374    set_namelist 1_namelist_cfg cn_exp \"AGRIF_44\" 
    12411375    set_namelist 1_namelist_cfg nn_it000 1 
     
    12841418    set_namelist namelist_cfg nn_itend 150 
    12851419    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1420    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1421       set_namelist namelist_cfg nn_wxios 1 
     1422    fi 
    12861423 
    12871424#   Set the number of fine grids to zero:     
     
    13261463    set_namelist namelist_cfg nn_itend 150 
    13271464    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1465    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1466       set_namelist namelist_cfg nn_wxios 1 
     1467    fi 
    13281468# 
    13291469    if [ ${USING_MPMD} == "yes" ] ; then 
     
    13721512    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    13731513    #set_namelist namelist_ice_cfg ln_icediachk .true. 
     1514    if [ ${USING_XIOS_RRW} == "yes" ] 
     1515       then 
     1516       set_namelist namelist_cfg nn_wxios 1 
     1517    fi 
    13741518    if [ ${USING_MPMD} == "yes" ] ; then 
    13751519       set_xio_using_server iodef.xml true 
     
    13971541    set_namelist namelist_cfg cn_ocerst_in \"S12_LONG_00000120_restart\" 
    13981542    set_namelist namelist_ice_cfg cn_icerst_in \"S12_LONG_00000120_restart_ice\" 
    1399     for (( i=1; i<=$NPROC; i++)) ; do 
    1400         L_NPROC=$(( $i - 1 )) 
    1401         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    1402         ln -sf ../LONG/S12_LONG_00000120_restart_${L_NPROC}.nc . 
    1403         ln -sf ../LONG/S12_LONG_00000120_restart_ice_${L_NPROC}.nc . 
    1404     done 
     1543    if [ ${USING_XIOS_RRW} == "yes" ] 
     1544       then 
     1545       set_namelist namelist_cfg nn_wxios 1 
     1546       set_namelist namelist_cfg ln_xios_read .true. 
     1547    fi 
     1548 
     1549    if [ ${USING_XIOS_RRW} == "yes" ]; then 
     1550        ln -sf ../LONG/S12_LONG_00000120_restart.nc . 
     1551        ln -sf ../LONG/S12_LONG_00000120_restart_ice.nc . 
     1552    else 
     1553        for (( i=1; i<=$NPROC; i++)) ; do 
     1554            L_NPROC=$(( $i - 1 )) 
     1555            L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     1556            ln -sf ../LONG/S12_LONG_00000120_restart_${L_NPROC}.nc . 
     1557            ln -sf ../LONG/S12_LONG_00000120_restart_ice_${L_NPROC}.nc . 
     1558        done 
     1559    fi 
    14051560    if [ ${USING_MPMD} == "yes" ] ; then 
    14061561       set_xio_using_server iodef.xml true 
     
    14331588    set_namelist namelist_cfg jpnj 8 
    14341589    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1590    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1591       set_namelist namelist_cfg nn_wxios 1 
     1592    fi 
    14351593    if [ ${USING_MPMD} == "yes" ] ; then 
    14361594       set_xio_using_server iodef.xml true 
     
    14591617    set_namelist namelist_cfg jpnj 4 
    14601618    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1619    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     1620       set_namelist namelist_cfg nn_wxios 1 
     1621    fi 
    14611622    if [ ${USING_MPMD} == "yes" ] ; then 
    14621623       set_xio_using_server iodef.xml true 
  • utils/CI/r12931_sette_ticket2462/sette_test-cases.sh

    r12931 r12999  
    187187    set_namelist namelist_cfg nn_stock 60 
    188188    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 
    189192    if [ ${USING_MPMD} == "yes" ] ; then 
    190193       set_xio_using_server iodef.xml true 
     
    209212    set_namelist namelist_cfg nn_rstctl 2 
    210213    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 
    211218    if [ ${USING_MPMD} == "yes" ] ; then 
    212219       set_xio_using_server iodef.xml true 
     
    288295    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    289296    set_namelist namelist_cfg nn_itend 120 
     297    if [ ${USING_XIOS_RRW} == "yes" ] ; then 
     298       set_namelist namelist_cfg nn_wxios 1 
     299    fi 
    290300    if [ ${USING_MPMD} == "yes" ] ; then 
    291301       set_xio_using_server iodef.xml true 
     
    310320    set_namelist namelist_cfg nn_rstctl 2 
    311321    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 
    312325    if [ ${USING_MPMD} == "yes" ] ; then 
    313326       set_xio_using_server iodef.xml true 
     
    390403    set_namelist namelist_cfg nn_stock 120 
    391404    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 
    392408 
    393409    set_namelist 1_namelist_cfg cn_exp \"VORTEX_LONG\" 
     
    396412    set_namelist 1_namelist_cfg nn_stock 360 
    397413    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 
    398419    
    399420    if [ ${USING_MPMD} == "yes" ] ; then 
     
    419440    set_namelist namelist_cfg nn_rstctl 2 
    420441    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 
    421446     
    422447    set_namelist 1_namelist_cfg cn_exp \"VORTEX_SHORT\" 
     
    434459        set_xio_using_server iodef.xml false 
    435460    fi 
    436     if [ $NPROC -eq 1 ] ;  then 
     461    if [[ ($NPROC -eq 1 || ${USING_XIOS_RRW} == "yes") ]];  then 
    437462        ln -sf ../LONG/VORTEX_LONG_00000120_restart.nc . 
    438463        ln -sf ../LONG/1_VORTEX_LONG_00000360_restart.nc . 
     
    470495    set_namelist namelist_cfg jpnj 3 
    471496    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 
    472501    
    473502    set_namelist 1_namelist_cfg cn_exp \"VORTEX_23\" 
     
    506535    set_namelist namelist_cfg jpnj 2 
    507536    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 
    508540 
    509541    set_namelist 1_namelist_cfg cn_exp \"VORTEX_32\" 
     
    559591    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    560592    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 
    562596    set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_LONG\" 
    563597    set_namelist 1_namelist_cfg nn_it000 1 
     
    589623    set_namelist namelist_cfg cn_ocerst_in \"ICE_AGRIF_LONG_00000100_restart\" 
    590624    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 
    591629     
    592630    set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_SHORT\" 
     
    606644        set_xio_using_server iodef.xml false 
    607645    fi 
    608     if [ $NPROC -eq 1 ] ;  then 
     646    if [[ ($NPROC -eq 1 || ${USING_XIOS_RRW} == "yes") ]] ;  then 
    609647        ln -sf ../LONG/ICE_AGRIF_LONG_00000100_restart.nc . 
    610648        ln -sf ../LONG/ICE_AGRIF_LONG_00000100_restart_ice.nc . 
     
    648686    set_namelist namelist_cfg jpnj 3 
    649687    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 
    650691     
    651692    set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_23\" 
     
    684725    set_namelist namelist_cfg jpnj 2 
    685726    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 
    686730     
    687731    set_namelist 1_namelist_cfg cn_exp \"ICE_AGRIF_32\" 
     
    738782    set_namelist namelist_cfg jpnj 3 
    739783    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 
    740788    if [ ${USING_MPMD} == "yes" ] ; then 
    741789       set_xio_using_server iodef.xml true 
     
    762810    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    763811    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 
    775831    cd ${SETTE_DIR} 
    776832    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
     
    797853    set_namelist namelist_cfg jpnj 3 
    798854    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 
    799858    if [ ${USING_MPMD} == "yes" ] ; then 
    800859       set_xio_using_server iodef.xml true 
     
    822881    set_namelist namelist_cfg jpnj 4 
    823882    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 
    824886    if [ ${USING_MPMD} == "yes" ] ; then 
    825887       set_xio_using_server iodef.xml true 
Note: See TracChangeset for help on using the changeset viewer.