Changeset 9756


Ignore:
Timestamp:
2018-06-06T18:32:14+02:00 (2 years ago)
Author:
clem
Message:

repair sette for test cases (in particular sas-biper and vortex)

Location:
utils/CI/sette
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette/sette.sh

    r9744 r9756  
    206206        ln -sf ../LONG/GYREPIS_LONG_00000540_restart_trc_${L_NPROC}.nc . 
    207207    done 
    208     if [ ${USING_MPMD} == "yes" ] ; then 
    209        set_xio_using_server iodef.xml true 
    210     else 
    211        set_xio_using_server iodef.xml false 
    212     fi 
    213208    cd ${SETTE_DIR} 
    214209    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
  • utils/CI/sette/sette_rpt.sh

    r9744 r9756  
    424424 echo "" 
    425425 echo "   !----restart----!   " 
    426  for restart_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WAGRIF_ICE_ST WSPITZ12_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WWAD_ST WSAS_BIPER_ST  
     426 for restart_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WAGRIF_ICE_ST WSPITZ12_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WSAS_BIPER_ST  
    427427 do 
    428428   resttest $NEMO_VALID $restart_test $pass 
     
    433433 echo "" 
    434434 echo "   !----repro----!   " 
    435  for repro_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WORCA2_ICE_OBS_ST WAGRIF_ICE_ST WSPITZ12_ST WISOMIP_ST 
     435 for repro_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WORCA2_ICE_OBS_ST WAGRIF_ICE_ST WSPITZ12_ST WISOMIP_ST WVORTEX_ST WSAS_BIPER_ST 
    436436 do 
    437437   reprotest $NEMO_VALID $repro_test $pass 
  • utils/CI/sette/sette_test-cases.sh

    r9744 r9756  
    194194    fi 
    195195    ln -sf ../LONG/OVF_LONG_00000060_restart.nc . 
    196     if [ ${USING_MPMD} == "yes" ] ; then 
    197        set_xio_using_server iodef.xml true 
    198     else 
    199        set_xio_using_server iodef.xml false 
    200     fi 
     196 
    201197    cd ${SETTE_DIR} 
    202198    . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     
    281277    fi 
    282278    ln -sf ../LONG/LOCK_LONG_00000060_restart.nc . 
    283     if [ ${USING_MPMD} == "yes" ] ; then 
    284        set_xio_using_server iodef.xml true 
    285     else 
    286        set_xio_using_server iodef.xml false 
    287     fi 
     279 
    288280    cd ${SETTE_DIR} 
    289281    . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     
    325317# VORTEX 
    326318# --------- 
    327 if [ ${config} -eq 3 ] ;  then 
    328     ## Restartability tests for VORTEX 
     319if [ ${config} -eq 3 ] ;  then  
     320## Restartability tests for VORTEX 
    329321    export TEST_NAME="LONG" 
    330322    cd ${MAIN_DIR} 
    331     . ./makenemo -m ${CMP_NAM} -n VORTEX_ST -a VORTEX -j 8 del_key ${DEL_KEYS} 
     323    . ./makenemo -m ${CMP_NAM} -n VORTEX_ST -a VORTEX -j 8  del_key ${DEL_KEYS} 
    332324    cd ${SETTE_DIR} 
    333325    . ./param.cfg 
     
    335327    . ./prepare_exe_dir.sh 
    336328    JOB_FILE=${EXE_DIR}/run_job.sh 
    337     NPROC=1 
    338     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     329    NPROC=6 
     330    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi  
    339331    cd ${EXE_DIR} 
    340332    set_namelist namelist_cfg cn_exp \"VORTEX_LONG\" 
    341333    set_namelist namelist_cfg nn_it000 1 
    342     set_namelist namelist_cfg nn_stock 60 
    343     set_namelist namelist_cfg nn_itend 120 
    344     if [ ${USING_MPMD} == "yes" ] ; then 
    345        set_xio_using_server iodef.xml true 
    346     else 
    347        set_xio_using_server iodef.xml false 
     334    set_namelist namelist_cfg nn_itend 240 
     335    set_namelist namelist_cfg nn_stock 120 
     336     
     337    set_namelist 1_namelist_cfg cn_exp \"VORTEX_LONG\" 
     338    set_namelist 1_namelist_cfg nn_it000 1 
     339    set_namelist 1_namelist_cfg nn_itend 720 
     340    set_namelist 1_namelist_cfg nn_stock 360 
     341     
     342    if [ ${USING_MPMD} == "yes" ] ; then 
     343        set_xio_using_server iodef.xml true 
     344    else 
     345        set_xio_using_server iodef.xml false 
    348346    fi 
    349347    cd ${SETTE_DIR} 
    350348    . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    351  
     349     
    352350    cd ${SETTE_DIR} 
    353351    export TEST_NAME="SHORT" 
     
    355353    cd ${EXE_DIR} 
    356354    set_namelist namelist_cfg cn_exp \"VORTEX_SHORT\" 
    357     set_namelist namelist_cfg nn_it000 61 
    358     set_namelist namelist_cfg nn_itend 120 
    359     set_namelist namelist_cfg nn_stock 60 
     355    set_namelist namelist_cfg nn_it000 121 
     356    set_namelist namelist_cfg nn_itend 240 
     357    set_namelist namelist_cfg nn_stock 120 
    360358    set_namelist namelist_cfg ln_rstart .true. 
    361359    set_namelist namelist_cfg nn_rstctl 2 
    362     set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000060_restart\" 
    363     if [ ${USING_MPMD} == "yes" ] ; then 
    364        set_xio_using_server iodef.xml true 
    365     else 
    366        set_xio_using_server iodef.xml false 
    367     fi 
    368     ln -sf ../LONG/VORTEX_LONG_00000060_restart.nc . 
    369     if [ ${USING_MPMD} == "yes" ] ; then 
    370        set_xio_using_server iodef.xml true 
    371     else 
    372        set_xio_using_server iodef.xml false 
     360    set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000120_restart\" 
     361     
     362    set_namelist 1_namelist_cfg cn_exp \"VORTEX_SHORT\" 
     363    set_namelist 1_namelist_cfg nn_it000 361 
     364    set_namelist 1_namelist_cfg nn_itend 720 
     365    set_namelist 1_namelist_cfg nn_stock 360 
     366    set_namelist 1_namelist_cfg ln_rstart .true. 
     367    set_namelist 1_namelist_cfg nn_rstctl 2 
     368    set_namelist 1_namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000360_restart\" 
     369       
     370    if [ ${USING_MPMD} == "yes" ] ; then 
     371        set_xio_using_server iodef.xml true 
     372    else 
     373        set_xio_using_server iodef.xml false 
     374    fi 
     375    if [ $NPROC -eq 1 ] ;  then 
     376        ln -sf ../LONG/VORTEX_LONG_00000120_restart.nc . 
     377        ln -sf ../LONG/1_VORTEX_LONG_00000360_restart.nc . 
     378    else 
     379        for (( i=1; i<=$NPROC; i++)) ; do 
     380            L_NPROC=$(( $i - 1 )) 
     381            L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     382            ln -sf ../LONG/VORTEX_LONG_00000120_restart_${L_NPROC}.nc . 
     383            ln -sf ../LONG/1_VORTEX_LONG_00000360_restart_${L_NPROC}.nc . 
     384        done 
    373385    fi 
    374386    cd ${SETTE_DIR} 
     
    377389    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    378390 
    379  
    380     ## Test for all advection, vert. coordinates, vector form, flux form: test runability and complete all time steps 
    381     ## Needed namelist-xxxx for every type of run tested 
    382     cd ${CONFIG_DIR}/${NEW_CONF}/EXP00 
    383  
    384     for file in $(echo `ls namelist_*_cfg `) ; do 
    385         TEST_NAME=`ls $file | sed -e "s/namelist_//" | sed -e "s/_cfg//"` 
    386         TEST_NAME="EXP-${TEST_NAME}" 
    387         `mkdir ${CONFIG_DIR}/${NEW_CONF}/${TEST_NAME}` 
    388         export TEST_NAME="${TEST_NAME}" 
    389          ##   
    390         cd ${SETTE_DIR} 
    391         . ./param.cfg 
    392         . ./all_functions.sh 
    393         . ./prepare_exe_dir.sh 
    394         JOB_FILE=${EXE_DIR}/run_job.sh 
    395         NPROC=1 
    396         if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    397         cd ${EXE_DIR} 
    398         if [ ${USING_MPMD} == "yes" ] ; then 
    399            set_xio_using_server iodef.xml true 
    400         else 
    401            set_xio_using_server iodef.xml false 
    402         fi 
    403         cd ${SETTE_DIR} 
    404         . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    405         cd ${SETTE_DIR} 
    406         . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    407        ## 
    408     done 
     391## Reproducibility tests for VORTEX 
     392    export TEST_NAME="REPRO_2_3" 
     393    cd ${MAIN_DIR} 
     394    cd ${SETTE_DIR} 
     395    . ./param.cfg 
     396    . ./all_functions.sh 
     397    . ./prepare_exe_dir.sh 
     398    JOB_FILE=${EXE_DIR}/run_job.sh 
     399    NPROC=6 
     400    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     401    cd ${EXE_DIR} 
     402    set_namelist namelist_cfg cn_exp \"VORTEX_23\" 
     403    set_namelist namelist_cfg nn_it000 1 
     404    set_namelist namelist_cfg nn_itend 240 
     405    set_namelist namelist_cfg nn_stock 120 
     406    set_namelist namelist_cfg jpni 2 
     407    set_namelist namelist_cfg jpnj 3 
     408    set_namelist namelist_cfg jpnij 6 
     409     
     410    set_namelist 1_namelist_cfg cn_exp \"VORTEX_23\" 
     411    set_namelist 1_namelist_cfg nn_it000 1 
     412    set_namelist 1_namelist_cfg nn_itend 720 
     413    set_namelist 1_namelist_cfg nn_stock 360 
     414    set_namelist 1_namelist_cfg jpni 2 
     415    set_namelist 1_namelist_cfg jpnj 3 
     416    set_namelist 1_namelist_cfg jpnij 6 
     417 
     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 
     423    cd ${SETTE_DIR} 
     424    . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     425    cd ${SETTE_DIR} 
     426    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     427 
     428    cd ${SETTE_DIR} 
     429    export TEST_NAME="REPRO_3_2" 
     430    . ./prepare_exe_dir.sh 
     431    JOB_FILE=${EXE_DIR}/run_job.sh 
     432    NPROC=6 
     433    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     434    cd ${EXE_DIR} 
     435 
     436    set_namelist namelist_cfg cn_exp \"VORTEX_32\" 
     437    set_namelist namelist_cfg nn_it000 1 
     438    set_namelist namelist_cfg nn_itend 240 
     439    set_namelist namelist_cfg nn_stock 120 
     440    set_namelist namelist_cfg jpni 3 
     441    set_namelist namelist_cfg jpnj 2 
     442    set_namelist namelist_cfg jpnij 6 
     443     
     444    set_namelist 1_namelist_cfg cn_exp \"VORTEX_32\" 
     445    set_namelist 1_namelist_cfg nn_it000 1 
     446    set_namelist 1_namelist_cfg nn_itend 720 
     447    set_namelist 1_namelist_cfg nn_stock 360 
     448    set_namelist 1_namelist_cfg jpni 3 
     449    set_namelist 1_namelist_cfg jpnj 2 
     450    set_namelist 1_namelist_cfg jpnij 6 
     451     
     452    if [ ${USING_MPMD} == "yes" ] ; then 
     453       set_xio_using_server iodef.xml true 
     454    else 
     455       set_xio_using_server iodef.xml false 
     456    fi 
     457    cd ${SETTE_DIR} 
     458    . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     459    cd ${SETTE_DIR} 
     460    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     461 
    409462fi 
    410463 
     
    423476    . ./prepare_exe_dir.sh 
    424477    JOB_FILE=${EXE_DIR}/run_job.sh 
    425     NPROC=1 
     478    NPROC=6 
    426479    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi  
    427480    cd ${EXE_DIR} 
     
    510563        done 
    511564    fi 
    512     if [ ${USING_MPMD} == "yes" ] ; then 
    513         set_xio_using_server iodef.xml true 
    514     else 
    515         set_xio_using_server iodef.xml false 
    516     fi 
    517     if [ $NPROC -eq 1 ] ;  then 
    518         ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart.nc . 
    519         ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_ice.nc . 
    520    ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart.nc . 
    521         ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_ice.nc . 
    522     else 
    523         for (( i=1; i<=$NPROC; i++)) ; do 
    524             L_NPROC=$(( $i - 1 )) 
    525             L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    526             ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_${L_NPROC}.nc . 
    527             ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_ice_${L_NPROC}.nc . 
    528             ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_${L_NPROC}.nc . 
    529             ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_ice_${L_NPROC}.nc . 
    530         done 
    531     fi 
    532     if [ ${USING_MPMD} == "yes" ] ; then 
    533         set_xio_using_server iodef.xml true 
    534     else 
    535         set_xio_using_server iodef.xml false 
    536     fi 
     565 
    537566    cd ${SETTE_DIR} 
    538567    . ./prepare_job.sh input_SASBIPER.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    539568    cd ${SETTE_DIR} 
    540569    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    541      
     570 
     571 
     572## Reproducibility tests for SAS_BIPER 
     573    export TEST_NAME="REPRO_2_3" 
     574    cd ${MAIN_DIR} 
     575    cd ${SETTE_DIR} 
     576    . ./param.cfg 
     577    . ./all_functions.sh 
     578    . ./prepare_exe_dir.sh 
     579    JOB_FILE=${EXE_DIR}/run_job.sh 
     580    NPROC=6 
     581    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     582    cd ${EXE_DIR} 
     583    set_namelist namelist_cfg cn_exp \"SAS_BIPER_23\" 
     584    set_namelist namelist_cfg nn_it000 1 
     585    set_namelist namelist_cfg nn_itend 200 
     586    set_namelist namelist_cfg nn_stock 100 
     587    set_namelist namelist_cfg jpni 2 
     588    set_namelist namelist_cfg jpnj 3 
     589    set_namelist namelist_cfg jpnij 6 
     590 
     591    #set_namelist namelist_ice_cfg ln_icethd .true. 
     592    set_namelist namelist_ice_cfg ln_icedyn .true. 
     593    set_namelist namelist_ice_cfg ln_dynFULL .true. 
     594    set_namelist namelist_ice_cfg ln_dynRHGADV .false. 
     595    set_namelist namelist_ice_cfg ln_dynADV .false. 
     596     
     597    set_namelist 1_namelist_cfg cn_exp \"SAS_BIPER_23\" 
     598    set_namelist 1_namelist_cfg nn_it000 1 
     599    set_namelist 1_namelist_cfg nn_itend 600 
     600    set_namelist 1_namelist_cfg nn_stock 300 
     601    set_namelist 1_namelist_cfg jpni 2 
     602    set_namelist 1_namelist_cfg jpnj 3 
     603    set_namelist 1_namelist_cfg jpnij 6 
     604 
     605    #set_namelist 1_namelist_ice_cfg ln_icethd .true. 
     606    set_namelist 1_namelist_ice_cfg ln_icedyn .true. 
     607    set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 
     608    set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 
     609    set_namelist 1_namelist_ice_cfg ln_dynADV .false. 
     610 
     611    if [ ${USING_MPMD} == "yes" ] ; then 
     612       set_xio_using_server iodef.xml true 
     613    else 
     614       set_xio_using_server iodef.xml false 
     615    fi 
     616    cd ${SETTE_DIR} 
     617    . ./prepare_job.sh input_SASBIPER.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     618    cd ${SETTE_DIR} 
     619    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     620 
     621    cd ${SETTE_DIR} 
     622    export TEST_NAME="REPRO_3_2" 
     623    . ./prepare_exe_dir.sh 
     624    JOB_FILE=${EXE_DIR}/run_job.sh 
     625    NPROC=6 
     626    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     627    cd ${EXE_DIR} 
     628 
     629    set_namelist namelist_cfg cn_exp \"SAS_BIPER_32\" 
     630    set_namelist namelist_cfg nn_it000 1 
     631    set_namelist namelist_cfg nn_itend 200 
     632    set_namelist namelist_cfg nn_stock 100 
     633    set_namelist namelist_cfg jpni 3 
     634    set_namelist namelist_cfg jpnj 2 
     635    set_namelist namelist_cfg jpnij 6 
     636 
     637    #set_namelist namelist_ice_cfg ln_icethd .true. 
     638    set_namelist namelist_ice_cfg ln_icedyn .true. 
     639    set_namelist namelist_ice_cfg ln_dynFULL .true. 
     640    set_namelist namelist_ice_cfg ln_dynRHGADV .false. 
     641    set_namelist namelist_ice_cfg ln_dynADV .false. 
     642     
     643    set_namelist 1_namelist_cfg cn_exp \"SAS_BIPER_32\" 
     644    set_namelist 1_namelist_cfg nn_it000 1 
     645    set_namelist 1_namelist_cfg nn_itend 600 
     646    set_namelist 1_namelist_cfg nn_stock 300 
     647    set_namelist 1_namelist_cfg jpni 3 
     648    set_namelist 1_namelist_cfg jpnj 2 
     649    set_namelist 1_namelist_cfg jpnij 6 
     650 
     651    #set_namelist 1_namelist_ice_cfg ln_icethd .true. 
     652    set_namelist 1_namelist_ice_cfg ln_icedyn .true. 
     653    set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 
     654    set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 
     655    set_namelist 1_namelist_ice_cfg ln_dynADV .false. 
     656     
     657    if [ ${USING_MPMD} == "yes" ] ; then 
     658       set_xio_using_server iodef.xml true 
     659    else 
     660       set_xio_using_server iodef.xml false 
     661    fi 
     662    cd ${SETTE_DIR} 
     663    . ./prepare_job.sh input_SASBIPER.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     664    cd ${SETTE_DIR} 
     665    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     666 
    542667fi 
    543668 
     
    597722        ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 
    598723    done 
    599     if [ ${USING_MPMD} == "yes" ] ; then 
    600        set_xio_using_server iodef.xml true 
    601     else 
    602        set_xio_using_server iodef.xml false 
    603     fi 
     724 
    604725    cd ${SETTE_DIR} 
    605726    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
Note: See TracChangeset for help on using the changeset viewer.