/[MITgcm]/MITgcm/doc/tag-index
ViewVC logotype

Diff of /MITgcm/doc/tag-index

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1980 by mlosch, Wed Apr 23 12:42:19 2014 UTC revision 1.2170 by heimbach, Sun Jul 5 02:06:23 2015 UTC
# Line 4  $Name$ Line 4  $Name$
4      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
5      ==============================      ==============================
6    
7    o OpenAD
8     - Adding preliminary ggl90 test to OpenAD verification.
9       Config. with ggl90 currently diverges after 64 time steps
10       so will need more work to become more stable
11     - Adding preliminary kpp test to OpenAD verification.
12       required small tweakes in kpp_routines.F
13     - Merge and update from Krishna Narayanan's contrib area:
14       * Add one variable for preliminary OpenAD DIVA
15       * Add replacement time-stepping for OpenAD DIVA
16       * genmake2 flag -diva (but only for OpenAD; preliminary)
17       * required modifs for OAD_support
18       successful preliminary test for tutorial_global_oce_biogeo/
19    o pkg/seaice:
20     - initialise deltaC in seaice_lsr, cosmetic changes in seaice_lsr
21     - add cpp-flag SEAICE_DELTA_SMOOTHREG for option of regularising
22       delta with a smooth function in s/r seaice_calc_viscosity
23       (no effect on EVP)
24     - rename local suffix "sqr" into "sq" for more consistent variable names
25    o pkg/seaice: add new parameter SEAICE_deltaMin that is used ***only***
26      for regularizing Delta (and nothing else, like the parameter
27      which is also used for all sorts of things SEAICE_EPS). Defaults to
28      SEAICE_EPS for backward compatibility only.
29    o pkg/seaice: replace erroneously storing e12Csqr on the wrong tape with
30      the wrong key by inialising it before use -> fixes a recomputation
31      problem but does not fix the gradient
32    o pkg/layers:
33      - move resetting of flux arrays to outside the iLa loop
34        (this caused layers_diapycnal to not work with more than one layer coord.)
35      - fix bug in calculation of layers_recip_delta in layers_init_fixed.F
36    o pkg/layers:
37      - remove from common block 3D layers fields (used to diagnose transport
38        in tracer coords) and declare them as local arrays in layers_calc.F
39    o pkg/seaice:
40      - Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it
41        in lab_sea forward experiment (changes results -> updated)
42      - update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v
43    o pkg/seaice: modify seaice_lsr.F in order to improve the gradient
44      computations; for SEAICE_VECTORIZE_LSR
45      - move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v)
46        sweep to the outside,
47      - remove store directives and add "CADJ loop sequential" directives
48        in analogy to model/src/solve_tridiagonal.F
49      - replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop
50        boundaries to yield more readable code. This has also the charming side
51        effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without
52        SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in
53        seaice_lsr_tridiagu/v now requires either of these flags, vectorization
54        still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as
55        an additional option)
56       The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F
57       but the adjoint gradients (which are affected by this change) still explode.
58    o coupler (atm & ocn _compon_interf):
59      - avoid using Exch2 IO mapping if not suitable.
60    
61    checkpoint65m (2015/06/15)
62    o pkg/layers:
63      - clean-up old parameters setting (from Sep 2012):
64        + remove old parameters setting from common block (declared locally);
65        + stop if any old parameter is mixed with new parameters;
66        + check for valid or consistent parameter setting (e.g., layers_name)
67      - check that layers_bounds for Pot.Density are in the right range;
68        this is supposed to catch un-updated setting after recently shifting
69        potential density field "prho" by -1000 (now in "sigma" scale).
70    o pkg/layers:
71      - Added missing call to layers_fill for keeping track of tottend in
72        pkg/diagnostics/diagnostics_fill_state.F
73    o pkg/layers:
74      - added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning
75        of diapycnal fluxes
76    o pkg/layers:
77      - reverted changes to interpolation to previous treatment; there
78        was never actually a problem
79    o pkg/layers:
80      - fix interpolation of layers tracers in the presence of partial cells
81      - add lots of new functionality to compute water mass transformation
82        (enabled by CPP flag LAYERS_THERMODYNAMICS)
83      - add new calls from main code (diags_oceanic_surf_flux.F,
84        thermodynamics.F, impldiff.F) and gad to save the necessary fields
85        for layers_thermodynamics calculations
86    o pkg/ptracers:
87      - add capability of stepping a passive tracer forward without advection
88        by setting PTRACERS_advScheme to 0.
89    o pkg/diagnostics:
90      - add few (threads) _BARRIER around any update of "diag_pkgStatus".
91    o pkg/layers:
92      - shift potential density field "prho" by -1000 for density layer averaging so
93        that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000);
94        Note that density bin boundaries (layers_bounds in data.layers) have
95        to be set accordingly (i.e., shifted, in sigma scale).
96    o pkg/layers:
97      - fix snap-shot output of layer thickness @ V.pt and output of pot.density
98      - fix calculation of layer non-weighted velocity and layer probability
99      - add diagnostics for pot.density used for layer averaging
100    o pkg/seaice:
101      - seaice_calc_viscosity.F: change computation of deltaC**2 to ensure
102        positiveness, modify a few comments and improve variable names,
103      - the changed computation of deltaC affects most seaice-related
104        experiments at the truncation level.
105        seaice_itd.thermo is affected by far the most, with
106        only 7 digits of agreement remaining; update experiments.
107    
108    checkpoint65l (2015/05/04)
109    o pkg/shelfice:
110      - in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set
111        factor drKp1 to zero where it is negative (ie. do not use
112        SHELFICEBoundaryLayer if hFacC>1)
113      - the same for factor drLoc in shelfice_forcing.F
114    o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem
115        with modules in ptracers, when using testreport option "-small_f"
116    o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD)
117      - replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1))
118    o verification/testreport
119      - add new option -small_f
120        with this option testreport first makes the target small_f (*.f files)
121        before running make (all). This is useful for explicit inlining when
122        all sources need to be full available.
123    o pkg/exf/exf_interp.F:
124        remove previous changes related to reverse (decreasing) input grids latitude
125    
126    checkpoint65k (2015/04/01)
127    o pkg/ecco:
128        fix missing cosphi initialization; use eccoiter in place of optimcycle;
129        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
130        instead of active read/write
131    o pkg/ctrl:
132        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
133        instead of active read/write.
134    o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F
135        return if .NOT.useAUTODIFF
136    o pkg/seaice: add CPP brackets (cost function related).
137    o model/src:
138        add useAUTODIFF run time switch.
139    o pkg/exf/exf_interp.F:
140        add code to allow input grids with latitude starting in the north (i.e. when
141        j=1 corresponds to northern edge of field); modify global_with_exf to test
142        this feature.
143    o verification/testreport:
144      - replace "grep -A3" with POSIX conformal sed command, because there are
145        implementations of grep that cannot do contextual searches
146      - replace "cat -n" by "nl" (two occurrences), because not all implementations
147        of "cat" have the option "-n"
148    o model/src:
149        add new file gsw_teos10.F that contains 3 functions, more or less a copy
150        of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to
151        convert from conservative to potential temperature. For now they are not
152        called anywhere.
153    o pkg/ggl90: make "useIDEMIX" useful
154      - re-organize code in s/r ggl90_calc a little to move computations that
155        are different for idemix into separate loops (changes verification
156        experiment idemix at truncation level, 12 digits remain -> updated)
157      - requires 2 new 2D fields KappaM, verticalShear
158      - make hFacI and recip_hFacI local 3D variables that are passed to
159        s/r ggl90_idemix
160      - fix and improve some comments
161    
162    checkpoint65j (2015/02/25)
163    o pkg/openad
164      - synchronize seawater.F with version in model/src: replace routine
165        body of sw_temp by calling sw_ptmp and fix/add a few comments.
166    o pkg/mnc:
167      - change default value of pickup_read/write_mnc params to FALSE
168        (since few features are missing in reading MNC pickup files).
169    o model/src:
170      - change default (background) vertical diffusivity for salt to be the
171        temperature (background) vertical diffusivity.
172      - change background vertical diffusivity in vertical mixing pkgs ggl90,
173        kl10, my82 and pp81 from temperature diffusivity to salinity diffusivity.
174        This makes ptracers default diffusivity (that uses salt diffKr) more
175        consistent with vertical mixing schemes.
176    o verification/testreport:
177      - fix typo in "-pcls" option ;
178      - put temp files in /tmp (instead of in local dir)
179      - add option "-ncad" to use genmake2 new option "-nocat4ad"
180      - allow to use "-j" option (for multi-procs make) for AD, OAD and TLM.
181    o pkg/ggl90 (idemix code):
182      - apply few fixes ; add some missing "_d 0" ; update output of exp.
183        global_ocean.90x40x15.idemix
184    o OpenAD
185      - enable active file I/O and begin removal of work-around code
186        for OpenAD for handling control variables (memory vs. active files)
187      - new CPP options file OPENAD_OPTIONS.h
188      - revert to genarr2d gradient check for hs94.1x64x5
189      - (genarr3d tested by tutorial_global_oce_biogeo, tutorial_tracer_adjsens)
190      - gentim2d works for halfpipe_streamice but not yet hs94.1x64x5
191    o tools/genmake2:
192      - add option for an alternative Makefile (from Martin) where multiple
193        source files are sent to TAF (instead of all in one file).
194    o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013)
195      - code provided by Carsten Eden as an extension of ggl90
196      - so far the code is turned on within ggl90 by setting a CPP-flag at
197        compile time; a runtime flag implementation is not yet complete
198      - tested in new verification experiment global_ocean.90x40x15.idemix
199    o verification:
200      - reduce length of the AD test run by half for experiments
201        global_ocean.cs32x15 (std + thsice) and isomip
202      - enable active file I/O for OpenAD, adjust verifications accordingly
203      - halfpipe_streamice: change gradient check from genarr2d to gentim2d
204    o verification/testreport:
205      - fix two non-POSIX sed statements so that there are no error messages
206        on Mac OS X
207      - replace hostname -s with hostname | sed 's/\..*$//'
208    o model/src/seawater.F:
209      - simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged
210        (following the matlab code), which would have avoided the bug caught
211        by Matt (see below) in the first place
212    o pkg/shelfice:
213      - implement alternative discretisation of quadratic drag (selectBotDragQuadr)
214        and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag.
215      - fix sign of friction tendency (no-slip BC) and fix u,v drag for thin
216        ice-shelf case (i.e., within surface level).
217      - add config summary in shelfice_check.F
218      - remove global variable recip_SHELFICElatentHeat and replace by a local
219        variable recip_latentHeat
220      - introduce diagnostics for friction velocity uStar (in case of
221        SHELFICEuseGammaFrict)
222      - change verification experiment isomip.htd:
223        + start from pickup (as input_ad at nIter0=8640)
224        + start from SHELFICEmassFile instead of SHELFICEloadAnomaly file
225        + test SHELFICEuseGammaFrict = .TRUE.
226        + test SHELFICEadvDiffHeatFlux = .TRUE.
227    o model/src:
228      - fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to
229        in-situ Temp) and in routine SW_TEMP (in pkg/openad);
230        update output of experiments global_with_exf.yearly and isomip (all 6).
231    o pkg/shelfice:
232      - change setting of kTopC to also be zero where there is no ice-shelf.
233      - zero out surface forcing arrays (for now, for T & S + EmPmR) where
234        ice-shelf is.
235      - first attempt to get RealFreshWaterFlux effects: for now, only without
236        SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping.
237    o pkg/seaice: add the option to prescribe a fixed thickness PDF
238      for thermodynamic calculations
239      - because of divisions of the type 7/7 not exactly equal to 1, this change
240        affects results of some verification experiments by up to 4 digits:
241        global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume,
242        seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides
243        adjoint: lab_sea, lab_sea.noseaicedyn
244        -> updated
245    
246    checkpoint65i (2015/01/23)
247    o model/src:
248      - change units of frictionHeating field from W to W/m^2
249      - fix bug in frictional heating from stratospheric drag in
250        S/R ATM_PHYS_TENDENCY_APPLY_V
251      - with synchronous time-stepping: move resetting to zero of frictionHeating
252        field from load_fields_driver.F to thermodynamics.F ;
253      - add diagnostics for frictional heating.
254    o model/src & gmredi K3D:
255      - add frictionHeating field to pickup-files (for synchronous time-stepping)
256      - move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h
257      - rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name
258        and name in pickup file).
259      - fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F
260    o model/src:
261      - move (from ini_forcing.F) initialisation of all arrays in header file
262        FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart
263        (since Nov 2012) with option selectAddFluid=1.
264    o pkg/shelfice:
265      - change units (+ document) of newly added field "shelfIceMassDynTendency"
266      - upgrade from _RS to _RL shelficeMass & shelficeLoadAnomaly arrays.
267    o pkg/obcs: re-organize obcs_calc_stevens.F to prepare for passive tracers
268    o pkg/seaice: two new runtime parameters:
269      - SEAICE_cStar replaces the hard wired "20" in the strength formulation,
270        long overdue
271      - SEAICE_tensilFac: preparation for Koenig-Beatty+Holland (2012)
272        parameterization of tensil stress for fast ice (does not do anything yet)
273    o pkg/seaice/seaice_check.F: left over from restricted addtive Schwarz method
274        for LSR: move checking overlaps out of JFNK-if-block
275    o pkg/atm_phys:
276      - move copy of grid and dynamical fields out of atm_phys_driver.F into
277        new S/R ATM_PHYS_DYN2PHYS.
278      - fix level height for Linear Free-Surf case (to be consistent with
279        fixed-in-time pressure levels).
280    o pkg/mom_common (bottomdrag):
281      - average bottomDragFld (ALLOW_BOTTOMDRAG_CONTROL) from grid-cell center
282        to correct location (U & V point) in S/R MOM_U/V_BOTTOMDRAG;
283        update output (adm & tlm) of experiment global_ocean.90x40x15.bottomdrag.
284    o pkg/shelfice (u/v_drag):
285      - add one argument (the other velocity component) to S/R SHELFICE_U/V_DRAG;
286      - use SHELFICEDragLinear & SHELFICEDragQuadratic in shelfice_v_drag.F
287        (now similar to shelfice_u_drag.F)
288      - remove condition on bottomDragTerms when calling SHELFICE_U/V_DRAG
289        from mom_vecinv.F (similar to mom_fluxform calls).
290    o pkg/mom_common (bottomdrag):
291      - add one argument (the other velocity component) to S/R MOM_U/V_BOTTOMDRAG;
292      - add options for alternative discretisation of velocity norm in quadratic
293        bottom drag: averaging of grid-cell-center KE to U.point and V.point
294        (selectBotDragQuadr=0, original code) can produce noisy patterns; this
295        improves when averaging only the other component (e.g. vVel for U bottom
296        drag) using wet-point method (selectBotDragQuadr=2) or not (=1).
297      - add options (bottomVisc_pCell) to account for partial-cell in bottom
298        friction (no-slip BC) thus getting the true distance from the bottom;
299        off by default since this also reduces model stability (explicit bottom
300        friction). Changes produce different machine truncation with linear-drag
301        + no-slip BC: update output of experiments exp4.stevens (10 digits) and
302        front_relax (bvp & mxl, 10 & 11 digits).
303    o model/src & mom pkgs:
304      - add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
305        since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
306      - for now and until vertical mixing scheme are updated to fill up level Nr+1,
307        just copy level Nr value to level Nr+1.
308    o doc:
309      - add notes form Abhisek Chakraborty on how to close Heat & Salt budgets.
310    o pkg/streamice:
311      - shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F,
312        SHELFICE.h: move array shelficemass to init_varia, initialise
313        from array shelficemassinit, which is set in init_fixed and
314        has option to be set from file; introduce array
315        shelficeMassDynTend array, set thru file in init_fixed
316      - NEW FILE: shelfice_step_icemass.F: update shelficemass from either
317        shelfIceFreshWaterFlux and shelficeMassDynTend or H_streamice in
318        pkg/streamice
319      - shelfice_thermodynamics.F: call shelfice_step_icemass if
320        SHELFICEMassStepping = .true.
321      - shelfice_ad_diff.list: add new subroutine shelfice_step_icemass.f
322    
323    checkpoint65h (2014/12/17)
324    o verification/global_ocean.90x40x15, global_ocean_ebm:
325      - update to generic controls.
326    o pkg/ctrl:
327      - ctrl_map_ini_genarr.F: test for igen>0
328      - ctrl_init_variables.F: add call to CTRL_MAP_INI_GENTIM2D.
329      - move gentim2d part of ctrl_map_ini_genarr.F to
330        new separate routine : ctrl_map_ini_gentim2d.F
331      - ctrl_cost_driver.F,ctrl_init.F ctrl_map_ini_genarr.F:
332        add time variable weights and cyclic controls (time mean,
333        seasonal cycle, etc) capabilities to gentim2d
334    o pkg/ecco:
335      - move reading of error, conversion to weights from
336        ecco_cost_init_fixed.F to ecco_toolbox.F (ecco_readwei)
337    o global_oce_llc90, cs32:
338      - activte sbo.
339      - CTRL_SIZE.h : add maxCtrlProc.
340      - activate the new genctrl capabilities.
341      - update following reorganization of global_oce_input_fields.tar.gz  
342    o pkg/ctrl/ctrl_ad_diff.list:
343      - add missing ctrl_init_rec.f
344    o tools/OAD_support/keepOriginal:
345      - add ctrl_init_rec.F
346    o model/src/the_main_loop.F, pkg/ctrl/ctrl_map_ini_genarr.F:
347      - avoid recomputations of xx_gentim2d_dummy.
348    o momentum diagnostics:
349      - move filling of diagnostics Um_Diss & Vm_Diss from mom_fluxform.F and
350        mom_vecinv.F to timestep.F (to include Smag-3D contribution).
351    o pkg/seaice/seaice_lsr.F:
352      - fix computation of BU/BV, make sure they are non-zero, only necessary
353        for cubed sphere exchanges and SEAICE_OLx/y>0.
354        This makes calling s/r fill_cs_corner_rl obsolete (removed).
355    o verification/global_ocean.cs32x15/input.seaice
356      - add test for strong implicit coupling and restricted addtive Schwarz
357        methods for LSR
358      - update results/output.seaice.txt
359    o verification/tutorial_global_oce_biogeo:
360      - AD & OAD set-up: switch off ALLOW_OLD_VIRTUALFLUX (like in fwd set-up)
361        and set PTRACERS_EvPrRn(1,2) to zero (for DIC & ALK);
362        update output_adm,_oadm,_tlm.txt
363    o pkg/dic:
364      - change default to "#undef ALLOW_OLD_VIRTUALFLUX" in DIC_OPTIONS.h
365      - add a stop when ALLOW_OLD_VIRTUALFLUX is defined and PTRACERS_EvPrRn
366        for tracer 1 & 2 is set (to avoid double counting of dilution effect).
367    o verification/tutorial_global_oce_biogeo:
368      - AD & OAD set-up: do not set PTRACERS_EvPrRn for tracer 1 & 2 since
369        dilution is already added by pkg/dic ALLOW_OLD_VIRTUALFLUX ;
370        update output_adm,_oadm,_tlm.txt
371    o eesupp/src:
372      - add fill_cs_corner_rl.F (_RL-copy of fill_cs_corner_rs.F)
373        and call it in seaice_lsr when using nonzero SEAICE_OLx/y
374    o pkg/seaice: introduce strongly implicit coupling, intended for stabilizing
375      LSR (following Hutchings et al. 2004)
376      - introduce zetaZ as a global variable (requires adjustments in
377        seaice_evp.F and seaice_jfnk.F) and compute analoguously to etaZ
378        in seaice_calc_viscosities.F
379      - new flag SEAICEuseStrImpCpl (default off)
380      - add new terms zetaZ*du/dy and zetaZ*dv/dx on both sides of the
381        momentum equations
382      - JFNK-solver (preconditioner) adjusted to allow using this method
383        (where it does not have any positive effect)
384    o pkg/seaice
385      - add overlap for restrictive additive Schwartz method also to LSR, but
386        turn it off by default (because it only seems to work for non-cubed
387        sphere/llc topologies)
388    o pkg/autodiff
389      - add extra exchanges in addummy_in_steppging also for mnc output
390    o pkg/seaice:
391      - add extra exchanges before dumping adjoint fields in seaice_ad_dump.F
392        to avoid stripes in the adjoint output (similar to addummy_in_stepping.F)
393    o pkg/obcs:
394      - add option to specify domain-connected piece Id along OB though files
395        (for now, only used to diagnose PhiVel; default =1 -> global correction)
396      - modify obcs_diag_balance.F to process each connected-part separately;
397        exclude OB where Id = 0 but keep the full divergence there (-> constant
398        Psi along this portion of OB and all inflow derived from grad(Phi))
399      - add example of OB-conect files in verification/so_box_biogeo/input.
400    o pkg/diagnostics:
401      - improve treatment of Open-Boundaries in Velocity-Potential calculation:
402      a) use non zero matrix element across OB and solve for Phi 1 grid point
403         outside OB (i.e, where tracer OBCS are applied).
404      b) global imbalance of inFlow/outFlow across OB: instead of modifying
405         velocity across OB, spread it uniformly along the OB in the RHS.
406    
407    checkpoint65g (2014/11/19)
408    o pkg/diagnostcis:
409      - add preconditioner off-diagonal factor (diagCG_pcOffDFac) as run-time param
410    o pkg/my82,pp81,kl10:
411      - fix ALLOW_3D_DIFFKR implementation (previously had no effect): use 3-D
412        field diffKr as background diffusivity to set minimum diffusivity value.
413    o pkg/seaice:
414      - add new parameter SEAICEuseEVPrev (for revisited EVP by
415        Bouillon et al 2013)
416      - add SEAICE_evpAlpha/Beta to namelist
417      - modify seaice_evp code to able to use SEAICEuseEVPrev. These changes
418        involve trivial re-ordering of divisions/multiplications that should not
419        have any effects, but ... they do change the results of lab_sea.hb87 so
420        that only 2 digits of agreement remain, in line with the general
421        instability/fragility of the evp-code. For now, I do not care and just
422        update the verification experiment
423    o pkg/ctrl : add generic pre-processing (xx_genarr2d_preproc etc)
424      - remove xx_genarr2d_numsmooth etc
425      - use xx_genarr2d_preproc etc instead
426      - carry out smooth_correl2D at initialization stage rather than during
427        time stepping.
428      - get smoothOpNb from xx_gentim2d_preproc
429    o global_oce_cs32 :
430      - add test of generic ecco capabilities.
431    o pkg/exf/exf_getsurfacefluxes.F :
432      - add to tmpUE/tmpVN rather than re-initializing them (conventional behavior).
433    o pkg/ctrl,ecco :
434      - omit un-necessary arguments to ctrl_cost_gen.F unless ECCO_CTRL_DEPRECATED
435        is defined.
436    o pkg/seaice: add diagnostics for Delta (deformation parameter)
437    o model/src:
438      - when ALLOW_3D_DIFFKR is defined, add a Warning if any of the vertical
439        diffusivity (background) is specified but ignored.
440    o verification:
441      - in testreport, convert hostname to lower case for default output dir name
442    o model, pkg : add useCTRL, useECCO parameters (on/off run time switch).
443    o pkg/dic: add modifications from Hajoon:
444      - add iron sedimentation flux function of the flux of PO4 out of bottom layer
445      - light attenuation: add self-shading effect by climatological Chlorophyll
446        (read from file).
447    o pkg/seaice/seaice_preconditioner.F : fix cpp flags, so that code also
448        compiles when SEAICE_ALLOW_DYNAMICS is undefined
449    o global_oce_llc90,cs32 : ecco_v4 verification exps now use separate
450        AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h rather than
451        ECCO_CPPOPTIONS.h (i.e. replacing the deprecated, circumvoluted,
452        approach where CPP_OPTIONS.h includes an omnipotent
453        ECCO_CPPOPTIONS.h that superseeds pkgs '_OPTIONS.h').
454    o pkg/ctrl/ctrl_map_ini_genarr.F : include GMREDI_OPTIONS.h where
455        ALLOW_3D_KAPGM, ALLOW_3D_KAPREDI (to be added later) belong.
456    o pkg/seaice/SEAICE_SIZE.h : replace ALLOW_AUTODIFF_TAMC with ALLOW_AUTODIFF
457        to avoid needing AUTODIFF_OPTIONS.h anytime SEAICE_SIZE.h is included
458        (it seems that THSICE_SIZE.h, PTRACERS_SIZE.h have the same issue...)
459    o model/src, pkg/smooth, profiles, salt_plume, seaice, exf, ecco, ctrl :
460      add ECCO_OPTIONS.h, AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h when needed
461      - ECCO_OPTIONS.h is needed when including ecco_cost.h, ecco.h
462      - AUTODIFF_OPTIONS.h is needed when including tamc.h, tamc_keys.h
463      - CTRL_OPTIONS.h is needed when including ctrl.h, optim.h, etc
464    o pkg/ctrl,ecco,exf :
465      - remove variables associated with NON-generic costs,
466        unless ECCO_CTRL_DEPRECATED is defined.
467      - remove NON-generic NON-obcs controls,
468        unless ECCO_CTRL_DEPRECATED is defined.
469    o pkg/ctrl : added ctrl_local_params.h
470    o pkg/ecco : added ecco_local_params.h
471    o verification : added ECCO_CTRL_DEPRECATED to most as and oad
472        experiments, which will progressively be removed once the
473        experiments are revised to use only generic controls/costs.
474    
475    checkpoint65f (2014/10/13)
476    o pkg/ctrl, ecco, seaice : minor changes in headers
477    o global_oce_llc90,cs32 : ecco_v4 verification exps now test generic
478        cost function and control capabilities added since checkpoint65c.
479    o pkg/ctrl: regroup all obcs ctrl variables in CTRL_OBCS.h.
480    o pkg/ecco: increase modularity and improve logic
481      - ecco_toolbox.F (new) : basic operations that are often used,
482        including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk,
483        ecco_addcost, ecco_add, ecco_div, ecco_readbar.
484      - cost_gencal.F (new) : determine filnames and records.
485      - cost_genread.F, cost_generic.F : condense code using ecco_toolbox.
486      - cost_generic.F : use spzeroloc rather than hard-coded -9999,
487        and exploit the above functions leading to more compact code.
488      - cost_genread.F : rm un-necessary arguments, re-arrange args order.
489      - ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj,
490        using_ers, using_gfo, using_mdt is now only defined within gencost)
491    o pkg/ecco: extend generic cost capabilities
492      - pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost
493        capabilities via gencost_preproc (+ _c,_i,_r related params),
494        gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod,
495        gencost_outputlevel arguments to cost_generic
496      - pkg/ecco/cost_genread.F (new) : interface between cost_generic
497        and active_read, making room for gencost_preproc to take effect.
498        Added preproc code ('climmon') to replace GENERIC_BAR_MONTH.
499      - pkg/ecco/cost_generic.F :
500        compute and store misfit maks*(model-data) in localdif that is
501        then used in cost and for output, output misfit if outlev.GT.0
502      - pkg/ecco/cost_averagesfields.F : depend on gencost_barskip
503        rather gencost_barfile for deciding whether to write barfile
504      - pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd
505      - pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from
506        ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip
507      - pkg/ecco/ecco_summary.F : report gencost variables
508      - pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs
509    o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA
510    o pkg/ecco: internal re-organization
511      - resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl
512        (rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter,
513        mv relevant variables definition from ecco_cost.h to ecco.h,
514        make sure gencost routines only include ecco.h)
515      - throughout : add missing CCP switches, rm unused variables,
516        and rm un-necessary CPP switches
517      - throughout gencost routines : replace modelstartdate with
518        gencost_startdate when needed
519      - cost_bp_read.F : use arguments, instead of common blocs
520        so that it can be used also by (new) cost_gencost_bpv4.F
521      - ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0
522      - ecco_phys.F : compute etanFull
523      - ecco_readparms.F : rename using_topex as using_tpj, add
524        bpv4-grace to gencost list, initialize added parameters
525      - ecco_summary.F : include SIZE.h needed for augmented ecco.h
526    
527    checkpoint65e (2014/09/28)
528    o pkg/obcs:
529      - replaced the just-added CPP options with run-time variables
530        (see pkg/obcs/OBCS_PARAMS.h for details)
531    o pkg/obcs:
532      - add additional CPP options for sponge boundary layers
533        (see pkg/obcs/OBCS_OPTIONS.h for details)
534    o pkg/atm_phys:
535      - implement simple (obliquity only, assuming circular planet orbit)
536        seasonal cycle for incoming insolation ; used when run-time parameter
537        "select_incSW" is set to 1 ; by default (=0), uses old unchanged formula.
538    o pkg/exf, pkg/ecco, pkg/ctrl:
539      - add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets
540      - activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip
541      - implement gentim2d for xx_tauu, xx_tauv
542    o pkg/ctrl, pkg/ecco :
543      - fix and complement the generic controls implementation
544    o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F,
545        pkg/shelfice/shelfice_thermodynamics.F,
546        verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F,
547        verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F :
548      - add weight in CTRL_GET_GEN calls
549    o pkg/ctrl :
550      - ctrl_get_gen.F : add weight as input parameter, and apply
551        it directly rather than using smooth_correl2Dw (to be retired).
552      - ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call
553    o pkg/ctrl :
554      - introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F,
555        ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F)
556      - re-activate ctrl_summary (call in ctrl_init.F)
557    o pkg/ctrl/ctrl_cost_gen.F :
558      - fix CCP brackets, remove un-necessary myiter, mytime
559    o pkg/ecco, pkg/ctrl :
560      - remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F)
561      - remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F)
562      - add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F)
563      - add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F)
564    
565    checkpoint65d (2014/09/15)
566    o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F :
567      - add xx_genarr2d_bounds,xx_genarr3d_bounds,
568        xx_genarr2d_numsmooth, xx_genarr3d_numsmooth
569    o pkg/ctrl/ctrl_map_ini_genarr.F :
570      - remove compilation failure
571      - replace hard coded example
572      - use ctrl_map_ini_gen2D, 3D
573    o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F :
574      - on/off switch based upon xx_genarr2d_weight,3d
575    o src/packages_init_variables.F :
576      - regroup pkg/estimation calls
577      - remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO
578        (moved to ctrl_init_variables)
579    o cost/cost_init_varia.F :
580      - remove ecco_cost_init_varia
581        (moved to ecco_init_varia)
582    o ctrl/ctrl_init_variables.F :
583      - add CTRL_MAP_INI, CTRL_MAP_INI_ECCO
584      - add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI
585    o ctrl/ctrl_map_ini.F :
586      - remove ctrl_map_ini_genarr, seaice_ctrl_map_ini
587        (moved to ctrl_init_variables)
588    o ctrl/ctrl_map_ini_ecco.F :
589      - remove ECCO_PHYS (mv to ecco_init_varia)
590      - remove seaice_ctrl_map_ini (mv to ctrl_init_variables)
591    o ecco/ecco_ad_diff.list :
592      - add ecco_init_varia.f
593    o ecco/ecco_init_varia.F
594      - new routine
595    o pkg/streamice:
596      - move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F
597        to streamice_init_fixed.F ; fix setting of STREAMICEisOn.
598      - from model/src, only call pkg/streamice routines if useStreamIce is TRUE.
599    o pkg/generic_advdiff:
600      - fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014.
601    o pkg/exf:
602      - exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown,
603         xxg_precip capability
604      - exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch
605    o pkg/ctrl:
606      - ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d
607    o model/src/load_fields_driver.F :
608      - move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING
609        so xx_gentim2d can be applied to e.g. exf fields in a timely manner.
610    o OpenAD verification experiments:
611      - Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h
612        in src files (to enable to skip the ECCO_CPPOPTIONS.h);
613        for now, only in pkgs used in OpenAD verification experiments.
614      - Change all except one (halfpipe_streamice) OpenAD experiments to use pkg
615        specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h)
616        instead of using ECCO_CPPOPTIONS.h (with all relevant options in it).
617        This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests.
618    o OpenAD verification tests:
619      - finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD);
620      - finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for
621        tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp.
622      - leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/)
623        and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC).
624    o model/src & generic_advdiff:
625      - change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S
626        forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model
627        dynamics requires valid tracer forcing only over tile interior but, for
628        some diagnostics, may need to extend it over 1 point in tile halo region.
629      - in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid
630        tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max
631        setting in temp/salt/ptracer_integrate.F
632    o pkg/dic:
633      - multiply tracer tendencies by maskInC (if ussing OBCS) before updating
634        gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER
635        in gchem_forcing_sep.F
636    o pkg/autodiff & obcs:
637      - add storage of current OB values for U & V (was already done for T & S).
638    
639    checkpoint65c (2014/08/30)
640    o pkg/dic:
641      - take out of dic_atmos.F the initialisation part (corresponding to istate=0)
642        and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for
643        AD compilers (but still a Pb with multi-threading and Ajoint dependencies).
644    o verification:
645      - new experiment testing OBCS and DIC pkgs, using params & output from
646        tutorial_global_oce_biogeo but limited to a sub-domain around Drake
647        passage: take OBCS from the last year of a 2 yrs simulation and initial
648        conditions from t=1.yr while keeping the same forcing.
649    o model/src:
650      - when allowFreezing=T, only reset below freezing initial Temp to Tfreezing
651        (at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T).
652    o pkg/diagnostics (Stats-Diags):
653      - re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to:
654        a) refine region where stats are computed, excluding where arrhFac=0 ;
655        b) fix missing interior mask (use with OBCS) in 3-D fields statistics;
656        c) extend regional stats over the region edges (for U or V pt location).
657    o pkg/gchem:
658      - add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since
659        pkg/dic is currently changing/updating ptracers values beyond the OB).
660    o verification (hs94):
661      - convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords
662        bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments
663        hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of
664        apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged.
665    o pkg/ptracers:
666      - implement Adams-Bashforth on pTracers (instead of on tracer tendency),
667        switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs)
668      - change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer
669        with AB-2 code (so that it get tested).
670    o model/src:
671      - allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS)
672        with AB-2 code (previously only available with AB-3 code).
673        Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F
674        to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done
675        there, by calling CYCLE_AB_TRACER).
676    o pkg/generic_advdiff:
677      - change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS,
678        GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R
679        + also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in
680        S/R temp/salt/ptracers_integrate.F
681    o model/src & pkg/ptracers:
682      - remove common block variables gT,gS (in DYNVARS.h), except when
683         USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly.
684      - remove common block variable gPtr.
685    o model/src & pkgs:
686      - change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R
687         ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G,
688         IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT,
689         GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T
690      + change accordingly all calling S/R.
691      - use local temperature/salinity/ptracer tendency array (without bi,bj)
692        in S/R temp/salt/ptracers_integrate.F
693    o pkg/seaice:
694      - move computation of stress contributions to rhsU/V in s/r seaice_lsr
695        to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code
696      - make u/vIceC local variables if SEAICE_CGRID is defined only to be used
697        in seaice_lsr
698      - seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D
699        in s/r seaice_lsr_calc_coeffs
700    o pkg/mdsio:
701      - in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long
702        (e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is
703        too long (e.g., > MAX_LEN_FNAM/2 )
704    
705    checkpoint65b (2014/08/12)
706    o pkg/matrix:
707      - pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP
708    o model/src:
709      - fix initialisation of geothermalFile; compile geothermal-flux code in
710        natl_box verification experiment.
711    o model/src & pkg/down_slope:
712      - push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop).
713      - in dwnslp_apply.F, update tracer tendency instead of the future tracer
714        field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects
715        results at machine truncation level: update output of experiments
716        global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD).
717    o pkg/diagnostics (Stats-Diags):
718      - do not cumulate the full volume when DIAGNOSTICS_FILL is
719        called with bibjFlg < 0 (no increment of the counter for 2D/3D diag);
720        This fix the mean statistics when DIAGNOSTICS_FILL is called multiple
721        times (but Min,Max and StD are still wrong).
722    o model/src:
723      - add geothermal flux forcing: read in ini_forcing.F as time-constant
724        field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F)
725    o model/src:
726      - move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer
727        _integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac
728        arrays are already updated while adjustments (filters, conv.adjustment) are
729        still applied later, in S/R TRACERS_CORRECTION_STEP.
730    o model/src:
731      - store in common bloc array "rhoInSitu" the virtual potential temperature
732        anomaly that is used to compute geopotential: this make the atmos code
733        more similar to ocean code which already uses rhoInSitu in calc_phi_hyd.F
734    o pkg/seaice/seaice_lsr.F
735      - rename integer variable ilcall to ipass (that's what it is called
736        in the residual diagnostics
737      - change time stepping for NPSEUDOTIMESTEP > 2 (does not change the
738        default) for improved non-linear convergence of the first few steps
739      - adjust a few comments and add new ones to explain some of the store
740        directives
741    o pkg/generic_advdiff (& ptracers):
742      - re-work the code to check for valid advection scheme and for minimum
743        size of overlap (now stored in local common bloc in gad_advscheme.F)
744    o pkg/seaice: another attempt to make the adjoint work for sea ice dynamics
745      - re-initialize more variables in seaice_lsr: u/vIceC, u/vIceNm1
746      - add an auxilliary variable "bet" and fix store directives and keys in
747        seaice_lsr_tridiagu/v, this seems to do the trick (i.e. more or
748        less exact gradients in my tests); but there are still
749        recomputation warning (although gradients are sort of OK), when
750        SEAICE_LSR_VECTORIZE is not defined, so this flag and
751        SEAICE_LSR_VECTORIZE_ZEBRA are recommended for efficiency.
752      - update verification experiments lab_sea.
753      - change some comments in S/R seaice_calc_viscosities
754    o model/src:
755      - if staggerTimeStep=T, always apply exchange to velocity field in
756        do_stagger_fields_exchanges.F instead of in do_fields_blocking_exchanges.F
757        (independent of using multi-dim advection or not); no effect on FWD run
758        but affects AD results (at machine truncation level): update output of
759        experiment 1D_ocean_ice_column (ad: 12 digits), hs94.1x64x5 (ad,oad: 13.d)
760        and isomip (oad: 12.d).
761    o pkg/generic_advdiff:
762      - stop if doAB_onGtGs is set to FALSE but ignored
763      - refine warning related to stability of tracer time-stepping
764        regarding internal wave dynamics.
765      - setting of AdamsBashforth_T,S when doAB_onGtGs=F: remove condition
766        on staggerTimeStep & implicitIntGravWave (will now get a warning
767        if potentially unstable).
768    o pkg/kl10:
769      - add new pkg "kl10" for mixing due to internal wave breaking, from
770        http://www.sciencedirect.com/science/article/pii/S1463500310000144
771        (contribution from Jody Klymak), tested in verification experiment
772        verification/internal_wave/input.kl10/
773    o isomip experiment:
774      - test pkg/shelfice with Non-Lin Free-Surf in one of the FWD set-up
775        (input.htd) and update the output.
776    o cd_code experiments:
777      - use default cd_code options (#undef CD_CODE_NO_AB_MOMENTUM &
778        #undef CD_CODE_NO_AB_CORIOLIS) in experiments: cfc_example (fwd)
779        global_ocean.90x40x15 (ad & oad) and OpenAD (ad & oad) and
780        update the corresponding output.
781    o pkg/seaice:
782      - reduce the number of include files and store directives in
783        S/R seaice_lsr_tridiagu/v
784      - change the order of loops in one case in S/R seaice_lsr_tridiagv
785        (only for SEAICE_VECTORIZE_LSR_ZEBRA defined), which allows me to
786        get rid off one store directive (a TAF bug?)
787      - add one more instance of ifdef SEAICE_VECTORIZE_LSR_ZEBRA in
788        S/R seaice_lsr_tridiagv to change the loop range for consistency
789      - remove ilcall, m from parameter list of S/R seaice_lsr_tridiagu/v
790      - fix a bug that affects the JFNK solver: replace sNx/y by i/jMax in
791        S/R seaice_lsr_tridiagu/v (requires update of
792        offline_exf_seaice/input.dyn_jfnk)
793    
794    checkpoint65a (2014/07/27)
795    o model/src:
796      - Non-Lin Free-Surf in p/z coords: allows hFacW,S to be larger than
797        surrounding hFacC=1 @ edge of a step with different kSurfC on either side
798        (topo in p-coords, ice-shelf in z-coords); update output of experiments
799        tutorial_global_oce_in_p and isomip (both AD and OpenAD output).
800    o model/src:
801      - collect momentum forcing tendency into local 2-D array (passed as argument
802        to apply_forcing S/R); this simplifies mom. Forcing diagnostics and CD_CODE
803        parts in timestep.F (without CD_CODE_NO_AB_MOMENTUM defined = the default);
804        affects results at machine truncation level (e.g., if using OBCS_SPONGE).
805      - collect T & S forcing tendency into local 2-D array (passed as argument to
806        apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.
807        affects results at machine truncation level (e.g., ocean: if using
808        SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist
809        correction due to vertical advection).
810      - update output of experiments: fizhi-cs-32x32x40 (13 digits),
811        global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:
812        seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),
813        obcs_ctrl (ad & fwd grd @ 12 & 7).
814    o pkg/ptracers & diagnostics:
815      - use ptracers (short) name (instead of long one) to make ptracers diagnostics
816        title (to avoid some unexpected truncation); sort out ptracers diags units.
817      - collect ptracer forcing tendency into local 2-D array (passed as argument
818        to apply_forcing S/R); add 3-D diagnostics for ptracers forcing tendency.
819    
820    checkpoint65 (2014/07/18)
821    o pkg/fizhi:
822      - add parenthesis around fizhi tendencies in fizhi_tendency_apply.F: this
823        affects results at machine truncation level. Update output of experiments
824        fizhi-cs-32x32x40 (12 digits for cg2d) & fizhi-cs-aqualev20 (13 digits).
825    o pkg/seaice: more clean up
826      - rename TAF common block tapes to be more consistent and remove
827        unnecessary duplicates
828      - add store directives to remove more recomputations, but use smaller
829        tapes (and adjust keys) when SEAICE_LSR_ADJOINT_ITER is undefined.
830        The idea behind this flag is to reduce the memory footprint when the
831        adjoint of the LSR is not required. As of now, defining the flag
832        SEAICE_LSR_ADJOINT_ITER increases 4 common block tapes for 2D field by
833        a factor of SOLV_MAX_FIXED (=500 by default in SEAICE_SIZE.h).
834        For experiment offline_exf_seaice, this means on a linux box with gfortran
835        nearly a factor of 10 (but keep in mind there is mostly seaice code in
836        this experiment):
837        > size mitgcmuv_ad
838        text    data        bss     dec        hex
839        5100659 1216  220458952  225560827  d71c8fb
840        5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
841        but only a moderate increase of 36% for global_ocean.cs32x15:
842        text    data        bss     dec        hex
843        6695027 1648 1014578664 1021275339 3cdf6ccb
844        6695203 1648 1382505320 1389202171 52cd8afb (SEAICE_LSR_ADJOINT_ITER)
845      - note: there are still recomputations in global_ocean.cs32x15 and
846        offline_exf_seaice and the gradient agreement changes (gets a
847        little worse) for global_ocean.cs32x15 (-> update output_adm.seaice.txt)
848      - in general, the AD gradients still are wrong
849    o OpenAD
850      - clean up code_oad/ directories somewhat by moving files
851        dontCompile, dontTransform, keepOriginal to OAD_support/
852    o model/src:
853      - using MOM fluxform and Non-Lin Free-Surf with momDissip_In_AB=F
854        (not currently tested): add dissipation terms before NLFS rescaling of
855        tendencies (previously done after).
856    o pkg/diagnostics:
857      - write stats-diags in ascii file with more digits (same as in monitor).
858    o pkg/down_slope:
859      - drop the bi,bj dimension of argument recip_hFac in S/R DWNSLP_APPLY; with
860        NLFS (not tested), use new recip_hFac value in order to conserve tracer.
861    o model/src:
862      - new file "apply_forcing.F" containing all the code previously in
863        external_forcing.F, but with new argument list: pass, as new argument,
864        the current level tendency array to update (instead of a direct update
865        of the common bloc array). Change the corresponding calls.
866      - add CPP option USE_OLD_EXTERNAL_FORCING (default is undef) to use
867        EXTERNAL_FORCING_U,V,T,S subroutines (for backward compatibility).
868    o pkg/seaice/seaice_lsr, a little bit of clean up
869      - rearrange some code blocks, so that now all calculations for
870        setting up the right-hand-sides done within one single block
871        (I find that easier to read and understand)
872      - rearrange freedrift-code to reduce the number of ifdefs
873      - adjust some indentations and comments
874    
875    checkpoint64z (2014/07/10)
876    o model/src and several pkgs:
877      - change argument list of all S/R called from external_forcing.F and
878        called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F)
879        to pass, as argument, the current level tendency array to update
880        (instead of a direct update of the common bloc array).
881      - change also (in the same way) argument list of PTRACERS_APPLY_FORCING;
882      - rename taueddy_external_forcing.f to taueddy_tendency_apply.F
883    o pkg/seaice/seaice_lsr.F
884      - always initialize local arrays in seaice_lsr_tridiagu/v
885      - add more local tapes to seaice_lsr_tridiagu/v
886      - move storing u/vice(:,:,bi,bj) out of seaice_lsr_tridiagu/v, but
887        keep it in bi/bj loop; this seems to be essential
888      - gradients are still wrong but only by 4-7 orders of magnitude
889        instead of 15 orders of magnitude, lab_sea improves a little
890    o pkg/seaice
891      - (pkg/autodiff) remove storing/restoring of seaiceMaskU/V that
892        generates unnecessary code in seaice_lsr_ad
893      - add more store directives in seaice_lsr to avoid unnecessary code
894        in seaice_lsr_ad
895      - exclude some residual computations in seaice_lsr when
896        ALLOW_AUTODIFF_TAMC is defined in order to avoid unnecessary code
897        in seaice_lsr_ad
898      - add more storing, a new tape (model/src/the_main_loop.F) and
899        another key for SEAICE_LSR_VECTORIZE_ZEBRA (the local keys ilockey
900        and klockey should be checked by a specialist)
901      - modify ( define SEAICE_VECTORIZE_LSR and SEAICE_LSR_ADJOINT_ITER )
902        and update lab_sea after previous changes in pkg/seaice below
903    o pkg/autodiff:
904      - introduce useSmoothCorrel2DinAdMode, SEAICEapproxLevInAd, and
905        viscFacInAd : run time parameters allowing for adjoint switches
906        note : logic for useSmoothCorrel2DinAdMode is in ctrl_readparms.F
907    o pkg/ecco:
908      - introduce cost_gencost_boxmean.F that computes a box mean
909        temperature (for use in adjoint sensitivity studies).
910    o model/src/set_defaults.F : initialize viscFacAdj to 1.
911    o pkg/mom_common/mom_calc_visc.F:
912      - ifdef ALLOW_AUTODIFF then include viscFacAdj factor.
913    o pkg/seaice/seaice_summary.F:
914      - statement for SEAICEadjMODE now in autodiff_readparms.F
915    o pkg/seaice:
916      - remove some store directives and add new ones in an effort to get
917        finally rid off the recomputation warnings. This is successful
918        when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are
919        defined (i.e. no extensive recomputation warnings left), but there
920        are still too many recomputations on the solver iteration level
921      - define SEAICE_VECTORISZE_LSR in offline_exf_seaice/code_ad/SEAICE_OPTIONS.h
922      - move definition of MPSEUDOTIMESTEPS into TAMC-block in
923        SEAICE_SIZE.h
924      - add a store directive in S/R seaice_calc_viscosities
925    o pkg/seaice (ITD code):
926      - fix definition of Hlimit for multi-threaded case
927      - use double precision arithmetic to compute Hlimit: this affects results;
928        update output of experiment seaice_itd.
929    o replace content of verification/seaice_itd
930      - instead of a 1D column use the configuration of offline_exf_seaice
931        to test the ice thickness distribution code with ridging
932      - this is a first shot at this experiment
933      - change of some defaults of ridging parameters SEAICEhStar (from
934        100 to 25) and SEAICEmuRidging (from 5 to 3) in seaice_readparms.F
935        and lot of new comments.
936    
937    checkpoint64y (2014/06/20)
938    o pkg/seaice/seaice_reg_ridge.F:
939      - modify the regularization of very small volumes of ice; only check
940        total volume HEFF, and do not apply correction to individual ice
941        classes because that leads to funny patterns in the heat and fw-fluxes
942        into the ocean. Adjust seaice_itd/results/output.txt
943      - replace nITD by SEAICE_multDim in loop-ranges
944    o pkg/exf:
945      - add code to process the case field period = -12. with UV interpolation.
946      - move debug print (formerly active when exf_verbose=T) from EXF_getFFieldRec
947        into S/R that calls it (i.e., exf_set_gen.F, exf_set_uv.F & obcs_exf_load.F)
948    o verification/global_with_exf:
949      - switch all fields period to -12. (was previously untested) in input/data.exf
950        (but keep secondary test ".yearly" unchanged); update the reference output.
951    o pkg/cal:
952      - new calendar type "noLeapYear" for 365 days calendar without any leap year.
953    o pkg/exf:
954      - new integer parameter "exf_debugLev" (default set to main model debugLevel)
955        to replace logical switch "exf_verbose"
956      - report in STDOUT when loading a new record (if exf_debugLev >= 3)
957    o pkg/sbo:
958      - update from Katherine Quinn: evaluate mass directly from density and SSH
959        (budget using Finite Volume method) instead of from bottom pressure.
960      - allow testreport to collect few selected SBO output ; tested in exp.
961        global_ocean.90x40x15 (after updating the results, to include SBO output).
962      - fix some multi-threading issues (in output part).
963    o model/src & most packages:
964      - always call {PKG}_READPARMS even if corresponding use{PKG}=F;
965      - in {PKG}_READPARMS, in case use{PKG}=F: add a call to new S/R
966        PACKAGES_UNUSED_MSG to print a weak warning when parameter file
967        "data.{pkg}" exist ; and leave the S/R (return) just after.
968      - more standard LAND pkg interface (land_init_fixed.F, land_check.F).
969        + call LAND_READPARMS from packages_readparms.F
970    o pkg/seaice:
971      - remove code that resets useThSice in S/R seaice_readparms and
972        replace it by a warning in S/R seaice_check
973      - remove parameter MULTDIM, replace with nITD and runtime
974        parameter SEAICE_multDim (still hard-wired to nITD if
975        SEAICE_ITD is defined)
976    
977    checkpoint64x (2014/05/24)
978    o verification/lab_sea:
979      - update adjoint and TLM output following changes to pkg/salt_plume
980      - un-do the update after putting back local recip_Cp in few places.
981    o pkg/salt_plume: modifications by An Nguyen:
982      - add capability to do brine rejection (salt-plume) as function of
983        volume+tracers (instead of only salinity tracer).
984      - conserve volume by exchanging volume from each kLev to above to
985        accommodate in-coming brine volume
986      - store surface and klev exchanged fraction + volume in 4 new 3-d arrays
987      - switch KPP surf buoyancy due to brine forcing to 3-d
988        (3 more 3-d arrays, 2 for SPforcing[T,S], 1 for boplume)
989      - add salt_plume_volfrac, salt_plume_apply, salt_plume_tendency_apply_t
990      - unrelatedly, also add ad-hoc capability to vary salt_plume scheme
991        in East/West Arctic.
992    o pkg/sbo:
993      - incorporate modifications from Katherine Quinn to enable the use of sbo
994        pkg in ECCO-v4 set-up ; remove SBO-TimeAve output ; add monitor-like
995        output for future testreport verification (unfinished).
996    o pkg/atm_phys:
997      - change diagnostics (AtPh_Trf & AtPh_Qrf) of DARGAN_BETTSMILLER S/R:
998        skip the reseting of t_ref & q_ref to initial t & q ; this preserve the
999        output of S/R CAPECALCNEW (Parcel temp & q) for diagnostics.
1000    o pkg/seaice
1001      seaice_calc_ice_strength.F: modify expression to avoid divisions
1002        (affects truncation)
1003      seaice_do_ridging.F: clean up the insectarium
1004      - fix a bug that was compensated by areaScaling (-> remove areaScaling code)
1005      - added SEAICEsnowFracRidge to redistributed snow (2nd bug)
1006      - set closing/openingRate to zero where no extra iteration is need (3rd bug)
1007      - add some debugging information and error messages (warnings)
1008    o model/src: modifications relatd to atmosphere p*:
1009      - Switch to more accurate p* coordinate slope term (calc_grad_phi_hyd.F)
1010      - With p* or Sigma-P, use constant reference Pot.Temp (thetaConst) instead
1011        of vertical profile tRef in geopotential background and anomaly.
1012      - Acount for true p* correction in theta <-> T conversion in pkg/aim_v23
1013        and pkg/atm_phys.
1014      - Update FWD output of experiments: aim.5l_cs (x2), fizhi-cs-32x32x40,
1015        fizhi-cs-aqualev20, fizhi-gridalt-hs, tutorial_held_suarez_cs, cpl_aim+ocn.
1016    o pkg/seaice: fix a bug in seaice_prepare_ridging.F, forgot a sqrt
1017    o pkg/ptracers: compute ptracer source/sink due to linear free surface.
1018        not used right now, but can be used in BGC packages to fix conservation.
1019    o pkg/dic, pkg/gchem: move tracer_meanarea to gchem, so it can be used by
1020        other packages too.
1021    o pkg/seaice/seaice_calc_ice_strength.F: replace SEAICE_rhoSnow by
1022        SEAICE_rhoIce in the Rothrock (1975)-type strength calculations (bug fix)
1023    o model/src:
1024      - since we have several heat capacity (even in model/src), define "recip_Cp"
1025        as local variable (no longer in common block) to avoid any confusion.
1026      - add thetaConst in PARAMS.h (to be used with pStar or sigma-P coords).
1027    o pkg/exf:
1028      - from Jeff Scott: add option (#define EXF_CALC_ATMRHO) to calculate local
1029        air density as function of air Temp, Humidity and atm pressure.
1030    
1031    checkpoint64w (2014/05/02)
1032    o verification:
1033      - update output_adm.txt files for experiment global_ocean.cs32x15 (seaice &
1034        seaice_dynmix) and lab_sea (primary test & noseaicedyn): moving/changing
1035        code from seaice_growth.F & seaice_advdiff.F to new ridging routines
1036        seaice_reg_ridge.F seaice_do_ridging.F affects AD gradient
1037        (down to 8-7 matching digits for global_ocean and 5-6 for lab_sea).
1038    o model/src: for atmosphere in p* coords:
1039      - store factor rStarFacC**atm_kappa (= pStarFacK) in common block
1040      - implement more accurate p* coordinate slope term (in calc_grad_phi_hyd.F),
1041        but not yet activated.
1042    o pkg/seaice: fix restart problem for ITD with new ice strength parameterisation:
1043      - move computation of opnWtrFrac = 1-AREA to before computing ice strength
1044      - this changes the results (but not for any verification experiment, because
1045        none tests this), but avoids having an extra field in the restart files
1046    o pkg/seaice: remove global variable TICE (not needed)
1047      - replace by TICES or local variable where necessary (cost_seaice_test,
1048        seaice_diagnostics_state)
1049      - move copying TICE to TICES from seaice_check_pickup to seaice_read_pickup
1050      - use specific read/write routines for reading and writing individual leves
1051        of a multilevel field
1052    o pkg/ctrl & model/inc:
1053      - move additional anomaly fields of control vars (related to options:
1054         ALLOW_KAPGM_CONTROL, ALLOW_KAPREDI_CONTROL and ALLOW_BOTTOMDRAG_CONTROL)
1055        from DYNVARS.h into new header file: CTRL_FIELDS.h
1056    o pkg/seaice: some small modifications to the ridging code
1057      - make fw2ObyRidge a global variable and add the freshwater flux to
1058        seaice_growth
1059      - pass actual thickness from seaice_prepare_ridging, so that it is
1060        computed only in one place and compute it in the same way as in
1061        seaice_growth
1062      - initialise more fields in seaice_do_ridging that where cause floating
1063        point exceptions over land
1064  o pkg/seaice: preparations for ridging code and first real ridging code  o pkg/seaice: preparations for ridging code and first real ridging code
1065    - move most of "PART 1" of S/R seaice_growth into a new and separate    - move most of "PART 1" of S/R seaice_growth into a new and separate
1066      S/R seaice_reg_ridge that will both regularize the state variable after      S/R seaice_reg_ridge that will both regularize the state variable after
1067      advection call the actual ridging routine;      advection call the actual ridging routine;
1068    - requires to make 5 fields global fields: d_HEFFbyNEG,d_HSNWbyNEG,    - requires to make 5 fields global fields: d_HEFFbyNEG,d_HSNWbyNEG,
1069      d_AREAbyRLX,d_HEFFbyRLX,saltFluxAdjust;      d_AREAbyRLX,d_HEFFbyRLX,saltFluxAdjust;
1070    - remove ridging code from seaice_advdiff    - remove ridging code from seaice_advdiff
1071    - clean up remaining part 1 of seaice_growth in an attempt to make it    - clean up remaining part 1 of seaice_growth in an attempt to make it
1072      more readable (this is probably subjective)      more readable (this is probably subjective)
1073    - call seaice_itd_redist once in the initialisation phase to have the initial    - call seaice_itd_redist once in the initialisation phase to have the initial
1074      conditions in the correct category      conditions in the correct category

Legend:
Removed from v.1.1980  
changed lines
  Added in v.1.2170

  ViewVC Help
Powered by ViewVC 1.1.22