Changeset 8882 for branches/2017/dev_CNRS_2017/NEMOGCM/SETTE/sette_rpt.sh
- Timestamp:
- 2017-12-01T18:44:09+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_CNRS_2017/NEMOGCM/SETTE/sette_rpt.sh
r8815 r8882 1 1 #!/bin/bash -f 2 #set -vx 3 # 2 # set -vx 4 3 # simple SETTE report generator. 5 4 # … … 91 90 dorv=`echo $dorv | sed -e 's:.*/::'` 92 91 f1o=$vdir/$nam/$mach/$dorv/LONG/ocean.output 93 f1s=$vdir/$nam/$mach/$dorv/LONG/ solver.stat92 f1s=$vdir/$nam/$mach/$dorv/LONG/run.stat 94 93 f1t=$vdir/$nam/$mach/$dorv/LONG/tracer.stat 95 94 f2o=$vdir/$nam/$mach/$dorv/SHORT/ocean.output 96 f2s=$vdir/$nam/$mach/$dorv/SHORT/ solver.stat95 f2s=$vdir/$nam/$mach/$dorv/SHORT/run.stat 97 96 f2t=$vdir/$nam/$mach/$dorv/SHORT/tracer.stat 98 97 … … 114 113 if [ $? == 0 ]; then 115 114 if [ $pass == 0 ]; then 116 printf "%-20s %s %s\n" $nam " solver.statrestartability passed : " $dorv117 fi 118 else 119 printf "%-20s %s %s\n" $nam " solver.statrestartability FAILED : " $dorv115 printf "%-20s %s %s\n" $nam " run.stat restartability passed : " $dorv 116 fi 117 else 118 printf "%-20s %s %s\n" $nam " run.stat restartability FAILED : " $dorv 120 119 # 121 120 # Offer view of differences on the second pass 122 121 # 123 122 if [ $pass == 1 ]; then 124 echo "<return> to view solver.stat differences"123 echo "<return> to view run.stat differences" 125 124 read y 126 125 sdiff f1.tmp$$ $f2s … … 186 185 rep2=`ls -1rt $vdir/$nam/$mach/$dorv/ | tail -1l` 187 186 f1o=$vdir/$nam/$mach/$dorv/$rep1/ocean.output 188 f1s=$vdir/$nam/$mach/$dorv/$rep1/ solver.stat187 f1s=$vdir/$nam/$mach/$dorv/$rep1/run.stat 189 188 f1t=$vdir/$nam/$mach/$dorv/$rep1/tracer.stat 190 189 f2o=$vdir/$nam/$mach/$dorv/$rep2/ocean.output 191 f2s=$vdir/$nam/$mach/$dorv/$rep2/ solver.stat190 f2s=$vdir/$nam/$mach/$dorv/$rep2/run.stat 192 191 f2t=$vdir/$nam/$mach/$dorv/$rep2/tracer.stat 193 192 … … 207 206 if [ $? == 0 ]; then 208 207 if [ $pass == 0 ]; then 209 printf "%-20s %s %s\n" $nam " solver.statreproducibility passed : " $dorv210 fi 211 else 212 printf "%-20s %s %s\n" $nam " solver.statreproducibility FAILED : " $dorv208 printf "%-20s %s %s\n" $nam " run.stat reproducibility passed : " $dorv 209 fi 210 else 211 printf "%-20s %s %s\n" $nam " run.stat reproducibility FAILED : " $dorv 213 212 # 214 213 # Offer view of differences on the second pass 215 214 # 216 215 if [ $pass == 1 ]; then 217 echo "<return> to view solver.stat differences"216 echo "<return> to view run.stat differences" 218 217 read y 219 218 sdiff f1.tmp$$ $f2s
Note: See TracChangeset
for help on using the changeset viewer.