4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/atm_ocn_coupler + ocn_compon_interf: |
8 |
|
- in prep for using pkg/seaice Dyn in coupled set-up, implement sequential |
9 |
|
coupling option-1: ATM -(cpl)-> OCN and then OCN -(cpl)-> ATM ; |
10 |
|
add corresponding call in DO_OCEANIC_PHYS. |
11 |
|
o coupler pkgs: |
12 |
|
Start a new way to set-up optionally-exchanged variables (previously, only |
13 |
|
there for exchange_DIC): switch on/off from 1 place, at run-time, in coupler |
14 |
|
data.cpl (new) instead of at compile time in ATMIDS.h & OCNIDS.h ; |
15 |
|
send switch to ATM & OCN compon before reading their own "data.cpl" (so that |
16 |
|
compononent param default can be set accordingly). |
17 |
|
Note: this new switch (cpl_exchange_[xxx]) is not a per variable switch |
18 |
|
but rather applies to a group a fields (going both ways like for DIC) |
19 |
|
and corresponds to an option of coupling config. |
20 |
|
coupler (pkg/atm_ocn_coupler): |
21 |
|
- change parameter file from "data" to "data.cpl" (in cpl_read_params.F), |
22 |
|
and read namelist directly (without eessup S/R calls) instead of |
23 |
|
in the very un-flexible old way, 1 param per line, in fixed order; |
24 |
|
- add error-counter to track errors (e.g., missing "data.cpl") and to stop |
25 |
|
cleanly in CPL_CHECK_CPLCONFIG |
26 |
|
- add new coupling-exchange selectors (some not yet active) including |
27 |
|
cpl_exchange_DIC (to set to 3 to replace atmCpl_exchange_DIC=T in ATMIDS.h |
28 |
|
and ocnCpl_exchange_DIC=T in OCNIDS.h); |
29 |
|
- add 2 new S/R (CPL_SEND_ATM/OCN_CPLPARMS) to send coupler-params to each |
30 |
|
component ; called directly from coupler.F, after comp. registrations; |
31 |
|
- rename few variable-ID names (in ATMIDS.h & OCNIDS.h): |
32 |
|
atm/ocnSeaIceName --> atm/ocnSIceMassName ; atm/ocnFCO2Name -> |
33 |
|
-> atm/ocnCO2FluxName ; atm/ocnWSpdName --> atm/ocnWindSpdName |
34 |
|
components (pkg/atm_ & ocn_compon_interf): |
35 |
|
- add ATM/OCN_CPL_OPTIONS.h in component pkgs and include the corresponding |
36 |
|
CPP header file in all pkg source files. |
37 |
|
- move checking of comp. configs out of cpl_exch_configs.F into new S/R |
38 |
|
ATM/OCN_CHECK_CPLCONFIG; |
39 |
|
- add error-counter to track errors (e.g., in "data.cpl") and to stop |
40 |
|
cleanly in ATM/OCN_CHECK_CPLCONFIG; |
41 |
|
- add new S/R CPL_IMPORT_CPLPARMS to import coupling-exchange selectors |
42 |
|
from coupler ; called from initialise_fixed.F, after PACKAGES_BOOT and |
43 |
|
before PACKAGES_READPARMS; |
44 |
|
verification/cpl_aim+ocn/: |
45 |
|
- update ATMIDS.h & OCNIDS.h (in shared_code) and use new parameter file |
46 |
|
"data.cpl" for coupler (in input_cpl). |
47 |
|
o eesupp/inc: |
48 |
|
- change the MPI-global-sum default (in CPP_EEOPTIONS.h) to: |
49 |
|
#define GLOBAL_SUM_ORDER_TILES (only affects MPI built of global_sum_tile.F) |
50 |
|
to always cumulate tile local-sum in the same order (still uses |
51 |
|
MPI_Allreduce like standard code). |
52 |
|
- in verification experiment code, remove local CPP_EEOPTIONS.h_mpi files |
53 |
|
that are now identical to standard version (in eesupp/inc). |
54 |
|
o pkg/shelfice: |
55 |
|
- add SHELFICETransCoeffTFile for initializing spatially varying |
56 |
|
heat and salt transfer coefficients |
57 |
|
o pkg/atm_compon_interf & ocn_compon_interf: |
58 |
|
- combine into 1 (new) S/R CPL_EXPORT_IMPORT_DATA the two previous |
59 |
|
S/R CPL_EXPORT_MY_DATA & CPL_IMPORT_EXTERNAL_DATA |
60 |
|
- move bi,bj loops inside S/R OCN_STORE_MY_DATA |
61 |
|
o pkg/atm_ocn_coupler: |
62 |
|
- initialise to zero ATMVARS.h & OCNVARS.h arrays. |
63 |
|
o pkg/rbcs: |
64 |
|
- select RBCS-mask for Temp & Salt the same way as for pTracer ; this allows |
65 |
|
to compile with maskLEN=1 when all tracers use the same RBCS-mask. |
66 |
|
- add a short report (to STDOUT) about RBCS-mask settings. |
67 |
|
|
68 |
|
checkpoint65p (2015/10/23) |
69 |
|
o pkg/seaice/seaice_evp.F: fix store directives and key computations, since |
70 |
|
there is no adjoint test for EVP, we don't know what it does to the adjoint |
71 |
|
solution, but at least there are no more recomputation warnings left |
72 |
|
o pkg/seaice/seaice_evp.F: slight modification of averaging so that EVP stands |
73 |
|
a chance of giving the same results as a fully converged VP (JFNK) solver |
74 |
|
o tools/adjoint_options/adjoint_diva: |
75 |
|
- fix bug (typo) in Tang-Linear FLAGS setting for MPI + DIVA |
76 |
|
o pkg/streamice: |
77 |
|
- spotted bug in streamice_driving_stress using dyG where should have been dxG |
78 |
|
o pkg/exf: |
79 |
|
- remove STOP statement that prevented to use wind or (wind-)stress |
80 |
|
interpolation for constant-in-time forcing fields (wind/stress period = 0). |
81 |
|
o pkg/seaice: |
82 |
|
- replace SEAICE_EVP_USE_ADAPTATION by run time parameters, requires |
83 |
|
5 additionals 2D fields and 6 new store directives |
84 |
|
- change logic in seaice_readparms.F: EVP code can now be turned on in |
85 |
|
various ways, setting SEAICE_deltaTev is no longer required, |
86 |
|
alternatively set SEAICE_evpAlpha/Beta, SEAICEuseEVPstar, SEAICEuseEVPrev, |
87 |
|
or SEAICEaEVPcoeff |
88 |
|
o pkg/shelfice/shelfice_thermodynamics.F |
89 |
|
- redefining uLoc/vLoc to u/v, instead of 2u/v |
90 |
|
o pkg/seaice/seaice_evp.F: introduce "adaptive EVP" by Madlen Kimmritz |
91 |
|
- this is an intermediate state of a truely converging EVP that has |
92 |
|
the potential of outperforming implicit VP methods, I do not recommend |
93 |
|
using it yet. |
94 |
|
- for now, "adaptive EVP" is turned on by setting SEAICE_EVP_USE_ADAPTATION |
95 |
|
and all parameters are hardwired |
96 |
|
- for convergence it still requires very smooth regularisations, that means, |
97 |
|
if SEAICE_DELTA_SMOOTHREG is defined, deltaCreg=deltaC+deltaMin, which is |
98 |
|
different from the VP case with deltaCreg=sqrt(deltaC**2+deltaMin**2); also |
99 |
|
specific averaging appears to be required, still subject to tuning |
100 |
|
- still needs cleaning and I need to turn parameter into runtime parameters |
101 |
|
- add code to compute and print residuals of iteration, compile with |
102 |
|
defining ALLOW_SEAICE_EVP_RESIDUAL to enable it |
103 |
|
o pkg/seaice/seaice_evp.F: fix a bug (factor of four in front of e12Csq) |
104 |
|
that entered with r1.54 on Sep04, 2015, -> update results |
105 |
|
|
106 |
|
checkpoint65o (2015/09/14) |
107 |
|
o pkg/mom_vecinv & mom_common: |
108 |
|
- add deep-atmosphere geometry factor in mom_calc_visc.F + in routines |
109 |
|
called from there. |
110 |
|
- add anelastic and deep-atmosphere geometry factor in pkg/mom_vecinv ; this |
111 |
|
allows to use Vector-Invariant form in deep atmos and anelastic formulation |
112 |
|
o pkg/seaice: introduce fast ice parameterisation following Itkin et al. (2015) |
113 |
|
and Koenig-Beatty+Holland (2012) |
114 |
|
- two new parameters SEAICE_tensilFac and SEAICE_tensilDepth |
115 |
|
- global 2D field tensileStrength, computed in seaice_calc_ice_strength |
116 |
|
- requires an extra input argument for S/R seaice_calc_viscosities |
117 |
|
- tensileStrength's depth dependence is different from Itkin et al. (2015) |
118 |
|
(to be changed and played with, for now exponential) |
119 |
|
o pkg/seaice: introduce new parameter SEAICEscaleSurfStress (default = .FALSE.) |
120 |
|
- if TRUE scale ice-ocean and ice-atmosphere stress acting on sea ice |
121 |
|
by AREA according to Connelly et al. (2004), JPO. |
122 |
|
- For EVP and the LSR solver, the implicit part of the drag term is |
123 |
|
the only non-zero term in the denominator when there is no ice (which |
124 |
|
prevented running the model with zero ice-ocean drag). If |
125 |
|
SEAICEscaleSurfStress = .TRUE., this results in a division by zero |
126 |
|
(or zero main diagonals BU/BV) which need to be caught. A practical |
127 |
|
consequence is that for open water, the momentum equation reduce |
128 |
|
to trivially 0 = 0 + 0 (for EVP). For LSR, BU/BV are reset to 1, if |
129 |
|
they happen to be zero, often leading to a non-zero solution over |
130 |
|
open water. |
131 |
|
o pkg/seaice: revise EVP code (seaice_evp.F) in preparation for a more |
132 |
|
efficient EVP method. |
133 |
|
- introduce area-weighted averages for e12 (analogously to |
134 |
|
seaice_calc_viscosities.F); this totally changes lab_sea.hb87 (2 digits |
135 |
|
remain, but also changing the order of terms in the previous average |
136 |
|
changed the results as much) -> update experiment |
137 |
|
- add SEAICE_DELTA_SMOOTHREG code |
138 |
|
- disentangle computation of zetaC/deltaC and zetaZ/deltaZ, also for |
139 |
|
TEM-code |
140 |
|
- adjust loop bounds so that only required fields are computed |
141 |
|
- add new averaging code for zetaZ/deltaZ (again similar to |
142 |
|
seaice_calc_viscosities.F), inactive by default for now (will change |
143 |
|
results again), but will replace old code eventually |
144 |
|
o eesupp/src: |
145 |
|
- add an other alternative for multi-proc GLOBAL_SUM (in global_sum_tile.F) |
146 |
|
to always cumulate tile local-sum in the same order |
147 |
|
(option #define GLOBAL_SUM_ORDER_TILES in CPP_EEOPTIONS.h). |
148 |
|
Still uses MPI_Allreduce (like standard code) but on array of tiles |
149 |
|
and should be faster than GLOBAL_SUM_SEND_RECV code. |
150 |
|
- switch almost all verification experiments that use GLOBAL_SUM_SEND_RECV |
151 |
|
(defined in CPP_EEOPTIONS.h_mpi) to GLOBAL_SUM_ORDER_TILES instead. |
152 |
|
- add CPP_EEOPTIONS.h_mpi with GLOBAL_SUM_ORDER_TILES defined in 14 more exp.: |
153 |
|
aim.5l_cs, cheapAML_box, deep_anelastic, dome, fizhi-cs-32x32x40, |
154 |
|
fizhi-cs-aqualev20, fizhi-gridalt-hs, global_ocean_ebm, matrix_example, |
155 |
|
natl_box, solid-body.cs-32x32x1, tutorial_advection_in_gyre, |
156 |
|
tutorial_baroclinic_gyre and tutorial_held_suarez_cs. |
157 |
|
|
158 |
|
checkpoint65n (2015/07/29) |
159 |
|
o pkg/thsice: |
160 |
|
- add a warning when used with pkg/aim but without updating SST |
161 |
|
(stepFwd_oceMxL=F & useCoupler=F & tauRelax_MxL<>-1 ). |
162 |
|
o pkg/offline: |
163 |
|
- change where Offline-Fields are loaded, from load_fields_driver.F to |
164 |
|
directly within FORWARD_STEP, just after updating iter number and time; |
165 |
|
- move setting of GM and KPP diffusivity out of OFFLINE_FIELDS_LOAD into new |
166 |
|
S/R OFFLINE_GET_DIFFUS that is called towards the end of DO_OCEANIC_PHYS; |
167 |
|
These changes allow: |
168 |
|
a) to recover exactly on-line results using deltaToffline=deltaTClock, |
169 |
|
tested (using offlineIter0= nIter0 -1 and offlineTimeOffset= -deltaT/2) |
170 |
|
both with Lin & Non-Lin Free-Surf, both with staggerTimeStep & synchronous |
171 |
|
time-step, both with GM & KPP files and with recomputing these fields; |
172 |
|
b) no needs to switch on staggerTimeStep anymore; |
173 |
|
c) simplify rescaling of offline horiz. velocity with Non-Lin Free-Surf. |
174 |
|
- update output of experiment tutorial_dic_adjoffline (only 3 digits left). |
175 |
|
o pkg/offline: |
176 |
|
- change (rarely used) offset-iteration parameter to an offset time (in s): |
177 |
|
can easily recover previous offset-iter effect by setting offset-time |
178 |
|
(offlineTimeOffset) to offset-iter x deltaToffline; |
179 |
|
- do not turn-off Temp & Salinity surface relaxation when using KPP (used |
180 |
|
in KPP as part of surface buoyancy forcing) in offline run. |
181 |
|
- fix ptracers KPP non-local term in the case where KPP is re-computed. |
182 |
|
o OpenAD |
183 |
|
- Adding preliminary ggl90 test to OpenAD verification. |
184 |
|
Config. with ggl90 currently diverges after 64 time steps |
185 |
|
so will need more work to become more stable |
186 |
|
- Adding preliminary kpp test to OpenAD verification. |
187 |
|
required small tweakes in kpp_routines.F |
188 |
|
- Merge and update from Krishna Narayanan's contrib area: |
189 |
|
* Add one variable for preliminary OpenAD DIVA |
190 |
|
* Add replacement time-stepping for OpenAD DIVA |
191 |
|
* genmake2 flag -diva (but only for OpenAD; preliminary) |
192 |
|
* required modifs for OAD_support |
193 |
|
successful preliminary test for tutorial_global_oce_biogeo/ |
194 |
|
o pkg/seaice: |
195 |
|
- initialise deltaC in seaice_lsr, cosmetic changes in seaice_lsr |
196 |
|
- add cpp-flag SEAICE_DELTA_SMOOTHREG for option of regularising |
197 |
|
delta with a smooth function in s/r seaice_calc_viscosity |
198 |
|
(no effect on EVP) |
199 |
|
- rename local suffix "sqr" into "sq" for more consistent variable names |
200 |
|
o pkg/seaice: |
201 |
|
add new parameter SEAICE_deltaMin that is used ***only*** |
202 |
|
for regularizing Delta (and nothing else, like the parameter |
203 |
|
which is also used for all sorts of things SEAICE_EPS). |
204 |
|
Defaults to SEAICE_EPS for backward compatibility only. |
205 |
|
o pkg/seaice: replace erroneously storing e12Csqr on the wrong tape with |
206 |
|
the wrong key by inialising it before use -> fixes a recomputation |
207 |
|
problem but does not fix the gradient |
208 |
|
o pkg/layers: |
209 |
|
- move resetting of flux arrays to outside the iLa loop |
210 |
|
(this caused layers_diapycnal to not work with more than one layer coord.) |
211 |
|
- fix bug in calculation of layers_recip_delta in layers_init_fixed.F |
212 |
|
o pkg/layers: |
213 |
|
- remove from common block 3D layers fields (used to diagnose transport |
214 |
|
in tracer coords) and declare them as local arrays in layers_calc.F |
215 |
o pkg/seaice: |
o pkg/seaice: |
216 |
- Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it |
- Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it |
217 |
in lab_sea forward experiment (changes results -> updated) |
in lab_sea forward experiment (changes results -> updated) |
218 |
o pkg/seaice: modify seaice_lsr.F in order to improve the gradient |
- update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v |
219 |
computations; for SEAICE_VECTORIZE_LSR |
o pkg/seaice: modify seaice_lsr.F in order to improve the gradient |
220 |
|
computations; for SEAICE_VECTORIZE_LSR |
221 |
- move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v) |
- move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v) |
222 |
sweep to the outside, |
sweep to the outside, |
223 |
- remove store directives and add "CADJ loop sequential" directives |
- remove store directives and add "CADJ loop sequential" directives |
224 |
in analogy to model/src/solve_tridiagonal.F |
in analogy to model/src/solve_tridiagonal.F |
225 |
- replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop |
- replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop |
226 |
boundaries to yield more readable code. This has also the charming side |
boundaries to yield more readable code. This has also the charming side |
227 |
effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without |
effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without |
228 |
SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in |
SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in |
229 |
seaice_lsr_tridiagu/v now requires either of these flags, vectorization |
seaice_lsr_tridiagu/v now requires either of these flags, vectorization |
230 |
still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as |
still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as |
231 |
an additional option) |
an additional option) |
232 |
The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F |
The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F |
233 |
but the adjoint gradients (which are affected by this change) still explode. |
but the adjoint gradients (which are affected by this change) still explode. |
234 |
o coupler (atm & ocn _compon_interf): |
o coupler (atm & ocn _compon_interf): |
235 |
- avoid using Exch2 IO mapping if not suitable. |
- avoid using Exch2 IO mapping if not suitable. |
236 |
|
|
|
>>>>>>> 1.2160 |
|
237 |
checkpoint65m (2015/06/15) |
checkpoint65m (2015/06/15) |
238 |
o pkg/layers: |
o pkg/layers: |
239 |
- clean-up old parameters setting (from Sep 2012): |
- clean-up old parameters setting (from Sep 2012): |