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 7302 – NEMO

Changeset 7302


Ignore:
Timestamp:
2016-11-22T13:04:52+01:00 (7 years ago)
Author:
flavoni
Message:

adapt sette report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_CNRS_2016/NEMOGCM/SETTE/sette_rpt

    r7277 r7302  
    8585 
    8686   
    87   if ( -d ./WORCA2LIMPIS_LONG ) then 
    88     set dorv = `ls -1rtd ./WORCA2LIMPIS_LONG/{$mach}/* | tail -1l ` 
    89     set dorv = $dorv:t 
    90     set f1o = ./WORCA2LIMPIS_LONG/{$mach}/{$dorv}/LONG/ocean.output 
    91     set f1s = ./WORCA2LIMPIS_LONG/{$mach}/{$dorv}/LONG/solver.stat 
    92     set f1t = ./WORCA2LIMPIS_LONG/{$mach}/{$dorv}/LONG/tracer.stat 
    93     set f2o = ./WORCA2LIMPIS_LONG/{$mach}/{$dorv}/SHORT/ocean.output 
    94     set f2s = ./WORCA2LIMPIS_LONG/{$mach}/{$dorv}/SHORT/solver.stat 
    95     set f2t = ./WORCA2LIMPIS_LONG/{$mach}/{$dorv}/SHORT/tracer.stat 
     87  if ( -d ./WORCA2LIM3PIS_LONG ) then 
     88    set dorv = `ls -1rtd ./WORCA2LIM3PIS_LONG/{$mach}/* | tail -1l ` 
     89    set dorv = $dorv:t 
     90    set f1o = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/LONG/ocean.output 
     91    set f1s = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/LONG/solver.stat 
     92    set f1t = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/LONG/tracer.stat 
     93    set f2o = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/SHORT/ocean.output 
     94    set f2s = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/SHORT/solver.stat 
     95    set f2t = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/SHORT/tracer.stat 
    9696 
    9797    set stato = 0 
     
    100100    cmp -s f1.tmp$$ $f2s 
    101101    if ( $status == 0 ) then 
    102       echo "ORCA2LIMPIS solver.stat restartability  passed" 
     102      echo "ORCA2LIM3PIS solver.stat restartability  passed" 
    103103    else 
    104104      set stato = 1 
    105       echo "ORCA2LIMPIS solver.stat restartability  FAILED" 
     105      echo "ORCA2LIM3PIS solver.stat restartability  FAILED" 
    106106      if ( $pass == 1 ) then 
    107107        echo "<return> to view solver.stat differences" 
     
    115115    cmp -s f1.tmp$$ $f2t 
    116116    if ( $status == 0 ) then 
    117       echo "ORCA2LIMPIS tracer.stat restartability  passed" 
     117      echo "ORCA2LIM3PIS tracer.stat restartability  passed" 
    118118    else 
    119119      set stato = 1 
    120       echo "ORCA2LIMPIS tracer.stat restartability  FAILED" 
     120      echo "ORCA2LIM3PIS tracer.stat restartability  FAILED" 
    121121      if ( $pass == 1 ) then 
    122122        echo "<return> to view tracer.stat differences" 
     
    195195    rm f1.tmp$$ 
    196196  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" 
    211       if ( $pass == 1 ) then 
    212         echo "<return> to view solver.stat differences" 
    213         set y = $< 
    214         sdiff f1.tmp$$ $f2s 
    215         echo "<return> to view ocean.output differences" 
    216         set y = $< 
    217         sdiff $f1o $f2o | grep "|" 
    218         echo "<return> to continue" 
    219         set y = $< 
    220       endif 
    221     endif 
    222     rm f1.tmp$$ 
    223   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" 
     211#      if ( $pass == 1 ) then 
     212#        echo "<return> to view solver.stat differences" 
     213#        set y = $< 
     214#        sdiff f1.tmp$$ $f2s 
     215#        echo "<return> to view ocean.output differences" 
     216#        set y = $< 
     217#        sdiff $f1o $f2o | grep "|" 
     218#        echo "<return> to continue" 
     219#        set y = $< 
     220#      endif 
     221#    endif 
     222#    rm f1.tmp$$ 
     223#  endif 
    224224 
    225225  if ( -d ./WSAS_LONG ) then 
     
    260260NEXT1: 
    261261   
    262   if ( -d ./WGYRE_4 ) then 
     262  if ( -d ./WGYRE_32 ) then 
    263263    set dorv = `ls -1rtd ./WGYRE_4/{$mach}/* | tail -1l ` 
    264264    set dorv = $dorv:t 
    265     set f1o = ./WGYRE_4/{$mach}/{$dorv}/REPRO_1_4/ocean.output 
    266     set f1s = ./WGYRE_4/{$mach}/{$dorv}/REPRO_1_4/solver.stat 
    267     set f2o = ./WGYRE_4/{$mach}/{$dorv}/REPRO_2_2/ocean.output 
    268     set f2s = ./WGYRE_4/{$mach}/{$dorv}/REPRO_2_2/solver.stat 
     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 
    269269   
    270270    cmp -s $f1s $f2s 
     
    286286  endif 
    287287 
    288   if ( -d ./WISOMIP_4 ) then 
     288  if ( -d ./WISOMIP_32 ) then 
    289289    set dorv = `ls -1rtd ./WISOMIP_4/{$mach}/* | tail -1l ` 
    290290    set dorv = $dorv:t 
    291     set f1o = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_1_4/ocean.output 
    292     set f1s = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_1_4/solver.stat 
    293     set f2o = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_2_2/ocean.output 
    294     set f2s = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_2_2/solver.stat 
     291    set f1o = ./WISOMIP_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 
     292    set f1s = ./WISOMIP_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 
     293    set f2o = ./WISOMIP_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 
     294    set f2s = ./WISOMIP_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 
    295295 
    296296    cmp -s $f1s $f2s 
     
    312312  endif 
    313313  
    314   if ( -d ./WORCA2LIMPIS_16 ) then 
     314  if ( -d ./WORCA2LIM3PIS_32 ) then 
    315315    set dorv = `ls -1rtd ./WORCA2LIMPIS_16/{$mach}/* | tail -1l ` 
    316316    set dorv = $dorv:t 
    317     set f1o = ./WORCA2LIMPIS_16/{$mach}/{$dorv}/REPRO_2_8/ocean.output 
    318     set f1s = ./WORCA2LIMPIS_16/{$mach}/{$dorv}/REPRO_2_8/solver.stat 
    319     set f1t = ./WORCA2LIMPIS_16/{$mach}/{$dorv}/REPRO_2_8/tracer.stat 
    320     set f2o = ./WORCA2LIMPIS_16/{$mach}/{$dorv}/REPRO_4_4/ocean.output 
    321     set f2s = ./WORCA2LIMPIS_16/{$mach}/{$dorv}/REPRO_4_4/solver.stat 
    322     set f2t = ./WORCA2LIMPIS_16/{$mach}/{$dorv}/REPRO_4_4/tracer.stat 
     317    set f1o = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 
     318    set f1s = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 
     319    set f1t = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_4_8/tracer.stat 
     320    set f2o = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 
     321    set f2s = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 
     322    set f2t = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_8_4/tracer.stat 
    323323 
    324324    set stato = 0 
    325325    cmp -s $f1s $f2s 
    326326    if ( $status == 0 ) then 
    327       echo "ORCA2LIMPIS solver.stat reproducibility  passed" 
     327      echo "ORCA2LIM3PIS solver.stat reproducibility  passed" 
    328328    else 
    329329      set stato = 1 
    330       echo "ORCA2LIMPIS solver.stat reproducibility  FAILED" 
     330      echo "ORCA2LIM3PIS solver.stat reproducibility  FAILED" 
    331331      if ( $pass == 1 ) then 
    332332        echo "<return> to view solver.stat differences" 
     
    338338    cmp -s $f1t $f2t 
    339339    if ( $status == 0 ) then 
    340       echo "ORCA2LIMPIS tracer.stat reproducibility  passed" 
     340      echo "ORCA2LIM3PIS tracer.stat reproducibility  passed" 
    341341    else 
    342342      set stato = 1 
    343       echo "ORCA2LIMPIS tracer.stat reproducibility  FAILED" 
     343      echo "ORCA2LIM3PIS tracer.stat reproducibility  FAILED" 
    344344      if ( $pass == 1 ) then 
    345345        echo "<return> to view tracer.stat differences" 
     
    360360  endif 
    361361 
    362   if ( -d ./WORCA2OFFPIS_16 ) then 
    363     set dorv = `ls -1rtd ./WORCA2OFFPIS_16/{$mach}/* | tail -1l ` 
    364     set dorv = $dorv:t 
    365     set f1o = ./WORCA2OFFPIS_16/{$mach}/{$dorv}/REPRO_2_8/ocean.output 
    366     set f1s = ./WORCA2OFFPIS_16/{$mach}/{$dorv}/REPRO_2_8/tracer.stat 
    367     set f2o = ./WORCA2OFFPIS_16/{$mach}/{$dorv}/REPRO_4_4/ocean.output 
    368     set f2s = ./WORCA2OFFPIS_16/{$mach}/{$dorv}/REPRO_4_4/tracer.stat 
     362  if ( -d ./WORCA2OFFPIS_32 ) then 
     363    set dorv = `ls -1rtd ./WORCA2OFFPIS_32/{$mach}/* | tail -1l ` 
     364    set dorv = $dorv:t 
     365    set f1o = ./WORCA2OFFPIS_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 
     366    set f1s = ./WORCA2OFFPIS_32/{$mach}/{$dorv}/REPRO_4_8/tracer.stat 
     367    set f2o = ./WORCA2OFFPIS_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 
     368    set f2s = ./WORCA2OFFPIS_32/{$mach}/{$dorv}/REPRO_8_4/tracer.stat 
    369369 
    370370    cmp -s $f1s $f2s 
     
    412412  endif 
    413413 
    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  
    441   if ( -d ./WORCA2_LIM_OBS ) then 
    442     set dorv = `ls -1rtd ./WORCA2_LIM_OBS/{$mach}/* | tail -1l ` 
    443     set dorv = $dorv:t 
    444     set f1o = ./WORCA2_LIM_OBS/{$mach}/{$dorv}/REPRO_2_8/ocean.output 
    445     set f1s = ./WORCA2_LIM_OBS/{$mach}/{$dorv}/REPRO_2_8/solver.stat 
    446     set f2o = ./WORCA2_LIM_OBS/{$mach}/{$dorv}/REPRO_4_4/ocean.output 
    447     set f2s = ./WORCA2_LIM_OBS/{$mach}/{$dorv}/REPRO_4_4/solver.stat 
    448  
    449     cmp -s $f1s $f2s 
    450     if ( $status == 0 ) then 
    451       echo "ORCA2_LIM_OBS   reproducibility passed" 
    452     else 
    453       echo "ORCA2_LIM_OBS   reproducibility FAILED" 
     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 
     441  if ( -d ./WORCA2_LIM3_OBS ) then 
     442    set dorv = `ls -1rtd ./WORCA2_LIM3_OBS/{$mach}/* | tail -1l ` 
     443    set dorv = $dorv:t 
     444    set f1o = ./WORCA2_LIM3_OBS/{$mach}/{$dorv}/REPRO_4_8/ocean.output 
     445    set f1s = ./WORCA2_LIM3_OBS/{$mach}/{$dorv}/REPRO_4_8/solver.stat 
     446    set f2o = ./WORCA2_LIM3_OBS/{$mach}/{$dorv}/REPRO_8_4/ocean.output 
     447    set f2s = ./WORCA2_LIM3_OBS/{$mach}/{$dorv}/REPRO_8_4/solver.stat 
     448 
     449    cmp -s $f1s $f2s 
     450    if ( $status == 0 ) then 
     451      echo "ORCA2_LIM3_OBS   reproducibility passed" 
     452    else 
     453      echo "ORCA2_LIM3_OBS   reproducibility FAILED" 
    454454      if ( $pass == 1 ) then 
    455455        echo "<return> to view solver.stat differences" 
Note: See TracChangeset for help on using the changeset viewer.