4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
o pkg/ggl90: fix computation of control volumes for the case of |
o pkg/offline: |
8 |
|
- call OFFLINE_FIELDS_LOAD from pkg/offline/offline_init_varia.F |
9 |
|
(previously called from pkg/dic_surfforcing_init.F) |
10 |
|
o model/src: |
11 |
|
- re-order sequence of calls within packages_init_variables.F, using |
12 |
|
standard order, except for: |
13 |
|
DIAGNOSTICS_INIT_VARIA and OFFLINE_INIT_VARIA (called @ the top), |
14 |
|
CTRL_MAP_INI and OBCS_INIT_VARIABLES (called @ the bottom) |
15 |
|
o new pkg: atm_phys |
16 |
|
- add entry point and source code (previously in contrib |
17 |
|
verification_other/atm_gray/code_gray/) for new pkg "atm_phys" |
18 |
|
(atmospheric physics pkg from P. O'Gorman and T. Schneider, JCl, 2008). |
19 |
|
- re-order sequence of calls within packages_readparms.F, |
20 |
|
packages_init_fixed.F and packages_write_pickup.F |
21 |
|
(but skip packages_init_variables.F because of TAF issues). |
22 |
|
- update contrib/*/atm_gray/ experiment. |
23 |
|
o pkg/seaice (ITD code): |
24 |
|
- simplify and fix the writing of pickup-files for ITD case |
25 |
|
o pkg/seaice (ITD code): |
26 |
|
- introduce floe size dependent lateral melt for ITD case; |
27 |
|
- cleaning (avoid division by zero, change to f77 syntax, remove tabs) |
28 |
|
- update seaice_itd experiment main output. |
29 |
|
o pkg/thsice: |
30 |
|
- remove snowPrc from common block THSICE_FLUX, in THSICE_VARS.h and |
31 |
|
declared it locally (without bi,bj) in thsice_main.F & aim_do_physics.F; |
32 |
|
changed accordingly pkg/atm2d. |
33 |
|
|
34 |
|
checkpoint64g (2013/05/01) |
35 |
|
o pkg/exf ALLOW_RUNOFTEMP |
36 |
|
- if defined, river and glacier runoff temperature can be read-in from |
37 |
|
runoftempfile; runoftempfile needs to have same format as runofffile |
38 |
|
o pkg/thsice (& pkg/bulk_force): |
39 |
|
- In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account |
40 |
|
for energy content of Precip + RunOff & Evap (like with pkg/exf). |
41 |
|
- change computation domain to always be the interior (without overlap). |
42 |
|
- fix bug (wrong overlap) when using EXF and stressReduction > 0. |
43 |
|
o verification/tutorial_global_oce_biogeo: |
44 |
|
- add preliminary OpenAD setup (still has problems) |
45 |
|
o pkg/seaice: |
46 |
|
- turn some parameters for choosing the convergence criterion of |
47 |
|
the inexact Newton method (JFNK) into runtime parameters for convenience |
48 |
|
- clean up seaice_calc_viscosities.F: remove/retire two options for |
49 |
|
SEAICetaZmethod (1,2), introduce area weighting for method 3; this changes |
50 |
|
the results of lab_sea/input because a division has been replaced by |
51 |
|
a multiplication with the reciprocal (sumNorm) |
52 |
|
- modify offline_exf_seaice/input.dyn_jfnk/data.seaice to improve |
53 |
|
convergence of solver (changes results, of course), and to test some |
54 |
|
new features |
55 |
|
o model/src: |
56 |
|
- remove unused (since Aug 2006) S/R SET_WRITE_GLOBAL_PICKUP and its call. |
57 |
|
- remove unused forcing field "dQdT" and associated parameter "dQdTFile". |
58 |
|
- move forcing adjustment (balancing surface forcing) in specific S/R |
59 |
|
where might also be applied exchanges (if needed) to forcing arrays. |
60 |
|
o pkg/shelfice: |
61 |
|
- allow to specify the Ice-Shelf mass per unit area (instead of |
62 |
|
shelficeLoadAnomaly) and do the conversion from one to the other |
63 |
|
- move loading from file of shelficeLoadAnomaly from SHELFICE_INIT_VARIA |
64 |
|
to SHELFICE_INIT_FIXED: (a) avoid some TAF recompution issues and |
65 |
|
(b) will be loaded in time (before calling INI_PRESSURE) in case it is |
66 |
|
needed in phi0surf for initial pressure calculation when useDynP_inEos_Zc |
67 |
|
- update isomip experiment forward output (get machine truncation error |
68 |
|
from conversion shelficeLoadAnomaly -> shelficeMass -> shelficeLoadAnomaly) |
69 |
|
o verification/offline_exf_seaice: |
70 |
|
revise data.seaice in input.thermo and input_ad and update results accordingly |
71 |
|
HO = 0.2, SEAICE_areaLossFormula = 2, |
72 |
|
SEAICE_growMeltByConv = .TRUE., |
73 |
|
SEAICE_doOpenWaterMelt = .TRUE., |
74 |
|
Improve consistency with input.thsice and fix the spurious 500m ice corners |
75 |
|
o verification/global_ocean.cs32x15: |
76 |
|
- set Energy Reference Level to liq. water @ 0 degC: temp_EvPrRn=0., |
77 |
|
in icedyn (thsice+seaice-dyn) test and update output. |
78 |
|
o verification/offline_exf_seaice: |
79 |
|
- adjust list of tested variables (with testreport) and update |
80 |
|
standard test output with better slection of monitored fields. |
81 |
|
o pkg/cd_code: |
82 |
|
- swtich off Adams-Bashforth on the 1rst iteration. Update output of |
83 |
|
experiment lab_sea.hb87 |
84 |
|
o tools/genmake2: |
85 |
|
- change default makedepend from the system default to tools/xmakedepend: |
86 |
|
When no makedepend is specified, select tools/xmakedepend it the test pass, |
87 |
|
otherwise select the system default (if exist and pass the test) or |
88 |
|
try to build cyrus-makedepend ; stop if none of the 3 works. |
89 |
|
o pkg/exf & pkg/thsice: |
90 |
|
- In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account |
91 |
|
for energy content of Precip + RunOff & Evap. Assumes: |
92 |
|
1) Rain has same temp as Air. |
93 |
|
2) Snow has no heat capacity (consistent with seaice & thsice pkgs) |
94 |
|
3) Run-Off comes at the temp of surface water (with same Cp) |
95 |
|
4) Evap over ocean is released to the Atmos @ surf-temp (=SST); should be |
96 |
|
put directly into Latent Heat flux & should use water-vapor heat capacity. |
97 |
|
5) Evap over snow/seaice (pkg/thsice) assumes constant Lf+Lv (consistent |
98 |
|
with snow having no Cp) => water vapor is released to Atmos @ 0^oC (=ERL). |
99 |
|
o pkg/seaice: simplify the use of CPP flags in JFNK-related files |
100 |
|
(compile when SEAICE_ALLOW_JFNK is defined) |
101 |
|
o pkg/thsice: |
102 |
|
- fix oceanic flux diagnostics & timeave (left from new sequence of calls |
103 |
|
implementation): move THSICE_AVE call after the advection (called directly |
104 |
|
from thsice_do_advect.F). |
105 |
|
o verification/global_ocean.90x40x15 and OpenAD: |
106 |
|
New experiment for OpenAD is identical to the one in input_ad except that |
107 |
|
multiDimAdvection=.FALSE., |
108 |
|
There is still an issue with this. |
109 |
|
o pkg/thsice: |
110 |
|
- account for ice velocity (ocean relative velocity) in turbulent heat flux |
111 |
|
at the base of the ice; update output of global_ocean.cs32x15 (icedyn) |
112 |
|
and offline_exf_seaice (main test). |
113 |
|
|
114 |
|
checkpoint64f (2013/03/31) |
115 |
|
o verification/OpenAD: |
116 |
|
- new (smaller, without OAD_DEBUG) output_oadm.txt generated using gfortran. |
117 |
|
o verification/isomip, pkg/shelfice and OpenAD: |
118 |
|
- add OpenAD setup to this exp and make shelfice package work with OpenAD |
119 |
|
o verification/tutorial_global_oce_biogeo: |
120 |
|
- update AD and TLM output after turning off ALLOW_FE (in DIC_OPTIONS.h) |
121 |
|
o verification/offline_exf_seaice: |
122 |
|
- replace adjoint experiment (now similar to fwd input.thermo/ setup). |
123 |
|
o verification/tutorial_tracer_adjsens, pkg/ptracers and OpenAD: |
124 |
|
- add OpenAD setup to this exp and make ptracers package work with OpenAD |
125 |
|
o pkg/seaice/seaice_evp.F: |
126 |
|
mask the asymmetric contribution of the ice-ocean stress (when |
127 |
|
the turningAngle is non-zero) over open water to avoid stripes |
128 |
|
in the EVP-solutions after many EVP-substeps. This does not change |
129 |
|
the verification experiment (because turningAngle=0 in that experiment), |
130 |
|
but will affect other EVP solutions with turningAngle.ne.0 |
131 |
|
o verification, AD & TLM output: |
132 |
|
- new TAF version 2.3.10 (previously 2.3.8) add more parenthesis in multiple |
133 |
|
additions and multiplications which affect results at machine truncation |
134 |
|
level. Update few AD output (1D_ocean_ice_column, bottom_ctrl_5x5, |
135 |
|
lab_sea.noseaicedyn & offline_exf_seaice) and TLM output |
136 |
|
(1D_ocean_ice_column & tutorial_tracer_adjsens.som81) which had only 12 |
137 |
|
digits of matching. |
138 |
|
o pkg/seaice: |
139 |
|
modify lsr-algorithm so that it vectorizes AND converges by using a |
140 |
|
"zebra" method: split vector loop into two with step size 2; this |
141 |
|
solves a general convergence problem for the JFNK solver on a vector |
142 |
|
computer. It has the potential to even improve convergence for |
143 |
|
non-vector machines, but it does change the results so it is turned |
144 |
|
off by default. To turn on define CPP-flags SEAICE_VECTORIZE_LSR and |
145 |
|
SEAICE_VECTORIZE_LSR_ZEBRA in SEAICE_OPTIONS.h |
146 |
|
|
147 |
|
checkpoint64e (2013/03/05) |
148 |
|
o pkg/ecco and several verification experiments: |
149 |
|
Remove special versions of the_model_main.F, the_main_loop.F, forward_step.F |
150 |
|
from ecco package, and revert to unified routine in model/src/ |
151 |
|
Adjust verification experiments accordingly, especially gloal_oce_llc90 |
152 |
|
Should conclude long-standing work by Gael to reconsile the_main_loop with |
153 |
|
ECCO and will enable OpenAD's revolve loop in ECCO setup. |
154 |
|
o pkg/generic_advdiff: |
155 |
|
- implement compressible flow method for multi-dim advection (similar to |
156 |
|
gad_som_advect.F); add new option "GAD_MULTIDIM_COMPRESSIBLE" (since |
157 |
|
TAF generates many recomputations) to use it; no yet coded with implicit |
158 |
|
vertical advection. |
159 |
|
- change experiment advect_cs (new output) and advect_xy (same output) |
160 |
|
to test compressible flow multi-dim advection. |
161 |
|
o pkg/generic_advdiff: |
162 |
|
- fix SOM advection for unusual cases (linear Free-Surf in r*, other |
163 |
|
cases where linear Free-Surf is not @ k=1, e.g., useShelfIce) |
164 |
|
o pkg/seaice: |
165 |
|
- fix bug in the no-slip implementation in seaice_calc_strainrates.F, this |
166 |
|
bug affects two verification experiments (lab_sea and lab_sea.hb87), |
167 |
|
recover old (wrong) results by setting noSlipFac = 2. in |
168 |
|
seaice_calc_strainrates.F; |
169 |
|
- add another averaging method for etaZ (etaZmethod=3), a mix of 2 and 0 |
170 |
|
- add runtime parameter SEAICE_JFNKepsilon for that finite difference |
171 |
|
gradient in the Jacobian times vector operation (s/r seaice_jacvec) |
172 |
|
- fix line search in seaice_jfnk.F (s/r seaice_jfnk_update) |
173 |
|
o pkg/seaice: reorganize seaice_lsr.F to be able to reuse more code: |
174 |
|
- new subroutines seaice_lsr_tridiagu/v |
175 |
|
- introduce loop bounds i/jmin/max to be able to use a restricted |
176 |
|
additive Schwarz method, but not used for now. |
177 |
|
- rename SEAICE_CALC_LSR_COEFFS into SEAICE_LSR_CALC_COEFFS |
178 |
|
- use new subroutines seaice_lsr_tridiagu/v in s/r seaice_preconditioner |
179 |
|
o OpenAD support |
180 |
|
Reorganize S/R call for overall time-stepping loop to facilitate |
181 |
|
OpenAD revolve loop replacement |
182 |
|
(new S/R main_do_loop.F) |
183 |
|
o model/src: |
184 |
|
- add 3-D array 3rd dimension to argument list of S/R ADAMS_BASHFORTH2/3; |
185 |
|
- pkg/cheapaml: remove local S/R ADAMS2d and use instead standard S/R |
186 |
|
ADAMS_BASHFORTH2. |
187 |
|
o pkg/cheapaml: |
188 |
|
- add new parameter (default=F, same as before) to disable full domain |
189 |
|
(including land) periodicity in X & Y dir. |
190 |
|
- new S/R CHEAPAML_COPY_EDGES to copy relaxation field into edges of |
191 |
|
prognostics field ; merge the 2 S/R cycle_2d_tracer and timestep_2d_tracer |
192 |
|
into single S/R CHEAPAML_TIMESTEP. |
193 |
|
|
194 |
|
checkpoint64d (2013/02/17) |
195 |
|
o pkg/monitor (angular momentum): |
196 |
|
- do not add Eta contribution to the total AM if using rigid-lid; |
197 |
|
- correct for Adams-Bashforth in zonal-wind part (instead of in AM_eta). |
198 |
|
- horizontal discretisation: compute Zonal wind contribution separately for |
199 |
|
each component (instead of from cell centered averaged) and use the 4 |
200 |
|
grid-cell corner averaged value of Omega*(R*cos_Phi)^2 in AM_eta part. |
201 |
|
- Check that AM is conserved with linear dynamics (momAdvection=F and linear |
202 |
|
FreeSurf) if using vectorInvariant momentum. |
203 |
|
o model/src (horizontal grid): |
204 |
|
- move initialisation of all horizontal grid arrays to null value |
205 |
|
from specific horizontal grid S/R to main S/R INI_GRID; |
206 |
|
- add 2 new arrays to project model C-grid velocity on to zonal direction |
207 |
|
(similar to AngleCosC & -AngleSinC but at U and V point location) and |
208 |
|
compute them in S/R CALC_GRID_ANGLES. |
209 |
|
o pkg/seaice: replace a hard coded parameter by a runtime parameter |
210 |
|
SEAICE_JFNK_tolIter |
211 |
|
o pkg/seaice: introduce a restricted additive Schwarz (RAS) method in |
212 |
|
preconditioner for JFNK (run LSR into the overlaps as far as possible, |
213 |
|
i.e OLx/y-2, but overwrite the solution in the overlaps) |
214 |
|
- extend loop range in seaice_calc_viscosity |
215 |
|
- add new parameters SEAICE_OLx/y (default = OLx/y-2) |
216 |
|
- add flexible loop ranges to seaice_preconditioner, seaice_calc_lsr_coeffs |
217 |
|
- slightly modify loops in tridiagonal solver lsr-preconditioner |
218 |
|
- by default remove the extra exchange in seaice_preconditioner with a |
219 |
|
replacement of an undocumented CPP flag by SEAICE_PRECOND_EXTRA_EXCHANGE |
220 |
|
- modify offline_exf_seaice so that old results without RAS are reproduced |
221 |
|
for output.dyn_jfnk.txt |
222 |
|
in seaice_fgmres.F (unrelated to RAS) |
223 |
|
- add a cpp-flag option for a re-ordered mapping (potentially more |
224 |
|
efficient), but because this changes the results, turn it off by |
225 |
|
default |
226 |
|
- replace the save statement by local common blocks |
227 |
|
o utils/matlab: |
228 |
|
- fix tile-offset in rdmnc.m when output was produced using EXCH2. |
229 |
|
- update cs_grid/bk_line scripts to use load_grid.m (in utils/matlab) |
230 |
|
instead of local script "load_cs.m". |
231 |
|
o pkg/seaice: |
232 |
|
- fix a serious bug in seaice_fgmres.F, s/r seaice_scalprod, connected |
233 |
|
to the scalarProductMetric and the unrolling. By chance this does not |
234 |
|
change the verification experiment, because of the particular domain |
235 |
|
decomposition |
236 |
|
o pkg/diagnostics: |
237 |
|
- change default missing_value from UNSET_RL to -999. |
238 |
|
o pkg/layers: improve vectorization of layers_fluxcalc.F |
239 |
|
- step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu |
240 |
|
time spent in this routine by more than a factor of 3 on an NEC-SX8 |
241 |
|
- step 2: replace search algorithm by a bisection algorithm found in |
242 |
|
Press et al. Numerical Recipes in Fortran. This algorithm can be |
243 |
|
vectorized and finds the correct bin in approx. log2(Nlayers) steps. |
244 |
|
For now, use this algorithm only for TARGET_NEC_SX defined. |
245 |
|
- moved the search algorithm into a separate subroutine, that is kept |
246 |
|
within the same file for automatic inlining. |
247 |
|
- modified catching potential errors |
248 |
|
o pkg/ecco: |
249 |
|
- add compile switches ALLOW_SHALLOW_ALTIMETRY and ALLOW_HIGHLAT_ALTIMETRY. |
250 |
|
o model/src, pkg/autodiff, pkg/ctrl, pkg/grdchk : |
251 |
|
- modifications for ALLOW_GENTIM2D_CONTROL |
252 |
|
-- forward_step.F, the_main_loop.F : pass options and arrays for adjoint tapes. |
253 |
|
-- load_fields_driver.F : add call to CTRL_MAP_GENTIM2D( myTime, myIter, myThid ) |
254 |
|
-- add xx_gentim2d0/1 in ctrl_ad_check_lev1_dir.h checkpoint_lev1_directives.h etc |
255 |
|
-- use ctrl_swapffields.F (new) instead of exf_SwapFFields.F in ctrl_get_gen.F |
256 |
|
o model/src: |
257 |
|
- account for moist thermodynamics in (dry) potential temperature equation; |
258 |
|
update results of experiments: aim.5l_cs (x2), fizhi-cs (std + aqualev) |
259 |
|
and cpl_aim+ocn. |
260 |
|
- also switch to standard compiler (gfortran, was using ifort previously) |
261 |
|
for fizhi-cs experiments reference output. |
262 |
|
o pkg/ctrl: |
263 |
|
- 1st step toward generic time-varying control variable (2D) via CPP option |
264 |
|
ALLOW_GENTIM2D_CONTROL |
265 |
|
- note new namelist ctrl_nml_genarr in data.ctrl |
266 |
|
o verification/global_ocean.cs32x15: |
267 |
|
- switch off OLD_THSICE_CALL_SEQUENCE (both forward and AD code) to use new |
268 |
|
thsice calling sequence and update "output.icedyn.txt" output file. |
269 |
|
o pkg/ptracers: |
270 |
|
- from Ryan A.: code to allow to restart a tracer at regular time interval |
271 |
|
specifying a reset frequency and a reset-phase (for each tracers). |
272 |
|
o pkg/thsice: |
273 |
|
- implement new sequence of calls for thsice+seaice: |
274 |
|
previously: ice-Dyn,ice-Advect,ice-Thermo(thsice) |
275 |
|
new sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect |
276 |
|
- allows (with temporary CPP option "#define OLD_THSICE_CALL_SEQUENCE" |
277 |
|
in CPP_OPTIONS.h) to recover old sequence; |
278 |
|
- update diagnostics for Intermediate State thsice diagnostics: now filled |
279 |
|
just before advection (instead of just after advection in old sequence); |
280 |
|
- update output of experiment offline_exf_seaice (standard test); |
281 |
|
- in global_ocean.cs32x15 exp., postpone output.icedyn.txt update |
282 |
|
by setting #define OLD_THSICE_CALL_SEQUENCE in CPP_OPTIONS.h |
283 |
|
o pkg/aim_v23: |
284 |
|
- use tiled array for aim_CO2 and surface wind speed for export to coupler; |
285 |
|
- use standard pkg/mdsio routines to read & write CO2 pickup file; |
286 |
|
- in-line S/R AIM_AIM2DYN_EXCHANGES in aim_do_physics.F; |
287 |
|
- Implement new sequence of calls for seaice advection (with thsice and |
288 |
|
seaice diffusion): do ice advection after ice-Thermodynamic (previously |
289 |
|
was done before); change aim_do_physics.F (split the bi,bj loops block); |
290 |
|
- use same CPP option (OLD_THSICE_CALL_SEQUENCE) to recover old sequence; |
291 |
|
o pkg/thsice: |
292 |
|
- add a missing EXCH of sIceLoad in thsice_main.F (ocean set-up) for the case |
293 |
|
where just seaice diffusion is used without seaice-dynamics. |
294 |
|
|
295 |
|
checkpoint64c (2013/01/18) |
296 |
|
o pkg/seaice: |
297 |
|
- add a parameter JFNKres_tFac that can replace JFNKres_t |
298 |
|
(= JFNKres_tFac*JFNKresidual before JFNK solver) |
299 |
|
- add a line search option to the JFNK solver |
300 |
|
- move update of u/vIce and computation of initial residual into a separate |
301 |
|
routine (same file); makes the code a little easier to read (?) |
302 |
|
- the line search requires computation of the residual and for some reason |
303 |
|
I cannot do the update of u/vIce at the beginning of the Newton loop |
304 |
|
without changing the results, so we move computation of the new residual |
305 |
|
also to the end of the Newton loop, even without the line search |
306 |
|
o pkg/mdsio: |
307 |
|
- write missing value (corresponding to undefined array value) to meta files; |
308 |
|
skip this if missing value is one (UNSET_RL would be a better value for the |
309 |
|
case of undefined missing value but it's current the default missing-value); |
310 |
|
Also update mdsio_read_meta.F (reading timeInterval & missing-value). |
311 |
|
o pkg/exf & thsice: |
312 |
|
- for diagnostics purpose, fill-up and update Qsw array (+ fill the |
313 |
|
diagnostics) even when SHORTWAVE_HEATING is #undef; |
314 |
|
o verification/cfc_example: |
315 |
|
- turn on pkg/layers with pkg/diagnostics (to test pkg/layers and to |
316 |
|
illustrate how to use it). |
317 |
|
o verification/offline_exf_seaice: |
318 |
|
in input: add SEAICErestoreUnderIce=.TRUE., and reduce size of forcing |
319 |
|
files to only one time-record. |
320 |
|
in input.thermo: narrow the 2 bands of low initial ice-concentration near |
321 |
|
N & S edges; switch on SEAICErestoreUnderIce=T; use pkg/diagnostics for |
322 |
|
snapshot output; same mcPheePiston value as in thsice with |
323 |
|
surf-current=0.2m/s. |
324 |
|
in input.thsice: similar set-up as in input.thermo (channel with same seaice |
325 |
|
initial conditions). |
326 |
|
o verification/cfc_example: |
327 |
|
- update file "data" with more standard choice (default rotationPeriod, |
328 |
|
exactConserv=T, reduce ivdc_kappa to 10, remove multiDimAdvection=F, |
329 |
|
set deltaTFreeSurf to deltaTtracer) and update the output. |
330 |
|
o pkg/layers: |
331 |
|
- fix bolus part so that it compiles with #undef GM_BOLUS_ADVEC; |
332 |
|
- ensure that "layers_bolus" is switched to False when useGMRedi=False. |
333 |
|
o verification/offline_exf_seaice: |
334 |
|
- set all {field}period to zero for constant-in-time forcing (not tested |
335 |
|
anywhere else). |
336 |
|
o verification/offline_exf_seaice: |
337 |
|
- dyn_lsr : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice; |
338 |
|
- dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice. |
339 |
|
o model/src: |
340 |
|
- implement Finite-Volume method for (hydrostatic) presure gradient |
341 |
|
from S.-J. Lin (QJRMS 1997), for atmosphere using sigma-coordinate. |
342 |
|
o pkg/seaice: implement EVP* by Lemieux et al. (2012). |
343 |
|
- In order to be compatible with the default EVP code, this requires changing |
344 |
|
the EVP code around a little; and because any small change immediately |
345 |
|
breaks the lab_sea.hb87 verification experiment, the reference output is |
346 |
|
updated two times (each time the remaining aggrement was only 2 digits): |
347 |
|
- after replacing 1/dt by 1*recip_dt with a precomputed recip_dt |
348 |
|
- after replacing 1/(1+0.5*dt/tau) by a/(a+1), with a=2*tau/dt |
349 |
|
The adjoint test lab_sea.evp also needed to be updated. |
350 |
|
- Turn on EVP* by setting SEAICE_deltaTevp as before, and setting |
351 |
|
SEAICEuseEVPstar=.true.; for EVP* SEAICE_deltaTevp does not need to be |
352 |
|
a factor of SEAICE_deltaTdyn, and you can set the number of EVP steps |
353 |
|
explicitly with SEAICEnEVPstarSteps (thereby overriding the default of |
354 |
|
INT(SEAICE_deltaTdyn/SEAICE_deltaTevp)). Controlling EVP* is deliberately |
355 |
|
kept obscure, because I need to test it a little more. |
356 |
|
o pkg/cheapaml: |
357 |
|
- fix few incorrect type (_RL/_RS) in subroutine calls. |
358 |
|
o pkg/seaice: |
359 |
|
- new S/R SEAICE_MAP_RS2VEC (similar to SEAICE_MAP2VEC) to map _RS arrays |
360 |
|
to _RL vector; this fixes JFNK code when compiling with "-use_r4" option. |
361 |
|
o model/src: |
362 |
|
- add a warning if using select_rStar=2 with nonlinFreeSurf <> 4; |
363 |
|
change (in input_ad*/data) select_rStar from 2 to 1 for AD verification |
364 |
|
experiments global_ocean.cs32x15 & tutorial_tracer_adjsens (+ update output) |
365 |
|
o pkg/cheapaml: |
366 |
|
- replace "273.1 _d 0" by celsius2K in pkg/cheapaml/cheapaml.F and |
367 |
|
update output of experiment cheapAML_box. |
368 |
|
- store in CHEAPAML.h coeffs ssq[0:2] for saturation specific humidity, |
369 |
|
and set them only in one place (cheapaml_readparms.F). |
370 |
|
- replace "273.16 _d 0" by celsius2K & replace "3.14159 _d 0" by constant "PI" |
371 |
|
- remove re-setting of main-model parameter "celsius2K" (in cheapaml_readparms) |
372 |
|
and re-setting of cheapAML params "lath" & "p0" (in cheapaml_init_varia). |
373 |
|
o model/src/the_main_loop.F: |
374 |
|
- fix revision 129 : need both ALLOW_ECCO and ALLOW_ECCO_EVOLUTION. |
375 |
|
o pkg/seaice: |
376 |
|
- remove legacy branch code. |
377 |
|
- retire SEAICE_GROWTH_LEGACY and SEAICE_CAP_HEFF accordingly. |
378 |
|
o verification/*/code*/SEAICE_OPTIONS.h: |
379 |
|
- remove documentation for retired CPP flags (SEAICE_GROWTH_LEGACY, |
380 |
|
SEAICE_CAP_HEFF). |
381 |
|
o pkg/cheapaml: |
382 |
|
- use standard routine (S/R GET_PERIODIC_INTERVAL) to decide when it is time |
383 |
|
to load new forcing fields. |
384 |
|
- add missing "_d 0" where it's needed; + some editing (improve indentation). |
385 |
|
- remove switch to "-r8" compiler option (no longer needed) in verification |
386 |
|
cheapAML_box, keep same output (small trucation error differences). |
387 |
|
o verification/offline_exf_seaice: |
388 |
|
- add thermodynamics only test. |
389 |
|
o verification/cheapAML_box: |
390 |
|
- split the domain in 8 (2x4) tiles; add MPI and multi-threaded test; |
391 |
|
keep same output (same 14 digits for cg2d). |
392 |
|
- switch on "-r8" compiler option (some numerical values are missing |
393 |
|
the "_d 0") and update output (only 6 digits for cg2d were preserved). |
394 |
|
|
395 |
|
checkpoint64b (2012/12/24) |
396 |
|
o pkg/cheapaml: |
397 |
|
- remove un-used variables (Qnet,EmPmR) from pickup files. |
398 |
|
- store tendency of advected variables into cheapaml pickup file |
399 |
|
and fix the AB-2 restart. |
400 |
|
o verification/offline_exf_seaice and lab_sea adjoint: |
401 |
|
- switch to new code (#undef SEAICE_GROWTH_LEGACY). |
402 |
|
- switch to 4 time steps in offline, consistent with lab_sea. |
403 |
|
- match parameters from SEAICE_GROWTH_LEGACY branch in data.seaice. |
404 |
|
- update results after change of experiment seaice. |
405 |
|
o pkg/seaice: |
406 |
|
- remove option SEAICE_MULTICATEGORY; has been replaced with run-time |
407 |
|
parameter SEAICE_multDim. Issue a warning if SEAICE_MULTICATEGORY is |
408 |
|
still defined since SEAICE_multDim needs to be set to MULTDIM value (from |
409 |
|
SEAICE_SIZE.h) to recover previous #define SEAICE_MULTICATEGORY default. |
410 |
|
o model/src: |
411 |
|
- add run-time parameter to select CG2D solver minimum-residual solution |
412 |
|
(in case of a poor convergence). |
413 |
|
o pkg/seaice/seaice_lsr.F |
414 |
|
- move calculation of matrix coefficients into new |
415 |
|
S/R SEAICE_CALC_LSR_COEFFS; for now this routine remains in the same |
416 |
|
file; the main purpose of this change is to be able to reuse the code |
417 |
|
in S/R SEAICE_PRECONDITIONER |
418 |
|
- modify the computation of the residual so that the mass of sea-ice |
419 |
|
is not used twice; this simplifies the calculations, but since |
420 |
|
the residual is never used except when LSR_mixIniGuess.ge.4---and this is |
421 |
|
not tested in testreport---this does not affect the testreport results. |
422 |
|
o verification/seaice_obcs: |
423 |
|
- disable SEAICE_GROWTH_LEGACY; reset input files to match those of |
424 |
|
verification/lab_sea/input.salt_plume; changes results/output.txt* |
425 |
|
o model/src: |
426 |
|
- adapt quasi-hydrostatic formulation to work with p or p* coordinate. |
427 |
|
o pkg/seaice: |
428 |
|
- improve description of parameters in seaice_fgmres.F and start |
429 |
|
cleaning up the code |
430 |
|
- change name of SCALPROD to SEAICE_SCALPROD and modify meaning of |
431 |
|
second argument |
432 |
|
- add a metric based on grid cell area to SEAICE_SCALPROD; update |
433 |
|
results of offline_exf_seaice.dyn_jfnk |
434 |
|
- compute initial residual norm in seaice_jfnk based on SEAICE_SCALPROD |
435 |
|
o pkg/aim_v23: |
436 |
|
- fix an other bug in dissipation heating (grid-cell area was missing). |
437 |
|
o model/src + pkg/seaice: |
438 |
|
- add global (multi-tile) linear solver for pair of tri-diagonal system |
439 |
|
along X and Y lines, respectively for U and V component. |
440 |
|
Note: 1) MPI and cube-exchange not yet coded. |
441 |
|
2) probably not accurate for poorly conditioned / large size problem. |
442 |
|
- add option for SEAICE_LSR to use global (multi-tile) tri-diagonal solver; |
443 |
|
default: not compiled and not used. |
444 |
|
o pkg/seaice: |
445 |
|
- first attempt at a multi-threaded fgmres solver for the JFNK solver: |
446 |
|
introduce bi/bj loops and use global_sum_tile_rl instead of |
447 |
|
mpi_allreduce in seaice_fgmres.F |
448 |
|
- improve diagnostics output for fgmres solver (seaice_fgmres.F) |
449 |
|
- replace a few unnecessary goto statements by if-blocks (seaice_fgmres.F) |
450 |
|
- add a verification experiment for JFNK in offline_exf_seaice |
451 |
|
o verification: |
452 |
|
- change (for now, only fwd test) offline_exf_seaice experiment: |
453 |
|
use a re-entrant channel with idealized coastline (trapezoidal shape) |
454 |
|
at southern boundary to explore seaice dynamics and thermodynamics |
455 |
|
with simple forcing. Main set-up has dynamics+thermo and SST relaxation; |
456 |
|
secondary test (input.thsice) use thermodynamics only with SST relaxation. |
457 |
|
- add seaice-dynamics only secondary test using LSR and pkg/thsice advection. |
458 |
|
o pkg/exf: |
459 |
|
- disable "sstExtrapol" when Nr=1 |
460 |
|
o verification: |
461 |
|
- add new experiment "cheapAML_box" (simple 1 layer set-up from Bruno Deremble) |
462 |
|
to test pkg/cheapaml. |
463 |
|
o pkg/aim_v23 & pkg/shap_filt: |
464 |
|
- fix dissipation heating (erroneous gravity multiplication factor). |
465 |
|
o pkg/seaice: |
466 |
|
- remove unused field pressPre from jfnk solver |
467 |
|
- rename two subroutines in seaice_preconditioner.F |
468 |
|
o eesupp/src: |
469 |
|
- S/R MDSFINDUNIT avoids reserved unit numbers (scrUnit1, eeDataUnit ...) |
470 |
|
o pkg/seaice/seaice_preconditioner.F: fix preconditioner once again |
471 |
|
- remove wrong parts of the rhs and the lhs (were in there |
472 |
|
because I did not understand the concept of this preconditioner) |
473 |
|
- add an exchange between u- and v-sweep. This increases communication |
474 |
|
by a factor of two but improves the convergence of jfnk. Ideally, |
475 |
|
one would like the u- and v-sweep to be independent. So far within |
476 |
|
undocumented ifdefs |
477 |
|
- reorganize the extra computations for printing the residuals |
478 |
|
o tools/genmake2: |
479 |
|
- comment out the "mpif.h" include in NetCDF test programm (for MPI built) |
480 |
|
since it's not necessary (and was preventing to use MNC in some cases). |
481 |
|
|
482 |
|
checkpoint64a (2012/11/16) |
483 |
|
o pkg/autodiff: |
484 |
|
- improve pkg-internal logical parameter switch (inAd/inFwd mode) so that |
485 |
|
autodiff_readparms.F no longer depends on calling order (within |
486 |
|
packages_readparms.F) and no longer requires to include ${PKG}_PARMS.h): |
487 |
|
rename param turnFreeDriftInAdMode to SEAICEuseFREEDRIFTswitchInAd |
488 |
|
and change param SEAICEuseDYNAMICSinAdMode to SEAICEuseDYNAMICSswitchInAd. |
489 |
|
o pkg/obcs: |
490 |
|
- adding tidal velocity forcing capability to obcs |
491 |
|
for usage example, see verification/seaice_obcs/input.tides |
492 |
|
o pkg/seaice: |
493 |
|
- turn the LSR-relaxation parameters WFAU/V into runtime parameters |
494 |
|
SEAICE_LSRrelaxU/V |
495 |
|
- introduce runtime parameter SEAICEetaZmethod (=0 by default) |
496 |
|
o pkg/aim_v23: |
497 |
|
- implement heating from friction (bottom friction and stratospheric drag). |
498 |
|
o pkg/shap_filt: |
499 |
|
- fix diagnostic "SHAP_dKE" (was 2 time smaller); implement heating from |
500 |
|
dissipation but only for Shap_funct=2, active when addFrictionHeating=T. |
501 |
|
o model/src: |
502 |
|
- move AddMass common block from DYNVARS.h to FFIELDS.h; allow to read-in |
503 |
|
time-constant addMass field from file (addMassFile); |
504 |
|
- support for heating due to friction (and Kinetic Energy dissipation): |
505 |
|
add option, run-time switch and 3-D field array + support code ; each pkg |
506 |
|
or S/R can add heating contribution (if there is a sink of KE); the sum is |
507 |
|
accounted for as a Temperature tendency term (EXTERNAL_FORCING_T). |
508 |
|
o pkg/seaice: |
509 |
|
- complete merge of ITD code into seaice_growth.F |
510 |
|
from MITgcm_contrib/torge/itd/code/ |
511 |
|
no verification so far, but Torge Martin tested |
512 |
|
"1-D test case and Beaufort set up; |
513 |
|
deliver okay results after 1 model year." |
514 |
|
- complete merge of SEAICE_SIZE.h into all relevant routines |
515 |
|
- move computation of eta at Z-points into calc_viscosities |
516 |
|
+ introduce global field etaZ |
517 |
|
+ add different methods for computing etaZ, for now the old |
518 |
|
method (simple averages of eta to Z-points) is hardwired |
519 |
|
+ replace etaMeanZ by etaZ in seaice_lsr, seaice_calc_residual, |
520 |
|
seaice_preconditioner |
521 |
|
- simplify computations for SEAICE_ZETA_SMOOTHREG |
522 |
|
- seaice_preconditioner: |
523 |
|
+ replace one remaining press by pressLoc (mistake) |
524 |
|
+ adjust printing of residuals |
525 |
|
- improve I/O of diagnostics of JFNK in seaice_jfnk.F: |
526 |
|
+ add (SEAICE.h) and rename some counters (initiliased in |
527 |
|
seaice_init_fixed.F) |
528 |
|
+ add _BEGIN/END_MASTER (myThid) around print statements |
529 |
|
+ print total number of iterations and failures over SEAICE_monFreq |
530 |
|
interval to STDOUT |
531 |
|
- move control over output-messages by fgmres to seaice_jfnk to save |
532 |
|
some operations |
533 |
|
- move resetting initial guess for fgmres outside of seaice_fgmres_driver |
534 |
|
in order to make restarts with sol .ne. zero (fgmres with restarts) |
535 |
|
(seaice_jfnk.F, seaice_fgmres.F) |
536 |
|
- seaice_calc_l/rhs.F: replace maskW/S by maskInW/S; this fixes |
537 |
|
a serious convergence problem when open boundaries are involved |
538 |
|
o pkg/ggl90: fix computation of control volumes for the case of |
539 |
ALLOW_GGL90_HORIZDIFF (probably not used very often): move control volumes |
ALLOW_GGL90_HORIZDIFF (probably not used very often): move control volumes |
540 |
up half a grid cell from C-centered to W-centered (pointed out by C. Eden) |
up half a grid cell from C-centered to W-centered (pointed out by C. Eden) |
541 |
o pkg/seaice: simplify seaice_evp by avoiding use of extra fields u/vIceC |
o pkg/seaice: simplify seaice_evp by avoiding use of extra fields u/vIceC |
542 |
o pkg/autodiff |
o pkg/autodiff |
543 |
- Add inAdMode switch for SEAICEuseDYNAMICS: |
- Add inAdMode switch for SEAICEuseDYNAMICS: |
544 |
SEAICEuseDYNAMICSinAdMode |
SEAICEuseDYNAMICSinAdMode |
545 |
(extend logic in ADAUTODIFF_INADMODE_SET) |
(extend logic in ADAUTODIFF_INADMODE_SET) |
546 |
o pkg/seaice |
o pkg/seaice |
547 |
- Step 1 of merging ice-thickness distribution (ITD) code from |
- Step 1 of merging ice-thickness distribution (ITD) code from |