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 7715 for trunk/NEMOGCM/SETTE/sette_rpt – NEMO

Ignore:
Timestamp:
2017-02-22T15:20:01+01:00 (7 years ago)
Author:
flavoni
Message:

#1850 commit new list of REFERENCE CONFIGURATIONS, and SETTE tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/SETTE/sette_rpt

    r7646 r7715  
    2626 
    2727foreach pass (0 1 ) 
    28   if ( -d ./WGYRE_LONG ) then 
    29     set dorv = `ls -1rtd ./WGYRE_LONG/{$mach}/* | tail -1l ` 
    30     set dorv = $dorv:t 
    31     set f1o = ./WGYRE_LONG/{$mach}/{$dorv}/LONG/ocean.output 
    32     set f1s = ./WGYRE_LONG/{$mach}/{$dorv}/LONG/solver.stat 
    33     set f2o = ./WGYRE_LONG/{$mach}/{$dorv}/SHORT/ocean.output 
    34     set f2s = ./WGYRE_LONG/{$mach}/{$dorv}/SHORT/solver.stat 
    35    
    36     set nl = `wc -l $f2s` 
    37     tail -$nl[1] $f1s > f1.tmp$$ 
    38     cmp -s f1.tmp$$ $f2s 
    39     if ( $status == 0 ) then 
    40       echo "GYRE        restartability  passed" 
    41     else 
    42       echo "GYRE        restartability  FAILED" 
     28  if ( -d ./WGYREPIS_LONG ) then 
     29    set dorv = `ls -1rtd ./WGYREPIS_LONG/{$mach}/* | tail -1l ` 
     30    set dorv = $dorv:t 
     31    set f1o = ./WGYREPIS_LONG/{$mach}/{$dorv}/LONG/ocean.output 
     32    set f1s = ./WGYREPIS_LONG/{$mach}/{$dorv}/LONG/solver.stat 
     33    set f2o = ./WGYREPIS_LONG/{$mach}/{$dorv}/SHORT/ocean.output 
     34    set f2s = ./WGYREPIS_LONG/{$mach}/{$dorv}/SHORT/solver.stat 
     35   
     36    set nl = `wc -l $f2s` 
     37    tail -$nl[1] $f1s > f1.tmp$$ 
     38    cmp -s f1.tmp$$ $f2s 
     39    if ( $status == 0 ) then 
     40      echo "GYRE_PISCES        restartability  passed" 
     41    else 
     42      echo "GYRE_PISCES        restartability  FAILED" 
    4343      if ( $pass == 1 ) then 
    4444        echo "<return> to view solver.stat differences" 
     
    182182    else 
    183183      echo "AMM12       restartability  FAILED" 
    184       if ( $pass == 1 ) then 
    185         echo "<return> to view solver.stat differences" 
    186         set y = $< 
    187         sdiff f1.tmp$$ $f2s 
    188         echo "<return> to view ocean.output differences" 
    189         set y = $< 
    190         sdiff $f1o $f2o | grep "|" 
    191         echo "<return> to continue" 
    192         set y = $< 
    193       endif 
    194     endif 
    195     rm f1.tmp$$ 
    196   endif 
    197   if ( -d ./WORCA2LIM3_LONG ) then 
    198     set dorv = `ls -1rtd ./WORCA2LIM3_LONG/{$mach}/* | tail -1l ` 
    199     set dorv = $dorv:t 
    200     set f1o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/ocean.output 
    201     set f1s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/solver.stat 
    202     set f2o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/ocean.output 
    203     set f2s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/solver.stat 
    204     set nl = `wc -l $f2s` 
    205     tail -$nl[1] $f1s > f1.tmp$$ 
    206     cmp -s f1.tmp$$ $f2s 
    207     if ( $status == 0 ) then 
    208       echo "ORCA2LIM3   restartability  passed" 
    209     else 
    210       echo "ORCA2LIM3   restartability  FAILED" 
    211184      if ( $pass == 1 ) then 
    212185        echo "<return> to view solver.stat differences" 
     
    260233NEXT1: 
    261234   
    262   if ( -d ./WGYRE_32 ) then 
    263     set dorv = `ls -1rtd ./WGYRE_32/{$mach}/* | tail -1l ` 
    264     set dorv = $dorv:t 
    265     set f1o = ./WGYRE_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 
    266     set f1s = ./WGYRE_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 
    267     set f2o = ./WGYRE_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 
    268     set f2s = ./WGYRE_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 
    269    
    270     cmp -s $f1s $f2s 
    271     if ( $status == 0 ) then 
    272       echo "GYRE        reproducibility passed" 
    273     else 
    274       echo "GYRE        reproducibility FAILED" 
     235  if ( -d ./WGYREPIS_32 ) then 
     236    set dorv = `ls -1rtd ./WGYREPIS_32/{$mach}/* | tail -1l ` 
     237    set dorv = $dorv:t 
     238    set f1o = ./WGYREPIS_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 
     239    set f1s = ./WGYREPIS_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 
     240    set f2o = ./WGYREPIS_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 
     241    set f2s = ./WGYREPIS_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 
     242   
     243    cmp -s $f1s $f2s 
     244    if ( $status == 0 ) then 
     245      echo "GYRE_PISCES        reproducibility passed" 
     246    else 
     247      echo "GYRE_PISCES        reproducibility FAILED" 
    275248      if ( $pass == 1 ) then 
    276249        echo "<return> to view solver.stat differences" 
     
    412385  endif 
    413386 
    414   if ( -d ./WORCA2LIM3_16 ) then 
    415     set dorv = `ls -1rtd ./WORCA2LIM3_16/{$mach}/* | tail -1l ` 
    416     set dorv = $dorv:t 
    417     set f1o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_8/ocean.output 
    418     set f1s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_8/solver.stat 
    419     set f2o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_8_4/ocean.output 
    420     set f2s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_8_4/solver.stat 
    421  
    422     cmp -s $f1s $f2s 
    423     if ( $status == 0 ) then 
    424       echo "ORCA2LIM3   reproducibility passed" 
    425     else 
    426       echo "ORCA2LIM3   reproducibility FAILED" 
    427       if ( $pass == 1 ) then 
    428         echo "<return> to view solver.stat differences" 
    429         set y = $< 
    430         sdiff $f1s $f2s 
    431         echo "<return> to view ocean.output differences" 
    432         set y = $< 
    433         sdiff $f1o $f2o | grep "|" 
    434         echo "<return> to continue" 
    435         set y = $< 
    436       endif 
    437     endif 
    438   endif 
    439  
    440  
    441387  if ( -d ./WORCA2_LIM3_OBS ) then 
    442388    set dorv = `ls -1rtd ./WORCA2_LIM3_OBS/{$mach}/* | tail -1l ` 
Note: See TracChangeset for help on using the changeset viewer.