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 |
|
checkpoint65o (2015/09/14) |
36 |
|
o pkg/mom_vecinv & mom_common: |
37 |
|
- add deep-atmosphere geometry factor in mom_calc_visc.F + in routines |
38 |
|
called from there. |
39 |
|
- add anelastic and deep-atmosphere geometry factor in pkg/mom_vecinv ; this |
40 |
|
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: |
o pkg/layers: |
176 |
- Added missing call to layers_fill for keeping track of tottend in |
- Added missing call to layers_fill for keeping track of tottend in |
177 |
pkg/diagnostics/diagnostics_fill_state.F |
pkg/diagnostics/diagnostics_fill_state.F |
189 |
thermodynamics.F, impldiff.F) and gad to save the necessary fields |
thermodynamics.F, impldiff.F) and gad to save the necessary fields |
190 |
for layers_thermodynamics calculations |
for layers_thermodynamics calculations |
191 |
o pkg/ptracers: |
o pkg/ptracers: |
192 |
- add capability of stepping a passive tracer forward |
- add capability of stepping a passive tracer forward without advection |
193 |
without advection by setting PTRACERS_advScheme to 0. |
by setting PTRACERS_advScheme to 0. |
194 |
o pkg/diagnostics: |
o pkg/diagnostics: |
195 |
- add few (threads) _BARRIER around any update of "diag_pkgStatus". |
- add few (threads) _BARRIER around any update of "diag_pkgStatus". |
196 |
o pkg/layers: |
o pkg/layers: |