4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exf: |
8 |
|
- remove STOP statement that prevented to use wind or (wind-)stress |
9 |
|
interpolation for constant-in-time forcing fields (wind/stress period = 0). |
10 |
|
o pkg/seaice: |
11 |
|
- replace SEAICE_EVP_USE_ADAPTATION by run time parameters, requires |
12 |
|
5 additionals 2D fields and 6 new store directives |
13 |
|
- change logic in seaice_readparms.F: EVP code can now be turned on in |
14 |
|
various ways, setting SEAICE_deltaTev is no longer required, |
15 |
|
alternatively set SEAICE_evpAlpha/Beta, SEAICEuseEVPstar, SEAICEuseEVPrev, |
16 |
|
or SEAICEaEVPcoeff |
17 |
|
o pkg/shelfice/shelfice_thermodynamics.F |
18 |
|
- redefining uLoc/vLoc to u/v, instead of 2u/v |
19 |
|
o pkg/seaice/seaice_evp.F: introduce "adaptive EVP" by Madlen Kimmritz |
20 |
|
- this is an intermediate state of a truely converging EVP that has |
21 |
|
the potential of outperforming implicit VP methods, I do not recommend |
22 |
|
using it yet. |
23 |
|
- for now, "adaptive EVP" is turned on by setting SEAICE_EVP_USE_ADAPTATION |
24 |
|
and all parameters are hardwired |
25 |
|
- for convergence it still requires very smooth regularisations, that means, |
26 |
|
if SEAICE_DELTA_SMOOTHREG is defined, deltaCreg=deltaC+deltaMin, which is |
27 |
|
different from the VP case with deltaCreg=sqrt(deltaC**2+deltaMin**2); also |
28 |
|
specific averaging appears to be required, still subject to tuning |
29 |
|
- still needs cleaning and I need to turn parameter into runtime parameters |
30 |
|
- add code to compute and print residuals of iteration, compile with |
31 |
|
defining ALLOW_SEAICE_EVP_RESIDUAL to enable it |
32 |
|
o pkg/seaice/seaice_evp.F: fix a bug (factor of four in front of e12Csq) |
33 |
|
that entered with r1.54 on Sep04, 2015, -> update results |
34 |
|
|
35 |
o pkg/ecco: fix missing cosphi initialization; use eccoiter in |
checkpoint65o (2015/09/14) |
36 |
place of optimcycle; if autodiff is not compiled then use |
o pkg/mom_vecinv & mom_common: |
37 |
READ_REC_XY_RL/READ_REC_XYZ_RL instead of active read/write |
- add deep-atmosphere geometry factor in mom_calc_visc.F + in routines |
38 |
o pkg/ctrl: if autodiff is not compiled then use |
called from there. |
39 |
READ_REC_XY_RL/READ_REC_XYZ_RL instead of active read/write |
- add anelastic and deep-atmosphere geometry factor in pkg/mom_vecinv ; this |
40 |
o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F |
allows to use Vector-Invariant form in deep atmos and anelastic formulation |
41 |
|
o pkg/seaice: introduce fast ice parameterisation following Itkin et al. (2015) |
42 |
|
and Koenig-Beatty+Holland (2012) |
43 |
|
- two new parameters SEAICE_tensilFac and SEAICE_tensilDepth |
44 |
|
- global 2D field tensileStrength, computed in seaice_calc_ice_strength |
45 |
|
- requires an extra input argument for S/R seaice_calc_viscosities |
46 |
|
- tensileStrength's depth dependence is different from Itkin et al. (2015) |
47 |
|
(to be changed and played with, for now exponential) |
48 |
|
o pkg/seaice: introduce new parameter SEAICEscaleSurfStress (default = .FALSE.) |
49 |
|
- if TRUE scale ice-ocean and ice-atmosphere stress acting on sea ice |
50 |
|
by AREA according to Connelly et al. (2004), JPO. |
51 |
|
- For EVP and the LSR solver, the implicit part of the drag term is |
52 |
|
the only non-zero term in the denominator when there is no ice (which |
53 |
|
prevented running the model with zero ice-ocean drag). If |
54 |
|
SEAICEscaleSurfStress = .TRUE., this results in a division by zero |
55 |
|
(or zero main diagonals BU/BV) which need to be caught. A practical |
56 |
|
consequence is that for open water, the momentum equation reduce |
57 |
|
to trivially 0 = 0 + 0 (for EVP). For LSR, BU/BV are reset to 1, if |
58 |
|
they happen to be zero, often leading to a non-zero solution over |
59 |
|
open water. |
60 |
|
o pkg/seaice: revise EVP code (seaice_evp.F) in preparation for a more |
61 |
|
efficient EVP method. |
62 |
|
- introduce area-weighted averages for e12 (analogously to |
63 |
|
seaice_calc_viscosities.F); this totally changes lab_sea.hb87 (2 digits |
64 |
|
remain, but also changing the order of terms in the previous average |
65 |
|
changed the results as much) -> update experiment |
66 |
|
- add SEAICE_DELTA_SMOOTHREG code |
67 |
|
- disentangle computation of zetaC/deltaC and zetaZ/deltaZ, also for |
68 |
|
TEM-code |
69 |
|
- adjust loop bounds so that only required fields are computed |
70 |
|
- add new averaging code for zetaZ/deltaZ (again similar to |
71 |
|
seaice_calc_viscosities.F), inactive by default for now (will change |
72 |
|
results again), but will replace old code eventually |
73 |
|
o eesupp/src: |
74 |
|
- add an other alternative for multi-proc GLOBAL_SUM (in global_sum_tile.F) |
75 |
|
to always cumulate tile local-sum in the same order |
76 |
|
(option #define GLOBAL_SUM_ORDER_TILES in CPP_EEOPTIONS.h). |
77 |
|
Still uses MPI_Allreduce (like standard code) but on array of tiles |
78 |
|
and should be faster than GLOBAL_SUM_SEND_RECV code. |
79 |
|
- switch almost all verification experiments that use GLOBAL_SUM_SEND_RECV |
80 |
|
(defined in CPP_EEOPTIONS.h_mpi) to GLOBAL_SUM_ORDER_TILES instead. |
81 |
|
- add CPP_EEOPTIONS.h_mpi with GLOBAL_SUM_ORDER_TILES defined in 14 more exp.: |
82 |
|
aim.5l_cs, cheapAML_box, deep_anelastic, dome, fizhi-cs-32x32x40, |
83 |
|
fizhi-cs-aqualev20, fizhi-gridalt-hs, global_ocean_ebm, matrix_example, |
84 |
|
natl_box, solid-body.cs-32x32x1, tutorial_advection_in_gyre, |
85 |
|
tutorial_baroclinic_gyre and tutorial_held_suarez_cs. |
86 |
|
|
87 |
|
checkpoint65n (2015/07/29) |
88 |
|
o pkg/thsice: |
89 |
|
- add a warning when used with pkg/aim but without updating SST |
90 |
|
(stepFwd_oceMxL=F & useCoupler=F & tauRelax_MxL<>-1 ). |
91 |
|
o pkg/offline: |
92 |
|
- change where Offline-Fields are loaded, from load_fields_driver.F to |
93 |
|
directly within FORWARD_STEP, just after updating iter number and time; |
94 |
|
- move setting of GM and KPP diffusivity out of OFFLINE_FIELDS_LOAD into new |
95 |
|
S/R OFFLINE_GET_DIFFUS that is called towards the end of DO_OCEANIC_PHYS; |
96 |
|
These changes allow: |
97 |
|
a) to recover exactly on-line results using deltaToffline=deltaTClock, |
98 |
|
tested (using offlineIter0= nIter0 -1 and offlineTimeOffset= -deltaT/2) |
99 |
|
both with Lin & Non-Lin Free-Surf, both with staggerTimeStep & synchronous |
100 |
|
time-step, both with GM & KPP files and with recomputing these fields; |
101 |
|
b) no needs to switch on staggerTimeStep anymore; |
102 |
|
c) simplify rescaling of offline horiz. velocity with Non-Lin Free-Surf. |
103 |
|
- update output of experiment tutorial_dic_adjoffline (only 3 digits left). |
104 |
|
o pkg/offline: |
105 |
|
- change (rarely used) offset-iteration parameter to an offset time (in s): |
106 |
|
can easily recover previous offset-iter effect by setting offset-time |
107 |
|
(offlineTimeOffset) to offset-iter x deltaToffline; |
108 |
|
- do not turn-off Temp & Salinity surface relaxation when using KPP (used |
109 |
|
in KPP as part of surface buoyancy forcing) in offline run. |
110 |
|
- fix ptracers KPP non-local term in the case where KPP is re-computed. |
111 |
|
o OpenAD |
112 |
|
- Adding preliminary ggl90 test to OpenAD verification. |
113 |
|
Config. with ggl90 currently diverges after 64 time steps |
114 |
|
so will need more work to become more stable |
115 |
|
- Adding preliminary kpp test to OpenAD verification. |
116 |
|
required small tweakes in kpp_routines.F |
117 |
|
- Merge and update from Krishna Narayanan's contrib area: |
118 |
|
* Add one variable for preliminary OpenAD DIVA |
119 |
|
* Add replacement time-stepping for OpenAD DIVA |
120 |
|
* genmake2 flag -diva (but only for OpenAD; preliminary) |
121 |
|
* required modifs for OAD_support |
122 |
|
successful preliminary test for tutorial_global_oce_biogeo/ |
123 |
|
o pkg/seaice: |
124 |
|
- initialise deltaC in seaice_lsr, cosmetic changes in seaice_lsr |
125 |
|
- add cpp-flag SEAICE_DELTA_SMOOTHREG for option of regularising |
126 |
|
delta with a smooth function in s/r seaice_calc_viscosity |
127 |
|
(no effect on EVP) |
128 |
|
- rename local suffix "sqr" into "sq" for more consistent variable names |
129 |
|
o pkg/seaice: |
130 |
|
add new parameter SEAICE_deltaMin that is used ***only*** |
131 |
|
for regularizing Delta (and nothing else, like the parameter |
132 |
|
which is also used for all sorts of things SEAICE_EPS). |
133 |
|
Defaults to SEAICE_EPS for backward compatibility only. |
134 |
|
o pkg/seaice: replace erroneously storing e12Csqr on the wrong tape with |
135 |
|
the wrong key by inialising it before use -> fixes a recomputation |
136 |
|
problem but does not fix the gradient |
137 |
|
o pkg/layers: |
138 |
|
- move resetting of flux arrays to outside the iLa loop |
139 |
|
(this caused layers_diapycnal to not work with more than one layer coord.) |
140 |
|
- fix bug in calculation of layers_recip_delta in layers_init_fixed.F |
141 |
|
o pkg/layers: |
142 |
|
- remove from common block 3D layers fields (used to diagnose transport |
143 |
|
in tracer coords) and declare them as local arrays in layers_calc.F |
144 |
|
o pkg/seaice: |
145 |
|
- Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it |
146 |
|
in lab_sea forward experiment (changes results -> updated) |
147 |
|
- update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v |
148 |
|
o pkg/seaice: modify seaice_lsr.F in order to improve the gradient |
149 |
|
computations; for SEAICE_VECTORIZE_LSR |
150 |
|
- move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v) |
151 |
|
sweep to the outside, |
152 |
|
- remove store directives and add "CADJ loop sequential" directives |
153 |
|
in analogy to model/src/solve_tridiagonal.F |
154 |
|
- replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop |
155 |
|
boundaries to yield more readable code. This has also the charming side |
156 |
|
effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without |
157 |
|
SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in |
158 |
|
seaice_lsr_tridiagu/v now requires either of these flags, vectorization |
159 |
|
still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as |
160 |
|
an additional option) |
161 |
|
The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F |
162 |
|
but the adjoint gradients (which are affected by this change) still explode. |
163 |
|
o coupler (atm & ocn _compon_interf): |
164 |
|
- avoid using Exch2 IO mapping if not suitable. |
165 |
|
|
166 |
|
checkpoint65m (2015/06/15) |
167 |
|
o pkg/layers: |
168 |
|
- clean-up old parameters setting (from Sep 2012): |
169 |
|
+ remove old parameters setting from common block (declared locally); |
170 |
|
+ stop if any old parameter is mixed with new parameters; |
171 |
|
+ check for valid or consistent parameter setting (e.g., layers_name) |
172 |
|
- check that layers_bounds for Pot.Density are in the right range; |
173 |
|
this is supposed to catch un-updated setting after recently shifting |
174 |
|
potential density field "prho" by -1000 (now in "sigma" scale). |
175 |
|
o pkg/layers: |
176 |
|
- Added missing call to layers_fill for keeping track of tottend in |
177 |
|
pkg/diagnostics/diagnostics_fill_state.F |
178 |
|
o pkg/layers: |
179 |
|
- added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning |
180 |
|
of diapycnal fluxes |
181 |
|
o pkg/layers: |
182 |
|
- reverted changes to interpolation to previous treatment; there |
183 |
|
was never actually a problem |
184 |
|
o pkg/layers: |
185 |
|
- fix interpolation of layers tracers in the presence of partial cells |
186 |
|
- add lots of new functionality to compute water mass transformation |
187 |
|
(enabled by CPP flag LAYERS_THERMODYNAMICS) |
188 |
|
- add new calls from main code (diags_oceanic_surf_flux.F, |
189 |
|
thermodynamics.F, impldiff.F) and gad to save the necessary fields |
190 |
|
for layers_thermodynamics calculations |
191 |
|
o pkg/ptracers: |
192 |
|
- add capability of stepping a passive tracer forward without advection |
193 |
|
by setting PTRACERS_advScheme to 0. |
194 |
|
o pkg/diagnostics: |
195 |
|
- add few (threads) _BARRIER around any update of "diag_pkgStatus". |
196 |
|
o pkg/layers: |
197 |
|
- shift potential density field "prho" by -1000 for density layer averaging so |
198 |
|
that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000); |
199 |
|
Note that density bin boundaries (layers_bounds in data.layers) have |
200 |
|
to be set accordingly (i.e., shifted, in sigma scale). |
201 |
|
o pkg/layers: |
202 |
|
- fix snap-shot output of layer thickness @ V.pt and output of pot.density |
203 |
|
- fix calculation of layer non-weighted velocity and layer probability |
204 |
|
- add diagnostics for pot.density used for layer averaging |
205 |
|
o pkg/seaice: |
206 |
|
- seaice_calc_viscosity.F: change computation of deltaC**2 to ensure |
207 |
|
positiveness, modify a few comments and improve variable names, |
208 |
|
- the changed computation of deltaC affects most seaice-related |
209 |
|
experiments at the truncation level. |
210 |
|
seaice_itd.thermo is affected by far the most, with |
211 |
|
only 7 digits of agreement remaining; update experiments. |
212 |
|
|
213 |
|
checkpoint65l (2015/05/04) |
214 |
|
o pkg/shelfice: |
215 |
|
- in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set |
216 |
|
factor drKp1 to zero where it is negative (ie. do not use |
217 |
|
SHELFICEBoundaryLayer if hFacC>1) |
218 |
|
- the same for factor drLoc in shelfice_forcing.F |
219 |
|
o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem |
220 |
|
with modules in ptracers, when using testreport option "-small_f" |
221 |
|
o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD) |
222 |
|
- replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1)) |
223 |
|
o verification/testreport |
224 |
|
- add new option -small_f |
225 |
|
with this option testreport first makes the target small_f (*.f files) |
226 |
|
before running make (all). This is useful for explicit inlining when |
227 |
|
all sources need to be full available. |
228 |
|
o pkg/exf/exf_interp.F: |
229 |
|
remove previous changes related to reverse (decreasing) input grids latitude |
230 |
|
|
231 |
|
checkpoint65k (2015/04/01) |
232 |
|
o pkg/ecco: |
233 |
|
fix missing cosphi initialization; use eccoiter in place of optimcycle; |
234 |
|
if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL |
235 |
|
instead of active read/write |
236 |
|
o pkg/ctrl: |
237 |
|
if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL |
238 |
|
instead of active read/write. |
239 |
|
o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F |
240 |
return if .NOT.useAUTODIFF |
return if .NOT.useAUTODIFF |
241 |
o pkg/seaice: add CPP brackets (cost function related). |
o pkg/seaice: add CPP brackets (cost function related). |
242 |
o model/src: add useAUTODIFF run time switch. |
o model/src: |
243 |
o pkg/exf/exf_interp.F: add code to allow input grids with latitude |
add useAUTODIFF run time switch. |
244 |
starting in the north (i.e. when j=1 corresponds to northern edge of |
o pkg/exf/exf_interp.F: |
245 |
field); modify global_with_exf to test this feature |
add code to allow input grids with latitude starting in the north (i.e. when |
246 |
|
j=1 corresponds to northern edge of field); modify global_with_exf to test |
247 |
|
this feature. |
248 |
o verification/testreport: |
o verification/testreport: |
249 |
- replace "grep -A3" with POSIX conformal sed command, because there are |
- replace "grep -A3" with POSIX conformal sed command, because there are |
250 |
implementations of grep that cannot do contextual searches |
implementations of grep that cannot do contextual searches |
251 |
- replace "cat -n" by "nl" (two occurrences), because not all implementations |
- replace "cat -n" by "nl" (two occurrences), because not all implementations |
252 |
of "cat" have the option "-n" |
of "cat" have the option "-n" |
253 |
o model/src: add new file gsw_teos10.F that contains |
o model/src: |
254 |
3 functions, more or less a copy of the gsw_toolbox.f90 of the TEOS-10 |
add new file gsw_teos10.F that contains 3 functions, more or less a copy |
255 |
fortran interface, that are used to convert from conservative to |
of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to |
256 |
potential temperature. For now they are not called anywhere. |
convert from conservative to potential temperature. For now they are not |
257 |
|
called anywhere. |
258 |
o pkg/ggl90: make "useIDEMIX" useful |
o pkg/ggl90: make "useIDEMIX" useful |
259 |
- re-organize code in s/r ggl90_calc a little to move computations that |
- re-organize code in s/r ggl90_calc a little to move computations that |
260 |
are different for idemix into separate loops (changes verification |
are different for idemix into separate loops (changes verification |
261 |
experiment idemix at truncation level, 12 digits remain -> updated) |
experiment idemix at truncation level, 12 digits remain -> updated) |
262 |
- requires 2 new 2D fields KappaM, verticalShear |
- requires 2 new 2D fields KappaM, verticalShear |
263 |
- make hFacI and recip_hFacI local 3D variables that are passed to |
- make hFacI and recip_hFacI local 3D variables that are passed to |