4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o model/src: |
8 |
|
- remove unused (since Aug 2006) S/R SET_WRITE_GLOBAL_PICKUP and its call. |
9 |
|
- remove unused forcing field "dQdT" and associated parameter "dQdTFile". |
10 |
|
- move forcing adjustment (balancing surface forcing) in specific S/R |
11 |
|
where might also be applied exchanges (if needed) to forcing arrays. |
12 |
|
o pkg/shelfice: |
13 |
|
- allow to specify the Ice-Shelf mass per unit area (instead of |
14 |
|
shelficeLoadAnomaly) and do the conversion from one to the other |
15 |
|
- move loading from file of shelficeLoadAnomaly from SHELFICE_INIT_VARIA |
16 |
|
to SHELFICE_INIT_FIXED: (a) avoid some TAF recompution issues and |
17 |
|
(b) will be loaded in time (before calling INI_PRESSURE) in case it is |
18 |
|
needed in phi0surf for initial pressure calculation when useDynP_inEos_Zc |
19 |
|
- update isomip experiment forward output (get machine truncation error |
20 |
|
from conversion shelficeLoadAnomaly -> shelficeMass -> shelficeLoadAnomaly) |
21 |
|
o verification/offline_exf_seaice: |
22 |
|
revise data.seaice in input.thermo and input_ad and update results accordingly |
23 |
|
HO = 0.2, SEAICE_areaLossFormula = 2, |
24 |
|
SEAICE_growMeltByConv = .TRUE., |
25 |
|
SEAICE_doOpenWaterMelt = .TRUE., |
26 |
|
Improve consistency with input.thsice and fix the spurious 500m ice corners |
27 |
|
o verification/global_ocean.cs32x15: |
28 |
|
- set Energy Reference Level to liq. water @ 0 degC: temp_EvPrRn=0., |
29 |
|
in icedyn (thsice+seaice-dyn) test and update output. |
30 |
|
o verification/offline_exf_seaice: |
31 |
|
- adjust list of tested variables (with testreport) and update |
32 |
|
standard test output with better slection of monitored fields. |
33 |
|
o pkg/cd_code: |
34 |
|
- swtich off Adams-Bashforth on the 1rst iteration. Update output of |
35 |
|
experiment lab_sea.hb87 |
36 |
|
o tools/genmake2: |
37 |
|
- change default makedepend from the system default to tools/xmakedepend: |
38 |
|
When no makedepend is specified, select tools/xmakedepend it the test pass, |
39 |
|
otherwise select the system default (if exist and pass the test) or |
40 |
|
try to build cyrus-makedepend ; stop if none of the 3 works. |
41 |
|
o pkg/exf & pkg/thsice: |
42 |
|
- In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account |
43 |
|
for energy content of Precip + RunOff & Evap. Assumes: |
44 |
|
1) Rain has same temp as Air. |
45 |
|
2) Snow has no heat capacity (consistent with seaice & thsice pkgs) |
46 |
|
3) Run-Off comes at the temp of surface water (with same Cp) |
47 |
|
4) Evap over ocean is released to the Atmos @ surf-temp (=SST); should be |
48 |
|
put directly into Latent Heat flux & should use water-vapor heat capacity. |
49 |
|
5) Evap over snow/seaice (pkg/thsice) assumes constant Lf+Lv (consistent |
50 |
|
with snow having no Cp) => water vapor is released to Atmos @ 0^oC (=ERL). |
51 |
|
o pkg/seaice: simplify the use of CPP flags in JFNK-related files |
52 |
|
(compile when SEAICE_ALLOW_JFNK is defined) |
53 |
|
o pkg/thsice: |
54 |
|
- fix oceanic flux diagnostics & timeave (left from new sequence of calls |
55 |
|
implementation): move THSICE_AVE call after the advection (called directly |
56 |
|
from thsice_do_advect.F). |
57 |
|
o verification/global_ocean.90x40x15 and OpenAD: |
58 |
|
New experiment for OpenAD is identical to the one in input_ad except that |
59 |
|
multiDimAdvection=.FALSE., |
60 |
|
There is still an issue with this. |
61 |
|
o pkg/thsice: |
62 |
|
- account for ice velocity (ocean relative velocity) in turbulent heat flux |
63 |
|
at the base of the ice; update output of global_ocean.cs32x15 (icedyn) |
64 |
|
and offline_exf_seaice (main test). |
65 |
|
|
66 |
|
checkpoint64f (2013/03/31) |
67 |
|
o verification/OpenAD: |
68 |
|
- new (smaller, without OAD_DEBUG) output_oadm.txt generated using gfortran. |
69 |
|
o verification/isomip, pkg/shelfice and OpenAD: |
70 |
|
- add OpenAD setup to this exp and make shelfice package work with OpenAD |
71 |
|
o verification/tutorial_global_oce_biogeo: |
72 |
|
- update AD and TLM output after turning off ALLOW_FE (in DIC_OPTIONS.h) |
73 |
|
o verification/offline_exf_seaice: |
74 |
|
- replace adjoint experiment (now similar to fwd input.thermo/ setup). |
75 |
|
o verification/tutorial_tracer_adjsens, pkg/ptracers and OpenAD: |
76 |
|
- add OpenAD setup to this exp and make ptracers package work with OpenAD |
77 |
|
o pkg/seaice/seaice_evp.F: |
78 |
|
mask the asymmetric contribution of the ice-ocean stress (when |
79 |
|
the turningAngle is non-zero) over open water to avoid stripes |
80 |
|
in the EVP-solutions after many EVP-substeps. This does not change |
81 |
|
the verification experiment (because turningAngle=0 in that experiment), |
82 |
|
but will affect other EVP solutions with turningAngle.ne.0 |
83 |
|
o verification, AD & TLM output: |
84 |
|
- new TAF version 2.3.10 (previously 2.3.8) add more parenthesis in multiple |
85 |
|
additions and multiplications which affect results at machine truncation |
86 |
|
level. Update few AD output (1D_ocean_ice_column, bottom_ctrl_5x5, |
87 |
|
lab_sea.noseaicedyn & offline_exf_seaice) and TLM output |
88 |
|
(1D_ocean_ice_column & tutorial_tracer_adjsens.som81) which had only 12 |
89 |
|
digits of matching. |
90 |
|
o pkg/seaice: |
91 |
|
modify lsr-algorithm so that it vectorizes AND converges by using a |
92 |
|
"zebra" method: split vector loop into two with step size 2; this |
93 |
|
solves a general convergence problem for the JFNK solver on a vector |
94 |
|
computer. It has the potential to even improve convergence for |
95 |
|
non-vector machines, but it does change the results so it is turned |
96 |
|
off by default. To turn on define CPP-flags SEAICE_VECTORIZE_LSR and |
97 |
|
SEAICE_VECTORIZE_LSR_ZEBRA in SEAICE_OPTIONS.h |
98 |
|
|
99 |
|
checkpoint64e (2013/03/05) |
100 |
|
o pkg/ecco and several verification experiments: |
101 |
|
Remove special versions of the_model_main.F, the_main_loop.F, forward_step.F |
102 |
|
from ecco package, and revert to unified routine in model/src/ |
103 |
|
Adjust verification experiments accordingly, especially gloal_oce_llc90 |
104 |
|
Should conclude long-standing work by Gael to reconsile the_main_loop with |
105 |
|
ECCO and will enable OpenAD's revolve loop in ECCO setup. |
106 |
|
o pkg/generic_advdiff: |
107 |
|
- implement compressible flow method for multi-dim advection (similar to |
108 |
|
gad_som_advect.F); add new option "GAD_MULTIDIM_COMPRESSIBLE" (since |
109 |
|
TAF generates many recomputations) to use it; no yet coded with implicit |
110 |
|
vertical advection. |
111 |
|
- change experiment advect_cs (new output) and advect_xy (same output) |
112 |
|
to test compressible flow multi-dim advection. |
113 |
|
o pkg/generic_advdiff: |
114 |
|
- fix SOM advection for unusual cases (linear Free-Surf in r*, other |
115 |
|
cases where linear Free-Surf is not @ k=1, e.g., useShelfIce) |
116 |
|
o pkg/seaice: |
117 |
|
- fix bug in the no-slip implementation in seaice_calc_strainrates.F, this |
118 |
|
bug affects two verification experiments (lab_sea and lab_sea.hb87), |
119 |
|
recover old (wrong) results by setting noSlipFac = 2. in |
120 |
|
seaice_calc_strainrates.F; |
121 |
|
- add another averaging method for etaZ (etaZmethod=3), a mix of 2 and 0 |
122 |
|
- add runtime parameter SEAICE_JFNKepsilon for that finite difference |
123 |
|
gradient in the Jacobian times vector operation (s/r seaice_jacvec) |
124 |
|
- fix line search in seaice_jfnk.F (s/r seaice_jfnk_update) |
125 |
|
o pkg/seaice: reorganize seaice_lsr.F to be able to reuse more code: |
126 |
|
- new subroutines seaice_lsr_tridiagu/v |
127 |
|
- introduce loop bounds i/jmin/max to be able to use a restricted |
128 |
|
additive Schwarz method, but not used for now. |
129 |
|
- rename SEAICE_CALC_LSR_COEFFS into SEAICE_LSR_CALC_COEFFS |
130 |
|
- use new subroutines seaice_lsr_tridiagu/v in s/r seaice_preconditioner |
131 |
|
o OpenAD support |
132 |
|
Reorganize S/R call for overall time-stepping loop to facilitate |
133 |
|
OpenAD revolve loop replacement |
134 |
|
(new S/R main_do_loop.F) |
135 |
|
o model/src: |
136 |
|
- add 3-D array 3rd dimension to argument list of S/R ADAMS_BASHFORTH2/3; |
137 |
|
- pkg/cheapaml: remove local S/R ADAMS2d and use instead standard S/R |
138 |
|
ADAMS_BASHFORTH2. |
139 |
|
o pkg/cheapaml: |
140 |
|
- add new parameter (default=F, same as before) to disable full domain |
141 |
|
(including land) periodicity in X & Y dir. |
142 |
|
- new S/R CHEAPAML_COPY_EDGES to copy relaxation field into edges of |
143 |
|
prognostics field ; merge the 2 S/R cycle_2d_tracer and timestep_2d_tracer |
144 |
|
into single S/R CHEAPAML_TIMESTEP. |
145 |
|
|
146 |
|
checkpoint64d (2013/02/17) |
147 |
|
o pkg/monitor (angular momentum): |
148 |
|
- do not add Eta contribution to the total AM if using rigid-lid; |
149 |
|
- correct for Adams-Bashforth in zonal-wind part (instead of in AM_eta). |
150 |
|
- horizontal discretisation: compute Zonal wind contribution separately for |
151 |
|
each component (instead of from cell centered averaged) and use the 4 |
152 |
|
grid-cell corner averaged value of Omega*(R*cos_Phi)^2 in AM_eta part. |
153 |
|
- Check that AM is conserved with linear dynamics (momAdvection=F and linear |
154 |
|
FreeSurf) if using vectorInvariant momentum. |
155 |
|
o model/src (horizontal grid): |
156 |
|
- move initialisation of all horizontal grid arrays to null value |
157 |
|
from specific horizontal grid S/R to main S/R INI_GRID; |
158 |
|
- add 2 new arrays to project model C-grid velocity on to zonal direction |
159 |
|
(similar to AngleCosC & -AngleSinC but at U and V point location) and |
160 |
|
compute them in S/R CALC_GRID_ANGLES. |
161 |
|
o pkg/seaice: replace a hard coded parameter by a runtime parameter |
162 |
|
SEAICE_JFNK_tolIter |
163 |
|
o pkg/seaice: introduce a restricted additive Schwarz (RAS) method in |
164 |
|
preconditioner for JFNK (run LSR into the overlaps as far as possible, |
165 |
|
i.e OLx/y-2, but overwrite the solution in the overlaps) |
166 |
|
- extend loop range in seaice_calc_viscosity |
167 |
|
- add new parameters SEAICE_OLx/y (default = OLx/y-2) |
168 |
|
- add flexible loop ranges to seaice_preconditioner, seaice_calc_lsr_coeffs |
169 |
|
- slightly modify loops in tridiagonal solver lsr-preconditioner |
170 |
|
- by default remove the extra exchange in seaice_preconditioner with a |
171 |
|
replacement of an undocumented CPP flag by SEAICE_PRECOND_EXTRA_EXCHANGE |
172 |
|
- modify offline_exf_seaice so that old results without RAS are reproduced |
173 |
|
for output.dyn_jfnk.txt |
174 |
|
in seaice_fgmres.F (unrelated to RAS) |
175 |
|
- add a cpp-flag option for a re-ordered mapping (potentially more |
176 |
|
efficient), but because this changes the results, turn it off by |
177 |
|
default |
178 |
|
- replace the save statement by local common blocks |
179 |
|
o utils/matlab: |
180 |
|
- fix tile-offset in rdmnc.m when output was produced using EXCH2. |
181 |
|
- update cs_grid/bk_line scripts to use load_grid.m (in utils/matlab) |
182 |
|
instead of local script "load_cs.m". |
183 |
|
o pkg/seaice: |
184 |
|
- fix a serious bug in seaice_fgmres.F, s/r seaice_scalprod, connected |
185 |
|
to the scalarProductMetric and the unrolling. By chance this does not |
186 |
|
change the verification experiment, because of the particular domain |
187 |
|
decomposition |
188 |
|
o pkg/diagnostics: |
189 |
|
- change default missing_value from UNSET_RL to -999. |
190 |
|
o pkg/layers: improve vectorization of layers_fluxcalc.F |
191 |
|
- step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu |
192 |
|
time spent in this routine by more than a factor of 3 on an NEC-SX8 |
193 |
|
- step 2: replace search algorithm by a bisection algorithm found in |
194 |
|
Press et al. Numerical Recipes in Fortran. This algorithm can be |
195 |
|
vectorized and finds the correct bin in approx. log2(Nlayers) steps. |
196 |
|
For now, use this algorithm only for TARGET_NEC_SX defined. |
197 |
|
- moved the search algorithm into a separate subroutine, that is kept |
198 |
|
within the same file for automatic inlining. |
199 |
|
- modified catching potential errors |
200 |
|
o pkg/ecco: |
201 |
|
- add compile switches ALLOW_SHALLOW_ALTIMETRY and ALLOW_HIGHLAT_ALTIMETRY. |
202 |
|
o model/src, pkg/autodiff, pkg/ctrl, pkg/grdchk : |
203 |
|
- modifications for ALLOW_GENTIM2D_CONTROL |
204 |
|
-- forward_step.F, the_main_loop.F : pass options and arrays for adjoint tapes. |
205 |
|
-- load_fields_driver.F : add call to CTRL_MAP_GENTIM2D( myTime, myIter, myThid ) |
206 |
|
-- add xx_gentim2d0/1 in ctrl_ad_check_lev1_dir.h checkpoint_lev1_directives.h etc |
207 |
|
-- use ctrl_swapffields.F (new) instead of exf_SwapFFields.F in ctrl_get_gen.F |
208 |
|
o model/src: |
209 |
|
- account for moist thermodynamics in (dry) potential temperature equation; |
210 |
|
update results of experiments: aim.5l_cs (x2), fizhi-cs (std + aqualev) |
211 |
|
and cpl_aim+ocn. |
212 |
|
- also switch to standard compiler (gfortran, was using ifort previously) |
213 |
|
for fizhi-cs experiments reference output. |
214 |
|
o pkg/ctrl: |
215 |
|
- 1st step toward generic time-varying control variable (2D) via CPP option |
216 |
|
ALLOW_GENTIM2D_CONTROL |
217 |
|
- note new namelist ctrl_nml_genarr in data.ctrl |
218 |
|
o verification/global_ocean.cs32x15: |
219 |
|
- switch off OLD_THSICE_CALL_SEQUENCE (both forward and AD code) to use new |
220 |
|
thsice calling sequence and update "output.icedyn.txt" output file. |
221 |
|
o pkg/ptracers: |
222 |
|
- from Ryan A.: code to allow to restart a tracer at regular time interval |
223 |
|
specifying a reset frequency and a reset-phase (for each tracers). |
224 |
|
o pkg/thsice: |
225 |
|
- implement new sequence of calls for thsice+seaice: |
226 |
|
previously: ice-Dyn,ice-Advect,ice-Thermo(thsice) |
227 |
|
new sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect |
228 |
|
- allows (with temporary CPP option "#define OLD_THSICE_CALL_SEQUENCE" |
229 |
|
in CPP_OPTIONS.h) to recover old sequence; |
230 |
|
- update diagnostics for Intermediate State thsice diagnostics: now filled |
231 |
|
just before advection (instead of just after advection in old sequence); |
232 |
|
- update output of experiment offline_exf_seaice (standard test); |
233 |
|
- in global_ocean.cs32x15 exp., postpone output.icedyn.txt update |
234 |
|
by setting #define OLD_THSICE_CALL_SEQUENCE in CPP_OPTIONS.h |
235 |
|
o pkg/aim_v23: |
236 |
|
- use tiled array for aim_CO2 and surface wind speed for export to coupler; |
237 |
|
- use standard pkg/mdsio routines to read & write CO2 pickup file; |
238 |
|
- in-line S/R AIM_AIM2DYN_EXCHANGES in aim_do_physics.F; |
239 |
|
- Implement new sequence of calls for seaice advection (with thsice and |
240 |
|
seaice diffusion): do ice advection after ice-Thermodynamic (previously |
241 |
|
was done before); change aim_do_physics.F (split the bi,bj loops block); |
242 |
|
- use same CPP option (OLD_THSICE_CALL_SEQUENCE) to recover old sequence; |
243 |
|
o pkg/thsice: |
244 |
|
- add a missing EXCH of sIceLoad in thsice_main.F (ocean set-up) for the case |
245 |
|
where just seaice diffusion is used without seaice-dynamics. |
246 |
|
|
247 |
|
checkpoint64c (2013/01/18) |
248 |
|
o pkg/seaice: |
249 |
|
- add a parameter JFNKres_tFac that can replace JFNKres_t |
250 |
|
(= JFNKres_tFac*JFNKresidual before JFNK solver) |
251 |
|
- add a line search option to the JFNK solver |
252 |
|
- move update of u/vIce and computation of initial residual into a separate |
253 |
|
routine (same file); makes the code a little easier to read (?) |
254 |
|
- the line search requires computation of the residual and for some reason |
255 |
|
I cannot do the update of u/vIce at the beginning of the Newton loop |
256 |
|
without changing the results, so we move computation of the new residual |
257 |
|
also to the end of the Newton loop, even without the line search |
258 |
|
o pkg/mdsio: |
259 |
|
- write missing value (corresponding to undefined array value) to meta files; |
260 |
|
skip this if missing value is one (UNSET_RL would be a better value for the |
261 |
|
case of undefined missing value but it's current the default missing-value); |
262 |
|
Also update mdsio_read_meta.F (reading timeInterval & missing-value). |
263 |
|
o pkg/exf & thsice: |
264 |
|
- for diagnostics purpose, fill-up and update Qsw array (+ fill the |
265 |
|
diagnostics) even when SHORTWAVE_HEATING is #undef; |
266 |
|
o verification/cfc_example: |
267 |
|
- turn on pkg/layers with pkg/diagnostics (to test pkg/layers and to |
268 |
|
illustrate how to use it). |
269 |
|
o verification/offline_exf_seaice: |
270 |
|
in input: add SEAICErestoreUnderIce=.TRUE., and reduce size of forcing |
271 |
|
files to only one time-record. |
272 |
|
in input.thermo: narrow the 2 bands of low initial ice-concentration near |
273 |
|
N & S edges; switch on SEAICErestoreUnderIce=T; use pkg/diagnostics for |
274 |
|
snapshot output; same mcPheePiston value as in thsice with |
275 |
|
surf-current=0.2m/s. |
276 |
|
in input.thsice: similar set-up as in input.thermo (channel with same seaice |
277 |
|
initial conditions). |
278 |
|
o verification/cfc_example: |
279 |
|
- update file "data" with more standard choice (default rotationPeriod, |
280 |
|
exactConserv=T, reduce ivdc_kappa to 10, remove multiDimAdvection=F, |
281 |
|
set deltaTFreeSurf to deltaTtracer) and update the output. |
282 |
|
o pkg/layers: |
283 |
|
- fix bolus part so that it compiles with #undef GM_BOLUS_ADVEC; |
284 |
|
- ensure that "layers_bolus" is switched to False when useGMRedi=False. |
285 |
|
o verification/offline_exf_seaice: |
286 |
|
- set all {field}period to zero for constant-in-time forcing (not tested |
287 |
|
anywhere else). |
288 |
o verification/offline_exf_seaice: |
o verification/offline_exf_seaice: |
289 |
- dyn_lsr : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice; |
- dyn_lsr : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice; |
290 |
- dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice. |
- dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice. |