Changeset 9221
- Timestamp:
- 2018-01-12T18:42:42+01:00 (7 years ago)
- Location:
- branches/2017/dev_merge_2017/NEMOGCM/SETTE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/SETTE/new_sette_rpt.sh
r8864 r9221 106 106 dorv=`echo $dorv | sed -e 's:.*/::'` 107 107 f1o=$vdir/$nam/$mach/$dorv/LONG/ocean.output 108 f1s=$vdir/$nam/$mach/$dorv/LONG/ solver.stat108 f1s=$vdir/$nam/$mach/$dorv/LONG/run.stat 109 109 f1t=$vdir/$nam/$mach/$dorv/LONG/tracer.stat 110 110 f2o=$vdir/$nam/$mach/$dorv/SHORT/ocean.output 111 f2s=$vdir/$nam/$mach/$dorv/SHORT/ solver.stat111 f2s=$vdir/$nam/$mach/$dorv/SHORT/run.stat 112 112 f2t=$vdir/$nam/$mach/$dorv/SHORT/tracer.stat 113 113 … … 129 129 if [ $? == 0 ]; then 130 130 if [ $pass == 0 ]; then 131 printf "%-20s %s %s\n" $nam " solver.stat restartability passed : " $dorv131 printf "%-20s %s %s\n" $nam " run.stat restartability passed : " $dorv 132 132 fi 133 133 else 134 printf "%-20s %s %s\n" $nam " solver.stat restartability FAILED : " $dorv134 printf "%-20s %s %s\n" $nam " run.stat restartability FAILED : " $dorv 135 135 # 136 136 # Offer view of differences on the second pass 137 137 # 138 138 if [ $pass == 1 ]; then 139 echo "<return> to view solver.stat differences"139 echo "<return> to view run.stat differences" 140 140 read y 141 141 sdiff f1.tmp$$ $f2s … … 183 183 fi 184 184 rm f1.tmp$$ 185 else 186 printf "%-20s %s %s\n" $nam " directory is MISSING : " $dorv 185 187 fi 186 188 } … … 200 202 rep2=`ls -1rt $vdir/$nam/$mach/$dorv/ | grep REPRO | tail -1l` 201 203 f1o=$vdir/$nam/$mach/$dorv/$rep1/ocean.output 202 f1s=$vdir/$nam/$mach/$dorv/$rep1/ solver.stat204 f1s=$vdir/$nam/$mach/$dorv/$rep1/run.stat 203 205 f1t=$vdir/$nam/$mach/$dorv/$rep1/tracer.stat 204 206 f2o=$vdir/$nam/$mach/$dorv/$rep2/ocean.output 205 f2s=$vdir/$nam/$mach/$dorv/$rep2/ solver.stat207 f2s=$vdir/$nam/$mach/$dorv/$rep2/run.stat 206 208 f2t=$vdir/$nam/$mach/$dorv/$rep2/tracer.stat 207 209 … … 221 223 if [ $? == 0 ]; then 222 224 if [ $pass == 0 ]; then 223 printf "%-20s %s %s\n" $nam " solver.stat reproducibility passed : " $dorv225 printf "%-20s %s %s\n" $nam " run.stat reproducibility passed : " $dorv 224 226 fi 225 227 else 226 printf "%-20s %s %s\n" $nam " solver.stat reproducibility FAILED : " $dorv228 printf "%-20s %s %s\n" $nam " run.stat reproducibility FAILED : " $dorv 227 229 # 228 230 # Offer view of differences on the second pass 229 231 # 230 232 if [ $pass == 1 ]; then 231 echo "<return> to view solver.stat differences"233 echo "<return> to view run.stat differences" 232 234 read y 233 235 sdiff f1.tmp$$ $f2s … … 271 273 fi 272 274 fi 275 else 276 printf "%-20s %s %s\n" $nam " directory is MISSING : " $dorv 273 277 fi 274 278 } … … 277 281 # 278 282 # checks AGRIF does not corrupe results with no AGRIF zoom. Expects ORCA2AGUL/AGRIFNOZ and ORCA2AGUL_NAGR/AGRIFNO run directories 279 # Compares solver.stat files for each283 # Compares run.stat files for each 280 284 # 281 285 vdir=$1 … … 292 296 rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ | tail -2l | head -1 ` 293 297 rep2=`ls -1rt $vdir/$dir2/$mach/$dorv2/ | tail -1l` 294 f1s=$vdir/$dir1/$mach/$dorv1/$rep1/ solver.stat295 f2s=$vdir/$dir2/$mach/$dorv2/$rep2/ solver.stat298 f1s=$vdir/$dir1/$mach/$dorv1/$rep1/run.stat 299 f2s=$vdir/$dir2/$mach/$dorv2/$rep2/run.stat 296 300 297 301 if [ ! -f $f1s ] && [ ! -f $f2s ] ; then … … 306 310 if [ $? == 0 ]; then 307 311 if [ $pass == 0 ]; then 308 printf "%-20s %s %s %s %s\n" $rep1 $rep2 " AGRIF: solver.stat unchanged - test passed : " $dorv1 $dorv2312 printf "%-20s %s %s %s %s\n" $rep1 $rep2 " AGRIF: run.stat unchanged - test passed : " $dorv1 $dorv2 309 313 fi 310 314 else 311 printf "%-20s %s %s %s %s\n" $rep1 $rep2 " for AGRIF, solver.stat test FAILED : " $dorv1 $dorv2315 printf "%-20s %s %s %s %s\n" $rep1 $rep2 " for AGRIF, run.stat test FAILED : " $dorv1 $dorv2 312 316 # 313 317 # Offer view of differences on the second pass 314 318 # 315 319 if [ $pass == 1 ]; then 316 echo "<return> to view solver.stat differences"320 echo "<return> to view run.stat differences" 317 321 read y 318 322 sdiff $f1s $f2s -
branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_rpt.sh
r9019 r9221 184 184 fi 185 185 rm f1.tmp$$ 186 else 187 printf "%-20s %s %s\n" $nam " directory is MISSING : " $dorv 186 188 fi 187 189 } … … 273 275 fi 274 276 fi 277 else 278 printf "%-20s %s %s\n" $nam " directory is MISSING : " $dorv 275 279 fi 276 280 }
Note: See TracChangeset
for help on using the changeset viewer.