- Timestamp:
- 2015-04-13T15:08:59+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4650_UKMO11_restart_functionality/NEMOGCM/SETTE/sette_rpt
r4687 r5208 8 8 # 9 9 set mach = `grep "COMPILER=" ./sette.sh | sed -e 's/COMPILER=//'` 10 set NEMO_VALID = ../CONFIG/NEMO_VALIDATION10 set NEMO_VALID = `grep "NEMO_VALIDATION_DIR=" ./param.cfg | sed -e 's/NEMO_VALIDATION_DIR=//'` 11 11 # 12 12 if ( ! -d $NEMO_VALID ) then … … 54 54 rm f1.tmp$$ 55 55 endif 56 57 if ( -d ./WISOMIP_LONG ) then 58 set dorv = `ls -1rtd ./WISOMIP_LONG/{$mach}/* | tail -1l ` 59 set dorv = $dorv:t 60 set f1o = ./WISOMIP_LONG/{$mach}/{$dorv}/LONG/ocean.output 61 set f1s = ./WISOMIP_LONG/{$mach}/{$dorv}/LONG/solver.stat 62 set f2o = ./WISOMIP_LONG/{$mach}/{$dorv}/SHORT/ocean.output 63 set f2s = ./WISOMIP_LONG/{$mach}/{$dorv}/SHORT/solver.stat 64 65 set nl = `wc -l $f2s` 66 tail -$nl[1] $f1s > f1.tmp$$ 67 cmp -s f1.tmp$$ $f2s 68 if ( $status == 0 ) then 69 echo "ISOMIP restartability passed" 70 else 71 echo "ISOMIP restartability FAILED" 72 if ( $pass == 1 ) then 73 echo "<return> to view solver.stat differences" 74 set y = $< 75 sdiff f1.tmp$$ $f2s 76 echo "<return> to view ocean.output differences" 77 set y = $< 78 sdiff $f1o $f2o | grep "|" 79 echo "<return> to continue" 80 set y = $< 81 endif 82 endif 83 rm f1.tmp$$ 84 endif 85 56 86 57 87 if ( -d ./WORCA2LIMPIS_LONG ) then … … 141 171 rm f1.tmp$$ 142 172 endif 143 NEXT0: 173 if ( -d ./WORCA2LIM3_LONG ) then 174 set dorv = `ls -1rtd ./WORCA2LIM3_LONG/{$mach}/* | tail -1l ` 175 set dorv = $dorv:t 176 set f1o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/ocean.output 177 set f1s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/solver.stat 178 set f2o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/ocean.output 179 set f2s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/solver.stat 180 set nl = `wc -l $f2s` 181 tail -$nl[1] $f1s > f1.tmp$$ 182 cmp -s f1.tmp$$ $f2s 183 if ( $status == 0 ) then 184 echo "ORCA2LIM3 restartability passed" 185 else 186 echo "ORCA2LIM3 restartability FAILED" 187 if ( $pass == 1 ) then 188 echo "<return> to view solver.stat differences" 189 set y = $< 190 sdiff f1.tmp$$ $f2s 191 echo "<return> to view ocean.output differences" 192 set y = $< 193 sdiff $f1o $f2o | grep "|" 194 echo "<return> to continue" 195 set y = $< 196 endif 197 endif 198 rm f1.tmp$$ 199 endif 200 144 201 if ( -d ./WSAS_LONG ) then 145 202 set dorv = `ls -1rtd ./WSAS_LONG/{$mach}/* | tail -1l ` … … 149 206 set f2o = ./WSAS_LONG/{$mach}/{$dorv}/SHORT/ocean.output 150 207 set f2s = ./WSAS_LONG/{$mach}/{$dorv}/SHORT/solver.stat 151 152 208 foreach f ( $f1o $f1s $f2o $f2s ) 153 209 if ( ! -f $f ) then 154 210 echo 'SAS restartability inconclusive ( ' $f:t ' not found )' 155 goto NEXT 211 goto NEXT1 156 212 endif 157 213 end … … 178 234 endif 179 235 180 NEXT: 181 echo 236 NEXT1: 182 237 183 238 if ( -d ./WGYRE_4 ) then … … 206 261 endif 207 262 endif 208 263 264 if ( -d ./WISOMIP_4 ) then 265 set dorv = `ls -1rtd ./WISOMIP_4/{$mach}/* | tail -1l ` 266 set dorv = $dorv:t 267 set f1o = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_1_4/ocean.output 268 set f1s = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_1_4/solver.stat 269 set f2o = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_2_2/ocean.output 270 set f2s = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_2_2/solver.stat 271 272 cmp -s $f1s $f2s 273 if ( $status == 0 ) then 274 echo "ISOMIP reproducibility passed" 275 else 276 echo "ISOMIP reproducibility FAILED" 277 if ( $pass == 1 ) then 278 echo "<return> to view solver.stat differences" 279 set y = $< 280 sdiff $f1s $f2s 281 echo "<return> to view ocean.output differences" 282 set y = $< 283 sdiff $f1o $f2o | grep "|" 284 echo "<return> to continue" 285 set y = $< 286 endif 287 endif 288 endif 289 209 290 if ( -d ./WORCA2LIMPIS_16 ) then 210 291 set dorv = `ls -1rtd ./WORCA2LIMPIS_16/{$mach}/* | tail -1l ` … … 285 366 endif 286 367 368 if ( -d ./WORCA2LIM3_16 ) then 369 set dorv = `ls -1rtd ./WORCA2LIM3_16/{$mach}/* | tail -1l ` 370 set dorv = $dorv:t 371 set f1o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_2_8/ocean.output 372 set f1s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_2_8/solver.stat 373 set f2o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_4/ocean.output 374 set f2s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_4/solver.stat 375 376 cmp -s $f1s $f2s 377 if ( $status == 0 ) then 378 echo "ORCA2LIM3 reproducibility passed" 379 else 380 echo "ORCA2LIM3 reproducibility FAILED" 381 if ( $pass == 1 ) then 382 echo "<return> to view solver.stat differences" 383 set y = $< 384 sdiff $f1s $f2s 385 echo "<return> to view ocean.output differences" 386 set y = $< 387 sdiff $f1o $f2o | grep "|" 388 echo "<return> to continue" 389 set y = $< 390 endif 391 endif 392 endif 393 394 287 395 if ( -d ./WSAS_32 ) then 288 396 set dorv = `ls -1rtd ./WSAS_32/{$mach}/* | tail -1l ` … … 296 404 if ( ! -f $f ) then 297 405 echo 'SAS reproducibility inconclusive ( ' $f:t ' not found )' 298 goto NEXT 1406 goto NEXT2 299 407 endif 300 408 end … … 317 425 endif 318 426 endif 319 NEXT 1:427 NEXT2: 320 428 321 429 if ( -d ./WORCA2AGUL_1_2 ) then
Note: See TracChangeset
for help on using the changeset viewer.