4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o model/src: |
8 |
|
useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in |
9 |
|
external_forcing_surf.F and apply mask directly in S/R SOLVE_FOR_PRESSURE. |
10 |
|
o pkg/obcs: |
11 |
|
modify Stevens boundary conditions so that S/R obcs_calc_stevens computes |
12 |
|
tendency for temperature and salinity that is then applied to update |
13 |
|
theta and salt in S/R obcs_apply_ts; this requires proper masking of all |
14 |
|
horizontal advection and diffusion contributions on the boundary (in |
15 |
|
S/Rs gad_advection, gad_calc_rhs, gmredi_rtransport, gmredi_calc_diff), and |
16 |
|
removing the mask in S/R timestep_tracer. The advantage of this approach is |
17 |
|
that the updated tracer values include contributions from the surface |
18 |
|
forcing and vertical diffusion. |
19 |
|
This modification changes exp4.stevens because of vertical diffusion. |
20 |
|
o model/src: |
21 |
|
change non-curvilinear grid setting to also work with exch2 + blank tiles: |
22 |
|
- move delX,delY to new header file (SET_GRID.h) and adjust length to 1rst |
23 |
|
face dimensions. |
24 |
|
- new S/R INI_LOCAL_GRID to define model tile-local grid (using same units |
25 |
|
as delX,delY) and called from S/R INI_CARTESIAN_GRID, INI_CYLINDER_GRID |
26 |
|
and INI_SPHERICAL_POLAR_GRID. |
27 |
|
change test-experiment global_ocean.90x40x15: |
28 |
|
- split the domain in many more tiles (9x4 tiles of 10x10 each); |
29 |
|
- switch to exch2 and remove 1 blank-tile (but only for MPI test). |
30 |
|
- update results of both test (std & dwnslp). |
31 |
|
o pkg/diagnostics/diagstat_calc.F: fix problem with non-initialised halos in |
32 |
|
tmp-fields for TARGET_NEC_SX at the cost of extra loops and less vectorisation |
33 |
|
o model/src: |
34 |
|
- take sigma-coords related code out of update_etah.F into new S/R UPDATE_ETAWS |
35 |
|
and fix initialisation when using sigma-coords. |
36 |
|
o model/src: |
37 |
|
- improve Gael's changes from Jan 14, 2011 "addition of an 'update' of hfacc etc. |
38 |
|
to their current value at the beginning of forward_step.F": add a new run-time |
39 |
|
switch "doResetHFactors" (default=false) and use it to do (or not) the resetting. |
40 |
|
- set doResetHFactors=T in the following test exp: |
41 |
|
global_ocean.90x40x15/input (rStar) & input.dwnslp (linFS), |
42 |
|
global_ocean.cs32x15/input.seaice (rStar), hs94.cs-32x32x5/input.impIGW (linFS) |
43 |
|
and tutorial_global_oce_in_p (nonLinFS in p) |
44 |
|
o pkg/ecco |
45 |
|
- added IES cost term |
46 |
|
o verification/advect_xz |
47 |
|
- scale down the depth by 1/100 (from 200 km to just 2.km) |
48 |
|
- add secondary test using divergent flow, r-star and implicit vertical advection. |
49 |
|
- add note (check_conserve_TS.txt) and matlab script to check global |
50 |
|
conservation of T & S with NonLin-FreeSurf and Adams-Bashforth. |
51 |
|
o pkg/rbcs: |
52 |
|
- add missing relaxUFile & relaxVFile in namelist (in rbcs_readparms.F). |
53 |
|
o pkg/obcs (Stevens BCs): |
54 |
|
- fix various problems in the phase speed computations of the Stevens |
55 |
|
boundary conditions: |
56 |
|
- sign error for western and southern boundaries, |
57 |
|
- time tendencies were underestimated by factor of dTracerLev and some just |
58 |
|
zero (for multidim advection schemes) -> now estimate time tendencies |
59 |
|
from difference between previous (n) time level and the one before (n-1); |
60 |
|
this requires storing a field per tracer per boundary, also in the pickup |
61 |
|
files. |
62 |
|
- replace deltaTmom in cflMer/Zon computation with dTracerLev |
63 |
|
- set default phase velocity to cflMer/Zon |
64 |
|
- update verification experiment exp4.stevens |
65 |
|
o pkg/generic_advdiff (implicit_r): |
66 |
|
- fix implicit vertical advection conservation with AB and/or NonLin-FreeSurf |
67 |
|
(remove Tr*d/dz(w) in gad_implicit_r.F and add it in gad_calc_rhs.F); |
68 |
|
- fix implicit vertical diffusion or advection with NonLin FreeSurf |
69 |
|
(was using current recip_hFacC instead of future recip_hFacC): set future |
70 |
|
recip_hFac in thermodynamics.F and pass & use it in all vertical implicit |
71 |
|
solver S/R ; |
72 |
|
- fill diagnostics of vertical advective fluxes (computed from tendency) |
73 |
|
when using implicit vert. advection; |
74 |
|
- update output of exp that uses NonLin-FreeSurf & implicit vertical diffusion: |
75 |
|
global_ocean.90x40x15 (fwd+AD), global_ocean.cs32x15 (4 fwd +4 AD), |
76 |
|
tutorial_global_oce_in_p (fwd), tutorial_tracer_adjsens (AD) |
77 |
|
and cpl_aim+ocn (used in ocean); to be fixed: bottom_ctrl_5x5. |
78 |
|
o pkg/diagnostics: |
79 |
|
- add diags for T & S tendency which goes through Adams-Bashforth. |
80 |
|
|
81 |
|
checkpoint63f (2011/11/30) |
82 |
|
o pkg/obcs/obcs_calc_stevens.F: |
83 |
|
- join some loops to reduce number of if-statements |
84 |
|
- fix a bug in code for northern and southern boundaries. |
85 |
|
o pkg/seaice/seaice_init_varia.F |
86 |
|
- undo resetting UVM=0 that has slipped in unnoticed in r1.49 and |
87 |
|
caused zero ice-velocities for the B-grid code |
88 |
|
o pkg/seaice/seaice_init_fixed.F |
89 |
|
- fix a bug in the initialisation of the second metric terms |
90 |
|
k2AtC and k2AtZ: k2AtC was set to the value of k2AtZ and k2AtZ was 0. |
91 |
|
- this affects all seaice configurations with useCurviLinearGrid = .true. |
92 |
|
and SEAICEuseDynamics = .true. (default) and SEAICEuseMetricTerms |
93 |
|
= .true. (default) |
94 |
|
- the only verification experiment affected is global_ocean.cs32x15: |
95 |
|
icedyn, seaice, and seaice_dynmix (AD) |
96 |
|
o pkg/thsice/thsice_diagnostics_state.F |
97 |
|
- only for TARGET_NEC_SX: initialise all of tmpFld, so that overlap does |
98 |
|
not contain garbage that can lead to surprises in diagstats_calc.F |
99 |
|
o model/src: |
100 |
|
- move bi,bj loops inside INTEGR_CONTINUITY ; |
101 |
|
- call INTEGR_CONTINUITY directly from forward_step.F |
102 |
|
(previously called from momentum_correction_step.F) |
103 |
|
- call UPDATE_ETAH from integr_continuity.F and update initialise_varia.F, |
104 |
|
forward_step.F and pkg/ecco/the_main_loop.F |
105 |
|
o model/src/do_oceanic_phys.F: |
106 |
|
- reset addMass to zero only if useICEFRONT ; |
107 |
|
- separated k-loop for rhoInSitu calculation ; |
108 |
|
- add 2 diagnostics for wVel*delta^k(Rho) at constant pressure (= WdRHO_P) |
109 |
|
and at constant T,S (= WdRHOdP); |
110 |
|
NOTE: change diagnostics WRHOMASS : this is now simply the Vertical transport |
111 |
|
of In-Situ Density (Anomaly) (=wVel*rho^bar-k) (previously was Vertical |
112 |
|
transport of locally-referenced potential density); |
113 |
|
to recover old diag: (WRHOMASS)_old = (WRHOMASS)_new -1/2 * (WdRHOdP) |
114 |
|
o gluemnc: |
115 |
|
- replace ncrcat with ncks when adding variables to *.glob.nc |
116 |
|
- change the way variables without record dimensions are handled so that |
117 |
|
files that have variables with and without record variables can be glued: |
118 |
|
add a record dimension with a new unique name to be able to differentiate |
119 |
|
between variable with and without a-prior record dimensions. Remove |
120 |
|
this record dimension before adding the variable to the *.glob.nc file. |
121 |
|
This procedure automatically works also for grid.*.nc files that do not |
122 |
|
have any record dimension. |
123 |
|
o verification/cpl_aim+ocn: |
124 |
|
- generate new reference output on baudelaire (gfortran, mpich2) (previously |
125 |
|
from old aces-grid cluster, ao + ifort) and update 'run_cpl_test' script. |
126 |
|
o pkg/obcs/obcs_calc_stevens.F: |
127 |
|
- add code for northern and southern boundaries. |
128 |
|
- reorder some loops to save some operations and so that drFBar can be scalar |
129 |
|
o model/src: |
130 |
|
- re-arrange extrapolation calculation in Adams-Bashforth S/R (affects machine |
131 |
|
truncation) and add diagnostics for Adams-Bashforth tendency increment. |
132 |
|
- update test-exp. AD output: |
133 |
|
1D_ocean_ice_column, bottom_ctrl_5x5, lab_sea.noseaicedyn, obcs_ctrl; |
134 |
|
and FWD output: exp4 (x3), fizhi-cs-32x32x40, fizhi-cs-aqualev20, |
135 |
|
front_relax (x3), global_ocean.90x40x15 (x2), global_ocean.cs32x15 (x5), |
136 |
|
global_ocean_ebm, ideal_2D_oce, internal_wave, isomip (x3), lab_sea (x4), |
137 |
|
matrix_example, MLAdjust (x5), natl_box (x2), tutorial_advection_in_gyre, |
138 |
|
tutorial_global_oce_in_p, tutorial_global_oce_latlon and |
139 |
|
tutorial_plume_on_slope. |
140 |
|
o pkg/diagnostics/diagstats_calc.F: add special code for TARGET_NEC_SX |
141 |
|
that vectorises. This code uses 3 extra 2D fields, F90 array assignments |
142 |
|
and F90 intrinsic routines SUM, MINVAL, MAXVAL, but since TARGET_NEC_SX |
143 |
|
does not even come with an F77 compiler anymore, this should not be |
144 |
|
a limitation |
145 |
|
|
146 |
|
checkpoint63e (2011/11/06) |
147 |
|
o pkg/seaice adjoint of LSR: |
148 |
|
- substantially rework STORE dirs. |
149 |
|
- add new flag SEAICE_LSR_ADJOINT_ITER and parameter SOLV_MAX_FIXED |
150 |
|
this flag will do SOLV_MAX_ITERS but only store SOLV_MAX_FIXED fields |
151 |
|
and only perform SOLV_MAX_FIXED adjoint iters. |
152 |
|
If flag SEAICE_LSR_ADJOINT_ITER is undef-ined, the store in the iteration |
153 |
|
always goes to same record, meaning that the last forward field will be |
154 |
|
the one used in the adjoint - an approximation. |
155 |
|
- now produces non-zero LSR-related gradients, and acceptable gradients for |
156 |
|
An's zonal (x-z) test case (to be checked in) |
157 |
|
- lab_sea: produces acceptable gradients for lab_sea with forward/backward LSR |
158 |
|
(but these are screwed up by the thermodynamics in the first place); |
159 |
|
reduce from 4 to 3 timesteps to avoid t.d. issue as temporary solution; |
160 |
|
output_adm.txt also reflects changes to seaice_lsr |
161 |
|
- global_ocean.cs32x15: |
162 |
|
* the "default" input_ad.seaice has been re-defined to always exclude dynamics |
163 |
|
(output_adm.seaice.txt was updated) |
164 |
|
* new input_ad.seaice_dynmix tests a forward LSR / backward free-drift |
165 |
|
(output_adm.seaice_dynmix.txt) |
166 |
|
o test-exp. exp4+stevens: |
167 |
|
- switch off pTracers and nonHydrostatic (restart problems with NH); update output |
168 |
|
o pkg/seaice (lsr solver): |
169 |
|
- put coriolis term into FORCEX,Y (as in seaice_evp.F; previously in rhsU,V only); |
170 |
|
update output (change truncation) of FWD test exp lab_sea & global_ocean.cs32x15 |
171 |
|
- fix SEAICEuseFREEDRIFT for new OBCS version (ndef OBCS_UVICE_OLD) |
172 |
|
- new parameter "LSR_mixIniGuess" allows (if=2,4) to mix free-drift solution |
173 |
|
into initial guess for linearised solver; use weight ~ (1/err)^2,4. |
174 |
|
- compute (with new S/R) and print initial (+ free-driff sol. if available) |
175 |
|
and final residual of linearised system. |
176 |
|
o pkg/pp81: add diagnostics for vertical eddy viscosity and diffusivity |
177 |
|
(requires new subroutines pp81_init_fixed.F/pp81_diagnostics_init.F) |
178 |
|
o pkg/obcs: Stevens BCs (still only for east and west) |
179 |
|
- fix Stevens BCs by using intermediate velocities of previous |
180 |
|
time step as "baroclinic" contribution rather velocity of one grid cell |
181 |
|
inside the boundaries; more consistent but makes the entire treatment |
182 |
|
more complicated, requires new pickup files and two new S/Rs: |
183 |
|
obcs_copy_uv_n and obcs_save_uv_n |
184 |
|
keep old version with flag OBCS_STEVENS_USE_INTERIOR_VELOCITY |
185 |
|
(undefined by default) |
186 |
|
- silently move computation of some grid factors into separate loops to |
187 |
|
save some recomputations |
188 |
|
- add a hack for non-linear free surface |
189 |
|
- add a verification experiment to exp4 that tests this code |
190 |
|
o make gluemnc/xplodemnc work with (moron) non-GNU shell tools |
191 |
|
|
192 |
|
checkpoint63d (2011/10/25) |
193 |
|
o pkg/obcs + seaice-dynamics: |
194 |
|
- new implementation calls OBCS_APPLY_UVICE (in seaice_dynsolver.F) before |
195 |
|
solving for uIce,vIce and prevent SEAICE_LSR or SEAICE_EVP to modify OB |
196 |
|
values (consistent with an implicit method). |
197 |
|
- add option OBCS_UVICE_OLD (in OBCS_OPTIONS.h, defined by default) to |
198 |
|
return to older implementation (same results as before); note that none of |
199 |
|
the "experimental" OBCS_SEAICE options are implemented in the new version. |
200 |
|
- switch test exp. seaice_obcs to use new version (update output). |
201 |
|
o pkg/seaice: |
202 |
|
- add few stop (B-grid & CS-exch, B-grid & obcs, AUTODIFF & SEAICE_maskRHS) |
203 |
|
- add parenthesis in Water-Ice drag calculations (evp & lsr); |
204 |
|
- in seaice_lsr.F, simplify and fix AA3 setting in case sNx or sNy=1; |
205 |
|
and fix case SEAICE_waterDrag=0 (but unstable if no or little seaice) |
206 |
|
- update output of test exp lab_sea that uses evp or lsr (fwd+ad) |
207 |
|
and global_ocean.cs32x15 (icedyn & seaice fwd+ad). |
208 |
|
o pkg/layers: |
209 |
|
- Include potential density as new coordinate (Thanks to David Munday) |
210 |
|
o pkg/dic: |
211 |
|
- Remove subroutine CALC_PCO2_APPROX_CO3 from carbon_chem.F and add |
212 |
|
carbonate computation/output to CALC_PCO2_APPROX |
213 |
|
o pkg/generic_advdiff |
214 |
|
- make TAF generate code that vectorizes: |
215 |
|
gad_dst3fl_adv_*.F, gad_u3c4_impl_r.F |
216 |
|
o model/src: |
217 |
|
- improve vectorization also for adjoint code of |
218 |
|
solve_tridiagonal and solve_pentadiagonal. As this requires up to |
219 |
|
5 new 3D-fields, this code is only turned on for the combination of |
220 |
|
ALLOW_AUTODIFF_TAMC and TARGET_NEC_SX. Also remove error message |
221 |
|
for singular matrix check (only for TARGET_NEC_SX). |
222 |
|
- remove hard-wiring of CPP-flag ALLOW_SOLVERS_KLOOPINSIDE to |
223 |
|
ALLOW_AUTODIFF. This flag now needs to be set outside of |
224 |
|
solve_tri/pentadiagonal.F |
225 |
|
o pkg/exf: |
226 |
|
- fix previous modif in exf_readparms.F (revision 1.66: treatment of |
227 |
|
optional namelist EXF_NML_OBCS). |
228 |
|
- add many debug-print (to trace down where pkg/cal error msg comes from) |
229 |
|
o pkg/mom_vecinv/mom_vi_hdissip.F |
230 |
|
- rearrange loops so that vectorization is improved and in particular |
231 |
|
the adjoint routine vectorizes. The code is a little longer now, but I |
232 |
|
think easier to read. |
233 |
|
Note: CPP-flag MOM_VI_ORIGINAL_VISCA4 is not tested. |
234 |
|
o pkg/seaice: |
235 |
|
- allow to specify initial seaice velocity from files (uIceFile,vIceFile) |
236 |
|
o pkg/exch2: |
237 |
|
- alternative code (without tile x tile matrix) for cumulated (global) sum; |
238 |
|
used as default; keep using matrix version in adjustment.cs-32x32x1. |
239 |
|
o tools/build_options: |
240 |
|
- after merging some MPI and/or multi-threads specific optfiles so that |
241 |
|
the modified default optfile support both built (using genmake2 -mpi |
242 |
|
for the MPI built, using genmake2 -omp for OpenMP built), |
243 |
|
move now obsolete optfiles to tools/build_options/unsupported/ |
244 |
|
(add copy of email sent to support list in doc/optfiles_changes.txt) |
245 |
|
|
246 |
|
checkpoint63c (2011/09/28) |
247 |
|
o pkg/ebm: |
248 |
|
- fix ebm_zonalmean.F for several procs in Ydir (nPy > 1); update output of |
249 |
|
test exp. global_ocean_ebm (affects machine truncation, 12 digits for cg2d) |
250 |
|
o pkg/seaice (SItracer pickup) |
251 |
|
* Simple code for pickup of SItracer fields (#define ALLOW_SITRACER) |
252 |
|
To be done: |
253 |
|
- thorough testing of missing fields in S/R seaice_read_pickup |
254 |
|
- thorough matching between generic tracers and specific fields used |
255 |
|
(e.g. volume-weighted age, area-weighted age, salinity, ...) |
256 |
|
o pkg/grdchk: |
257 |
|
- all procs calculate and print finite-difference gradient (for testreport) |
258 |
|
- change description output used by testreport; |
259 |
|
- AD testing: also compare and report Finite-difference gradient; |
260 |
|
=> update all output_adm*.txt |
261 |
|
o test exp. global_ocean_ebm: |
262 |
|
- switch back useRealFreshWaterFlux (no problem anymore with run-off); |
263 |
|
and turn on exactConserve; update (fwd) output. |
264 |
|
o pkg/seaice (LSR): |
265 |
|
- print to STDOUT number of solver iterations at SEAICE_monFreq interval. |
266 |
|
- modify solver to deal cleanly with u/v switch at face edges (CS-grid): |
267 |
|
* identical results with non-CS topology (but save up to half of EXCH calls) |
268 |
|
* no much changes in cs-32 verification tests since no ice at face edges |
269 |
|
(differences due to convergence criteria, since nb of iterations changed) |
270 |
|
* expect some differences on lat-lon-cap grid. |
271 |
|
update FWD results of global_ocean.cs32x15 test exp. (icedyn & seaice) |
272 |
|
o pkg/exch2: |
273 |
|
- add new CPP option to disable Cumul-Sum matrix (to save storage when using |
274 |
|
many tiles); until alternative coding is added, just add a stop. |
275 |
|
o pkg/kpp: |
276 |
|
- move ptracer/salt correction to KPP diffusivity from calc_3d_diffusivity.F |
277 |
|
to S/R KPP_CALC_DIFF_PTR (+ add tracer-index to argument list). |
278 |
|
o optfiles: |
279 |
|
- merged few MPI specific (*+mpi*) and multi-threads specific (*+mth) optfiles |
280 |
|
into corresponding standard one, which now support different build: |
281 |
|
(when using "genmake2 -mpi" for MPI built, "genmake2 -omp" for OpenMP built) |
282 |
|
- add "darwin_amd64_gfortran" optfile (initially from Constantinos, tested by Gael) |
283 |
|
o pkg/obcs (seaice): |
284 |
|
- add missing EXCH for uIce,vIce after applying OBCS; |
285 |
|
- remove S/R EXF_SWAPFFIELDS_X/Y , disable S/R EXF_SET_OBCS_X/Y by adding |
286 |
|
argument = number of levels to S/R EXF_SWAPFFIELDS_XZ/YZ and S/R |
287 |
|
EXF_SET_OBCS_XZ/YZ ; update obcs_exf_load.F; |
288 |
|
- fix EXF_SET_OBCS_XZ/YZ for multi-threaded (assuming loaded arrays are shared) |
289 |
|
- verification exp. seaice_obcs: split domain in 2 tiles ; add SIZE.h_mpi |
290 |
|
and eedata.mth for MPI and mutlti-threaded testing. |
291 |
|
o pkg/flt: |
292 |
|
- make FLT EXCH working with multi-threads (and MPI + multi-threads); |
293 |
|
- use buffer for floats IO (trajectories & profiles); size set in FLT_SIZE.h; |
294 |
|
- fix pickup and trajectories + profiles output with multi-threads; |
295 |
|
- add parameter to select group of fields to write along trajectory and |
296 |
|
profile (default unchanged); |
297 |
|
- only call PORT_RAND* function when flt_noise <> 0; |
298 |
|
- add multi-threaded test for verification exp. flt_example. |
299 |
|
o eesupp/src: |
300 |
|
- fix S/R ALL_PROC_DIE for MPI+multi-threads. |
301 |
|
- USE_OMP_THREADING: check that number of threads (from eedata) matches |
302 |
|
actual number (from env.var. setting). |
303 |
|
o pkg/ebm: |
304 |
|
- fix multi-threading in ebm_area_t.F ; clean-up EBM.h header file. |
305 |
|
- add multi-threaded test for verification exp. global_ocean_ebm |
306 |
|
|
307 |
|
checkpoint63b (2011/08/29) |
308 |
|
o pkg/ebm: |
309 |
|
- fix sign of runoff; |
310 |
|
- update directly forcing fields (Qnet,EmPmR) to use standard |
311 |
|
external_forcing_surf.F (remove ebm_forcing_surf.F); |
312 |
|
- avoid loading forcing fields a 2nd time (1rst time from ini_forcing.F); |
313 |
|
- set either tauThetaClimRelax (in data) or tauThetaZonRelax (in data.ebm) |
314 |
|
and apply relaxation towards corresponding SST field (2-D map or ZonAver). |
315 |
|
- update global_ocean_ebm parameters file data and update output (fwd+ad). |
316 |
|
o verification/matrix_example: |
317 |
|
- split domain in 8 tiles (2x4); add SIZE.h_mpi and eedata.mth for |
318 |
|
MPI and mutlti-threaded testing. |
319 |
|
o pkg/matrix: |
320 |
|
- change name of S/R MATRIX_INIT to S/R MATRIX_INIT_VARIA ; |
321 |
|
- fix for multi-tiles (add bi,bj indices to exp/impMatrixCounter); |
322 |
|
- fix for multi-threaded (remove DATA statement); |
323 |
|
- use standard DIFFERENT_MULTIPLE function; |
324 |
|
- add MATRIX_OPTIONS.h |
325 |
|
o verification/matrix_example: |
326 |
|
To allow to split the domain in several tiles, change the domain size |
327 |
|
from 31x31 to 32x32 by adding 1 row (on Southern side) + 1 column (on |
328 |
|
Western side) of land points. |
329 |
|
o (*_)write_pickup: |
330 |
|
- fix few bugs in mypackage_read/write_pickup.F |
331 |
|
- in MDS_WR_METAFILES calls, replace "myTime" by a local copy into |
332 |
|
array of length 1 (was caught by compiler syntax-check). |
333 |
|
o pkg/diagnostics (velocity potential solver): |
334 |
|
- fix initialisation of main diagonal matrix (for overlap values) |
335 |
|
o tools/build_options: |
336 |
|
- towards single optfile for MPI and non-MPI built: merge few +mpi optfile |
337 |
|
into previously non MPI one (linux_am64 pgf77,open64,pathf90,ifort11) |
338 |
|
- linux_amd64_gfortran: merge +mpi_generic version into standard optfile: |
339 |
|
* move IEEE flags to DEVEL section; take IEEE flags from +mpi_generic ; |
340 |
|
* FAST case: for now, keep -O3 with ini_masks_etc.F in NOOPTFILES list; |
341 |
|
and use "-devel" testreport option for standard testing on baudelaire. |
342 |
|
o pkg/grdchk: |
343 |
|
- Assume that all gradient-check position are within the same tile |
344 |
|
corresponding to global indices (iGloTile,jGloTile) and that |
345 |
|
positions (i,j indices or nbeg) are local to this tile; |
346 |
|
- set tile local-indices and proc. number according to tile global-indices; |
347 |
|
- remove grdchkwhichproc from namelist (retired param); |
348 |
|
- send adjoint gradient to all procs so that all procs print it to STDOUT; |
349 |
|
- switch on MPI test for global_ocean.90x40x15 AD test experiment. |
350 |
|
o adding package bbl (Bottom Boundary Layer) |
351 |
|
description in MITgcm/pkg/bbl/bbl_description.tex |
352 |
|
example/test experiment in MITgcm_contrib/bbl |
353 |
|
o adjoint verifications |
354 |
|
- changed 5 experiments to multi-tiles |
355 |
|
* global_ocean.90x40x15 |
356 |
|
* obcs_ctrl |
357 |
|
* offline_exf_seaice |
358 |
|
* tutorial_dic_adjoffline |
359 |
|
* tutorial_tracer_adjsens |
360 |
|
changed reference output for those that crossed tile boundaries |
361 |
|
(changed choices of gradient check positions) |
362 |
|
- with same tiling, switch on MPI test for the last 4 (add SIZE.h_mpi) |
363 |
|
- temporary bug fix in grdchk_loc.F for obcs |
364 |
|
o genmake2 & testreport |
365 |
|
- add target "obj" (just for OBJFILES files) to Makefile; |
366 |
|
- add option to specify FEXTRAFLAGS on command line. |
367 |
|
o pkg/mypackage: |
368 |
|
- remove bi,bj arguments from argument list of S/R MYPACKAGE_CALC_RHS |
369 |
|
|
370 |
|
checkpoint63a (2011/08/02) |
371 |
|
o pkg/diagnostics (velocity potential): |
372 |
|
- fix velocity-potential calculation when using OBCS: balance net inflow |
373 |
|
at each level (new S/R OBCS_DIAG_BALANCE). |
374 |
|
- fix some of the problems with OBCS in stream-function calculation. |
375 |
|
o pkg/exf/exf_readparms.F |
376 |
|
- make treatment of optional namelists (EXF_NML_04, EXF_NML_SGRUNOFF, |
377 |
|
EXF_NML_OBCS) more consistent, so that you need not have these lists |
378 |
|
in data.exf when they are not used. |
379 |
|
o optim/optim_readdata.F: |
380 |
|
- add some output about obcs variables that might help debugging |
381 |
|
- add a check about nvarlength |
382 |
|
o pkg/ctrl: once again, fix computation of endrec in s/r ctrl_init_rec |
383 |
|
o pkg/diagnostics (velocity potential): |
384 |
|
- fix mask for OBCS (still problems in stream-function with OBCS); |
385 |
|
- add specific parameter (default = main code CG2D params) for solver; |
386 |
|
- in case of poor convergence, use solution corresponding to lowest residual. |
387 |
|
o pkg/seaice/seaice_growth.F: small changes that permit vectorizable |
388 |
|
adjoint code. In general statements like tmpscal=fld(i,j) are problematic |
389 |
|
and should be avoided where possible. |
390 |
|
o model/src (rStar): |
391 |
|
- include r* effect on reference-state (PhiRef) in totPhiHyd |
392 |
|
(so that it's really the potential anomaly at the cell center); |
393 |
|
affect solution only if z* with full pressure in EOS. |
394 |
|
- test-exp global_ocean.90x40x15: reduce viscA4 (was not stable) and |
395 |
|
update output (because of z* in totPhiHyd and viscA4 changes); |
396 |
|
- keep the previous diagnostics as "PHIHYDcR" (closer to potential anomaly |
397 |
|
@ constant r) until interpolation at constant r is implemented. |
398 |
|
o pkg/diagnostics |
399 |
|
- fix RCENTER diagnostics in case cell center is not at interface middle |
400 |
|
o add code for TEOS-10 (www.teos-10.org, McDougall et al. 2011). Use |
401 |
|
this eos with eosType = 'TEOS10', in data (PARM01). This eos implies |
402 |
|
that THETA and SALT are "conservative temperature" and "absolute |
403 |
|
salinity" |
404 |
|
o pkg/ctrl |
405 |
|
- fix computation of endrec in s/r ctrl_init_rec |
406 |
|
- ctrl_pack/unpack_*: remove unused variables and some obsolete code |
407 |
|
o pkg/seaice/seaice_growth.F |
408 |
|
- fix recomputation with FENTY_AREA_EXPANSION_CONTRACTION code, |
409 |
|
remove then obsolete STORE directives |
410 |
|
- fix STORE directives for tice and tices, so that only the |
411 |
|
appropriate part of the fields are stored (and not the entire |
412 |
|
field); update global_ocean.cs32x15.seaice AD output. |
413 |
|
- cosmetic changes: adjust CPP flags and indentation for better |
414 |
|
legibilty |
415 |
|
o pkg/autodiff: add mnc-output of adBottomDragFld (code contributed by |
416 |
|
Chris Wilson) |
417 |
|
o pkg/gmredi: |
418 |
|
Add Sub-Meso Eddies parameterisation from Baylor (for now, disabled with TAF), |
419 |
|
and test it in verification exp. "front_relax.bvp" (update output.bvp.txt) |
420 |
|
|
421 |
|
checkpoint63 (2011/07/11) |
422 |
|
o pkg/exch2: |
423 |
|
- rename+move: nTiles in W2_EXCH2_PARAMS.h --> exch2_nTiles in W2_EXCH2_TOPOLOGY.h |
424 |
|
- exch2 version of Cumul-Sum routine: S/R W2_SET_MAP_CUMSUM set up the |
425 |
|
(2*nTiles)x(nTiles) Cumul-Sum matrix and Master Proc collects all tiles X,Y |
426 |
|
increments, calculates Cumul-Sum @ tile origin and sends results to each tile. |
427 |
|
o pkg/diagnostics: |
428 |
|
- deal with pairs of post-processed diags which are computed together; in |
429 |
|
particular, re-order list of diags within 1 file to save 2nd computation. |
430 |
|
- add S/R to compute velocity stream-function (called after velocity-potential |
431 |
|
calculation) from divergence free transport -> new diagnostics "PsiVEL". |
432 |
|
- add parameter to select grid-point location where PsiVEL == 0. |
433 |
|
o eesupp/src: |
434 |
|
new S/R to calculate cumulated sum on tiled array, corner grid-cell location |
435 |
|
(specific S/R needed with exch2 topology - for now, just print an error msg) |
436 |
|
o pkg/shelfice |
437 |
|
- Implement friction velocity-dependent transfer coefficients following |
438 |
|
Holland and Jenkins, JPO, 1999 |
439 |
|
Original code by M. Losch with small modifs. |
440 |
|
Enable with CPP option SHI_ALLOW_GAMMAFRICT |
441 |
|
and runtime flag SHELFICEuseGammaFrict |
442 |
|
o verification lab_sea & global_ocean.cs32x15: |
443 |
|
- use tools/xmakedepend (instead of cyrus_makedepend, in genmake_local): |
444 |
|
does not miss some dependencies (but is slower) and also works with many files |
445 |
|
(default makedepend limitation for AD built). |
446 |
|
- use cyrus_makedepend in adjustment.128x64x1 (so that it still tested). |
447 |
|
o pkg/diagnostics: |
448 |
|
- add run-time parameter "useMissingValue" (def=False) to fill land-point |
449 |
|
(i.e., where mask=0) with MissingValue ; used only in MNC output file. |
450 |
|
This replaces CPP-option DIAGNOSTICS_MISSING_VALUE. |
451 |
|
- Extend the use of "missing_value" setting from data.diagnostics for the case |
452 |
|
of counter-diagnostics (where fraction-weight is zero). This applies both to |
453 |
|
MNC and MDS output files. |
454 |
|
o pkg/seaice/seaice_growth.F: |
455 |
|
- add 'a priori' cap of latent heat flux based on actual mass considerations |
456 |
|
when SEAICE_ADD_SUBLIMATION_TO_FWBUDGET is used in conjunction with the |
457 |
|
non-legacy seaice_solve4temp. |
458 |
|
- add diagnostic of the residual sublimation freshwater flux (the freshwater |
459 |
|
flux taken from the ocean if the total actual latent heat fluxes exceed |
460 |
|
the maximum) |
461 |
|
- remove the CPP switch around the *_FWbySublim unit change and move diagnostic |
462 |
|
fill for SIatmQnt, SIfwSubl, SIatmFW to the end of seaice_growth.F. |
463 |
|
- add diagnostic of the actual sublimation freshwater flux (that is 0. ifndef |
464 |
|
SEAICE_ADD_SUBLIMATION_TO_FWBUDGET) and of the latent heat flux (evap+sublim). |
465 |
|
- bug fix : frWtrAtm needs a_FWbySublim ifdef SEAICE_ADD_SUBLIMATION_TO_FWBUDGET. |
466 |
|
- bug fix : missing part to Martin's r_FWbySublim pathological case fix. |
467 |
|
o verification 1D_ocean_ice_column: |
468 |
|
made model domain truly 1x1x23 instead of 5x5x23 with only center cell (3,3,:) wet |
469 |
|
update results |
470 |
|
o pkg/diagnostics: |
471 |
|
- Implement setting of "Post-Processed" diagnostics (corresponding to gdiag(5)='P') |
472 |
|
which are not filled-up but computed from other diags ; In this case, the mate |
473 |
|
diag points to the primary (filled-up) diag to used for post processing. |
474 |
|
- Update Velocity-potential computation using post-processed diag framework. |
475 |
|
==> Change the ordering of fields and time-periods in MDS output file |
476 |
|
when using periodic averaging: now writes one time record with the full set |
477 |
|
of fields for this time period, then the next time reccord (it used to be |
478 |
|
one field with the full set of time records then the next field). |
479 |
|
Note: this is now similar to NetCDF (MNC) output file. <== |
480 |
|
|
481 |
|
checkpoint62z (2011/06/21) |
482 |
o adjoint monitor: |
o adjoint monitor: |
483 |
- Add adjoint monitor output for packages exf, seaice |
- Add adjoint monitor output for packages exf, seaice |
484 |
|
and update relevant testreport output |
485 |
o pkg/seaice: |
o pkg/seaice: |
486 |
- re-order diags inits so that they appear in order in available_diagnostics.log |
- re-order diags inits so that they appear in order in available_diagnostics.log |
487 |
- added diags: hsnow thermo. rates of change, area preceeding ridiging process, |
- added diags: hsnow thermo. rates of change, area preceeding ridiging process, |
489 |
- modified diag: SIdA; output actual effect, as the description states. |
- modified diag: SIdA; output actual effect, as the description states. |
490 |
- modified description: SIqneti, SIqneto, SIuheff, SIvheff, SIdAb*, HSNOW. |
- modified description: SIqneti, SIqneto, SIuheff, SIvheff, SIdAb*, HSNOW. |
491 |
- retired redundant diags: SIyneg, SIfice, SIsnwice, SIthdgrh. |
- retired redundant diags: SIyneg, SIfice, SIsnwice, SIthdgrh. |
492 |
(SIyneg->SIdHbOCN; SIfice->SIdHbATC; SIsnwice->SIdHbFLO; |
(SIyneg->SIdHbOCN; SIfice->SIdHbATC; SIsnwice->SIdHbFLO; |
493 |
and SIthdgrh->SIdHbOCN+SIdHbATC+SIdHbATO) |
and SIthdgrh->SIdHbOCN+SIdHbATC+SIdHbATO) |
494 |
- modified diags (2) : switch all SIdA*, SIdH*, SIdS* from delta to rates. |
- modified diags (2) : switch all SIdA*, SIdH*, SIdS* from delta to rates. |
495 |
- added diagnostics for seaice genereic tracers (SItr*). |
- added diagnostics for seaice generic tracers (SItr*). |
496 |
- added SItrUnit and SItrNameLong run time param (for SItr* diags). |
- added SItrUnit and SItrNameLong run time param (for SItr* diags). |
497 |
- in diag names, replaced 'PrTh' abbrev. of 'preceeding thermo' with 'PT'. |
- in diag names, replaced 'PrTh' abbrev. of 'preceeding thermo' with 'PT'. |
498 |
|
I. Fenty: 18-Jun-2011: |
499 |
|
Minor changes to seaice package: |
500 |
|
1) Retired old variables (A22, SEAICE_lhsublim, areaMax, areaMin, hiceMin) and |
501 |
|
added some new ones (SEAICE_area_reg, SEAICE_hice_reg, SEAICE_area_floor) |
502 |
|
- Differentiated "regularization variables" from "floor variables" |
503 |
|
* areaMin became SEAICE_area_reg (old A22) and SEAICE_area_floor |
504 |
|
* hiceMin became SEAICE_hice_reg (old hiceMin) |
505 |
|
(with _reg meaning regularization variable) |
506 |
|
- SEAICE_lhSublim becomes lhSublim, the sum of SEAICE_lhEvap and SEAICE_lhFusion |
507 |
|
so as to ensure energy conservation when going between phases |
508 |
|
- A22 was not used anywhere |
509 |
|
2) Changed regularization procedure for heffActual and hsnowActual to ensure |
510 |
|
well-boundedness and smooth adjoint in seaice_growth.F |
511 |
|
3) Fixed a bug where seaice_solve4temp would not recognize ice-free grid cells |
512 |
|
because the old regularization always set heffActual >= 0.05 cm |
513 |
|
4) Changed the model so that the default behavior is to put a small (10^-5) "floor" |
514 |
|
on AREA when HEFF > 0. |
515 |
|
- went from requiring ALLOW_PRECLUDE_INFINITESIMAL_AREA to be defined to |
516 |
|
requiring that DISABLE_AREA_FLOOR *not* be defined |
517 |
|
Affected verifications: |
518 |
|
- 1D_ocean_ice_column (output.txt output_adm.txt) |
519 |
|
- global_ocean.cs32x15 (output.seaice.txt output_adm.seaice.txt) |
520 |
o pkg/diagnostics: |
o pkg/diagnostics: |
521 |
- move MNC code from diagnostics_out.F into new diagnostics_mnc_out.F (2 S/R). |
- move MNC code from diagnostics_out.F into new diagnostics_mnc_out.F (2 S/R). |
522 |
- rename S/R GETDIAG to DIAGNOSTICS_GET_DIAG and change type of 1rst argument |
- rename S/R GETDIAG to DIAGNOSTICS_GET_DIAG and change type of 1rst argument |
524 |
- add pieces of code to compute velocity potential at each level (new diagnostics |
- add pieces of code to compute velocity potential at each level (new diagnostics |
525 |
PhiVEL, works only when UVELMASS & VVELMASS are also turned on); |
PhiVEL, works only when UVELMASS & VVELMASS are also turned on); |
526 |
for now, using same params as CG2D (target-resisual, max Nb of iter ...). |
for now, using same params as CG2D (target-resisual, max Nb of iter ...). |
527 |
|
- fix few issues with counter diagnostics in diagnostics_setdiag.F & |
528 |
|
diagstats_setdiag.F (if diagnostic counter is itself a counter diag) |
529 |
|
and in diagnostics_fract_fill.F (do not need a valid pointer for the |
530 |
|
diagnostics counter-mate); check that definition of counter-diagnostic |
531 |
|
includes a valid counter-mate (in diagnostics_set_levels.F). |
532 |
o model/src (rStar): |
o model/src (rStar): |
533 |
- add rStar scaling factor in diags_phi_hyd.F (similar to calc_grad_phi_hyd.F); |
- add rStar scaling factor in diags_phi_hyd.F (similar to calc_grad_phi_hyd.F); |
534 |
affect solution only if z* with full pressure in EOS; |
affect solution only if z* with full pressure in EOS; |