- Timestamp:
- 2017-06-28T10:02:58+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/SETTE/sette_rpt.sh
r7715 r8226 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.statrestartability passed : " $dorv49 fi 50 else 51 printf "%-20s %s %s\n" $nam " solver.statrestartability 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.statreproducibility passed : " $dorv142 fi 143 else 144 printf "%-20s %s %s\n" $nam " solver.statreproducibility 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 … … 199 200 mach=`grep "COMPILER=" ./sette.sh | sed -e 's/COMPILER=//'` 200 201 NEMO_VALID=`grep "NEMO_VALIDATION_DIR=" ./param.cfg | sed -e 's/NEMO_VALIDATION_DIR=//'` 202 NEMO_VALID=`eval "echo $NEMO_VALID"` 201 203 # 202 204 if [ ! -d $NEMO_VALID ]; then
Note: See TracChangeset
for help on using the changeset viewer.