Changeset 3715 for branches/2012/dev_MERGE_2012/NEMOGCM/SETTE/sette_rpt
- Timestamp:
- 2012-11-28T17:06:02+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_MERGE_2012/NEMOGCM/SETTE/sette_rpt
r3667 r3715 29 29 # 30 30 foreach pass (0 1 ) 31 32 if ( -d ./WGYRELOB_LONG ) then 33 set f1o = ./WGYRELOB_LONG/{$mach}/{$dorv}/LONG/ocean.output 34 set f1s = ./WGYRELOB_LONG/{$mach}/{$dorv}/LONG/solver.stat 35 set f2o = ./WGYRELOB_LONG/{$mach}/{$dorv}/SHORT/ocean.output 36 set f2s = ./WGYRELOB_LONG/{$mach}/{$dorv}/SHORT/solver.stat 37 38 set nl = `wc -l $f2s` 39 tail -$nl[1] $f1s > f1.tmp$$ 40 cmp -s f1.tmp$$ $f2s 41 if ( $status == 0 ) then 42 echo "GYRELOB restartability passed" 43 else 44 echo "GYRELOB restartability FAILED" 45 if ( $pass == 1 ) then 46 echo "<return> to view solver.stat differences" 47 set y = $< 48 sdiff -W f1.tmp$$ $f2s 49 echo "<return> to view ocean.output differences" 50 set y = $< 51 sdiff -W $f1o $f2o | grep "|" 31 if ( -d ./WGYRE_LONG ) then 32 set f1o = ./WGYRE_LONG/{$mach}/{$dorv}/LONG/ocean.output 33 set f1s = ./WGYRE_LONG/{$mach}/{$dorv}/LONG/solver.stat 34 set f2o = ./WGYRE_LONG/{$mach}/{$dorv}/SHORT/ocean.output 35 set f2s = ./WGYRE_LONG/{$mach}/{$dorv}/SHORT/solver.stat 36 37 set nl = `wc -l $f2s` 38 tail -$nl[1] $f1s > f1.tmp$$ 39 cmp -s f1.tmp$$ $f2s 40 if ( $status == 0 ) then 41 echo "GYRE restartability passed" 42 else 43 echo "GYRE restartability FAILED" 44 if ( $pass == 1 ) then 45 echo "<return> to view solver.stat differences" 46 set y = $< 47 sdiff f1.tmp$$ $f2s 48 echo "<return> to view ocean.output differences" 49 set y = $< 50 sdiff $f1o $f2o | grep "|" 52 51 echo "<return> to continue" 53 52 set y = $< … … 73 72 echo "<return> to view solver.stat differences" 74 73 set y = $< 75 sdiff -Wf1.tmp$$ $f2s76 echo "<return> to view ocean.output differences" 77 set y = $< 78 sdiff -W$f1o $f2o | grep "|"74 sdiff f1.tmp$$ $f2s 75 echo "<return> to view ocean.output differences" 76 set y = $< 77 sdiff $f1o $f2o | grep "|" 79 78 echo "<return> to continue" 80 79 set y = $< … … 100 99 echo "<return> to view tracer.stat differences" 101 100 set y = $< 102 sdiff -Wf1.tmp$$ $f2s103 echo "<return> to view ocean.output differences" 104 set y = $< 105 sdiff -W$f1o $f2o | grep "|"101 sdiff f1.tmp$$ $f2s 102 echo "<return> to view ocean.output differences" 103 set y = $< 104 sdiff $f1o $f2o | grep "|" 106 105 echo "<return> to continue" 107 106 set y = $< … … 127 126 echo "<return> to view solver.stat differences" 128 127 set y = $< 129 sdiff -Wf1.tmp$$ $f2s130 echo "<return> to view ocean.output differences" 131 set y = $< 132 sdiff -W$f1o $f2o | grep "|"128 sdiff f1.tmp$$ $f2s 129 echo "<return> to view ocean.output differences" 130 set y = $< 131 sdiff $f1o $f2o | grep "|" 133 132 echo "<return> to continue" 134 133 set y = $< … … 140 139 echo 141 140 142 if ( -d ./WGYRE LOB_4 ) then143 set f1o = ./WGYRE LOB_4/{$mach}/{$dorv}/REPRO_1_4/ocean.output144 set f1s = ./WGYRE LOB_4/{$mach}/{$dorv}/REPRO_1_4/solver.stat145 set f2o = ./WGYRE LOB_4/{$mach}/{$dorv}/REPRO_2_2/ocean.output146 set f2s = ./WGYRE LOB_4/{$mach}/{$dorv}/REPRO_2_2/solver.stat147 148 cmp -s $f1s $f2s 149 if ( $status == 0 ) then 150 echo "GYRE LOBreproducibility passed"151 else 152 echo "GYRE LOBreproducibility FAILED"153 if ( $pass == 1 ) then 154 echo "<return> to view solver.stat differences" 155 set y = $< 156 sdiff -W$f1s $f2s157 echo "<return> to view ocean.output differences" 158 set y = $< 159 sdiff -W$f1o $f2o | grep "|"141 if ( -d ./WGYRE_4 ) then 142 set f1o = ./WGYRE_4/{$mach}/{$dorv}/REPRO_1_4/ocean.output 143 set f1s = ./WGYRE_4/{$mach}/{$dorv}/REPRO_1_4/solver.stat 144 set f2o = ./WGYRE_4/{$mach}/{$dorv}/REPRO_2_2/ocean.output 145 set f2s = ./WGYRE_4/{$mach}/{$dorv}/REPRO_2_2/solver.stat 146 147 cmp -s $f1s $f2s 148 if ( $status == 0 ) then 149 echo "GYRE reproducibility passed" 150 else 151 echo "GYRE reproducibility FAILED" 152 if ( $pass == 1 ) then 153 echo "<return> to view solver.stat differences" 154 set y = $< 155 sdiff $f1s $f2s 156 echo "<return> to view ocean.output differences" 157 set y = $< 158 sdiff $f1o $f2o | grep "|" 160 159 echo "<return> to continue" 161 160 set y = $< … … 178 177 echo "<return> to view solver.stat differences" 179 178 set y = $< 180 sdiff -W$f1s $f2s181 echo "<return> to view ocean.output differences" 182 set y = $< 183 sdiff -W$f1o $f2o | grep "|"179 sdiff $f1s $f2s 180 echo "<return> to view ocean.output differences" 181 set y = $< 182 sdiff $f1o $f2o | grep "|" 184 183 echo "<return> to continue" 185 184 set y = $< … … 202 201 echo "<return> to view tracer.stat differences" 203 202 set y = $< 204 sdiff -W$f1s $f2s205 echo "<return> to view ocean.output differences" 206 set y = $< 207 sdiff -W$f1o $f2o | grep "|"203 sdiff $f1s $f2s 204 echo "<return> to view ocean.output differences" 205 set y = $< 206 sdiff $f1o $f2o | grep "|" 208 207 echo "<return> to continue" 209 208 set y = $< … … 226 225 echo "<return> to view solver.stat differences" 227 226 set y = $< 228 sdiff -W $f1s $f2s 229 echo "<return> to view ocean.output differences" 230 set y = $< 231 sdiff -W $f1o $f2o | grep "|" 232 echo "<return> to continue" 233 set y = $< 234 endif 227 sdiff $f1s $f2s 228 echo "<return> to view ocean.output differences" 229 set y = $< 230 sdiff $f1o $f2o | grep "|" 231 echo "<return> to continue" 232 set y = $< 233 endif 234 endif 235 endif 236 237 if ( -d ./WORCA2AGUL_1_2 ) then 238 set f1o = ./WORCA2AGUL_1_2/{$mach}/{$dorv}/SHORT/ocean.output 239 set f1s = ./WORCA2AGUL_1_2/{$mach}/{$dorv}/SHORT/solver.stat 240 241 if ( -f $f1o && -f $f1s ) then 242 echo "ORCA2_LIM_AGRIF runability passed" 243 else 244 echo "ORCA2_LIM_AGRIF runability FAILED" 235 245 endif 236 246 endif
Note: See TracChangeset
for help on using the changeset viewer.