4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o verification/offline_exf_seaice: |
8 |
|
- add thermodynamics only test. |
9 |
|
o verification/cheapAML_box: |
10 |
|
- split the domain in 8 (2x4) tiles; add MPI and multi-threaded test; |
11 |
|
keep same output (same 14 digits for cg2d). |
12 |
|
- switch on "-r8" compiler option (some numerical values are missing |
13 |
|
the "_d 0") and update output (only 6 digits for cg2d were preserved). |
14 |
|
|
15 |
|
checkpoint64b (2012/12/24) |
16 |
|
o pkg/cheapaml: |
17 |
|
- remove un-used variables (Qnet,EmPmR) from pickup files. |
18 |
|
- store tendency of advected variables into cheapaml pickup file |
19 |
|
and fix the AB-2 restart. |
20 |
|
o verification/offline_exf_seaice and lab_sea adjoint: |
21 |
|
- switch to new code (#undef SEAICE_GROWTH_LEGACY). |
22 |
|
- switch to 4 time steps in offline, consistent with lab_sea. |
23 |
|
- match parameters from SEAICE_GROWTH_LEGACY branch in data.seaice. |
24 |
|
- update results after change of experiment seaice. |
25 |
|
o pkg/seaice: |
26 |
|
- remove option SEAICE_MULTICATEGORY; has been replaced with run-time |
27 |
|
parameter SEAICE_multDim. Issue a warning if SEAICE_MULTICATEGORY is |
28 |
|
still defined since SEAICE_multDim needs to be set to MULTDIM value (from |
29 |
|
SEAICE_SIZE.h) to recover previous #define SEAICE_MULTICATEGORY default. |
30 |
|
o model/src: |
31 |
|
- add run-time parameter to select CG2D solver minimum-residual solution |
32 |
|
(in case of a poor convergence). |
33 |
|
o pkg/seaice/seaice_lsr.F |
34 |
|
- move calculation of matrix coefficients into new |
35 |
|
S/R SEAICE_CALC_LSR_COEFFS; for now this routine remains in the same |
36 |
|
file; the main purpose of this change is to be able to reuse the code |
37 |
|
in S/R SEAICE_PRECONDITIONER |
38 |
|
- modify the computation of the residual so that the mass of sea-ice |
39 |
|
is not used twice; this simplifies the calculations, but since |
40 |
|
the residual is never used except when LSR_mixIniGuess.ge.4---and this is |
41 |
|
not tested in testreport---this does not affect the testreport results. |
42 |
|
o verification/seaice_obcs: |
43 |
|
- disable SEAICE_GROWTH_LEGACY; reset input files to match those of |
44 |
|
verification/lab_sea/input.salt_plume; changes results/output.txt* |
45 |
|
o model/src: |
46 |
|
- adapt quasi-hydrostatic formulation to work with p or p* coordinate. |
47 |
|
o pkg/seaice: |
48 |
|
- improve description of parameters in seaice_fgmres.F and start |
49 |
|
cleaning up the code |
50 |
|
- change name of SCALPROD to SEAICE_SCALPROD and modify meaning of |
51 |
|
second argument |
52 |
|
- add a metric based on grid cell area to SEAICE_SCALPROD; update |
53 |
|
results of offline_exf_seaice.dyn_jfnk |
54 |
|
- compute initial residual norm in seaice_jfnk based on SEAICE_SCALPROD |
55 |
|
o pkg/aim_v23: |
56 |
|
- fix an other bug in dissipation heating (grid-cell area was missing). |
57 |
|
o model/src + pkg/seaice: |
58 |
|
- add global (multi-tile) linear solver for pair of tri-diagonal system |
59 |
|
along X and Y lines, respectively for U and V component. |
60 |
|
Note: 1) MPI and cube-exchange not yet coded. |
61 |
|
2) probably not accurate for poorly conditioned / large size problem. |
62 |
|
- add option for SEAICE_LSR to use global (multi-tile) tri-diagonal solver; |
63 |
|
default: not compiled and not used. |
64 |
|
o pkg/seaice: |
65 |
|
- first attempt at a multi-threaded fgmres solver for the JFNK solver: |
66 |
|
introduce bi/bj loops and use global_sum_tile_rl instead of |
67 |
|
mpi_allreduce in seaice_fgmres.F |
68 |
|
- improve diagnostics output for fgmres solver (seaice_fgmres.F) |
69 |
|
- replace a few unnecessary goto statements by if-blocks (seaice_fgmres.F) |
70 |
|
- add a verification experiment for JFNK in offline_exf_seaice |
71 |
|
o verification: |
72 |
|
- change (for now, only fwd test) offline_exf_seaice experiment: |
73 |
|
use a re-entrant channel with idealized coastline (trapezoidal shape) |
74 |
|
at southern boundary to explore seaice dynamics and thermodynamics |
75 |
|
with simple forcing. Main set-up has dynamics+thermo and SST relaxation; |
76 |
|
secondary test (input.thsice) use thermodynamics only with SST relaxation. |
77 |
|
- add seaice-dynamics only secondary test using LSR and pkg/thsice advection. |
78 |
|
o pkg/exf: |
79 |
|
- disable "sstExtrapol" when Nr=1 |
80 |
|
o verification: |
81 |
|
- add new experiment "cheapAML_box" (simple 1 layer set-up from Bruno Deremble) |
82 |
|
to test pkg/cheapaml. |
83 |
|
o pkg/aim_v23 & pkg/shap_filt: |
84 |
|
- fix dissipation heating (erroneous gravity multiplication factor). |
85 |
|
o pkg/seaice: |
86 |
|
- remove unused field pressPre from jfnk solver |
87 |
|
- rename two subroutines in seaice_preconditioner.F |
88 |
|
o eesupp/src: |
89 |
|
- S/R MDSFINDUNIT avoids reserved unit numbers (scrUnit1, eeDataUnit ...) |
90 |
|
o pkg/seaice/seaice_preconditioner.F: fix preconditioner once again |
91 |
|
- remove wrong parts of the rhs and the lhs (were in there |
92 |
|
because I did not understand the concept of this preconditioner) |
93 |
|
- add an exchange between u- and v-sweep. This increases communication |
94 |
|
by a factor of two but improves the convergence of jfnk. Ideally, |
95 |
|
one would like the u- and v-sweep to be independent. So far within |
96 |
|
undocumented ifdefs |
97 |
|
- reorganize the extra computations for printing the residuals |
98 |
|
o tools/genmake2: |
99 |
|
- comment out the "mpif.h" include in NetCDF test programm (for MPI built) |
100 |
|
since it's not necessary (and was preventing to use MNC in some cases). |
101 |
|
|
102 |
|
checkpoint64a (2012/11/16) |
103 |
|
o pkg/autodiff: |
104 |
|
- improve pkg-internal logical parameter switch (inAd/inFwd mode) so that |
105 |
|
autodiff_readparms.F no longer depends on calling order (within |
106 |
|
packages_readparms.F) and no longer requires to include ${PKG}_PARMS.h): |
107 |
|
rename param turnFreeDriftInAdMode to SEAICEuseFREEDRIFTswitchInAd |
108 |
|
and change param SEAICEuseDYNAMICSinAdMode to SEAICEuseDYNAMICSswitchInAd. |
109 |
|
o pkg/obcs: |
110 |
|
- adding tidal velocity forcing capability to obcs |
111 |
|
for usage example, see verification/seaice_obcs/input.tides |
112 |
|
o pkg/seaice: |
113 |
|
- turn the LSR-relaxation parameters WFAU/V into runtime parameters |
114 |
|
SEAICE_LSRrelaxU/V |
115 |
|
- introduce runtime parameter SEAICEetaZmethod (=0 by default) |
116 |
|
o pkg/aim_v23: |
117 |
|
- implement heating from friction (bottom friction and stratospheric drag). |
118 |
|
o pkg/shap_filt: |
119 |
|
- fix diagnostic "SHAP_dKE" (was 2 time smaller); implement heating from |
120 |
|
dissipation but only for Shap_funct=2, active when addFrictionHeating=T. |
121 |
|
o model/src: |
122 |
|
- move AddMass common block from DYNVARS.h to FFIELDS.h; allow to read-in |
123 |
|
time-constant addMass field from file (addMassFile); |
124 |
|
- support for heating due to friction (and Kinetic Energy dissipation): |
125 |
|
add option, run-time switch and 3-D field array + support code ; each pkg |
126 |
|
or S/R can add heating contribution (if there is a sink of KE); the sum is |
127 |
|
accounted for as a Temperature tendency term (EXTERNAL_FORCING_T). |
128 |
|
o pkg/seaice: |
129 |
|
- complete merge of ITD code into seaice_growth.F |
130 |
|
from MITgcm_contrib/torge/itd/code/ |
131 |
|
no verification so far, but Torge Martin tested |
132 |
|
"1-D test case and Beaufort set up; |
133 |
|
deliver okay results after 1 model year." |
134 |
|
- complete merge of SEAICE_SIZE.h into all relevant routines |
135 |
|
- move computation of eta at Z-points into calc_viscosities |
136 |
|
+ introduce global field etaZ |
137 |
|
+ add different methods for computing etaZ, for now the old |
138 |
|
method (simple averages of eta to Z-points) is hardwired |
139 |
|
+ replace etaMeanZ by etaZ in seaice_lsr, seaice_calc_residual, |
140 |
|
seaice_preconditioner |
141 |
|
- simplify computations for SEAICE_ZETA_SMOOTHREG |
142 |
|
- seaice_preconditioner: |
143 |
|
+ replace one remaining press by pressLoc (mistake) |
144 |
|
+ adjust printing of residuals |
145 |
|
- improve I/O of diagnostics of JFNK in seaice_jfnk.F: |
146 |
|
+ add (SEAICE.h) and rename some counters (initiliased in |
147 |
|
seaice_init_fixed.F) |
148 |
|
+ add _BEGIN/END_MASTER (myThid) around print statements |
149 |
|
+ print total number of iterations and failures over SEAICE_monFreq |
150 |
|
interval to STDOUT |
151 |
|
- move control over output-messages by fgmres to seaice_jfnk to save |
152 |
|
some operations |
153 |
|
- move resetting initial guess for fgmres outside of seaice_fgmres_driver |
154 |
|
in order to make restarts with sol .ne. zero (fgmres with restarts) |
155 |
|
(seaice_jfnk.F, seaice_fgmres.F) |
156 |
|
- seaice_calc_l/rhs.F: replace maskW/S by maskInW/S; this fixes |
157 |
|
a serious convergence problem when open boundaries are involved |
158 |
|
o pkg/ggl90: fix computation of control volumes for the case of |
159 |
|
ALLOW_GGL90_HORIZDIFF (probably not used very often): move control volumes |
160 |
|
up half a grid cell from C-centered to W-centered (pointed out by C. Eden) |
161 |
|
o pkg/seaice: simplify seaice_evp by avoiding use of extra fields u/vIceC |
162 |
|
o pkg/autodiff |
163 |
|
- Add inAdMode switch for SEAICEuseDYNAMICS: |
164 |
|
SEAICEuseDYNAMICSinAdMode |
165 |
|
(extend logic in ADAUTODIFF_INADMODE_SET) |
166 |
|
o pkg/seaice |
167 |
|
- Step 1 of merging ice-thickness distribution (ITD) code from |
168 |
|
MITgcm_contrib/torge/itd/ (author: Torge Martin) |
169 |
|
The code implements concept laid out in Thorndike et al. (1975); |
170 |
|
code is enabled via CPP flag SEAICE_ITD |
171 |
|
nITD (in SEAICE_SIZE.h) defines number of ice thickness categories; |
172 |
|
code is not complete yet!! |
173 |
|
- SEAICE_SIZE.h now included in almost all seaice routines |
174 |
|
o verification (using seaice): |
175 |
|
- switch back seaice-dynamics (+ lower SOLV_MAX_ITERS) in ADM exp. |
176 |
|
global_ocean.cs32x15.seaice ; update results. |
177 |
|
- compile B-grid dynamics in FW test exp 1D_ocean_ice_column ; |
178 |
|
- compile C-grid dynamics with #define SEAICE_ALLOW_JFNK in FW test exp |
179 |
|
offline_exf_seaice (previously compiling B-grid). |
180 |
|
o pkg/exf: |
181 |
|
- fix some STOP conditions in exf_check.F (from Aug 28, modifs did not allow |
182 |
|
to specify neither just 1 comp of wind or wind-stress, nor no surface momentum |
183 |
|
forcing): just replace CPP option ALLOW_ATM_WIND with run-time param useAtmWind. |
184 |
|
o pkg/layers (adjust changes from Sept 19): |
185 |
|
- do snap-shot output and fill diagnostics from inside iLa loop (layers_calc.F) |
186 |
|
this allows to remove "layers_maxNum" dimension from all layers arrays. |
187 |
|
o pkg/layers (adjust changes from Sept 19): |
188 |
|
- remove ALLOW_LAYERS_OUTPUT ; fix snap-shot and time-ave output ; |
189 |
|
- snap-shot extended to all type of layers (not just the 1rst type); |
190 |
|
- remove layers variables when corresponding CPP option is undef. |
191 |
|
o pkg/layers: |
192 |
|
- rename pkg/layers variable and add new output (layer exist & un-weighted |
193 |
|
velocity in layer) |
194 |
|
o pkg/seaice: |
195 |
|
- simplify (?) ocean-drag coefficent computations by using |
196 |
|
the same routine in all three solvers (saves some code lines) |
197 |
|
- remove global fields DRAGA and DRAGS from C-grid code and |
198 |
|
declare them locally in lsr.F (the only place where they are |
199 |
|
still used) |
200 |
|
- update AD output of lab_sea.evp (very sensitive anyway). |
201 |
|
o pkg/seaice: add Jacobian-free Newton Krylov solver for ice dynamics |
202 |
|
(Lemieux et al. 2010, 2012). Turn on with the usual SEAICE_ALLOW_JFNK |
203 |
|
and SEAICEuseJFNK=.true. A few things to note: |
204 |
|
- involves a FGMRES, that is parallel but very inefficient, |
205 |
|
because of many scalar products (global sums) in the Gram-Schmidt |
206 |
|
orthogonalization method. Needs to be replaced. Original code |
207 |
|
from J.-F. Lemieux |
208 |
|
- preconditioner for FGMRES is a stripped down version of LSOR |
209 |
|
- SOLV_MAX_ITERS is now used for LSOR as a solver and as a |
210 |
|
preconditioner. For the preconditioner, the default is set to 10. |
211 |
|
- Jacobian times vector is computed with finite differences |
212 |
|
- marginally related to JFNK-solver: add a smooth regularization for |
213 |
|
zeta with tanh that will improve convergence (Lemieux and Tremblay, |
214 |
|
2009) for any implicit solver (not implemented for EVP because EVP |
215 |
|
does not need this regularization in the first place). Define |
216 |
|
SEAICE_ZETA_SMOOTHREG in SEAICE_OPTIONS.h to use. |
217 |
|
o eesupp/src: |
218 |
|
- check in genmake2 that intrinsic S/R flush is available. |
219 |
|
- add S/R to flush IO unit (if intrinsic S/R flush is available) |
220 |
|
- flush standard & error msg unit before MPI termination |
221 |
|
- if debugMode, flush IO unit after printing msg |
222 |
|
o pkg/ctrl: |
223 |
|
- ctrl_unpack.F, ALLOW_GENARR3D_CONTROL code: fix missing argument in call |
224 |
|
to ctrl_set_unpack_xyz. |
225 |
|
|
226 |
|
checkpoint64 (2012/10/09) |
227 |
|
o pkg/shelfice |
228 |
|
- in mom_fluxform.F, mom_vecinv.F: |
229 |
|
CALL SHELFICE_V_DRAG(bi,bj,k,vFld,KE,KappaRU,vF,myThid) |
230 |
|
Bug fix KappaRU -> KappaRV |
231 |
|
does not change verification/isomip but may change other setups |
232 |
|
(presumably constant KappaRU=KappaRV) |
233 |
|
- fix diagnostics SHIU/Vdrag (thanks to Tom Millgate) |
234 |
|
o pkg/obcs: |
235 |
|
- fixed some indexing bugs in obcs_seaice_sponge.F |
236 |
|
- added obcs relaxation subroutines for HSALT and HSNOW |
237 |
|
- changes verification/seaice_obcs/results/obcs_seaice_sponge.F |
238 |
|
o pkg/seaice: |
239 |
|
- add "multicategory" parameterization for snow in analogy to ice, |
240 |
|
default is off for now. |
241 |
|
o pkg/obcs: |
242 |
|
- added obcs_seaice_sponge.F for obcs relaxation of seaice variables; |
243 |
|
see verification/seaice_obcs/input.seaiceSponge for example application. |
244 |
|
- remove local commom bloc "OBCS_GLOBAL" in obcs_readparms.F and do all the OB |
245 |
|
index setting by master-thread. This fix multi-threads Pb in previous modifs. |
246 |
|
o pkg/layers : |
247 |
|
- add diagnostics to pkg/layers |
248 |
|
- move the meat of pkg/layers from layers_calc.F to layers_fluxcalc.F |
249 |
|
(from R.Tulloch). Layers_calc.F now calls layers_fluxcalc.F accordingly. |
250 |
|
o pkg/generic_advdiff/gad_implicit_r.F : |
251 |
|
- fix ADVr diagnostics in case of both implicit vertical advection and diffusion. |
252 |
|
o pkg/seaice/seaice_growth.F: |
253 |
|
- fix SItflux diagnostics in virtual salt flux + balanceEmpmr case. |
254 |
o pkg/obcs: |
o pkg/obcs: |
255 |
- change default setting of OBCS_UVICE_OLD from defined to undef; |
- change default setting of OBCS_UVICE_OLD from defined to undef; |
256 |
- use new parameter OB_indexNone for null index value (instead of hard-coded 0) |
- use new parameter OB_indexNone for null index value (instead of hard-coded 0) |