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 7929 for branches/2017/dev_r7832_HPC08_lbclnk_3rd_dim/NEMOGCM/SETTE/sette_rpt.sh – NEMO

Ignore:
Timestamp:
2017-04-19T10:12:44+02:00 (7 years ago)
Author:
flavoni
Message:

update sette report

File:
1 edited

Legend:

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

    r7715 r7929  
    11#!/bin/bash -f 
    22# 
     3#set -vx 
    34# simple SETTE report generator. 
    45# 
     
    2324    dorv=`echo $dorv | sed -e 's:.*/::'` 
    2425    f1o=$vdir/$nam/$mach/$dorv/LONG/ocean.output 
    25     f1s=$vdir/$nam/$mach/$dorv/LONG/solver.stat 
     26    f1s=$vdir/$nam/$mach/$dorv/LONG/run.stat 
    2627    f1t=$vdir/$nam/$mach/$dorv/LONG/tracer.stat 
    2728    f2o=$vdir/$nam/$mach/$dorv/SHORT/ocean.output 
    28     f2s=$vdir/$nam/$mach/$dorv/SHORT/solver.stat 
     29    f2s=$vdir/$nam/$mach/$dorv/SHORT/run.stat 
    2930    f2t=$vdir/$nam/$mach/$dorv/SHORT/tracer.stat 
    3031 
     
    4647      if [ $? == 0 ]; then 
    4748        if [ $pass == 0 ]; then  
    48           printf "%-20s %s %s\n" $nam  " solver.stat restartability  passed : " $dorv 
    49         fi 
    50       else 
    51         printf "%-20s %s %s\n" $nam  " solver.stat restartability  FAILED : " $dorv  
    52 # 
    53 # Offer view of differences on the second pass 
    54 # 
    55         if [ $pass == 1 ]; then 
    56           echo "<return> to view solver.stat differences" 
     49          printf "%-20s %s %s\n" $nam  " run.stat restartability  passed : " $dorv 
     50        fi 
     51      else 
     52        printf "%-20s %s %s\n" $nam  " run.stat restartability  FAILED : " $dorv  
     53# 
     54# Offer view of differences on the second pass 
     55# 
     56        if [ $pass == 1 ]; then 
     57          echo "<return> to view run.stat differences" 
    5758          read y 
    5859          sdiff f1.tmp$$ $f2s 
     
    118119    rep2=`ls -1rt $vdir/$nam/$mach/$dorv/ | tail -1l` 
    119120    f1o=$vdir/$nam/$mach/$dorv/$rep1/ocean.output 
    120     f1s=$vdir/$nam/$mach/$dorv/$rep1/solver.stat 
     121    f1s=$vdir/$nam/$mach/$dorv/$rep1/run.stat 
    121122    f1t=$vdir/$nam/$mach/$dorv/$rep1/tracer.stat 
    122123    f2o=$vdir/$nam/$mach/$dorv/$rep2/ocean.output 
    123     f2s=$vdir/$nam/$mach/$dorv/$rep2/solver.stat 
     124    f2s=$vdir/$nam/$mach/$dorv/$rep2/run.stat 
    124125    f2t=$vdir/$nam/$mach/$dorv/$rep2/tracer.stat 
    125126 
     
    139140      if [ $? == 0 ]; then 
    140141        if [ $pass == 0 ]; then  
    141           printf "%-20s %s %s\n" $nam  " solver.stat reproducibility passed : " $dorv 
    142         fi 
    143       else 
    144         printf "%-20s %s %s\n" $nam  " solver.stat reproducibility FAILED : " $dorv  
    145 # 
    146 # Offer view of differences on the second pass 
    147 # 
    148         if [ $pass == 1 ]; then 
    149           echo "<return> to view solver.stat differences" 
     142          printf "%-20s %s %s\n" $nam  " run.stat reproducibility passed : " $dorv 
     143        fi 
     144      else 
     145        printf "%-20s %s %s\n" $nam  " run.stat reproducibility FAILED : " $dorv  
     146# 
     147# Offer view of differences on the second pass 
     148# 
     149        if [ $pass == 1 ]; then 
     150          echo "<return> to view run.stat differences" 
    150151          read y 
    151152          sdiff f1.tmp$$ $f2s 
Note: See TracChangeset for help on using the changeset viewer.