Changeset 7929
- Timestamp:
- 2017-04-19T10:12:44+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r7832_HPC08_lbclnk_3rd_dim/NEMOGCM/SETTE/sette_rpt.sh
r7715 r7929 1 1 #!/bin/bash -f 2 2 # 3 #set -vx 3 4 # simple SETTE report generator. 4 5 # … … 23 24 dorv=`echo $dorv | sed -e 's:.*/::'` 24 25 f1o=$vdir/$nam/$mach/$dorv/LONG/ocean.output 25 f1s=$vdir/$nam/$mach/$dorv/LONG/ solver.stat26 f1s=$vdir/$nam/$mach/$dorv/LONG/run.stat 26 27 f1t=$vdir/$nam/$mach/$dorv/LONG/tracer.stat 27 28 f2o=$vdir/$nam/$mach/$dorv/SHORT/ocean.output 28 f2s=$vdir/$nam/$mach/$dorv/SHORT/ solver.stat29 f2s=$vdir/$nam/$mach/$dorv/SHORT/run.stat 29 30 f2t=$vdir/$nam/$mach/$dorv/SHORT/tracer.stat 30 31 … … 46 47 if [ $? == 0 ]; then 47 48 if [ $pass == 0 ]; then 48 printf "%-20s %s %s\n" $nam " solver.stat restartability passed : " $dorv49 fi 50 else 51 printf "%-20s %s %s\n" $nam " solver.stat restartability FAILED : " $dorv52 # 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" 57 58 read y 58 59 sdiff f1.tmp$$ $f2s … … 118 119 rep2=`ls -1rt $vdir/$nam/$mach/$dorv/ | tail -1l` 119 120 f1o=$vdir/$nam/$mach/$dorv/$rep1/ocean.output 120 f1s=$vdir/$nam/$mach/$dorv/$rep1/ solver.stat121 f1s=$vdir/$nam/$mach/$dorv/$rep1/run.stat 121 122 f1t=$vdir/$nam/$mach/$dorv/$rep1/tracer.stat 122 123 f2o=$vdir/$nam/$mach/$dorv/$rep2/ocean.output 123 f2s=$vdir/$nam/$mach/$dorv/$rep2/ solver.stat124 f2s=$vdir/$nam/$mach/$dorv/$rep2/run.stat 124 125 f2t=$vdir/$nam/$mach/$dorv/$rep2/tracer.stat 125 126 … … 139 140 if [ $? == 0 ]; then 140 141 if [ $pass == 0 ]; then 141 printf "%-20s %s %s\n" $nam " solver.stat reproducibility passed : " $dorv142 fi 143 else 144 printf "%-20s %s %s\n" $nam " solver.stat reproducibility FAILED : " $dorv145 # 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" 150 151 read y 151 152 sdiff f1.tmp$$ $f2s
Note: See TracChangeset
for help on using the changeset viewer.