4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o make gluemnc/xplodemnc work with (moron) non-GNU shell tools |
8 |
|
|
9 |
|
checkpoint63d (2011/10/25) |
10 |
|
o pkg/obcs + seaice-dynamics: |
11 |
|
- new implementation calls OBCS_APPLY_UVICE (in seaice_dynsolver.F) before |
12 |
|
solving for uIce,vIce and prevent SEAICE_LSR or SEAICE_EVP to modify OB |
13 |
|
values (consistent with an implicit method). |
14 |
|
- add option OBCS_UVICE_OLD (in OBCS_OPTIONS.h, defined by default) to |
15 |
|
return to older implementation (same results as before); note that none of |
16 |
|
the "experimental" OBCS_SEAICE options are implemented in the new version. |
17 |
|
- switch test exp. seaice_obcs to use new version (update output). |
18 |
|
o pkg/seaice: |
19 |
|
- add few stop (B-grid & CS-exch, B-grid & obcs, AUTODIFF & SEAICE_maskRHS) |
20 |
|
- add parenthesis in Water-Ice drag calculations (evp & lsr); |
21 |
|
- in seaice_lsr.F, simplify and fix AA3 setting in case sNx or sNy=1; |
22 |
|
and fix case SEAICE_waterDrag=0 (but unstable if no or little seaice) |
23 |
|
- update output of test exp lab_sea that uses evp or lsr (fwd+ad) |
24 |
|
and global_ocean.cs32x15 (icedyn & seaice fwd+ad). |
25 |
|
o pkg/layers: |
26 |
|
- Include potential density as new coordinate (Thanks to David Munday) |
27 |
|
o pkg/dic: |
28 |
|
- Remove subroutine CALC_PCO2_APPROX_CO3 from carbon_chem.F and add |
29 |
|
carbonate computation/output to CALC_PCO2_APPROX |
30 |
|
o pkg/generic_advdiff |
31 |
|
- make TAF generate code that vectorizes: |
32 |
|
gad_dst3fl_adv_*.F, gad_u3c4_impl_r.F |
33 |
|
o model/src: |
34 |
|
- improve vectorization also for adjoint code of |
35 |
|
solve_tridiagonal and solve_pentadiagonal. As this requires up to |
36 |
|
5 new 3D-fields, this code is only turned on for the combination of |
37 |
|
ALLOW_AUTODIFF_TAMC and TARGET_NEC_SX. Also remove error message |
38 |
|
for singular matrix check (only for TARGET_NEC_SX). |
39 |
|
- remove hard-wiring of CPP-flag ALLOW_SOLVERS_KLOOPINSIDE to |
40 |
|
ALLOW_AUTODIFF. This flag now needs to be set outside of |
41 |
|
solve_tri/pentadiagonal.F |
42 |
|
o pkg/exf: |
43 |
|
- fix previous modif in exf_readparms.F (revision 1.66: treatment of |
44 |
|
optional namelist EXF_NML_OBCS). |
45 |
|
- add many debug-print (to trace down where pkg/cal error msg comes from) |
46 |
|
o pkg/mom_vecinv/mom_vi_hdissip.F |
47 |
|
- rearrange loops so that vectorization is improved and in particular |
48 |
|
the adjoint routine vectorizes. The code is a little longer now, but I |
49 |
|
think easier to read. |
50 |
|
Note: CPP-flag MOM_VI_ORIGINAL_VISCA4 is not tested. |
51 |
|
o pkg/seaice: |
52 |
|
- allow to specify initial seaice velocity from files (uIceFile,vIceFile) |
53 |
|
o pkg/exch2: |
54 |
|
- alternative code (without tile x tile matrix) for cumulated (global) sum; |
55 |
|
used as default; keep using matrix version in adjustment.cs-32x32x1. |
56 |
|
o tools/build_options: |
57 |
|
- after merging some MPI and/or multi-threads specific optfiles so that |
58 |
|
the modified default optfile support both built (using genmake2 -mpi |
59 |
|
for the MPI built, using genmake2 -omp for OpenMP built), |
60 |
|
move now obsolete optfiles to tools/build_options/unsupported/ |
61 |
|
(add copy of email sent to support list in doc/optfiles_changes.txt) |
62 |
|
|
63 |
|
checkpoint63c (2011/09/28) |
64 |
|
o pkg/ebm: |
65 |
|
- fix ebm_zonalmean.F for several procs in Ydir (nPy > 1); update output of |
66 |
|
test exp. global_ocean_ebm (affects machine truncation, 12 digits for cg2d) |
67 |
|
o pkg/seaice (SItracer pickup) |
68 |
|
* Simple code for pickup of SItracer fields (#define ALLOW_SITRACER) |
69 |
|
To be done: |
70 |
|
- thorough testing of missing fields in S/R seaice_read_pickup |
71 |
|
- thorough matching between generic tracers and specific fields used |
72 |
|
(e.g. volume-weighted age, area-weighted age, salinity, ...) |
73 |
|
o pkg/grdchk: |
74 |
|
- all procs calculate and print finite-difference gradient (for testreport) |
75 |
|
- change description output used by testreport; |
76 |
|
- AD testing: also compare and report Finite-difference gradient; |
77 |
|
=> update all output_adm*.txt |
78 |
|
o test exp. global_ocean_ebm: |
79 |
|
- switch back useRealFreshWaterFlux (no problem anymore with run-off); |
80 |
|
and turn on exactConserve; update (fwd) output. |
81 |
|
o pkg/seaice (LSR): |
82 |
|
- print to STDOUT number of solver iterations at SEAICE_monFreq interval. |
83 |
|
- modify solver to deal cleanly with u/v switch at face edges (CS-grid): |
84 |
|
* identical results with non-CS topology (but save up to half of EXCH calls) |
85 |
|
* no much changes in cs-32 verification tests since no ice at face edges |
86 |
|
(differences due to convergence criteria, since nb of iterations changed) |
87 |
|
* expect some differences on lat-lon-cap grid. |
88 |
|
update FWD results of global_ocean.cs32x15 test exp. (icedyn & seaice) |
89 |
|
o pkg/exch2: |
90 |
|
- add new CPP option to disable Cumul-Sum matrix (to save storage when using |
91 |
|
many tiles); until alternative coding is added, just add a stop. |
92 |
|
o pkg/kpp: |
93 |
|
- move ptracer/salt correction to KPP diffusivity from calc_3d_diffusivity.F |
94 |
|
to S/R KPP_CALC_DIFF_PTR (+ add tracer-index to argument list). |
95 |
|
o optfiles: |
96 |
|
- merged few MPI specific (*+mpi*) and multi-threads specific (*+mth) optfiles |
97 |
|
into corresponding standard one, which now support different build: |
98 |
|
(when using "genmake2 -mpi" for MPI built, "genmake2 -omp" for OpenMP built) |
99 |
|
- add "darwin_amd64_gfortran" optfile (initially from Constantinos, tested by Gael) |
100 |
|
o pkg/obcs (seaice): |
101 |
|
- add missing EXCH for uIce,vIce after applying OBCS; |
102 |
|
- remove S/R EXF_SWAPFFIELDS_X/Y , disable S/R EXF_SET_OBCS_X/Y by adding |
103 |
|
argument = number of levels to S/R EXF_SWAPFFIELDS_XZ/YZ and S/R |
104 |
|
EXF_SET_OBCS_XZ/YZ ; update obcs_exf_load.F; |
105 |
|
- fix EXF_SET_OBCS_XZ/YZ for multi-threaded (assuming loaded arrays are shared) |
106 |
|
- verification exp. seaice_obcs: split domain in 2 tiles ; add SIZE.h_mpi |
107 |
|
and eedata.mth for MPI and mutlti-threaded testing. |
108 |
|
o pkg/flt: |
109 |
|
- make FLT EXCH working with multi-threads (and MPI + multi-threads); |
110 |
|
- use buffer for floats IO (trajectories & profiles); size set in FLT_SIZE.h; |
111 |
|
- fix pickup and trajectories + profiles output with multi-threads; |
112 |
|
- add parameter to select group of fields to write along trajectory and |
113 |
|
profile (default unchanged); |
114 |
|
- only call PORT_RAND* function when flt_noise <> 0; |
115 |
|
- add multi-threaded test for verification exp. flt_example. |
116 |
|
o eesupp/src: |
117 |
|
- fix S/R ALL_PROC_DIE for MPI+multi-threads. |
118 |
|
- USE_OMP_THREADING: check that number of threads (from eedata) matches |
119 |
|
actual number (from env.var. setting). |
120 |
|
o pkg/ebm: |
121 |
|
- fix multi-threading in ebm_area_t.F ; clean-up EBM.h header file. |
122 |
|
- add multi-threaded test for verification exp. global_ocean_ebm |
123 |
|
|
124 |
|
checkpoint63b (2011/08/29) |
125 |
|
o pkg/ebm: |
126 |
|
- fix sign of runoff; |
127 |
|
- update directly forcing fields (Qnet,EmPmR) to use standard |
128 |
|
external_forcing_surf.F (remove ebm_forcing_surf.F); |
129 |
|
- avoid loading forcing fields a 2nd time (1rst time from ini_forcing.F); |
130 |
|
- set either tauThetaClimRelax (in data) or tauThetaZonRelax (in data.ebm) |
131 |
|
and apply relaxation towards corresponding SST field (2-D map or ZonAver). |
132 |
|
- update global_ocean_ebm parameters file data and update output (fwd+ad). |
133 |
|
o verification/matrix_example: |
134 |
|
- split domain in 8 tiles (2x4); add SIZE.h_mpi and eedata.mth for |
135 |
|
MPI and mutlti-threaded testing. |
136 |
|
o pkg/matrix: |
137 |
|
- change name of S/R MATRIX_INIT to S/R MATRIX_INIT_VARIA ; |
138 |
|
- fix for multi-tiles (add bi,bj indices to exp/impMatrixCounter); |
139 |
|
- fix for multi-threaded (remove DATA statement); |
140 |
|
- use standard DIFFERENT_MULTIPLE function; |
141 |
|
- add MATRIX_OPTIONS.h |
142 |
|
o verification/matrix_example: |
143 |
|
To allow to split the domain in several tiles, change the domain size |
144 |
|
from 31x31 to 32x32 by adding 1 row (on Southern side) + 1 column (on |
145 |
|
Western side) of land points. |
146 |
|
o (*_)write_pickup: |
147 |
|
- fix few bugs in mypackage_read/write_pickup.F |
148 |
|
- in MDS_WR_METAFILES calls, replace "myTime" by a local copy into |
149 |
|
array of length 1 (was caught by compiler syntax-check). |
150 |
|
o pkg/diagnostics (velocity potential solver): |
151 |
|
- fix initialisation of main diagonal matrix (for overlap values) |
152 |
|
o tools/build_options: |
153 |
|
- towards single optfile for MPI and non-MPI built: merge few +mpi optfile |
154 |
|
into previously non MPI one (linux_am64 pgf77,open64,pathf90,ifort11) |
155 |
|
- linux_amd64_gfortran: merge +mpi_generic version into standard optfile: |
156 |
|
* move IEEE flags to DEVEL section; take IEEE flags from +mpi_generic ; |
157 |
|
* FAST case: for now, keep -O3 with ini_masks_etc.F in NOOPTFILES list; |
158 |
|
and use "-devel" testreport option for standard testing on baudelaire. |
159 |
|
o pkg/grdchk: |
160 |
|
- Assume that all gradient-check position are within the same tile |
161 |
|
corresponding to global indices (iGloTile,jGloTile) and that |
162 |
|
positions (i,j indices or nbeg) are local to this tile; |
163 |
|
- set tile local-indices and proc. number according to tile global-indices; |
164 |
|
- remove grdchkwhichproc from namelist (retired param); |
165 |
|
- send adjoint gradient to all procs so that all procs print it to STDOUT; |
166 |
|
- switch on MPI test for global_ocean.90x40x15 AD test experiment. |
167 |
|
o adding package bbl (Bottom Boundary Layer) |
168 |
|
description in MITgcm/pkg/bbl/bbl_description.tex |
169 |
|
example/test experiment in MITgcm_contrib/bbl |
170 |
|
o adjoint verifications |
171 |
|
- changed 5 experiments to multi-tiles |
172 |
|
* global_ocean.90x40x15 |
173 |
|
* obcs_ctrl |
174 |
|
* offline_exf_seaice |
175 |
|
* tutorial_dic_adjoffline |
176 |
|
* tutorial_tracer_adjsens |
177 |
|
changed reference output for those that crossed tile boundaries |
178 |
|
(changed choices of gradient check positions) |
179 |
|
- with same tiling, switch on MPI test for the last 4 (add SIZE.h_mpi) |
180 |
|
- temporary bug fix in grdchk_loc.F for obcs |
181 |
|
o genmake2 & testreport |
182 |
|
- add target "obj" (just for OBJFILES files) to Makefile; |
183 |
|
- add option to specify FEXTRAFLAGS on command line. |
184 |
|
o pkg/mypackage: |
185 |
|
- remove bi,bj arguments from argument list of S/R MYPACKAGE_CALC_RHS |
186 |
|
|
187 |
|
checkpoint63a (2011/08/02) |
188 |
|
o pkg/diagnostics (velocity potential): |
189 |
|
- fix velocity-potential calculation when using OBCS: balance net inflow |
190 |
|
at each level (new S/R OBCS_DIAG_BALANCE). |
191 |
|
- fix some of the problems with OBCS in stream-function calculation. |
192 |
|
o pkg/exf/exf_readparms.F |
193 |
|
- make treatment of optional namelists (EXF_NML_04, EXF_NML_SGRUNOFF, |
194 |
|
EXF_NML_OBCS) more consistent, so that you need not have these lists |
195 |
|
in data.exf when they are not used. |
196 |
|
o optim/optim_readdata.F: |
197 |
|
- add some output about obcs variables that might help debugging |
198 |
|
- add a check about nvarlength |
199 |
|
o pkg/ctrl: once again, fix computation of endrec in s/r ctrl_init_rec |
200 |
|
o pkg/diagnostics (velocity potential): |
201 |
|
- fix mask for OBCS (still problems in stream-function with OBCS); |
202 |
|
- add specific parameter (default = main code CG2D params) for solver; |
203 |
|
- in case of poor convergence, use solution corresponding to lowest residual. |
204 |
|
o pkg/seaice/seaice_growth.F: small changes that permit vectorizable |
205 |
|
adjoint code. In general statements like tmpscal=fld(i,j) are problematic |
206 |
|
and should be avoided where possible. |
207 |
|
o model/src (rStar): |
208 |
|
- include r* effect on reference-state (PhiRef) in totPhiHyd |
209 |
|
(so that it's really the potential anomaly at the cell center); |
210 |
|
affect solution only if z* with full pressure in EOS. |
211 |
|
- test-exp global_ocean.90x40x15: reduce viscA4 (was not stable) and |
212 |
|
update output (because of z* in totPhiHyd and viscA4 changes); |
213 |
|
- keep the previous diagnostics as "PHIHYDcR" (closer to potential anomaly |
214 |
|
@ constant r) until interpolation at constant r is implemented. |
215 |
|
o pkg/diagnostics |
216 |
|
- fix RCENTER diagnostics in case cell center is not at interface middle |
217 |
|
o add code for TEOS-10 (www.teos-10.org, McDougall et al. 2011). Use |
218 |
|
this eos with eosType = 'TEOS10', in data (PARM01). This eos implies |
219 |
|
that THETA and SALT are "conservative temperature" and "absolute |
220 |
|
salinity" |
221 |
|
o pkg/ctrl |
222 |
|
- fix computation of endrec in s/r ctrl_init_rec |
223 |
|
- ctrl_pack/unpack_*: remove unused variables and some obsolete code |
224 |
|
o pkg/seaice/seaice_growth.F |
225 |
|
- fix recomputation with FENTY_AREA_EXPANSION_CONTRACTION code, |
226 |
|
remove then obsolete STORE directives |
227 |
|
- fix STORE directives for tice and tices, so that only the |
228 |
|
appropriate part of the fields are stored (and not the entire |
229 |
|
field); update global_ocean.cs32x15.seaice AD output. |
230 |
|
- cosmetic changes: adjust CPP flags and indentation for better |
231 |
|
legibilty |
232 |
|
o pkg/autodiff: add mnc-output of adBottomDragFld (code contributed by |
233 |
|
Chris Wilson) |
234 |
|
o pkg/gmredi: |
235 |
|
Add Sub-Meso Eddies parameterisation from Baylor (for now, disabled with TAF), |
236 |
|
and test it in verification exp. "front_relax.bvp" (update output.bvp.txt) |
237 |
|
|
238 |
|
checkpoint63 (2011/07/11) |
239 |
|
o pkg/exch2: |
240 |
|
- rename+move: nTiles in W2_EXCH2_PARAMS.h --> exch2_nTiles in W2_EXCH2_TOPOLOGY.h |
241 |
|
- exch2 version of Cumul-Sum routine: S/R W2_SET_MAP_CUMSUM set up the |
242 |
|
(2*nTiles)x(nTiles) Cumul-Sum matrix and Master Proc collects all tiles X,Y |
243 |
|
increments, calculates Cumul-Sum @ tile origin and sends results to each tile. |
244 |
|
o pkg/diagnostics: |
245 |
|
- deal with pairs of post-processed diags which are computed together; in |
246 |
|
particular, re-order list of diags within 1 file to save 2nd computation. |
247 |
|
- add S/R to compute velocity stream-function (called after velocity-potential |
248 |
|
calculation) from divergence free transport -> new diagnostics "PsiVEL". |
249 |
|
- add parameter to select grid-point location where PsiVEL == 0. |
250 |
|
o eesupp/src: |
251 |
|
new S/R to calculate cumulated sum on tiled array, corner grid-cell location |
252 |
|
(specific S/R needed with exch2 topology - for now, just print an error msg) |
253 |
|
o pkg/shelfice |
254 |
|
- Implement friction velocity-dependent transfer coefficients following |
255 |
|
Holland and Jenkins, JPO, 1999 |
256 |
|
Original code by M. Losch with small modifs. |
257 |
|
Enable with CPP option SHI_ALLOW_GAMMAFRICT |
258 |
|
and runtime flag SHELFICEuseGammaFrict |
259 |
|
o verification lab_sea & global_ocean.cs32x15: |
260 |
|
- use tools/xmakedepend (instead of cyrus_makedepend, in genmake_local): |
261 |
|
does not miss some dependencies (but is slower) and also works with many files |
262 |
|
(default makedepend limitation for AD built). |
263 |
|
- use cyrus_makedepend in adjustment.128x64x1 (so that it still tested). |
264 |
|
o pkg/diagnostics: |
265 |
|
- add run-time parameter "useMissingValue" (def=False) to fill land-point |
266 |
|
(i.e., where mask=0) with MissingValue ; used only in MNC output file. |
267 |
|
This replaces CPP-option DIAGNOSTICS_MISSING_VALUE. |
268 |
|
- Extend the use of "missing_value" setting from data.diagnostics for the case |
269 |
|
of counter-diagnostics (where fraction-weight is zero). This applies both to |
270 |
|
MNC and MDS output files. |
271 |
|
o pkg/seaice/seaice_growth.F: |
272 |
|
- add 'a priori' cap of latent heat flux based on actual mass considerations |
273 |
|
when SEAICE_ADD_SUBLIMATION_TO_FWBUDGET is used in conjunction with the |
274 |
|
non-legacy seaice_solve4temp. |
275 |
|
- add diagnostic of the residual sublimation freshwater flux (the freshwater |
276 |
|
flux taken from the ocean if the total actual latent heat fluxes exceed |
277 |
|
the maximum) |
278 |
|
- remove the CPP switch around the *_FWbySublim unit change and move diagnostic |
279 |
|
fill for SIatmQnt, SIfwSubl, SIatmFW to the end of seaice_growth.F. |
280 |
|
- add diagnostic of the actual sublimation freshwater flux (that is 0. ifndef |
281 |
|
SEAICE_ADD_SUBLIMATION_TO_FWBUDGET) and of the latent heat flux (evap+sublim). |
282 |
|
- bug fix : frWtrAtm needs a_FWbySublim ifdef SEAICE_ADD_SUBLIMATION_TO_FWBUDGET. |
283 |
|
- bug fix : missing part to Martin's r_FWbySublim pathological case fix. |
284 |
|
o verification 1D_ocean_ice_column: |
285 |
|
made model domain truly 1x1x23 instead of 5x5x23 with only center cell (3,3,:) wet |
286 |
|
update results |
287 |
|
o pkg/diagnostics: |
288 |
|
- Implement setting of "Post-Processed" diagnostics (corresponding to gdiag(5)='P') |
289 |
|
which are not filled-up but computed from other diags ; In this case, the mate |
290 |
|
diag points to the primary (filled-up) diag to used for post processing. |
291 |
|
- Update Velocity-potential computation using post-processed diag framework. |
292 |
|
==> Change the ordering of fields and time-periods in MDS output file |
293 |
|
when using periodic averaging: now writes one time record with the full set |
294 |
|
of fields for this time period, then the next time reccord (it used to be |
295 |
|
one field with the full set of time records then the next field). |
296 |
|
Note: this is now similar to NetCDF (MNC) output file. <== |
297 |
|
|
298 |
|
checkpoint62z (2011/06/21) |
299 |
|
o adjoint monitor: |
300 |
|
- Add adjoint monitor output for packages exf, seaice |
301 |
|
and update relevant testreport output |
302 |
|
o pkg/seaice: |
303 |
|
- re-order diags inits so that they appear in order in available_diagnostics.log |
304 |
|
- added diags: hsnow thermo. rates of change, area preceeding ridiging process, |
305 |
|
area/heff/hsnow preceeding thermodynamic growth/melt. |
306 |
|
- modified diag: SIdA; output actual effect, as the description states. |
307 |
|
- modified description: SIqneti, SIqneto, SIuheff, SIvheff, SIdAb*, HSNOW. |
308 |
|
- retired redundant diags: SIyneg, SIfice, SIsnwice, SIthdgrh. |
309 |
|
(SIyneg->SIdHbOCN; SIfice->SIdHbATC; SIsnwice->SIdHbFLO; |
310 |
|
and SIthdgrh->SIdHbOCN+SIdHbATC+SIdHbATO) |
311 |
|
- modified diags (2) : switch all SIdA*, SIdH*, SIdS* from delta to rates. |
312 |
|
- added diagnostics for seaice generic tracers (SItr*). |
313 |
|
- added SItrUnit and SItrNameLong run time param (for SItr* diags). |
314 |
|
- in diag names, replaced 'PrTh' abbrev. of 'preceeding thermo' with 'PT'. |
315 |
|
I. Fenty: 18-Jun-2011: |
316 |
|
Minor changes to seaice package: |
317 |
|
1) Retired old variables (A22, SEAICE_lhsublim, areaMax, areaMin, hiceMin) and |
318 |
|
added some new ones (SEAICE_area_reg, SEAICE_hice_reg, SEAICE_area_floor) |
319 |
|
- Differentiated "regularization variables" from "floor variables" |
320 |
|
* areaMin became SEAICE_area_reg (old A22) and SEAICE_area_floor |
321 |
|
* hiceMin became SEAICE_hice_reg (old hiceMin) |
322 |
|
(with _reg meaning regularization variable) |
323 |
|
- SEAICE_lhSublim becomes lhSublim, the sum of SEAICE_lhEvap and SEAICE_lhFusion |
324 |
|
so as to ensure energy conservation when going between phases |
325 |
|
- A22 was not used anywhere |
326 |
|
2) Changed regularization procedure for heffActual and hsnowActual to ensure |
327 |
|
well-boundedness and smooth adjoint in seaice_growth.F |
328 |
|
3) Fixed a bug where seaice_solve4temp would not recognize ice-free grid cells |
329 |
|
because the old regularization always set heffActual >= 0.05 cm |
330 |
|
4) Changed the model so that the default behavior is to put a small (10^-5) "floor" |
331 |
|
on AREA when HEFF > 0. |
332 |
|
- went from requiring ALLOW_PRECLUDE_INFINITESIMAL_AREA to be defined to |
333 |
|
requiring that DISABLE_AREA_FLOOR *not* be defined |
334 |
|
Affected verifications: |
335 |
|
- 1D_ocean_ice_column (output.txt output_adm.txt) |
336 |
|
- global_ocean.cs32x15 (output.seaice.txt output_adm.seaice.txt) |
337 |
|
o pkg/diagnostics: |
338 |
|
- move MNC code from diagnostics_out.F into new diagnostics_mnc_out.F (2 S/R). |
339 |
|
- rename S/R GETDIAG to DIAGNOSTICS_GET_DIAG and change type of 1rst argument |
340 |
|
(was _RL, now integer) with option = 0 to retrieve all levels. |
341 |
|
- add pieces of code to compute velocity potential at each level (new diagnostics |
342 |
|
PhiVEL, works only when UVELMASS & VVELMASS are also turned on); |
343 |
|
for now, using same params as CG2D (target-resisual, max Nb of iter ...). |
344 |
|
- fix few issues with counter diagnostics in diagnostics_setdiag.F & |
345 |
|
diagstats_setdiag.F (if diagnostic counter is itself a counter diag) |
346 |
|
and in diagnostics_fract_fill.F (do not need a valid pointer for the |
347 |
|
diagnostics counter-mate); check that definition of counter-diagnostic |
348 |
|
includes a valid counter-mate (in diagnostics_set_levels.F). |
349 |
|
o model/src (rStar): |
350 |
|
- add rStar scaling factor in diags_phi_hyd.F (similar to calc_grad_phi_hyd.F); |
351 |
|
affect solution only if z* with full pressure in EOS; |
352 |
|
update output of test-exp global_ocean.90x40x15. |
353 |
|
o pkg/seaice: |
354 |
|
- introduce siEps=1e-5 parameter |
355 |
|
- use areaMax in AREA update (part 4), consistent with ridging step (part 2.5). |
356 |
|
- re-organize SEAICE_ADD_SUBLIMATION_TO_FWBUDGET code. |
357 |
|
- introduce ALLOW_SITRACER and seaice_tracer_phys.F to handle generic seaice tracer. |
358 |
|
For now it covers, and was tested for, ice salinity and age (attached to HEFF), |
359 |
|
as well as ice cover age and ridging index (attached to AREA). |
360 |
|
For now the run time parameters (in data.seaice/SEAICE_PARM03) are |
361 |
|
SItrName (e.g. 'age') and SItrMate ('HEFF', which is the default, or 'AREA'). |
362 |
|
Up to SItrMaxNum=3 tracers can be used simultaneously. |
363 |
|
o pkg/salt_plume: |
364 |
|
-introduce SPsalFRAC run time parameter that sets the fraction of the |
365 |
|
salt by-product of ice growth (SPsalFRAC*(1-SIsalFRAC)*salt typically) |
366 |
|
that gets vertically redistributed (fluxed down) by pkg/salt_plume. |
367 |
|
o model debug options: |
368 |
|
- Switch reading of debugMode from S/R INI_PARMS (parameter file "data", stored |
369 |
|
in PARAMS.h) to S/R EESET_PARMS (parameter file "eedata", stored in EEPARAMS.h). |
370 |
|
- Refine debug-msg printing selection (3 new levels): |
371 |
|
debugMode : controls printing of debug messages (sequence of S/R calls). |
372 |
|
debugLevel : controls printing of algorithm-relevant auxiliary/debug messages |
373 |
|
debLevZero = 0 ; /* level of disabled aux. msg printing */ |
374 |
|
debLevA = 1 ; /* level of minimum aux. msg printing */ |
375 |
|
debLevB = 2 ; /* level of low aux. print (report read-file opening)*/ |
376 |
|
debLevC = 3 ; /* level of moderate debug prt (most pkgs debug msg) */ |
377 |
|
debLevD = 4 ; /* level of enhanced debug prt (add DEBUG_STATS prt) */ |
378 |
|
debLevE = 5 ; /* level of extensive debug printing */ |
379 |
|
New debugLevel default: with default debugMode value (=F), |
380 |
|
= 2 (debLevB) or = 1 (debLevA) in case ALLOW_AUTODIFF is defined.; |
381 |
|
and if debugMode=T, default debugLevel = 4 (debLevD). |
382 |
|
Relation with previous settings: |
383 |
|
debLevB (=2) corresponds to former debLevA (=1) |
384 |
|
debLevD (=4) corresponds to former debLevB (=2) |
385 |
|
Note: |
386 |
|
a) if debugLevel=0, skip WRITE_GRID call when nIter0 > 0 (same as before); |
387 |
|
b) default debugLevel=1 is convenient in AD runs (avoid many file opening msgs); |
388 |
|
to recover previous default, set debugLevel=2 (e.g. AD-test hs94.1x64x5) |
389 |
|
- Add new parameter (printResidualFreq, read from PARM02 namelist) to print |
390 |
|
detailed CG solvers convergence; off (=0) by default, except if debugLevel=5. |
391 |
|
o pkg/obcs: |
392 |
|
- change OBCSfixTopo default from True to False (should not change the results); |
393 |
|
keep OBCSfixTopo=T in verification-exp. seaice_obcs. |
394 |
|
o pkg/thsice: |
395 |
|
- fix bug in thsice_calc_thickn.F (was introduced in version 1.18) in |
396 |
|
2nd layer seaice sublimation (unlikely to happen) |
397 |
|
- use Interior mask for OBCS in thsice_advection.F (similar to what is |
398 |
|
done in gad_advection & seaice_advection). |
399 |
|
o adjoint: |
400 |
|
bug fix spotted by Gael Forget: |
401 |
|
seaice_advection and thsice_advection still had |
402 |
|
legacy CPP options to avoid CS corner updates for adjoint |
403 |
|
o pkg/seaice: |
404 |
|
=> Change some of the defaults (2011/05/29): |
405 |
|
- change SEAICEuseFluxForm default (from False to True) |
406 |
|
- change DIFF1 default (from 0.004 m/s to 0. m/s) |
407 |
|
And print warnings if DIFF1 is not set in data.seaice and centered |
408 |
|
avection scheme is used without any diffusion. |
409 |
|
also: |
410 |
|
- fix seaice_diffusion calls in default AdvScheme part of seaice_advdiff.F; |
411 |
|
- set SEAICEdiffKh[] default in the same way as SEAICEadvSch[] |
412 |
|
- stop if DIFF1<>0 with SEAICEadvScheme <> 2, if DIFF1<>0 with any |
413 |
|
other non-zero SEAICEdiffKh[] diffusivity, if SEAICEadvSalt=T with |
414 |
|
#undef SEAICE_VARIABLE_SALINITY, if SEAICEadvAge=T with #undef SEAICE_AGE. |
415 |
|
update results of test exp.: |
416 |
|
lab_sea: output.fd (switch to AdvScheme=33 with diffKh=20) |
417 |
|
output.hb87, output_adm.evp (SEAICEuseFluxForm=T and diffKh=200) |
418 |
|
output_adm.noseaicedyn (SEAICEuseFluxForm=T) |
419 |
|
offline_exf_seaice: output.seaicetd, output_adm (SEAICEuseFluxForm=T) |
420 |
|
seaice_obcs: output (SEAICEuseFluxForm=T) |
421 |
|
and prescribe old default for SEAICEuseFluxForm (=F) and DIFF1 (=0.004) |
422 |
|
for standard fwd & AD lab_sea tests (to keep the same output). |
423 |
|
o pkg/seaice/seaice_growth.F: |
424 |
|
- use Ian Fenty's capping formulas for actual ice |
425 |
|
thickness thoughout EVOLUTION branch. |
426 |
|
- put treatment pathological case #2) in CPP brackets |
427 |
|
(ALLOW_AVOID_INFINITESIMAL_AREA, undef by default). |
428 |
|
- update global_ocean.cs32x15 and 1D_ocean_ice_colum results accordingly. |
429 |
|
o pkg/seaice: |
430 |
|
- seaice_diffusion.F : remove the min(DX,DY) factor permanently; |
431 |
|
pass the Laplacian diffusivity (in m^2/s) diffKh as a parameter; |
432 |
|
also pass fac as a param, which can be 1. (to update the tendency |
433 |
|
field) or the time step (to update the field itself). |
434 |
|
- seaice_advdiff.F: for multidim, call seaice_diffusion with |
435 |
|
e.g. SEAICEdiffKhHeff and with fac=1; for single-dim, call |
436 |
|
seaice_diffusion with e.g. SEAICEdiffKhHeff and with fac=time step. |
437 |
|
- SEAICE_PARAMS.h, seaice_readparms.F, seaice_check.F : |
438 |
|
hooks to handle SEAICEdiffKhHeff, SEAICEdiffKhArea, etc. |
439 |
o pkg/seaice: |
o pkg/seaice: |
440 |
diffusion with centered advection scheme (diffus.F & advect.F): |
diffusion with centered advection scheme (diffus.F & advect.F): |
441 |
- simplify S/R DIFFUS (put deltaT & DIFF1 factor outside, move EXCH outside) |
- simplify S/R DIFFUS (put deltaT & DIFF1 factor outside, move EXCH outside) |