New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 9518 for branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_rpt.sh – NEMO

Ignore:
Timestamp:
2018-04-27T17:59:40+02:00 (6 years ago)
Author:
clem
Message:

update sette tests so that all configurations are tested and the report includes the test cases if any

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_rpt.sh

    r9223 r9518  
    327327    dorv2=`echo $dorv2 | sed -e 's:.*/::'` 
    328328 
    329     rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ |  tail -2l | head -1 ` 
     329#    rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ |  tail -2l | head -1 ` 
     330    rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ |  tail -1l` 
    330331    rep2=`ls -1rt $vdir/$dir2/$mach/$dorv2/ |  tail -1l` 
    331332    f1s=$vdir/$dir1/$mach/$dorv1/$rep1/run.stat 
     
    346347        fi 
    347348      else 
    348         printf "%-20s %s %s %s %s\n" $rep1 $rep2  " for AGRIF, run.stat test FAILED : " $dorv1 $dorv2 
     349        printf "%-20s %s %s %s %s\n" $rep1 $rep2  " AGRIF: run.stat changed - test FAILED : " $dorv1 $dorv2 
    349350# 
    350351# Offer view of differences on the second pass 
     
    401402do 
    402403# 
    403  if [ $pass == 1 ]; then echo "---------------2nd pass------------------";fi 
     404 if [ $pass == 0 ]; then echo "!!---------------1st pass------------------!!";fi 
     405 if [ $pass == 1 ]; then echo "!!---------------2nd pass------------------!!";fi 
    404406# 
    405407 
    406408# Rebuild and restartability test for SAS 
    407 # 
    408  for restart_file in WSAS_ST 
    409  do 
    410    restfile $NEMO_VALID $restart_file $pass 
    411  done 
     409# clem: not needed anymore 
     410# for restart_file in WSAS_ST 
     411# do 
     412#   restfile $NEMO_VALID $restart_file $pass 
     413# done 
    412414# 
    413415# Restartability test 
    414 # 
    415  for restart_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WISOMIP_ST WORCA2AGR_ST 
     416 echo "   !----restart----!   " 
     417 for restart_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WSAS_ST WAGRIF_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WWAD_ST WSAS_BIPER_ST  
    416418 do 
    417419   resttest $NEMO_VALID $restart_test $pass 
     
    419421# 
    420422# Reproducibility tests 
    421 # 
    422  for repro_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WISOMIP_ST WORCA2_LIM3_OBS_ST WORCA2AGR_ST 
     423 echo "   !----repro----!   " 
     424 for repro_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WSAS_ST WORCA2_LIM3_OBS_ST WAGRIF_ST WISOMIP_ST 
    423425 do 
    424426   reprotest $NEMO_VALID $repro_test $pass 
     
    426428 done 
    427429 
    428  
    429  
    430 # AGRIF special check 
    431  dir1=WORCA2AGUL_NOZOOM_ST 
    432  dir2=WORCA2AGUL_NOAGR_ST 
     430# AGRIF special check to ensure results are unchanged with and without key_agrif 
     431 echo "   !----agrif check----!   " 
     432 dir1=WAGRIF_ST_NOAGRIF 
     433 dir2=WAGRIF_ST 
    433434 identictest $NEMO_VALID $dir1 $dir2 $pass  
    434  
    435435 
    436436done 
Note: See TracChangeset for help on using the changeset viewer.