4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: |
8 |
|
- initialise deltaC in seaice_lsr, cosmetic changes in seaice_lsr |
9 |
|
- add cpp-flag SEAICE_DELTA_SMOOTHREG for option of regularising |
10 |
|
delta with a smooth function in s/r seaice_calc_viscosity |
11 |
|
(no effect on EVP) |
12 |
|
- rename local suffix "sqr" into "sq" for more consistent variable names |
13 |
|
o pkg/seaice: add new parameter SEAICE_deltaMin that is used ***only*** |
14 |
|
for regularizing Delta (and nothing else, like the parameter |
15 |
|
which is also used for all sorts of things SEAICE_EPS). Defaults to |
16 |
|
SEAICE_EPS for backward compatibility only. |
17 |
|
o pkg/seaice: replace erroneously storing e12Csqr on the wrong tape with |
18 |
|
the wrong key by inialising it before use -> fixes a recomputation |
19 |
|
problem but does not fix the gradient |
20 |
|
o pkg/layers: |
21 |
|
- move resetting of flux arrays to outside the iLa loop |
22 |
|
(this caused layers_diapycnal to not work with more than one layer coord.) |
23 |
|
- fix bug in calculation of layers_recip_delta in layers_init_fixed.F |
24 |
|
o pkg/layers: |
25 |
|
- remove from common block 3D layers fields (used to diagnose transport |
26 |
|
in tracer coords) and declare them as local arrays in layers_calc.F |
27 |
|
o pkg/seaice: |
28 |
|
- Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it |
29 |
|
in lab_sea forward experiment (changes results -> updated) |
30 |
|
- update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v |
31 |
|
o pkg/seaice: modify seaice_lsr.F in order to improve the gradient |
32 |
|
computations; for SEAICE_VECTORIZE_LSR |
33 |
|
- move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v) |
34 |
|
sweep to the outside, |
35 |
|
- remove store directives and add "CADJ loop sequential" directives |
36 |
|
in analogy to model/src/solve_tridiagonal.F |
37 |
|
- replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop |
38 |
|
boundaries to yield more readable code. This has also the charming side |
39 |
|
effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without |
40 |
|
SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in |
41 |
|
seaice_lsr_tridiagu/v now requires either of these flags, vectorization |
42 |
|
still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as |
43 |
|
an additional option) |
44 |
|
The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F |
45 |
|
but the adjoint gradients (which are affected by this change) still explode. |
46 |
|
o coupler (atm & ocn _compon_interf): |
47 |
|
- avoid using Exch2 IO mapping if not suitable. |
48 |
|
|
49 |
|
checkpoint65m (2015/06/15) |
50 |
|
o pkg/layers: |
51 |
|
- clean-up old parameters setting (from Sep 2012): |
52 |
|
+ remove old parameters setting from common block (declared locally); |
53 |
|
+ stop if any old parameter is mixed with new parameters; |
54 |
|
+ check for valid or consistent parameter setting (e.g., layers_name) |
55 |
|
- check that layers_bounds for Pot.Density are in the right range; |
56 |
|
this is supposed to catch un-updated setting after recently shifting |
57 |
|
potential density field "prho" by -1000 (now in "sigma" scale). |
58 |
|
o pkg/layers: |
59 |
|
- Added missing call to layers_fill for keeping track of tottend in |
60 |
|
pkg/diagnostics/diagnostics_fill_state.F |
61 |
|
o pkg/layers: |
62 |
|
- added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning |
63 |
|
of diapycnal fluxes |
64 |
|
o pkg/layers: |
65 |
|
- reverted changes to interpolation to previous treatment; there |
66 |
|
was never actually a problem |
67 |
|
o pkg/layers: |
68 |
|
- fix interpolation of layers tracers in the presence of partial cells |
69 |
|
- add lots of new functionality to compute water mass transformation |
70 |
|
(enabled by CPP flag LAYERS_THERMODYNAMICS) |
71 |
|
- add new calls from main code (diags_oceanic_surf_flux.F, |
72 |
|
thermodynamics.F, impldiff.F) and gad to save the necessary fields |
73 |
|
for layers_thermodynamics calculations |
74 |
|
o pkg/ptracers: |
75 |
|
- add capability of stepping a passive tracer forward without advection |
76 |
|
by setting PTRACERS_advScheme to 0. |
77 |
|
o pkg/diagnostics: |
78 |
|
- add few (threads) _BARRIER around any update of "diag_pkgStatus". |
79 |
|
o pkg/layers: |
80 |
|
- shift potential density field "prho" by -1000 for density layer averaging so |
81 |
|
that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000); |
82 |
|
Note that density bin boundaries (layers_bounds in data.layers) have |
83 |
|
to be set accordingly (i.e., shifted, in sigma scale). |
84 |
|
o pkg/layers: |
85 |
|
- fix snap-shot output of layer thickness @ V.pt and output of pot.density |
86 |
|
- fix calculation of layer non-weighted velocity and layer probability |
87 |
|
- add diagnostics for pot.density used for layer averaging |
88 |
|
o pkg/seaice: |
89 |
|
- seaice_calc_viscosity.F: change computation of deltaC**2 to ensure |
90 |
|
positiveness, modify a few comments and improve variable names, |
91 |
|
- the changed computation of deltaC affects most seaice-related |
92 |
|
experiments at the truncation level. |
93 |
|
seaice_itd.thermo is affected by far the most, with |
94 |
|
only 7 digits of agreement remaining; update experiments. |
95 |
|
|
96 |
|
checkpoint65l (2015/05/04) |
97 |
|
o pkg/shelfice: |
98 |
|
- in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set |
99 |
|
factor drKp1 to zero where it is negative (ie. do not use |
100 |
|
SHELFICEBoundaryLayer if hFacC>1) |
101 |
|
- the same for factor drLoc in shelfice_forcing.F |
102 |
|
o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem |
103 |
|
with modules in ptracers, when using testreport option "-small_f" |
104 |
|
o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD) |
105 |
|
- replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1)) |
106 |
|
o verification/testreport |
107 |
|
- add new option -small_f |
108 |
|
with this option testreport first makes the target small_f (*.f files) |
109 |
|
before running make (all). This is useful for explicit inlining when |
110 |
|
all sources need to be full available. |
111 |
|
o pkg/exf/exf_interp.F: |
112 |
|
remove previous changes related to reverse (decreasing) input grids latitude |
113 |
|
|
114 |
|
checkpoint65k (2015/04/01) |
115 |
|
o pkg/ecco: |
116 |
|
fix missing cosphi initialization; use eccoiter in place of optimcycle; |
117 |
|
if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL |
118 |
|
instead of active read/write |
119 |
|
o pkg/ctrl: |
120 |
|
if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL |
121 |
|
instead of active read/write. |
122 |
|
o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F |
123 |
|
return if .NOT.useAUTODIFF |
124 |
|
o pkg/seaice: add CPP brackets (cost function related). |
125 |
|
o model/src: |
126 |
|
add useAUTODIFF run time switch. |
127 |
|
o pkg/exf/exf_interp.F: |
128 |
|
add code to allow input grids with latitude starting in the north (i.e. when |
129 |
|
j=1 corresponds to northern edge of field); modify global_with_exf to test |
130 |
|
this feature. |
131 |
|
o verification/testreport: |
132 |
|
- replace "grep -A3" with POSIX conformal sed command, because there are |
133 |
|
implementations of grep that cannot do contextual searches |
134 |
|
- replace "cat -n" by "nl" (two occurrences), because not all implementations |
135 |
|
of "cat" have the option "-n" |
136 |
|
o model/src: |
137 |
|
add new file gsw_teos10.F that contains 3 functions, more or less a copy |
138 |
|
of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to |
139 |
|
convert from conservative to potential temperature. For now they are not |
140 |
|
called anywhere. |
141 |
|
o pkg/ggl90: make "useIDEMIX" useful |
142 |
|
- re-organize code in s/r ggl90_calc a little to move computations that |
143 |
|
are different for idemix into separate loops (changes verification |
144 |
|
experiment idemix at truncation level, 12 digits remain -> updated) |
145 |
|
- requires 2 new 2D fields KappaM, verticalShear |
146 |
|
- make hFacI and recip_hFacI local 3D variables that are passed to |
147 |
|
s/r ggl90_idemix |
148 |
|
- fix and improve some comments |
149 |
|
|
150 |
|
checkpoint65j (2015/02/25) |
151 |
|
o pkg/openad |
152 |
|
- synchronize seawater.F with version in model/src: replace routine |
153 |
|
body of sw_temp by calling sw_ptmp and fix/add a few comments. |
154 |
|
o pkg/mnc: |
155 |
|
- change default value of pickup_read/write_mnc params to FALSE |
156 |
|
(since few features are missing in reading MNC pickup files). |
157 |
|
o model/src: |
158 |
|
- change default (background) vertical diffusivity for salt to be the |
159 |
|
temperature (background) vertical diffusivity. |
160 |
|
- change background vertical diffusivity in vertical mixing pkgs ggl90, |
161 |
|
kl10, my82 and pp81 from temperature diffusivity to salinity diffusivity. |
162 |
|
This makes ptracers default diffusivity (that uses salt diffKr) more |
163 |
|
consistent with vertical mixing schemes. |
164 |
|
o verification/testreport: |
165 |
|
- fix typo in "-pcls" option ; |
166 |
|
- put temp files in /tmp (instead of in local dir) |
167 |
|
- add option "-ncad" to use genmake2 new option "-nocat4ad" |
168 |
|
- allow to use "-j" option (for multi-procs make) for AD, OAD and TLM. |
169 |
|
o pkg/ggl90 (idemix code): |
170 |
|
- apply few fixes ; add some missing "_d 0" ; update output of exp. |
171 |
|
global_ocean.90x40x15.idemix |
172 |
|
o OpenAD |
173 |
|
- enable active file I/O and begin removal of work-around code |
174 |
|
for OpenAD for handling control variables (memory vs. active files) |
175 |
|
- new CPP options file OPENAD_OPTIONS.h |
176 |
|
- revert to genarr2d gradient check for hs94.1x64x5 |
177 |
|
- (genarr3d tested by tutorial_global_oce_biogeo, tutorial_tracer_adjsens) |
178 |
|
- gentim2d works for halfpipe_streamice but not yet hs94.1x64x5 |
179 |
|
o tools/genmake2: |
180 |
|
- add option for an alternative Makefile (from Martin) where multiple |
181 |
|
source files are sent to TAF (instead of all in one file). |
182 |
|
o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013) |
183 |
|
- code provided by Carsten Eden as an extension of ggl90 |
184 |
|
- so far the code is turned on within ggl90 by setting a CPP-flag at |
185 |
|
compile time; a runtime flag implementation is not yet complete |
186 |
|
- tested in new verification experiment global_ocean.90x40x15.idemix |
187 |
|
o verification: |
188 |
|
- reduce length of the AD test run by half for experiments |
189 |
|
global_ocean.cs32x15 (std + thsice) and isomip |
190 |
|
- enable active file I/O for OpenAD, adjust verifications accordingly |
191 |
|
- halfpipe_streamice: change gradient check from genarr2d to gentim2d |
192 |
|
o verification/testreport: |
193 |
|
- fix two non-POSIX sed statements so that there are no error messages |
194 |
|
on Mac OS X |
195 |
|
- replace hostname -s with hostname | sed 's/\..*$//' |
196 |
|
o model/src/seawater.F: |
197 |
|
- simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged |
198 |
|
(following the matlab code), which would have avoided the bug caught |
199 |
|
by Matt (see below) in the first place |
200 |
|
o pkg/shelfice: |
201 |
|
- implement alternative discretisation of quadratic drag (selectBotDragQuadr) |
202 |
|
and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag. |
203 |
|
- fix sign of friction tendency (no-slip BC) and fix u,v drag for thin |
204 |
|
ice-shelf case (i.e., within surface level). |
205 |
|
- add config summary in shelfice_check.F |
206 |
|
- remove global variable recip_SHELFICElatentHeat and replace by a local |
207 |
|
variable recip_latentHeat |
208 |
|
- introduce diagnostics for friction velocity uStar (in case of |
209 |
|
SHELFICEuseGammaFrict) |
210 |
|
- change verification experiment isomip.htd: |
211 |
|
+ start from pickup (as input_ad at nIter0=8640) |
212 |
|
+ start from SHELFICEmassFile instead of SHELFICEloadAnomaly file |
213 |
|
+ test SHELFICEuseGammaFrict = .TRUE. |
214 |
|
+ test SHELFICEadvDiffHeatFlux = .TRUE. |
215 |
|
o model/src: |
216 |
|
- fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to |
217 |
|
in-situ Temp) and in routine SW_TEMP (in pkg/openad); |
218 |
|
update output of experiments global_with_exf.yearly and isomip (all 6). |
219 |
|
o pkg/shelfice: |
220 |
|
- change setting of kTopC to also be zero where there is no ice-shelf. |
221 |
|
- zero out surface forcing arrays (for now, for T & S + EmPmR) where |
222 |
|
ice-shelf is. |
223 |
|
- first attempt to get RealFreshWaterFlux effects: for now, only without |
224 |
|
SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping. |
225 |
|
o pkg/seaice: add the option to prescribe a fixed thickness PDF |
226 |
|
for thermodynamic calculations |
227 |
|
- because of divisions of the type 7/7 not exactly equal to 1, this change |
228 |
|
affects results of some verification experiments by up to 4 digits: |
229 |
|
global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume, |
230 |
|
seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides |
231 |
|
adjoint: lab_sea, lab_sea.noseaicedyn |
232 |
|
-> updated |
233 |
|
|
234 |
|
checkpoint65i (2015/01/23) |
235 |
|
o model/src: |
236 |
|
- change units of frictionHeating field from W to W/m^2 |
237 |
|
- fix bug in frictional heating from stratospheric drag in |
238 |
|
S/R ATM_PHYS_TENDENCY_APPLY_V |
239 |
|
- with synchronous time-stepping: move resetting to zero of frictionHeating |
240 |
|
field from load_fields_driver.F to thermodynamics.F ; |
241 |
|
- add diagnostics for frictional heating. |
242 |
|
o model/src & gmredi K3D: |
243 |
|
- add frictionHeating field to pickup-files (for synchronous time-stepping) |
244 |
|
- move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h |
245 |
|
- rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name |
246 |
|
and name in pickup file). |
247 |
|
- fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F |
248 |
o model/src: |
o model/src: |
249 |
- move (from ini_forcing.F) initialisation of all arrays in header file |
- move (from ini_forcing.F) initialisation of all arrays in header file |
250 |
FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart |
FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart |