Changeset 7302
- Timestamp:
- 2016-11-22T13:04:52+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_CNRS_2016/NEMOGCM/SETTE/sette_rpt
r7277 r7302 85 85 86 86 87 if ( -d ./WORCA2LIM PIS_LONG ) then88 set dorv = `ls -1rtd ./WORCA2LIM PIS_LONG/{$mach}/* | tail -1l `89 set dorv = $dorv:t 90 set f1o = ./WORCA2LIM PIS_LONG/{$mach}/{$dorv}/LONG/ocean.output91 set f1s = ./WORCA2LIM PIS_LONG/{$mach}/{$dorv}/LONG/solver.stat92 set f1t = ./WORCA2LIM PIS_LONG/{$mach}/{$dorv}/LONG/tracer.stat93 set f2o = ./WORCA2LIM PIS_LONG/{$mach}/{$dorv}/SHORT/ocean.output94 set f2s = ./WORCA2LIM PIS_LONG/{$mach}/{$dorv}/SHORT/solver.stat95 set f2t = ./WORCA2LIM PIS_LONG/{$mach}/{$dorv}/SHORT/tracer.stat87 if ( -d ./WORCA2LIM3PIS_LONG ) then 88 set dorv = `ls -1rtd ./WORCA2LIM3PIS_LONG/{$mach}/* | tail -1l ` 89 set dorv = $dorv:t 90 set f1o = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/LONG/ocean.output 91 set f1s = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/LONG/solver.stat 92 set f1t = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/LONG/tracer.stat 93 set f2o = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/SHORT/ocean.output 94 set f2s = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/SHORT/solver.stat 95 set f2t = ./WORCA2LIM3PIS_LONG/{$mach}/{$dorv}/SHORT/tracer.stat 96 96 97 97 set stato = 0 … … 100 100 cmp -s f1.tmp$$ $f2s 101 101 if ( $status == 0 ) then 102 echo "ORCA2LIM PIS solver.stat restartability passed"102 echo "ORCA2LIM3PIS solver.stat restartability passed" 103 103 else 104 104 set stato = 1 105 echo "ORCA2LIM PIS solver.stat restartability FAILED"105 echo "ORCA2LIM3PIS solver.stat restartability FAILED" 106 106 if ( $pass == 1 ) then 107 107 echo "<return> to view solver.stat differences" … … 115 115 cmp -s f1.tmp$$ $f2t 116 116 if ( $status == 0 ) then 117 echo "ORCA2LIM PIS tracer.stat restartability passed"117 echo "ORCA2LIM3PIS tracer.stat restartability passed" 118 118 else 119 119 set stato = 1 120 echo "ORCA2LIM PIS tracer.stat restartability FAILED"120 echo "ORCA2LIM3PIS tracer.stat restartability FAILED" 121 121 if ( $pass == 1 ) then 122 122 echo "<return> to view tracer.stat differences" … … 195 195 rm f1.tmp$$ 196 196 endif 197 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 if ( $pass == 1 ) then212 echo "<return> to view solver.stat differences"213 set y = $<214 sdiff f1.tmp$$ $f2s215 echo "<return> to view ocean.output differences"216 set y = $<217 sdiff $f1o $f2o | grep "|"218 echo "<return> to continue"219 set y = $<220 endif221 endif222 rm f1.tmp$$223 endif197 # if ( -d ./WORCA2LIM3_LONG ) then 198 # set dorv = `ls -1rtd ./WORCA2LIM3_LONG/{$mach}/* | tail -1l ` 199 # set dorv = $dorv:t 200 # set f1o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/ocean.output 201 # set f1s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/solver.stat 202 # set f2o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/ocean.output 203 # set f2s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/solver.stat 204 # set nl = `wc -l $f2s` 205 # tail -$nl[1] $f1s > f1.tmp$$ 206 # cmp -s f1.tmp$$ $f2s 207 # if ( $status == 0 ) then 208 # echo "ORCA2LIM3 restartability passed" 209 # else 210 # echo "ORCA2LIM3 restartability FAILED" 211 # if ( $pass == 1 ) then 212 # echo "<return> to view solver.stat differences" 213 # set y = $< 214 # sdiff f1.tmp$$ $f2s 215 # echo "<return> to view ocean.output differences" 216 # set y = $< 217 # sdiff $f1o $f2o | grep "|" 218 # echo "<return> to continue" 219 # set y = $< 220 # endif 221 # endif 222 # rm f1.tmp$$ 223 # endif 224 224 225 225 if ( -d ./WSAS_LONG ) then … … 260 260 NEXT1: 261 261 262 if ( -d ./WGYRE_ 4) then262 if ( -d ./WGYRE_32 ) then 263 263 set dorv = `ls -1rtd ./WGYRE_4/{$mach}/* | tail -1l ` 264 264 set dorv = $dorv:t 265 set f1o = ./WGYRE_ 4/{$mach}/{$dorv}/REPRO_1_4/ocean.output266 set f1s = ./WGYRE_ 4/{$mach}/{$dorv}/REPRO_1_4/solver.stat267 set f2o = ./WGYRE_ 4/{$mach}/{$dorv}/REPRO_2_2/ocean.output268 set f2s = ./WGYRE_ 4/{$mach}/{$dorv}/REPRO_2_2/solver.stat265 set f1o = ./WGYRE_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 266 set f1s = ./WGYRE_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 267 set f2o = ./WGYRE_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 268 set f2s = ./WGYRE_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 269 269 270 270 cmp -s $f1s $f2s … … 286 286 endif 287 287 288 if ( -d ./WISOMIP_ 4) then288 if ( -d ./WISOMIP_32 ) then 289 289 set dorv = `ls -1rtd ./WISOMIP_4/{$mach}/* | tail -1l ` 290 290 set dorv = $dorv:t 291 set f1o = ./WISOMIP_ 4/{$mach}/{$dorv}/REPRO_1_4/ocean.output292 set f1s = ./WISOMIP_ 4/{$mach}/{$dorv}/REPRO_1_4/solver.stat293 set f2o = ./WISOMIP_ 4/{$mach}/{$dorv}/REPRO_2_2/ocean.output294 set f2s = ./WISOMIP_ 4/{$mach}/{$dorv}/REPRO_2_2/solver.stat291 set f1o = ./WISOMIP_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 292 set f1s = ./WISOMIP_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 293 set f2o = ./WISOMIP_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 294 set f2s = ./WISOMIP_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 295 295 296 296 cmp -s $f1s $f2s … … 312 312 endif 313 313 314 if ( -d ./WORCA2LIM PIS_16) then314 if ( -d ./WORCA2LIM3PIS_32 ) then 315 315 set dorv = `ls -1rtd ./WORCA2LIMPIS_16/{$mach}/* | tail -1l ` 316 316 set dorv = $dorv:t 317 set f1o = ./WORCA2LIM PIS_16/{$mach}/{$dorv}/REPRO_2_8/ocean.output318 set f1s = ./WORCA2LIM PIS_16/{$mach}/{$dorv}/REPRO_2_8/solver.stat319 set f1t = ./WORCA2LIM PIS_16/{$mach}/{$dorv}/REPRO_2_8/tracer.stat320 set f2o = ./WORCA2LIM PIS_16/{$mach}/{$dorv}/REPRO_4_4/ocean.output321 set f2s = ./WORCA2LIM PIS_16/{$mach}/{$dorv}/REPRO_4_4/solver.stat322 set f2t = ./WORCA2LIM PIS_16/{$mach}/{$dorv}/REPRO_4_4/tracer.stat317 set f1o = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 318 set f1s = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 319 set f1t = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_4_8/tracer.stat 320 set f2o = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 321 set f2s = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 322 set f2t = ./WORCA2LIM3PIS_32/{$mach}/{$dorv}/REPRO_8_4/tracer.stat 323 323 324 324 set stato = 0 325 325 cmp -s $f1s $f2s 326 326 if ( $status == 0 ) then 327 echo "ORCA2LIM PIS solver.stat reproducibility passed"327 echo "ORCA2LIM3PIS solver.stat reproducibility passed" 328 328 else 329 329 set stato = 1 330 echo "ORCA2LIM PIS solver.stat reproducibility FAILED"330 echo "ORCA2LIM3PIS solver.stat reproducibility FAILED" 331 331 if ( $pass == 1 ) then 332 332 echo "<return> to view solver.stat differences" … … 338 338 cmp -s $f1t $f2t 339 339 if ( $status == 0 ) then 340 echo "ORCA2LIM PIS tracer.stat reproducibility passed"340 echo "ORCA2LIM3PIS tracer.stat reproducibility passed" 341 341 else 342 342 set stato = 1 343 echo "ORCA2LIM PIS tracer.stat reproducibility FAILED"343 echo "ORCA2LIM3PIS tracer.stat reproducibility FAILED" 344 344 if ( $pass == 1 ) then 345 345 echo "<return> to view tracer.stat differences" … … 360 360 endif 361 361 362 if ( -d ./WORCA2OFFPIS_ 16) then363 set dorv = `ls -1rtd ./WORCA2OFFPIS_ 16/{$mach}/* | tail -1l `364 set dorv = $dorv:t 365 set f1o = ./WORCA2OFFPIS_ 16/{$mach}/{$dorv}/REPRO_2_8/ocean.output366 set f1s = ./WORCA2OFFPIS_ 16/{$mach}/{$dorv}/REPRO_2_8/tracer.stat367 set f2o = ./WORCA2OFFPIS_ 16/{$mach}/{$dorv}/REPRO_4_4/ocean.output368 set f2s = ./WORCA2OFFPIS_ 16/{$mach}/{$dorv}/REPRO_4_4/tracer.stat362 if ( -d ./WORCA2OFFPIS_32 ) then 363 set dorv = `ls -1rtd ./WORCA2OFFPIS_32/{$mach}/* | tail -1l ` 364 set dorv = $dorv:t 365 set f1o = ./WORCA2OFFPIS_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 366 set f1s = ./WORCA2OFFPIS_32/{$mach}/{$dorv}/REPRO_4_8/tracer.stat 367 set f2o = ./WORCA2OFFPIS_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 368 set f2s = ./WORCA2OFFPIS_32/{$mach}/{$dorv}/REPRO_8_4/tracer.stat 369 369 370 370 cmp -s $f1s $f2s … … 412 412 endif 413 413 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 if ( -d ./WORCA2_LIM _OBS ) then442 set dorv = `ls -1rtd ./WORCA2_LIM _OBS/{$mach}/* | tail -1l `443 set dorv = $dorv:t 444 set f1o = ./WORCA2_LIM _OBS/{$mach}/{$dorv}/REPRO_2_8/ocean.output445 set f1s = ./WORCA2_LIM _OBS/{$mach}/{$dorv}/REPRO_2_8/solver.stat446 set f2o = ./WORCA2_LIM _OBS/{$mach}/{$dorv}/REPRO_4_4/ocean.output447 set f2s = ./WORCA2_LIM _OBS/{$mach}/{$dorv}/REPRO_4_4/solver.stat448 449 cmp -s $f1s $f2s 450 if ( $status == 0 ) then 451 echo "ORCA2_LIM _OBS reproducibility passed"452 else 453 echo "ORCA2_LIM _OBS reproducibility FAILED"414 # if ( -d ./WORCA2LIM3_16 ) then 415 # set dorv = `ls -1rtd ./WORCA2LIM3_16/{$mach}/* | tail -1l ` 416 # set dorv = $dorv:t 417 # set f1o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_8/ocean.output 418 # set f1s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_8/solver.stat 419 # set f2o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_8_4/ocean.output 420 # set f2s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_8_4/solver.stat 421 # 422 # cmp -s $f1s $f2s 423 # if ( $status == 0 ) then 424 # echo "ORCA2LIM3 reproducibility passed" 425 # else 426 # echo "ORCA2LIM3 reproducibility FAILED" 427 # if ( $pass == 1 ) then 428 # echo "<return> to view solver.stat differences" 429 # set y = $< 430 # sdiff $f1s $f2s 431 # echo "<return> to view ocean.output differences" 432 # set y = $< 433 # sdiff $f1o $f2o | grep "|" 434 # echo "<return> to continue" 435 # set y = $< 436 # endif 437 # endif 438 # endif 439 440 441 if ( -d ./WORCA2_LIM3_OBS ) then 442 set dorv = `ls -1rtd ./WORCA2_LIM3_OBS/{$mach}/* | tail -1l ` 443 set dorv = $dorv:t 444 set f1o = ./WORCA2_LIM3_OBS/{$mach}/{$dorv}/REPRO_4_8/ocean.output 445 set f1s = ./WORCA2_LIM3_OBS/{$mach}/{$dorv}/REPRO_4_8/solver.stat 446 set f2o = ./WORCA2_LIM3_OBS/{$mach}/{$dorv}/REPRO_8_4/ocean.output 447 set f2s = ./WORCA2_LIM3_OBS/{$mach}/{$dorv}/REPRO_8_4/solver.stat 448 449 cmp -s $f1s $f2s 450 if ( $status == 0 ) then 451 echo "ORCA2_LIM3_OBS reproducibility passed" 452 else 453 echo "ORCA2_LIM3_OBS reproducibility FAILED" 454 454 if ( $pass == 1 ) then 455 455 echo "<return> to view solver.stat differences"
Note: See TracChangeset
for help on using the changeset viewer.