Changeset 7715 for trunk/NEMOGCM/SETTE/sette_rpt
- Timestamp:
- 2017-02-22T15:20:01+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/SETTE/sette_rpt
r7646 r7715 26 26 # 27 27 foreach pass (0 1 ) 28 if ( -d ./WGYRE _LONG ) then29 set dorv = `ls -1rtd ./WGYRE _LONG/{$mach}/* | tail -1l `30 set dorv = $dorv:t 31 set f1o = ./WGYRE _LONG/{$mach}/{$dorv}/LONG/ocean.output32 set f1s = ./WGYRE _LONG/{$mach}/{$dorv}/LONG/solver.stat33 set f2o = ./WGYRE _LONG/{$mach}/{$dorv}/SHORT/ocean.output34 set f2s = ./WGYRE _LONG/{$mach}/{$dorv}/SHORT/solver.stat35 36 set nl = `wc -l $f2s` 37 tail -$nl[1] $f1s > f1.tmp$$ 38 cmp -s f1.tmp$$ $f2s 39 if ( $status == 0 ) then 40 echo "GYRE restartability passed"41 else 42 echo "GYRE restartability FAILED"28 if ( -d ./WGYREPIS_LONG ) then 29 set dorv = `ls -1rtd ./WGYREPIS_LONG/{$mach}/* | tail -1l ` 30 set dorv = $dorv:t 31 set f1o = ./WGYREPIS_LONG/{$mach}/{$dorv}/LONG/ocean.output 32 set f1s = ./WGYREPIS_LONG/{$mach}/{$dorv}/LONG/solver.stat 33 set f2o = ./WGYREPIS_LONG/{$mach}/{$dorv}/SHORT/ocean.output 34 set f2s = ./WGYREPIS_LONG/{$mach}/{$dorv}/SHORT/solver.stat 35 36 set nl = `wc -l $f2s` 37 tail -$nl[1] $f1s > f1.tmp$$ 38 cmp -s f1.tmp$$ $f2s 39 if ( $status == 0 ) then 40 echo "GYRE_PISCES restartability passed" 41 else 42 echo "GYRE_PISCES restartability FAILED" 43 43 if ( $pass == 1 ) then 44 44 echo "<return> to view solver.stat differences" … … 182 182 else 183 183 echo "AMM12 restartability FAILED" 184 if ( $pass == 1 ) then185 echo "<return> to view solver.stat differences"186 set y = $<187 sdiff f1.tmp$$ $f2s188 echo "<return> to view ocean.output differences"189 set y = $<190 sdiff $f1o $f2o | grep "|"191 echo "<return> to continue"192 set y = $<193 endif194 endif195 rm f1.tmp$$196 endif197 if ( -d ./WORCA2LIM3_LONG ) then198 set dorv = `ls -1rtd ./WORCA2LIM3_LONG/{$mach}/* | tail -1l `199 set dorv = $dorv:t200 set f1o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/ocean.output201 set f1s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/solver.stat202 set f2o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/ocean.output203 set f2s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/solver.stat204 set nl = `wc -l $f2s`205 tail -$nl[1] $f1s > f1.tmp$$206 cmp -s f1.tmp$$ $f2s207 if ( $status == 0 ) then208 echo "ORCA2LIM3 restartability passed"209 else210 echo "ORCA2LIM3 restartability FAILED"211 184 if ( $pass == 1 ) then 212 185 echo "<return> to view solver.stat differences" … … 260 233 NEXT1: 261 234 262 if ( -d ./WGYRE _32 ) then263 set dorv = `ls -1rtd ./WGYRE _32/{$mach}/* | tail -1l `264 set dorv = $dorv:t 265 set f1o = ./WGYRE _32/{$mach}/{$dorv}/REPRO_4_8/ocean.output266 set f1s = ./WGYRE _32/{$mach}/{$dorv}/REPRO_4_8/solver.stat267 set f2o = ./WGYRE _32/{$mach}/{$dorv}/REPRO_8_4/ocean.output268 set f2s = ./WGYRE _32/{$mach}/{$dorv}/REPRO_8_4/solver.stat269 270 cmp -s $f1s $f2s 271 if ( $status == 0 ) then 272 echo "GYRE reproducibility passed"273 else 274 echo "GYRE reproducibility FAILED"235 if ( -d ./WGYREPIS_32 ) then 236 set dorv = `ls -1rtd ./WGYREPIS_32/{$mach}/* | tail -1l ` 237 set dorv = $dorv:t 238 set f1o = ./WGYREPIS_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 239 set f1s = ./WGYREPIS_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 240 set f2o = ./WGYREPIS_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 241 set f2s = ./WGYREPIS_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 242 243 cmp -s $f1s $f2s 244 if ( $status == 0 ) then 245 echo "GYRE_PISCES reproducibility passed" 246 else 247 echo "GYRE_PISCES reproducibility FAILED" 275 248 if ( $pass == 1 ) then 276 249 echo "<return> to view solver.stat differences" … … 412 385 endif 413 386 414 if ( -d ./WORCA2LIM3_16 ) then415 set dorv = `ls -1rtd ./WORCA2LIM3_16/{$mach}/* | tail -1l `416 set dorv = $dorv:t417 set f1o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_8/ocean.output418 set f1s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_8/solver.stat419 set f2o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_8_4/ocean.output420 set f2s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_8_4/solver.stat421 422 cmp -s $f1s $f2s423 if ( $status == 0 ) then424 echo "ORCA2LIM3 reproducibility passed"425 else426 echo "ORCA2LIM3 reproducibility FAILED"427 if ( $pass == 1 ) then428 echo "<return> to view solver.stat differences"429 set y = $<430 sdiff $f1s $f2s431 echo "<return> to view ocean.output differences"432 set y = $<433 sdiff $f1o $f2o | grep "|"434 echo "<return> to continue"435 set y = $<436 endif437 endif438 endif439 440 441 387 if ( -d ./WORCA2_LIM3_OBS ) then 442 388 set dorv = `ls -1rtd ./WORCA2_LIM3_OBS/{$mach}/* | tail -1l `
Note: See TracChangeset
for help on using the changeset viewer.