4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o model/src: |
8 |
|
- add 3-D array 3rd dimension to argument list of S/R ADAMS_BASHFORTH2/3; |
9 |
|
- pkg/cheapaml: remove local S/R ADAMS2d and use instead standard S/R |
10 |
|
ADAMS_BASHFORTH2. |
11 |
|
o pkg/cheapaml: |
12 |
|
- add new parameter (default=F, same as before) to disable full domain |
13 |
|
(including land) periodicity in X & Y dir. |
14 |
|
- new S/R CHEAPAML_COPY_EDGES to copy relaxation field into edges of |
15 |
|
prognostics field ; merge the 2 S/R cycle_2d_tracer and timestep_2d_tracer |
16 |
|
into single S/R CHEAPAML_TIMESTEP. |
17 |
|
|
18 |
|
checkpoint64d (2013/02/17) |
19 |
|
o pkg/monitor (angular momentum): |
20 |
|
- do not add Eta contribution to the total AM if using rigid-lid; |
21 |
|
- correct for Adams-Bashforth in zonal-wind part (instead of in AM_eta). |
22 |
|
- horizontal discretisation: compute Zonal wind contribution separately for |
23 |
|
each component (instead of from cell centered averaged) and use the 4 |
24 |
|
grid-cell corner averaged value of Omega*(R*cos_Phi)^2 in AM_eta part. |
25 |
|
- Check that AM is conserved with linear dynamics (momAdvection=F and linear |
26 |
|
FreeSurf) if using vectorInvariant momentum. |
27 |
|
o model/src (horizontal grid): |
28 |
|
- move initialisation of all horizontal grid arrays to null value |
29 |
|
from specific horizontal grid S/R to main S/R INI_GRID; |
30 |
|
- add 2 new arrays to project model C-grid velocity on to zonal direction |
31 |
|
(similar to AngleCosC & -AngleSinC but at U and V point location) and |
32 |
|
compute them in S/R CALC_GRID_ANGLES. |
33 |
|
o pkg/seaice: replace a hard coded parameter by a runtime parameter |
34 |
|
SEAICE_JFNK_tolIter |
35 |
|
o pkg/seaice: introduce a restricted additive Schwarz (RAS) method in |
36 |
|
preconditioner for JFNK (run LSR into the overlaps as far as possible, |
37 |
|
i.e OLx/y-2, but overwrite the solution in the overlaps) |
38 |
|
- extend loop range in seaice_calc_viscosity |
39 |
|
- add new parameters SEAICE_OLx/y (default = OLx/y-2) |
40 |
|
- add flexible loop ranges to seaice_preconditioner, seaice_calc_lsr_coeffs |
41 |
|
- slightly modify loops in tridiagonal solver lsr-preconditioner |
42 |
|
- by default remove the extra exchange in seaice_preconditioner with a |
43 |
|
replacement of an undocumented CPP flag by SEAICE_PRECOND_EXTRA_EXCHANGE |
44 |
|
- modify offline_exf_seaice so that old results without RAS are reproduced |
45 |
|
for output.dyn_jfnk.txt |
46 |
|
in seaice_fgmres.F (unrelated to RAS) |
47 |
|
- add a cpp-flag option for a re-ordered mapping (potentially more |
48 |
|
efficient), but because this changes the results, turn it off by |
49 |
|
default |
50 |
|
- replace the save statement by local common blocks |
51 |
|
o utils/matlab: |
52 |
|
- fix tile-offset in rdmnc.m when output was produced using EXCH2. |
53 |
|
- update cs_grid/bk_line scripts to use load_grid.m (in utils/matlab) |
54 |
|
instead of local script "load_cs.m". |
55 |
|
o pkg/seaice: |
56 |
|
- fix a serious bug in seaice_fgmres.F, s/r seaice_scalprod, connected |
57 |
|
to the scalarProductMetric and the unrolling. By chance this does not |
58 |
|
change the verification experiment, because of the particular domain |
59 |
|
decomposition |
60 |
|
o pkg/diagnostics: |
61 |
|
- change default missing_value from UNSET_RL to -999. |
62 |
|
o pkg/layers: improve vectorization of layers_fluxcalc.F |
63 |
|
- step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu |
64 |
|
time spent in this routine by more than a factor of 3 on an NEC-SX8 |
65 |
|
- step 2: replace search algorithm by a bisection algorithm found in |
66 |
|
Press et al. Numerical Recipes in Fortran. This algorithm can be |
67 |
|
vectorized and finds the correct bin in approx. log2(Nlayers) steps. |
68 |
|
For now, use this algorithm only for TARGET_NEC_SX defined. |
69 |
|
- moved the search algorithm into a separate subroutine, that is kept |
70 |
|
within the same file for automatic inlining. |
71 |
|
- modified catching potential errors |
72 |
|
o pkg/ecco: |
73 |
|
- add compile switches ALLOW_SHALLOW_ALTIMETRY and ALLOW_HIGHLAT_ALTIMETRY. |
74 |
|
o model/src, pkg/autodiff, pkg/ctrl, pkg/grdchk : |
75 |
|
- modifications for ALLOW_GENTIM2D_CONTROL |
76 |
|
-- forward_step.F, the_main_loop.F : pass options and arrays for adjoint tapes. |
77 |
|
-- load_fields_driver.F : add call to CTRL_MAP_GENTIM2D( myTime, myIter, myThid ) |
78 |
|
-- add xx_gentim2d0/1 in ctrl_ad_check_lev1_dir.h checkpoint_lev1_directives.h etc |
79 |
|
-- use ctrl_swapffields.F (new) instead of exf_SwapFFields.F in ctrl_get_gen.F |
80 |
|
o model/src: |
81 |
|
- account for moist thermodynamics in (dry) potential temperature equation; |
82 |
|
update results of experiments: aim.5l_cs (x2), fizhi-cs (std + aqualev) |
83 |
|
and cpl_aim+ocn. |
84 |
|
- also switch to standard compiler (gfortran, was using ifort previously) |
85 |
|
for fizhi-cs experiments reference output. |
86 |
|
o pkg/ctrl: |
87 |
|
- 1st step toward generic time-varying control variable (2D) via CPP option |
88 |
|
ALLOW_GENTIM2D_CONTROL |
89 |
|
- note new namelist ctrl_nml_genarr in data.ctrl |
90 |
|
o verification/global_ocean.cs32x15: |
91 |
|
- switch off OLD_THSICE_CALL_SEQUENCE (both forward and AD code) to use new |
92 |
|
thsice calling sequence and update "output.icedyn.txt" output file. |
93 |
|
o pkg/ptracers: |
94 |
|
- from Ryan A.: code to allow to restart a tracer at regular time interval |
95 |
|
specifying a reset frequency and a reset-phase (for each tracers). |
96 |
|
o pkg/thsice: |
97 |
|
- implement new sequence of calls for thsice+seaice: |
98 |
|
previously: ice-Dyn,ice-Advect,ice-Thermo(thsice) |
99 |
|
new sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect |
100 |
|
- allows (with temporary CPP option "#define OLD_THSICE_CALL_SEQUENCE" |
101 |
|
in CPP_OPTIONS.h) to recover old sequence; |
102 |
|
- update diagnostics for Intermediate State thsice diagnostics: now filled |
103 |
|
just before advection (instead of just after advection in old sequence); |
104 |
|
- update output of experiment offline_exf_seaice (standard test); |
105 |
|
- in global_ocean.cs32x15 exp., postpone output.icedyn.txt update |
106 |
|
by setting #define OLD_THSICE_CALL_SEQUENCE in CPP_OPTIONS.h |
107 |
|
o pkg/aim_v23: |
108 |
|
- use tiled array for aim_CO2 and surface wind speed for export to coupler; |
109 |
|
- use standard pkg/mdsio routines to read & write CO2 pickup file; |
110 |
|
- in-line S/R AIM_AIM2DYN_EXCHANGES in aim_do_physics.F; |
111 |
|
- Implement new sequence of calls for seaice advection (with thsice and |
112 |
|
seaice diffusion): do ice advection after ice-Thermodynamic (previously |
113 |
|
was done before); change aim_do_physics.F (split the bi,bj loops block); |
114 |
|
- use same CPP option (OLD_THSICE_CALL_SEQUENCE) to recover old sequence; |
115 |
|
o pkg/thsice: |
116 |
|
- add a missing EXCH of sIceLoad in thsice_main.F (ocean set-up) for the case |
117 |
|
where just seaice diffusion is used without seaice-dynamics. |
118 |
|
|
119 |
|
checkpoint64c (2013/01/18) |
120 |
|
o pkg/seaice: |
121 |
|
- add a parameter JFNKres_tFac that can replace JFNKres_t |
122 |
|
(= JFNKres_tFac*JFNKresidual before JFNK solver) |
123 |
|
- add a line search option to the JFNK solver |
124 |
|
- move update of u/vIce and computation of initial residual into a separate |
125 |
|
routine (same file); makes the code a little easier to read (?) |
126 |
|
- the line search requires computation of the residual and for some reason |
127 |
|
I cannot do the update of u/vIce at the beginning of the Newton loop |
128 |
|
without changing the results, so we move computation of the new residual |
129 |
|
also to the end of the Newton loop, even without the line search |
130 |
|
o pkg/mdsio: |
131 |
|
- write missing value (corresponding to undefined array value) to meta files; |
132 |
|
skip this if missing value is one (UNSET_RL would be a better value for the |
133 |
|
case of undefined missing value but it's current the default missing-value); |
134 |
|
Also update mdsio_read_meta.F (reading timeInterval & missing-value). |
135 |
|
o pkg/exf & thsice: |
136 |
|
- for diagnostics purpose, fill-up and update Qsw array (+ fill the |
137 |
|
diagnostics) even when SHORTWAVE_HEATING is #undef; |
138 |
|
o verification/cfc_example: |
139 |
|
- turn on pkg/layers with pkg/diagnostics (to test pkg/layers and to |
140 |
|
illustrate how to use it). |
141 |
|
o verification/offline_exf_seaice: |
142 |
|
in input: add SEAICErestoreUnderIce=.TRUE., and reduce size of forcing |
143 |
|
files to only one time-record. |
144 |
|
in input.thermo: narrow the 2 bands of low initial ice-concentration near |
145 |
|
N & S edges; switch on SEAICErestoreUnderIce=T; use pkg/diagnostics for |
146 |
|
snapshot output; same mcPheePiston value as in thsice with |
147 |
|
surf-current=0.2m/s. |
148 |
|
in input.thsice: similar set-up as in input.thermo (channel with same seaice |
149 |
|
initial conditions). |
150 |
|
o verification/cfc_example: |
151 |
|
- update file "data" with more standard choice (default rotationPeriod, |
152 |
|
exactConserv=T, reduce ivdc_kappa to 10, remove multiDimAdvection=F, |
153 |
|
set deltaTFreeSurf to deltaTtracer) and update the output. |
154 |
|
o pkg/layers: |
155 |
|
- fix bolus part so that it compiles with #undef GM_BOLUS_ADVEC; |
156 |
|
- ensure that "layers_bolus" is switched to False when useGMRedi=False. |
157 |
|
o verification/offline_exf_seaice: |
158 |
|
- set all {field}period to zero for constant-in-time forcing (not tested |
159 |
|
anywhere else). |
160 |
|
o verification/offline_exf_seaice: |
161 |
|
- dyn_lsr : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice; |
162 |
|
- dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice. |
163 |
|
o model/src: |
164 |
|
- implement Finite-Volume method for (hydrostatic) presure gradient |
165 |
|
from S.-J. Lin (QJRMS 1997), for atmosphere using sigma-coordinate. |
166 |
|
o pkg/seaice: implement EVP* by Lemieux et al. (2012). |
167 |
|
- In order to be compatible with the default EVP code, this requires changing |
168 |
|
the EVP code around a little; and because any small change immediately |
169 |
|
breaks the lab_sea.hb87 verification experiment, the reference output is |
170 |
|
updated two times (each time the remaining aggrement was only 2 digits): |
171 |
|
- after replacing 1/dt by 1*recip_dt with a precomputed recip_dt |
172 |
|
- after replacing 1/(1+0.5*dt/tau) by a/(a+1), with a=2*tau/dt |
173 |
|
The adjoint test lab_sea.evp also needed to be updated. |
174 |
|
- Turn on EVP* by setting SEAICE_deltaTevp as before, and setting |
175 |
|
SEAICEuseEVPstar=.true.; for EVP* SEAICE_deltaTevp does not need to be |
176 |
|
a factor of SEAICE_deltaTdyn, and you can set the number of EVP steps |
177 |
|
explicitly with SEAICEnEVPstarSteps (thereby overriding the default of |
178 |
|
INT(SEAICE_deltaTdyn/SEAICE_deltaTevp)). Controlling EVP* is deliberately |
179 |
|
kept obscure, because I need to test it a little more. |
180 |
|
o pkg/cheapaml: |
181 |
|
- fix few incorrect type (_RL/_RS) in subroutine calls. |
182 |
|
o pkg/seaice: |
183 |
|
- new S/R SEAICE_MAP_RS2VEC (similar to SEAICE_MAP2VEC) to map _RS arrays |
184 |
|
to _RL vector; this fixes JFNK code when compiling with "-use_r4" option. |
185 |
|
o model/src: |
186 |
|
- add a warning if using select_rStar=2 with nonlinFreeSurf <> 4; |
187 |
|
change (in input_ad*/data) select_rStar from 2 to 1 for AD verification |
188 |
|
experiments global_ocean.cs32x15 & tutorial_tracer_adjsens (+ update output) |
189 |
|
o pkg/cheapaml: |
190 |
|
- replace "273.1 _d 0" by celsius2K in pkg/cheapaml/cheapaml.F and |
191 |
|
update output of experiment cheapAML_box. |
192 |
|
- store in CHEAPAML.h coeffs ssq[0:2] for saturation specific humidity, |
193 |
|
and set them only in one place (cheapaml_readparms.F). |
194 |
|
- replace "273.16 _d 0" by celsius2K & replace "3.14159 _d 0" by constant "PI" |
195 |
|
- remove re-setting of main-model parameter "celsius2K" (in cheapaml_readparms) |
196 |
|
and re-setting of cheapAML params "lath" & "p0" (in cheapaml_init_varia). |
197 |
|
o model/src/the_main_loop.F: |
198 |
|
- fix revision 129 : need both ALLOW_ECCO and ALLOW_ECCO_EVOLUTION. |
199 |
|
o pkg/seaice: |
200 |
|
- remove legacy branch code. |
201 |
|
- retire SEAICE_GROWTH_LEGACY and SEAICE_CAP_HEFF accordingly. |
202 |
|
o verification/*/code*/SEAICE_OPTIONS.h: |
203 |
|
- remove documentation for retired CPP flags (SEAICE_GROWTH_LEGACY, |
204 |
|
SEAICE_CAP_HEFF). |
205 |
|
o pkg/cheapaml: |
206 |
|
- use standard routine (S/R GET_PERIODIC_INTERVAL) to decide when it is time |
207 |
|
to load new forcing fields. |
208 |
|
- add missing "_d 0" where it's needed; + some editing (improve indentation). |
209 |
|
- remove switch to "-r8" compiler option (no longer needed) in verification |
210 |
|
cheapAML_box, keep same output (small trucation error differences). |
211 |
|
o verification/offline_exf_seaice: |
212 |
|
- add thermodynamics only test. |
213 |
|
o verification/cheapAML_box: |
214 |
|
- split the domain in 8 (2x4) tiles; add MPI and multi-threaded test; |
215 |
|
keep same output (same 14 digits for cg2d). |
216 |
|
- switch on "-r8" compiler option (some numerical values are missing |
217 |
|
the "_d 0") and update output (only 6 digits for cg2d were preserved). |
218 |
|
|
219 |
|
checkpoint64b (2012/12/24) |
220 |
|
o pkg/cheapaml: |
221 |
|
- remove un-used variables (Qnet,EmPmR) from pickup files. |
222 |
|
- store tendency of advected variables into cheapaml pickup file |
223 |
|
and fix the AB-2 restart. |
224 |
|
o verification/offline_exf_seaice and lab_sea adjoint: |
225 |
|
- switch to new code (#undef SEAICE_GROWTH_LEGACY). |
226 |
|
- switch to 4 time steps in offline, consistent with lab_sea. |
227 |
|
- match parameters from SEAICE_GROWTH_LEGACY branch in data.seaice. |
228 |
|
- update results after change of experiment seaice. |
229 |
|
o pkg/seaice: |
230 |
|
- remove option SEAICE_MULTICATEGORY; has been replaced with run-time |
231 |
|
parameter SEAICE_multDim. Issue a warning if SEAICE_MULTICATEGORY is |
232 |
|
still defined since SEAICE_multDim needs to be set to MULTDIM value (from |
233 |
|
SEAICE_SIZE.h) to recover previous #define SEAICE_MULTICATEGORY default. |
234 |
|
o model/src: |
235 |
|
- add run-time parameter to select CG2D solver minimum-residual solution |
236 |
|
(in case of a poor convergence). |
237 |
|
o pkg/seaice/seaice_lsr.F |
238 |
|
- move calculation of matrix coefficients into new |
239 |
|
S/R SEAICE_CALC_LSR_COEFFS; for now this routine remains in the same |
240 |
|
file; the main purpose of this change is to be able to reuse the code |
241 |
|
in S/R SEAICE_PRECONDITIONER |
242 |
|
- modify the computation of the residual so that the mass of sea-ice |
243 |
|
is not used twice; this simplifies the calculations, but since |
244 |
|
the residual is never used except when LSR_mixIniGuess.ge.4---and this is |
245 |
|
not tested in testreport---this does not affect the testreport results. |
246 |
|
o verification/seaice_obcs: |
247 |
|
- disable SEAICE_GROWTH_LEGACY; reset input files to match those of |
248 |
|
verification/lab_sea/input.salt_plume; changes results/output.txt* |
249 |
|
o model/src: |
250 |
|
- adapt quasi-hydrostatic formulation to work with p or p* coordinate. |
251 |
|
o pkg/seaice: |
252 |
|
- improve description of parameters in seaice_fgmres.F and start |
253 |
|
cleaning up the code |
254 |
|
- change name of SCALPROD to SEAICE_SCALPROD and modify meaning of |
255 |
|
second argument |
256 |
|
- add a metric based on grid cell area to SEAICE_SCALPROD; update |
257 |
|
results of offline_exf_seaice.dyn_jfnk |
258 |
|
- compute initial residual norm in seaice_jfnk based on SEAICE_SCALPROD |
259 |
|
o pkg/aim_v23: |
260 |
|
- fix an other bug in dissipation heating (grid-cell area was missing). |
261 |
o model/src + pkg/seaice: |
o model/src + pkg/seaice: |
262 |
- add global (multi-tile) linear solver for pair of tri-diagonal system |
- add global (multi-tile) linear solver for pair of tri-diagonal system |
263 |
along X and Y lines, respectively for U and V component. |
along X and Y lines, respectively for U and V component. |
274 |
- add a verification experiment for JFNK in offline_exf_seaice |
- add a verification experiment for JFNK in offline_exf_seaice |
275 |
o verification: |
o verification: |
276 |
- change (for now, only fwd test) offline_exf_seaice experiment: |
- change (for now, only fwd test) offline_exf_seaice experiment: |
277 |
use a re-entrant channel with idealized costline (trapezoidal shape) |
use a re-entrant channel with idealized coastline (trapezoidal shape) |
278 |
at southern boundary to explore seaice dynamics and thermodynamics |
at southern boundary to explore seaice dynamics and thermodynamics |
279 |
with simple forcing. Main set-up has dynamics+thermo and SST relaxation; |
with simple forcing. Main set-up has dynamics+thermo and SST relaxation; |
280 |
secondary test (input.thsice) use thermodynamics only with SST relaxation. |
secondary test (input.thsice) use thermodynamics only with SST relaxation. |