/[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.1743 by mlosch, Mon Sep 24 15:07:38 2012 UTC revision 1.2173 by jmc, Sat Jul 18 22:15:07 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 pkg/offline:
8      - change where Offline-Fields are loaded, from load_fields_driver.F to
9        directly within FORWARD_STEP, just after updating iter number and time;
10      - move setting of GM and KPP diffusivity out of OFFLINE_FIELDS_LOAD into new
11        S/R OFFLINE_GET_DIFFUS that is called towards the end of DO_OCEANIC_PHYS;
12       These changes allow:
13        a) to recover exactly on-line results using deltaToffline=deltaTClock,
14        tested (using offlineIter0= nIter0 -1 and offlineTimeOffset= -deltaT/2)
15        both with Lin & Non-Lin Free-Surf, both with staggerTimeStep & synchronous
16        time-step, both with GM & KPP files and with recomputing these fields;
17        b) no needs to switch on staggerTimeStep anymore;
18        c) simplify rescaling of offline horiz. velocity with Non-Lin Free-Surf.
19      - update output of experiments tutorial_cfc_offline (11 to 13 digits left)
20        and tutorial_dic_adjoffline (only 3 digits left).
21    o pkg/offline:
22      - change (rarely used) offset-iteration parameter to an offset time (in s):
23        can easily recover previous offset-iter effect by setting offset-time
24        (offlineTimeOffset) to offset-iter x deltaToffline;
25      - do not turn-off Temp & Salinity surface relaxation when using KPP (used
26        in KPP as part of surface buoyancy forcing) in offline run.
27      - fix ptracers KPP non-local term in the case where KPP is re-computed.
28    o OpenAD
29      - Adding preliminary ggl90 test to OpenAD verification.
30        Config. with ggl90 currently diverges after 64 time steps
31        so will need more work to become more stable
32      - Adding preliminary kpp test to OpenAD verification.
33        required small tweakes in kpp_routines.F
34      - Merge and update from Krishna Narayanan's contrib area:
35        * Add one variable for preliminary OpenAD DIVA
36        * Add replacement time-stepping for OpenAD DIVA
37        * genmake2 flag -diva (but only for OpenAD; preliminary)
38        * required modifs for OAD_support
39        successful preliminary test for tutorial_global_oce_biogeo/
40    o pkg/seaice:
41      - initialise deltaC in seaice_lsr, cosmetic changes in seaice_lsr
42      - add cpp-flag SEAICE_DELTA_SMOOTHREG for option of regularising
43        delta with a smooth function in s/r seaice_calc_viscosity
44        (no effect on EVP)
45      - rename local suffix "sqr" into "sq" for more consistent variable names
46    o pkg/seaice:
47        add new parameter SEAICE_deltaMin that is used ***only***
48        for regularizing Delta (and nothing else, like the parameter
49        which is also used for all sorts of things SEAICE_EPS).
50        Defaults to SEAICE_EPS for backward compatibility only.
51    o pkg/seaice: replace erroneously storing e12Csqr on the wrong tape with
52        the wrong key by inialising it before use -> fixes a recomputation
53        problem but does not fix the gradient
54    o pkg/layers:
55      - move resetting of flux arrays to outside the iLa loop
56        (this caused layers_diapycnal to not work with more than one layer coord.)
57      - fix bug in calculation of layers_recip_delta in layers_init_fixed.F
58    o pkg/layers:
59      - remove from common block 3D layers fields (used to diagnose transport
60        in tracer coords) and declare them as local arrays in layers_calc.F
61    o pkg/seaice:
62      - Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it
63        in lab_sea forward experiment (changes results -> updated)
64      - update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v
65    o pkg/seaice: modify seaice_lsr.F in order to improve the gradient
66       computations; for SEAICE_VECTORIZE_LSR
67      - move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v)
68        sweep to the outside,
69      - remove store directives and add "CADJ loop sequential" directives
70        in analogy to model/src/solve_tridiagonal.F
71      - replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop
72        boundaries to yield more readable code. This has also the charming side
73        effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without
74        SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in
75        seaice_lsr_tridiagu/v now requires either of these flags, vectorization
76        still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as
77        an additional option)
78       The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F
79       but the adjoint gradients (which are affected by this change) still explode.
80    o coupler (atm & ocn _compon_interf):
81      - avoid using Exch2 IO mapping if not suitable.
82    
83    checkpoint65m (2015/06/15)
84    o pkg/layers:
85      - clean-up old parameters setting (from Sep 2012):
86        + remove old parameters setting from common block (declared locally);
87        + stop if any old parameter is mixed with new parameters;
88        + check for valid or consistent parameter setting (e.g., layers_name)
89      - check that layers_bounds for Pot.Density are in the right range;
90        this is supposed to catch un-updated setting after recently shifting
91        potential density field "prho" by -1000 (now in "sigma" scale).
92    o pkg/layers:
93      - Added missing call to layers_fill for keeping track of tottend in
94        pkg/diagnostics/diagnostics_fill_state.F
95    o pkg/layers:
96      - added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning
97        of diapycnal fluxes
98    o pkg/layers:
99      - reverted changes to interpolation to previous treatment; there
100        was never actually a problem
101    o pkg/layers:
102      - fix interpolation of layers tracers in the presence of partial cells
103      - add lots of new functionality to compute water mass transformation
104        (enabled by CPP flag LAYERS_THERMODYNAMICS)
105      - add new calls from main code (diags_oceanic_surf_flux.F,
106        thermodynamics.F, impldiff.F) and gad to save the necessary fields
107        for layers_thermodynamics calculations
108    o pkg/ptracers:
109      - add capability of stepping a passive tracer forward without advection
110        by setting PTRACERS_advScheme to 0.
111    o pkg/diagnostics:
112      - add few (threads) _BARRIER around any update of "diag_pkgStatus".
113    o pkg/layers:
114      - shift potential density field "prho" by -1000 for density layer averaging so
115        that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000);
116        Note that density bin boundaries (layers_bounds in data.layers) have
117        to be set accordingly (i.e., shifted, in sigma scale).
118    o pkg/layers:
119      - fix snap-shot output of layer thickness @ V.pt and output of pot.density
120      - fix calculation of layer non-weighted velocity and layer probability
121      - add diagnostics for pot.density used for layer averaging
122    o pkg/seaice:
123      - seaice_calc_viscosity.F: change computation of deltaC**2 to ensure
124        positiveness, modify a few comments and improve variable names,
125      - the changed computation of deltaC affects most seaice-related
126        experiments at the truncation level.
127        seaice_itd.thermo is affected by far the most, with
128        only 7 digits of agreement remaining; update experiments.
129    
130    checkpoint65l (2015/05/04)
131    o pkg/shelfice:
132      - in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set
133        factor drKp1 to zero where it is negative (ie. do not use
134        SHELFICEBoundaryLayer if hFacC>1)
135      - the same for factor drLoc in shelfice_forcing.F
136    o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem
137        with modules in ptracers, when using testreport option "-small_f"
138    o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD)
139      - replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1))
140    o verification/testreport
141      - add new option -small_f
142        with this option testreport first makes the target small_f (*.f files)
143        before running make (all). This is useful for explicit inlining when
144        all sources need to be full available.
145    o pkg/exf/exf_interp.F:
146        remove previous changes related to reverse (decreasing) input grids latitude
147    
148    checkpoint65k (2015/04/01)
149    o pkg/ecco:
150        fix missing cosphi initialization; use eccoiter in place of optimcycle;
151        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
152        instead of active read/write
153    o pkg/ctrl:
154        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
155        instead of active read/write.
156    o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F
157        return if .NOT.useAUTODIFF
158    o pkg/seaice: add CPP brackets (cost function related).
159    o model/src:
160        add useAUTODIFF run time switch.
161    o pkg/exf/exf_interp.F:
162        add code to allow input grids with latitude starting in the north (i.e. when
163        j=1 corresponds to northern edge of field); modify global_with_exf to test
164        this feature.
165    o verification/testreport:
166      - replace "grep -A3" with POSIX conformal sed command, because there are
167        implementations of grep that cannot do contextual searches
168      - replace "cat -n" by "nl" (two occurrences), because not all implementations
169        of "cat" have the option "-n"
170    o model/src:
171        add new file gsw_teos10.F that contains 3 functions, more or less a copy
172        of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to
173        convert from conservative to potential temperature. For now they are not
174        called anywhere.
175    o pkg/ggl90: make "useIDEMIX" useful
176      - re-organize code in s/r ggl90_calc a little to move computations that
177        are different for idemix into separate loops (changes verification
178        experiment idemix at truncation level, 12 digits remain -> updated)
179      - requires 2 new 2D fields KappaM, verticalShear
180      - make hFacI and recip_hFacI local 3D variables that are passed to
181        s/r ggl90_idemix
182      - fix and improve some comments
183    
184    checkpoint65j (2015/02/25)
185    o pkg/openad
186      - synchronize seawater.F with version in model/src: replace routine
187        body of sw_temp by calling sw_ptmp and fix/add a few comments.
188    o pkg/mnc:
189      - change default value of pickup_read/write_mnc params to FALSE
190        (since few features are missing in reading MNC pickup files).
191    o model/src:
192      - change default (background) vertical diffusivity for salt to be the
193        temperature (background) vertical diffusivity.
194      - change background vertical diffusivity in vertical mixing pkgs ggl90,
195        kl10, my82 and pp81 from temperature diffusivity to salinity diffusivity.
196        This makes ptracers default diffusivity (that uses salt diffKr) more
197        consistent with vertical mixing schemes.
198    o verification/testreport:
199      - fix typo in "-pcls" option ;
200      - put temp files in /tmp (instead of in local dir)
201      - add option "-ncad" to use genmake2 new option "-nocat4ad"
202      - allow to use "-j" option (for multi-procs make) for AD, OAD and TLM.
203    o pkg/ggl90 (idemix code):
204      - apply few fixes ; add some missing "_d 0" ; update output of exp.
205        global_ocean.90x40x15.idemix
206    o OpenAD
207      - enable active file I/O and begin removal of work-around code
208        for OpenAD for handling control variables (memory vs. active files)
209      - new CPP options file OPENAD_OPTIONS.h
210      - revert to genarr2d gradient check for hs94.1x64x5
211      - (genarr3d tested by tutorial_global_oce_biogeo, tutorial_tracer_adjsens)
212      - gentim2d works for halfpipe_streamice but not yet hs94.1x64x5
213    o tools/genmake2:
214      - add option for an alternative Makefile (from Martin) where multiple
215        source files are sent to TAF (instead of all in one file).
216    o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013)
217      - code provided by Carsten Eden as an extension of ggl90
218      - so far the code is turned on within ggl90 by setting a CPP-flag at
219        compile time; a runtime flag implementation is not yet complete
220      - tested in new verification experiment global_ocean.90x40x15.idemix
221    o verification:
222      - reduce length of the AD test run by half for experiments
223        global_ocean.cs32x15 (std + thsice) and isomip
224      - enable active file I/O for OpenAD, adjust verifications accordingly
225      - halfpipe_streamice: change gradient check from genarr2d to gentim2d
226    o verification/testreport:
227      - fix two non-POSIX sed statements so that there are no error messages
228        on Mac OS X
229      - replace hostname -s with hostname | sed 's/\..*$//'
230    o model/src/seawater.F:
231      - simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged
232        (following the matlab code), which would have avoided the bug caught
233        by Matt (see below) in the first place
234    o pkg/shelfice:
235      - implement alternative discretisation of quadratic drag (selectBotDragQuadr)
236        and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag.
237      - fix sign of friction tendency (no-slip BC) and fix u,v drag for thin
238        ice-shelf case (i.e., within surface level).
239      - add config summary in shelfice_check.F
240      - remove global variable recip_SHELFICElatentHeat and replace by a local
241        variable recip_latentHeat
242      - introduce diagnostics for friction velocity uStar (in case of
243        SHELFICEuseGammaFrict)
244      - change verification experiment isomip.htd:
245        + start from pickup (as input_ad at nIter0=8640)
246        + start from SHELFICEmassFile instead of SHELFICEloadAnomaly file
247        + test SHELFICEuseGammaFrict = .TRUE.
248        + test SHELFICEadvDiffHeatFlux = .TRUE.
249    o model/src:
250      - fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to
251        in-situ Temp) and in routine SW_TEMP (in pkg/openad);
252        update output of experiments global_with_exf.yearly and isomip (all 6).
253    o pkg/shelfice:
254      - change setting of kTopC to also be zero where there is no ice-shelf.
255      - zero out surface forcing arrays (for now, for T & S + EmPmR) where
256        ice-shelf is.
257      - first attempt to get RealFreshWaterFlux effects: for now, only without
258        SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping.
259    o pkg/seaice: add the option to prescribe a fixed thickness PDF
260      for thermodynamic calculations
261      - because of divisions of the type 7/7 not exactly equal to 1, this change
262        affects results of some verification experiments by up to 4 digits:
263        global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume,
264        seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides
265        adjoint: lab_sea, lab_sea.noseaicedyn
266        -> updated
267    
268    checkpoint65i (2015/01/23)
269    o model/src:
270      - change units of frictionHeating field from W to W/m^2
271      - fix bug in frictional heating from stratospheric drag in
272        S/R ATM_PHYS_TENDENCY_APPLY_V
273      - with synchronous time-stepping: move resetting to zero of frictionHeating
274        field from load_fields_driver.F to thermodynamics.F ;
275      - add diagnostics for frictional heating.
276    o model/src & gmredi K3D:
277      - add frictionHeating field to pickup-files (for synchronous time-stepping)
278      - move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h
279      - rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name
280        and name in pickup file).
281      - fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F
282    o model/src:
283      - move (from ini_forcing.F) initialisation of all arrays in header file
284        FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart
285        (since Nov 2012) with option selectAddFluid=1.
286    o pkg/shelfice:
287      - change units (+ document) of newly added field "shelfIceMassDynTendency"
288      - upgrade from _RS to _RL shelficeMass & shelficeLoadAnomaly arrays.
289    o pkg/obcs: re-organize obcs_calc_stevens.F to prepare for passive tracers
290    o pkg/seaice: two new runtime parameters:
291      - SEAICE_cStar replaces the hard wired "20" in the strength formulation,
292        long overdue
293      - SEAICE_tensilFac: preparation for Koenig-Beatty+Holland (2012)
294        parameterization of tensil stress for fast ice (does not do anything yet)
295    o pkg/seaice/seaice_check.F: left over from restricted addtive Schwarz method
296        for LSR: move checking overlaps out of JFNK-if-block
297    o pkg/atm_phys:
298      - move copy of grid and dynamical fields out of atm_phys_driver.F into
299        new S/R ATM_PHYS_DYN2PHYS.
300      - fix level height for Linear Free-Surf case (to be consistent with
301        fixed-in-time pressure levels).
302    o pkg/mom_common (bottomdrag):
303      - average bottomDragFld (ALLOW_BOTTOMDRAG_CONTROL) from grid-cell center
304        to correct location (U & V point) in S/R MOM_U/V_BOTTOMDRAG;
305        update output (adm & tlm) of experiment global_ocean.90x40x15.bottomdrag.
306    o pkg/shelfice (u/v_drag):
307      - add one argument (the other velocity component) to S/R SHELFICE_U/V_DRAG;
308      - use SHELFICEDragLinear & SHELFICEDragQuadratic in shelfice_v_drag.F
309        (now similar to shelfice_u_drag.F)
310      - remove condition on bottomDragTerms when calling SHELFICE_U/V_DRAG
311        from mom_vecinv.F (similar to mom_fluxform calls).
312    o pkg/mom_common (bottomdrag):
313      - add one argument (the other velocity component) to S/R MOM_U/V_BOTTOMDRAG;
314      - add options for alternative discretisation of velocity norm in quadratic
315        bottom drag: averaging of grid-cell-center KE to U.point and V.point
316        (selectBotDragQuadr=0, original code) can produce noisy patterns; this
317        improves when averaging only the other component (e.g. vVel for U bottom
318        drag) using wet-point method (selectBotDragQuadr=2) or not (=1).
319      - add options (bottomVisc_pCell) to account for partial-cell in bottom
320        friction (no-slip BC) thus getting the true distance from the bottom;
321        off by default since this also reduces model stability (explicit bottom
322        friction). Changes produce different machine truncation with linear-drag
323        + no-slip BC: update output of experiments exp4.stevens (10 digits) and
324        front_relax (bvp & mxl, 10 & 11 digits).
325    o model/src & mom pkgs:
326      - add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
327        since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
328      - for now and until vertical mixing scheme are updated to fill up level Nr+1,
329        just copy level Nr value to level Nr+1.
330    o doc:
331      - add notes form Abhisek Chakraborty on how to close Heat & Salt budgets.
332    o pkg/streamice:
333      - shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F,
334        SHELFICE.h: move array shelficemass to init_varia, initialise
335        from array shelficemassinit, which is set in init_fixed and
336        has option to be set from file; introduce array
337        shelficeMassDynTend array, set thru file in init_fixed
338      - NEW FILE: shelfice_step_icemass.F: update shelficemass from either
339        shelfIceFreshWaterFlux and shelficeMassDynTend or H_streamice in
340        pkg/streamice
341      - shelfice_thermodynamics.F: call shelfice_step_icemass if
342        SHELFICEMassStepping = .true.
343      - shelfice_ad_diff.list: add new subroutine shelfice_step_icemass.f
344    
345    checkpoint65h (2014/12/17)
346    o verification/global_ocean.90x40x15, global_ocean_ebm:
347      - update to generic controls.
348    o pkg/ctrl:
349      - ctrl_map_ini_genarr.F: test for igen>0
350      - ctrl_init_variables.F: add call to CTRL_MAP_INI_GENTIM2D.
351      - move gentim2d part of ctrl_map_ini_genarr.F to
352        new separate routine : ctrl_map_ini_gentim2d.F
353      - ctrl_cost_driver.F,ctrl_init.F ctrl_map_ini_genarr.F:
354        add time variable weights and cyclic controls (time mean,
355        seasonal cycle, etc) capabilities to gentim2d
356    o pkg/ecco:
357      - move reading of error, conversion to weights from
358        ecco_cost_init_fixed.F to ecco_toolbox.F (ecco_readwei)
359    o global_oce_llc90, cs32:
360      - activte sbo.
361      - CTRL_SIZE.h : add maxCtrlProc.
362      - activate the new genctrl capabilities.
363      - update following reorganization of global_oce_input_fields.tar.gz  
364    o pkg/ctrl/ctrl_ad_diff.list:
365      - add missing ctrl_init_rec.f
366    o tools/OAD_support/keepOriginal:
367      - add ctrl_init_rec.F
368    o model/src/the_main_loop.F, pkg/ctrl/ctrl_map_ini_genarr.F:
369      - avoid recomputations of xx_gentim2d_dummy.
370    o momentum diagnostics:
371      - move filling of diagnostics Um_Diss & Vm_Diss from mom_fluxform.F and
372        mom_vecinv.F to timestep.F (to include Smag-3D contribution).
373    o pkg/seaice/seaice_lsr.F:
374      - fix computation of BU/BV, make sure they are non-zero, only necessary
375        for cubed sphere exchanges and SEAICE_OLx/y>0.
376        This makes calling s/r fill_cs_corner_rl obsolete (removed).
377    o verification/global_ocean.cs32x15/input.seaice
378      - add test for strong implicit coupling and restricted addtive Schwarz
379        methods for LSR
380      - update results/output.seaice.txt
381    o verification/tutorial_global_oce_biogeo:
382      - AD & OAD set-up: switch off ALLOW_OLD_VIRTUALFLUX (like in fwd set-up)
383        and set PTRACERS_EvPrRn(1,2) to zero (for DIC & ALK);
384        update output_adm,_oadm,_tlm.txt
385    o pkg/dic:
386      - change default to "#undef ALLOW_OLD_VIRTUALFLUX" in DIC_OPTIONS.h
387      - add a stop when ALLOW_OLD_VIRTUALFLUX is defined and PTRACERS_EvPrRn
388        for tracer 1 & 2 is set (to avoid double counting of dilution effect).
389    o verification/tutorial_global_oce_biogeo:
390      - AD & OAD set-up: do not set PTRACERS_EvPrRn for tracer 1 & 2 since
391        dilution is already added by pkg/dic ALLOW_OLD_VIRTUALFLUX ;
392        update output_adm,_oadm,_tlm.txt
393    o eesupp/src:
394      - add fill_cs_corner_rl.F (_RL-copy of fill_cs_corner_rs.F)
395        and call it in seaice_lsr when using nonzero SEAICE_OLx/y
396    o pkg/seaice: introduce strongly implicit coupling, intended for stabilizing
397      LSR (following Hutchings et al. 2004)
398      - introduce zetaZ as a global variable (requires adjustments in
399        seaice_evp.F and seaice_jfnk.F) and compute analoguously to etaZ
400        in seaice_calc_viscosities.F
401      - new flag SEAICEuseStrImpCpl (default off)
402      - add new terms zetaZ*du/dy and zetaZ*dv/dx on both sides of the
403        momentum equations
404      - JFNK-solver (preconditioner) adjusted to allow using this method
405        (where it does not have any positive effect)
406    o pkg/seaice
407      - add overlap for restrictive additive Schwartz method also to LSR, but
408        turn it off by default (because it only seems to work for non-cubed
409        sphere/llc topologies)
410    o pkg/autodiff
411      - add extra exchanges in addummy_in_steppging also for mnc output
412    o pkg/seaice:
413      - add extra exchanges before dumping adjoint fields in seaice_ad_dump.F
414        to avoid stripes in the adjoint output (similar to addummy_in_stepping.F)
415    o pkg/obcs:
416      - add option to specify domain-connected piece Id along OB though files
417        (for now, only used to diagnose PhiVel; default =1 -> global correction)
418      - modify obcs_diag_balance.F to process each connected-part separately;
419        exclude OB where Id = 0 but keep the full divergence there (-> constant
420        Psi along this portion of OB and all inflow derived from grad(Phi))
421      - add example of OB-conect files in verification/so_box_biogeo/input.
422    o pkg/diagnostics:
423      - improve treatment of Open-Boundaries in Velocity-Potential calculation:
424      a) use non zero matrix element across OB and solve for Phi 1 grid point
425         outside OB (i.e, where tracer OBCS are applied).
426      b) global imbalance of inFlow/outFlow across OB: instead of modifying
427         velocity across OB, spread it uniformly along the OB in the RHS.
428    
429    checkpoint65g (2014/11/19)
430    o pkg/diagnostcis:
431      - add preconditioner off-diagonal factor (diagCG_pcOffDFac) as run-time param
432    o pkg/my82,pp81,kl10:
433      - fix ALLOW_3D_DIFFKR implementation (previously had no effect): use 3-D
434        field diffKr as background diffusivity to set minimum diffusivity value.
435    o pkg/seaice:
436      - add new parameter SEAICEuseEVPrev (for revisited EVP by
437        Bouillon et al 2013)
438      - add SEAICE_evpAlpha/Beta to namelist
439      - modify seaice_evp code to able to use SEAICEuseEVPrev. These changes
440        involve trivial re-ordering of divisions/multiplications that should not
441        have any effects, but ... they do change the results of lab_sea.hb87 so
442        that only 2 digits of agreement remain, in line with the general
443        instability/fragility of the evp-code. For now, I do not care and just
444        update the verification experiment
445    o pkg/ctrl : add generic pre-processing (xx_genarr2d_preproc etc)
446      - remove xx_genarr2d_numsmooth etc
447      - use xx_genarr2d_preproc etc instead
448      - carry out smooth_correl2D at initialization stage rather than during
449        time stepping.
450      - get smoothOpNb from xx_gentim2d_preproc
451    o global_oce_cs32 :
452      - add test of generic ecco capabilities.
453    o pkg/exf/exf_getsurfacefluxes.F :
454      - add to tmpUE/tmpVN rather than re-initializing them (conventional behavior).
455    o pkg/ctrl,ecco :
456      - omit un-necessary arguments to ctrl_cost_gen.F unless ECCO_CTRL_DEPRECATED
457        is defined.
458    o pkg/seaice: add diagnostics for Delta (deformation parameter)
459    o model/src:
460      - when ALLOW_3D_DIFFKR is defined, add a Warning if any of the vertical
461        diffusivity (background) is specified but ignored.
462    o verification:
463      - in testreport, convert hostname to lower case for default output dir name
464    o model, pkg : add useCTRL, useECCO parameters (on/off run time switch).
465    o pkg/dic: add modifications from Hajoon:
466      - add iron sedimentation flux function of the flux of PO4 out of bottom layer
467      - light attenuation: add self-shading effect by climatological Chlorophyll
468        (read from file).
469    o pkg/seaice/seaice_preconditioner.F : fix cpp flags, so that code also
470        compiles when SEAICE_ALLOW_DYNAMICS is undefined
471    o global_oce_llc90,cs32 : ecco_v4 verification exps now use separate
472        AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h rather than
473        ECCO_CPPOPTIONS.h (i.e. replacing the deprecated, circumvoluted,
474        approach where CPP_OPTIONS.h includes an omnipotent
475        ECCO_CPPOPTIONS.h that superseeds pkgs '_OPTIONS.h').
476    o pkg/ctrl/ctrl_map_ini_genarr.F : include GMREDI_OPTIONS.h where
477        ALLOW_3D_KAPGM, ALLOW_3D_KAPREDI (to be added later) belong.
478    o pkg/seaice/SEAICE_SIZE.h : replace ALLOW_AUTODIFF_TAMC with ALLOW_AUTODIFF
479        to avoid needing AUTODIFF_OPTIONS.h anytime SEAICE_SIZE.h is included
480        (it seems that THSICE_SIZE.h, PTRACERS_SIZE.h have the same issue...)
481    o model/src, pkg/smooth, profiles, salt_plume, seaice, exf, ecco, ctrl :
482      add ECCO_OPTIONS.h, AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h when needed
483      - ECCO_OPTIONS.h is needed when including ecco_cost.h, ecco.h
484      - AUTODIFF_OPTIONS.h is needed when including tamc.h, tamc_keys.h
485      - CTRL_OPTIONS.h is needed when including ctrl.h, optim.h, etc
486    o pkg/ctrl,ecco,exf :
487      - remove variables associated with NON-generic costs,
488        unless ECCO_CTRL_DEPRECATED is defined.
489      - remove NON-generic NON-obcs controls,
490        unless ECCO_CTRL_DEPRECATED is defined.
491    o pkg/ctrl : added ctrl_local_params.h
492    o pkg/ecco : added ecco_local_params.h
493    o verification : added ECCO_CTRL_DEPRECATED to most as and oad
494        experiments, which will progressively be removed once the
495        experiments are revised to use only generic controls/costs.
496    
497    checkpoint65f (2014/10/13)
498    o pkg/ctrl, ecco, seaice : minor changes in headers
499    o global_oce_llc90,cs32 : ecco_v4 verification exps now test generic
500        cost function and control capabilities added since checkpoint65c.
501    o pkg/ctrl: regroup all obcs ctrl variables in CTRL_OBCS.h.
502    o pkg/ecco: increase modularity and improve logic
503      - ecco_toolbox.F (new) : basic operations that are often used,
504        including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk,
505        ecco_addcost, ecco_add, ecco_div, ecco_readbar.
506      - cost_gencal.F (new) : determine filnames and records.
507      - cost_genread.F, cost_generic.F : condense code using ecco_toolbox.
508      - cost_generic.F : use spzeroloc rather than hard-coded -9999,
509        and exploit the above functions leading to more compact code.
510      - cost_genread.F : rm un-necessary arguments, re-arrange args order.
511      - ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj,
512        using_ers, using_gfo, using_mdt is now only defined within gencost)
513    o pkg/ecco: extend generic cost capabilities
514      - pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost
515        capabilities via gencost_preproc (+ _c,_i,_r related params),
516        gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod,
517        gencost_outputlevel arguments to cost_generic
518      - pkg/ecco/cost_genread.F (new) : interface between cost_generic
519        and active_read, making room for gencost_preproc to take effect.
520        Added preproc code ('climmon') to replace GENERIC_BAR_MONTH.
521      - pkg/ecco/cost_generic.F :
522        compute and store misfit maks*(model-data) in localdif that is
523        then used in cost and for output, output misfit if outlev.GT.0
524      - pkg/ecco/cost_averagesfields.F : depend on gencost_barskip
525        rather gencost_barfile for deciding whether to write barfile
526      - pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd
527      - pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from
528        ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip
529      - pkg/ecco/ecco_summary.F : report gencost variables
530      - pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs
531    o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA
532    o pkg/ecco: internal re-organization
533      - resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl
534        (rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter,
535        mv relevant variables definition from ecco_cost.h to ecco.h,
536        make sure gencost routines only include ecco.h)
537      - throughout : add missing CCP switches, rm unused variables,
538        and rm un-necessary CPP switches
539      - throughout gencost routines : replace modelstartdate with
540        gencost_startdate when needed
541      - cost_bp_read.F : use arguments, instead of common blocs
542        so that it can be used also by (new) cost_gencost_bpv4.F
543      - ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0
544      - ecco_phys.F : compute etanFull
545      - ecco_readparms.F : rename using_topex as using_tpj, add
546        bpv4-grace to gencost list, initialize added parameters
547      - ecco_summary.F : include SIZE.h needed for augmented ecco.h
548    
549    checkpoint65e (2014/09/28)
550    o pkg/obcs:
551      - replaced the just-added CPP options with run-time variables
552        (see pkg/obcs/OBCS_PARAMS.h for details)
553    o pkg/obcs:
554      - add additional CPP options for sponge boundary layers
555        (see pkg/obcs/OBCS_OPTIONS.h for details)
556    o pkg/atm_phys:
557      - implement simple (obliquity only, assuming circular planet orbit)
558        seasonal cycle for incoming insolation ; used when run-time parameter
559        "select_incSW" is set to 1 ; by default (=0), uses old unchanged formula.
560    o pkg/exf, pkg/ecco, pkg/ctrl:
561      - add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets
562      - activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip
563      - implement gentim2d for xx_tauu, xx_tauv
564    o pkg/ctrl, pkg/ecco :
565      - fix and complement the generic controls implementation
566    o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F,
567        pkg/shelfice/shelfice_thermodynamics.F,
568        verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F,
569        verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F :
570      - add weight in CTRL_GET_GEN calls
571    o pkg/ctrl :
572      - ctrl_get_gen.F : add weight as input parameter, and apply
573        it directly rather than using smooth_correl2Dw (to be retired).
574      - ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call
575    o pkg/ctrl :
576      - introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F,
577        ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F)
578      - re-activate ctrl_summary (call in ctrl_init.F)
579    o pkg/ctrl/ctrl_cost_gen.F :
580      - fix CCP brackets, remove un-necessary myiter, mytime
581    o pkg/ecco, pkg/ctrl :
582      - remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F)
583      - remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F)
584      - add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F)
585      - add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F)
586    
587    checkpoint65d (2014/09/15)
588    o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F :
589      - add xx_genarr2d_bounds,xx_genarr3d_bounds,
590        xx_genarr2d_numsmooth, xx_genarr3d_numsmooth
591    o pkg/ctrl/ctrl_map_ini_genarr.F :
592      - remove compilation failure
593      - replace hard coded example
594      - use ctrl_map_ini_gen2D, 3D
595    o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F :
596      - on/off switch based upon xx_genarr2d_weight,3d
597    o src/packages_init_variables.F :
598      - regroup pkg/estimation calls
599      - remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO
600        (moved to ctrl_init_variables)
601    o cost/cost_init_varia.F :
602      - remove ecco_cost_init_varia
603        (moved to ecco_init_varia)
604    o ctrl/ctrl_init_variables.F :
605      - add CTRL_MAP_INI, CTRL_MAP_INI_ECCO
606      - add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI
607    o ctrl/ctrl_map_ini.F :
608      - remove ctrl_map_ini_genarr, seaice_ctrl_map_ini
609        (moved to ctrl_init_variables)
610    o ctrl/ctrl_map_ini_ecco.F :
611      - remove ECCO_PHYS (mv to ecco_init_varia)
612      - remove seaice_ctrl_map_ini (mv to ctrl_init_variables)
613    o ecco/ecco_ad_diff.list :
614      - add ecco_init_varia.f
615    o ecco/ecco_init_varia.F
616      - new routine
617    o pkg/streamice:
618      - move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F
619        to streamice_init_fixed.F ; fix setting of STREAMICEisOn.
620      - from model/src, only call pkg/streamice routines if useStreamIce is TRUE.
621    o pkg/generic_advdiff:
622      - fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014.
623    o pkg/exf:
624      - exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown,
625         xxg_precip capability
626      - exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch
627    o pkg/ctrl:
628      - ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d
629    o model/src/load_fields_driver.F :
630      - move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING
631        so xx_gentim2d can be applied to e.g. exf fields in a timely manner.
632    o OpenAD verification experiments:
633      - Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h
634        in src files (to enable to skip the ECCO_CPPOPTIONS.h);
635        for now, only in pkgs used in OpenAD verification experiments.
636      - Change all except one (halfpipe_streamice) OpenAD experiments to use pkg
637        specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h)
638        instead of using ECCO_CPPOPTIONS.h (with all relevant options in it).
639        This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests.
640    o OpenAD verification tests:
641      - finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD);
642      - finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for
643        tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp.
644      - leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/)
645        and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC).
646    o model/src & generic_advdiff:
647      - change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S
648        forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model
649        dynamics requires valid tracer forcing only over tile interior but, for
650        some diagnostics, may need to extend it over 1 point in tile halo region.
651      - in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid
652        tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max
653        setting in temp/salt/ptracer_integrate.F
654    o pkg/dic:
655      - multiply tracer tendencies by maskInC (if ussing OBCS) before updating
656        gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER
657        in gchem_forcing_sep.F
658    o pkg/autodiff & obcs:
659      - add storage of current OB values for U & V (was already done for T & S).
660    
661    checkpoint65c (2014/08/30)
662    o pkg/dic:
663      - take out of dic_atmos.F the initialisation part (corresponding to istate=0)
664        and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for
665        AD compilers (but still a Pb with multi-threading and Ajoint dependencies).
666    o verification:
667      - new experiment testing OBCS and DIC pkgs, using params & output from
668        tutorial_global_oce_biogeo but limited to a sub-domain around Drake
669        passage: take OBCS from the last year of a 2 yrs simulation and initial
670        conditions from t=1.yr while keeping the same forcing.
671    o model/src:
672      - when allowFreezing=T, only reset below freezing initial Temp to Tfreezing
673        (at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T).
674    o pkg/diagnostics (Stats-Diags):
675      - re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to:
676        a) refine region where stats are computed, excluding where arrhFac=0 ;
677        b) fix missing interior mask (use with OBCS) in 3-D fields statistics;
678        c) extend regional stats over the region edges (for U or V pt location).
679    o pkg/gchem:
680      - add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since
681        pkg/dic is currently changing/updating ptracers values beyond the OB).
682    o verification (hs94):
683      - convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords
684        bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments
685        hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of
686        apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged.
687    o pkg/ptracers:
688      - implement Adams-Bashforth on pTracers (instead of on tracer tendency),
689        switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs)
690      - change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer
691        with AB-2 code (so that it get tested).
692    o model/src:
693      - allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS)
694        with AB-2 code (previously only available with AB-3 code).
695        Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F
696        to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done
697        there, by calling CYCLE_AB_TRACER).
698    o pkg/generic_advdiff:
699      - change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS,
700        GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R
701        + also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in
702        S/R temp/salt/ptracers_integrate.F
703    o model/src & pkg/ptracers:
704      - remove common block variables gT,gS (in DYNVARS.h), except when
705         USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly.
706      - remove common block variable gPtr.
707    o model/src & pkgs:
708      - change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R
709         ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G,
710         IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT,
711         GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T
712      + change accordingly all calling S/R.
713      - use local temperature/salinity/ptracer tendency array (without bi,bj)
714        in S/R temp/salt/ptracers_integrate.F
715    o pkg/seaice:
716      - move computation of stress contributions to rhsU/V in s/r seaice_lsr
717        to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code
718      - make u/vIceC local variables if SEAICE_CGRID is defined only to be used
719        in seaice_lsr
720      - seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D
721        in s/r seaice_lsr_calc_coeffs
722    o pkg/mdsio:
723      - in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long
724        (e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is
725        too long (e.g., > MAX_LEN_FNAM/2 )
726    
727    checkpoint65b (2014/08/12)
728    o pkg/matrix:
729      - pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP
730    o model/src:
731      - fix initialisation of geothermalFile; compile geothermal-flux code in
732        natl_box verification experiment.
733    o model/src & pkg/down_slope:
734      - push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop).
735      - in dwnslp_apply.F, update tracer tendency instead of the future tracer
736        field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects
737        results at machine truncation level: update output of experiments
738        global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD).
739    o pkg/diagnostics (Stats-Diags):
740      - do not cumulate the full volume when DIAGNOSTICS_FILL is
741        called with bibjFlg < 0 (no increment of the counter for 2D/3D diag);
742        This fix the mean statistics when DIAGNOSTICS_FILL is called multiple
743        times (but Min,Max and StD are still wrong).
744    o model/src:
745      - add geothermal flux forcing: read in ini_forcing.F as time-constant
746        field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F)
747    o model/src:
748      - move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer
749        _integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac
750        arrays are already updated while adjustments (filters, conv.adjustment) are
751        still applied later, in S/R TRACERS_CORRECTION_STEP.
752    o model/src:
753      - store in common bloc array "rhoInSitu" the virtual potential temperature
754        anomaly that is used to compute geopotential: this make the atmos code
755        more similar to ocean code which already uses rhoInSitu in calc_phi_hyd.F
756    o pkg/seaice/seaice_lsr.F
757      - rename integer variable ilcall to ipass (that's what it is called
758        in the residual diagnostics
759      - change time stepping for NPSEUDOTIMESTEP > 2 (does not change the
760        default) for improved non-linear convergence of the first few steps
761      - adjust a few comments and add new ones to explain some of the store
762        directives
763    o pkg/generic_advdiff (& ptracers):
764      - re-work the code to check for valid advection scheme and for minimum
765        size of overlap (now stored in local common bloc in gad_advscheme.F)
766    o pkg/seaice: another attempt to make the adjoint work for sea ice dynamics
767      - re-initialize more variables in seaice_lsr: u/vIceC, u/vIceNm1
768      - add an auxilliary variable "bet" and fix store directives and keys in
769        seaice_lsr_tridiagu/v, this seems to do the trick (i.e. more or
770        less exact gradients in my tests); but there are still
771        recomputation warning (although gradients are sort of OK), when
772        SEAICE_LSR_VECTORIZE is not defined, so this flag and
773        SEAICE_LSR_VECTORIZE_ZEBRA are recommended for efficiency.
774      - update verification experiments lab_sea.
775      - change some comments in S/R seaice_calc_viscosities
776    o model/src:
777      - if staggerTimeStep=T, always apply exchange to velocity field in
778        do_stagger_fields_exchanges.F instead of in do_fields_blocking_exchanges.F
779        (independent of using multi-dim advection or not); no effect on FWD run
780        but affects AD results (at machine truncation level): update output of
781        experiment 1D_ocean_ice_column (ad: 12 digits), hs94.1x64x5 (ad,oad: 13.d)
782        and isomip (oad: 12.d).
783    o pkg/generic_advdiff:
784      - stop if doAB_onGtGs is set to FALSE but ignored
785      - refine warning related to stability of tracer time-stepping
786        regarding internal wave dynamics.
787      - setting of AdamsBashforth_T,S when doAB_onGtGs=F: remove condition
788        on staggerTimeStep & implicitIntGravWave (will now get a warning
789        if potentially unstable).
790    o pkg/kl10:
791      - add new pkg "kl10" for mixing due to internal wave breaking, from
792        http://www.sciencedirect.com/science/article/pii/S1463500310000144
793        (contribution from Jody Klymak), tested in verification experiment
794        verification/internal_wave/input.kl10/
795    o isomip experiment:
796      - test pkg/shelfice with Non-Lin Free-Surf in one of the FWD set-up
797        (input.htd) and update the output.
798    o cd_code experiments:
799      - use default cd_code options (#undef CD_CODE_NO_AB_MOMENTUM &
800        #undef CD_CODE_NO_AB_CORIOLIS) in experiments: cfc_example (fwd)
801        global_ocean.90x40x15 (ad & oad) and OpenAD (ad & oad) and
802        update the corresponding output.
803    o pkg/seaice:
804      - reduce the number of include files and store directives in
805        S/R seaice_lsr_tridiagu/v
806      - change the order of loops in one case in S/R seaice_lsr_tridiagv
807        (only for SEAICE_VECTORIZE_LSR_ZEBRA defined), which allows me to
808        get rid off one store directive (a TAF bug?)
809      - add one more instance of ifdef SEAICE_VECTORIZE_LSR_ZEBRA in
810        S/R seaice_lsr_tridiagv to change the loop range for consistency
811      - remove ilcall, m from parameter list of S/R seaice_lsr_tridiagu/v
812      - fix a bug that affects the JFNK solver: replace sNx/y by i/jMax in
813        S/R seaice_lsr_tridiagu/v (requires update of
814        offline_exf_seaice/input.dyn_jfnk)
815    
816    checkpoint65a (2014/07/27)
817    o model/src:
818      - Non-Lin Free-Surf in p/z coords: allows hFacW,S to be larger than
819        surrounding hFacC=1 @ edge of a step with different kSurfC on either side
820        (topo in p-coords, ice-shelf in z-coords); update output of experiments
821        tutorial_global_oce_in_p and isomip (both AD and OpenAD output).
822    o model/src:
823      - collect momentum forcing tendency into local 2-D array (passed as argument
824        to apply_forcing S/R); this simplifies mom. Forcing diagnostics and CD_CODE
825        parts in timestep.F (without CD_CODE_NO_AB_MOMENTUM defined = the default);
826        affects results at machine truncation level (e.g., if using OBCS_SPONGE).
827      - collect T & S forcing tendency into local 2-D array (passed as argument to
828        apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.
829        affects results at machine truncation level (e.g., ocean: if using
830        SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist
831        correction due to vertical advection).
832      - update output of experiments: fizhi-cs-32x32x40 (13 digits),
833        global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:
834        seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),
835        obcs_ctrl (ad & fwd grd @ 12 & 7).
836    o pkg/ptracers & diagnostics:
837      - use ptracers (short) name (instead of long one) to make ptracers diagnostics
838        title (to avoid some unexpected truncation); sort out ptracers diags units.
839      - collect ptracer forcing tendency into local 2-D array (passed as argument
840        to apply_forcing S/R); add 3-D diagnostics for ptracers forcing tendency.
841    
842    checkpoint65 (2014/07/18)
843    o pkg/fizhi:
844      - add parenthesis around fizhi tendencies in fizhi_tendency_apply.F: this
845        affects results at machine truncation level. Update output of experiments
846        fizhi-cs-32x32x40 (12 digits for cg2d) & fizhi-cs-aqualev20 (13 digits).
847    o pkg/seaice: more clean up
848      - rename TAF common block tapes to be more consistent and remove
849        unnecessary duplicates
850      - add store directives to remove more recomputations, but use smaller
851        tapes (and adjust keys) when SEAICE_LSR_ADJOINT_ITER is undefined.
852        The idea behind this flag is to reduce the memory footprint when the
853        adjoint of the LSR is not required. As of now, defining the flag
854        SEAICE_LSR_ADJOINT_ITER increases 4 common block tapes for 2D field by
855        a factor of SOLV_MAX_FIXED (=500 by default in SEAICE_SIZE.h).
856        For experiment offline_exf_seaice, this means on a linux box with gfortran
857        nearly a factor of 10 (but keep in mind there is mostly seaice code in
858        this experiment):
859        > size mitgcmuv_ad
860        text    data        bss     dec        hex
861        5100659 1216  220458952  225560827  d71c8fb
862        5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
863        but only a moderate increase of 36% for global_ocean.cs32x15:
864        text    data        bss     dec        hex
865        6695027 1648 1014578664 1021275339 3cdf6ccb
866        6695203 1648 1382505320 1389202171 52cd8afb (SEAICE_LSR_ADJOINT_ITER)
867      - note: there are still recomputations in global_ocean.cs32x15 and
868        offline_exf_seaice and the gradient agreement changes (gets a
869        little worse) for global_ocean.cs32x15 (-> update output_adm.seaice.txt)
870      - in general, the AD gradients still are wrong
871    o OpenAD
872      - clean up code_oad/ directories somewhat by moving files
873        dontCompile, dontTransform, keepOriginal to OAD_support/
874    o model/src:
875      - using MOM fluxform and Non-Lin Free-Surf with momDissip_In_AB=F
876        (not currently tested): add dissipation terms before NLFS rescaling of
877        tendencies (previously done after).
878    o pkg/diagnostics:
879      - write stats-diags in ascii file with more digits (same as in monitor).
880    o pkg/down_slope:
881      - drop the bi,bj dimension of argument recip_hFac in S/R DWNSLP_APPLY; with
882        NLFS (not tested), use new recip_hFac value in order to conserve tracer.
883    o model/src:
884      - new file "apply_forcing.F" containing all the code previously in
885        external_forcing.F, but with new argument list: pass, as new argument,
886        the current level tendency array to update (instead of a direct update
887        of the common bloc array). Change the corresponding calls.
888      - add CPP option USE_OLD_EXTERNAL_FORCING (default is undef) to use
889        EXTERNAL_FORCING_U,V,T,S subroutines (for backward compatibility).
890    o pkg/seaice/seaice_lsr, a little bit of clean up
891      - rearrange some code blocks, so that now all calculations for
892        setting up the right-hand-sides done within one single block
893        (I find that easier to read and understand)
894      - rearrange freedrift-code to reduce the number of ifdefs
895      - adjust some indentations and comments
896    
897    checkpoint64z (2014/07/10)
898    o model/src and several pkgs:
899      - change argument list of all S/R called from external_forcing.F and
900        called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F)
901        to pass, as argument, the current level tendency array to update
902        (instead of a direct update of the common bloc array).
903      - change also (in the same way) argument list of PTRACERS_APPLY_FORCING;
904      - rename taueddy_external_forcing.f to taueddy_tendency_apply.F
905    o pkg/seaice/seaice_lsr.F
906      - always initialize local arrays in seaice_lsr_tridiagu/v
907      - add more local tapes to seaice_lsr_tridiagu/v
908      - move storing u/vice(:,:,bi,bj) out of seaice_lsr_tridiagu/v, but
909        keep it in bi/bj loop; this seems to be essential
910      - gradients are still wrong but only by 4-7 orders of magnitude
911        instead of 15 orders of magnitude, lab_sea improves a little
912    o pkg/seaice
913      - (pkg/autodiff) remove storing/restoring of seaiceMaskU/V that
914        generates unnecessary code in seaice_lsr_ad
915      - add more store directives in seaice_lsr to avoid unnecessary code
916        in seaice_lsr_ad
917      - exclude some residual computations in seaice_lsr when
918        ALLOW_AUTODIFF_TAMC is defined in order to avoid unnecessary code
919        in seaice_lsr_ad
920      - add more storing, a new tape (model/src/the_main_loop.F) and
921        another key for SEAICE_LSR_VECTORIZE_ZEBRA (the local keys ilockey
922        and klockey should be checked by a specialist)
923      - modify ( define SEAICE_VECTORIZE_LSR and SEAICE_LSR_ADJOINT_ITER )
924        and update lab_sea after previous changes in pkg/seaice below
925    o pkg/autodiff:
926      - introduce useSmoothCorrel2DinAdMode, SEAICEapproxLevInAd, and
927        viscFacInAd : run time parameters allowing for adjoint switches
928        note : logic for useSmoothCorrel2DinAdMode is in ctrl_readparms.F
929    o pkg/ecco:
930      - introduce cost_gencost_boxmean.F that computes a box mean
931        temperature (for use in adjoint sensitivity studies).
932    o model/src/set_defaults.F : initialize viscFacAdj to 1.
933    o pkg/mom_common/mom_calc_visc.F:
934      - ifdef ALLOW_AUTODIFF then include viscFacAdj factor.
935    o pkg/seaice/seaice_summary.F:
936      - statement for SEAICEadjMODE now in autodiff_readparms.F
937    o pkg/seaice:
938      - remove some store directives and add new ones in an effort to get
939        finally rid off the recomputation warnings. This is successful
940        when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are
941        defined (i.e. no extensive recomputation warnings left), but there
942        are still too many recomputations on the solver iteration level
943      - define SEAICE_VECTORISZE_LSR in offline_exf_seaice/code_ad/SEAICE_OPTIONS.h
944      - move definition of MPSEUDOTIMESTEPS into TAMC-block in
945        SEAICE_SIZE.h
946      - add a store directive in S/R seaice_calc_viscosities
947    o pkg/seaice (ITD code):
948      - fix definition of Hlimit for multi-threaded case
949      - use double precision arithmetic to compute Hlimit: this affects results;
950        update output of experiment seaice_itd.
951    o replace content of verification/seaice_itd
952      - instead of a 1D column use the configuration of offline_exf_seaice
953        to test the ice thickness distribution code with ridging
954      - this is a first shot at this experiment
955      - change of some defaults of ridging parameters SEAICEhStar (from
956        100 to 25) and SEAICEmuRidging (from 5 to 3) in seaice_readparms.F
957        and lot of new comments.
958    
959    checkpoint64y (2014/06/20)
960    o pkg/seaice/seaice_reg_ridge.F:
961      - modify the regularization of very small volumes of ice; only check
962        total volume HEFF, and do not apply correction to individual ice
963        classes because that leads to funny patterns in the heat and fw-fluxes
964        into the ocean. Adjust seaice_itd/results/output.txt
965      - replace nITD by SEAICE_multDim in loop-ranges
966    o pkg/exf:
967      - add code to process the case field period = -12. with UV interpolation.
968      - move debug print (formerly active when exf_verbose=T) from EXF_getFFieldRec
969        into S/R that calls it (i.e., exf_set_gen.F, exf_set_uv.F & obcs_exf_load.F)
970    o verification/global_with_exf:
971      - switch all fields period to -12. (was previously untested) in input/data.exf
972        (but keep secondary test ".yearly" unchanged); update the reference output.
973    o pkg/cal:
974      - new calendar type "noLeapYear" for 365 days calendar without any leap year.
975    o pkg/exf:
976      - new integer parameter "exf_debugLev" (default set to main model debugLevel)
977        to replace logical switch "exf_verbose"
978      - report in STDOUT when loading a new record (if exf_debugLev >= 3)
979    o pkg/sbo:
980      - update from Katherine Quinn: evaluate mass directly from density and SSH
981        (budget using Finite Volume method) instead of from bottom pressure.
982      - allow testreport to collect few selected SBO output ; tested in exp.
983        global_ocean.90x40x15 (after updating the results, to include SBO output).
984      - fix some multi-threading issues (in output part).
985    o model/src & most packages:
986      - always call {PKG}_READPARMS even if corresponding use{PKG}=F;
987      - in {PKG}_READPARMS, in case use{PKG}=F: add a call to new S/R
988        PACKAGES_UNUSED_MSG to print a weak warning when parameter file
989        "data.{pkg}" exist ; and leave the S/R (return) just after.
990      - more standard LAND pkg interface (land_init_fixed.F, land_check.F).
991        + call LAND_READPARMS from packages_readparms.F
992    o pkg/seaice:
993      - remove code that resets useThSice in S/R seaice_readparms and
994        replace it by a warning in S/R seaice_check
995      - remove parameter MULTDIM, replace with nITD and runtime
996        parameter SEAICE_multDim (still hard-wired to nITD if
997        SEAICE_ITD is defined)
998    
999    checkpoint64x (2014/05/24)
1000    o verification/lab_sea:
1001      - update adjoint and TLM output following changes to pkg/salt_plume
1002      - un-do the update after putting back local recip_Cp in few places.
1003    o pkg/salt_plume: modifications by An Nguyen:
1004      - add capability to do brine rejection (salt-plume) as function of
1005        volume+tracers (instead of only salinity tracer).
1006      - conserve volume by exchanging volume from each kLev to above to
1007        accommodate in-coming brine volume
1008      - store surface and klev exchanged fraction + volume in 4 new 3-d arrays
1009      - switch KPP surf buoyancy due to brine forcing to 3-d
1010        (3 more 3-d arrays, 2 for SPforcing[T,S], 1 for boplume)
1011      - add salt_plume_volfrac, salt_plume_apply, salt_plume_tendency_apply_t
1012      - unrelatedly, also add ad-hoc capability to vary salt_plume scheme
1013        in East/West Arctic.
1014    o pkg/sbo:
1015      - incorporate modifications from Katherine Quinn to enable the use of sbo
1016        pkg in ECCO-v4 set-up ; remove SBO-TimeAve output ; add monitor-like
1017        output for future testreport verification (unfinished).
1018    o pkg/atm_phys:
1019      - change diagnostics (AtPh_Trf & AtPh_Qrf) of DARGAN_BETTSMILLER S/R:
1020        skip the reseting of t_ref & q_ref to initial t & q ; this preserve the
1021        output of S/R CAPECALCNEW (Parcel temp & q) for diagnostics.
1022    o pkg/seaice
1023      seaice_calc_ice_strength.F: modify expression to avoid divisions
1024        (affects truncation)
1025      seaice_do_ridging.F: clean up the insectarium
1026      - fix a bug that was compensated by areaScaling (-> remove areaScaling code)
1027      - added SEAICEsnowFracRidge to redistributed snow (2nd bug)
1028      - set closing/openingRate to zero where no extra iteration is need (3rd bug)
1029      - add some debugging information and error messages (warnings)
1030    o model/src: modifications relatd to atmosphere p*:
1031      - Switch to more accurate p* coordinate slope term (calc_grad_phi_hyd.F)
1032      - With p* or Sigma-P, use constant reference Pot.Temp (thetaConst) instead
1033        of vertical profile tRef in geopotential background and anomaly.
1034      - Acount for true p* correction in theta <-> T conversion in pkg/aim_v23
1035        and pkg/atm_phys.
1036      - Update FWD output of experiments: aim.5l_cs (x2), fizhi-cs-32x32x40,
1037        fizhi-cs-aqualev20, fizhi-gridalt-hs, tutorial_held_suarez_cs, cpl_aim+ocn.
1038    o pkg/seaice: fix a bug in seaice_prepare_ridging.F, forgot a sqrt
1039    o pkg/ptracers: compute ptracer source/sink due to linear free surface.
1040        not used right now, but can be used in BGC packages to fix conservation.
1041    o pkg/dic, pkg/gchem: move tracer_meanarea to gchem, so it can be used by
1042        other packages too.
1043    o pkg/seaice/seaice_calc_ice_strength.F: replace SEAICE_rhoSnow by
1044        SEAICE_rhoIce in the Rothrock (1975)-type strength calculations (bug fix)
1045    o model/src:
1046      - since we have several heat capacity (even in model/src), define "recip_Cp"
1047        as local variable (no longer in common block) to avoid any confusion.
1048      - add thetaConst in PARAMS.h (to be used with pStar or sigma-P coords).
1049    o pkg/exf:
1050      - from Jeff Scott: add option (#define EXF_CALC_ATMRHO) to calculate local
1051        air density as function of air Temp, Humidity and atm pressure.
1052    
1053    checkpoint64w (2014/05/02)
1054    o verification:
1055      - update output_adm.txt files for experiment global_ocean.cs32x15 (seaice &
1056        seaice_dynmix) and lab_sea (primary test & noseaicedyn): moving/changing
1057        code from seaice_growth.F & seaice_advdiff.F to new ridging routines
1058        seaice_reg_ridge.F seaice_do_ridging.F affects AD gradient
1059        (down to 8-7 matching digits for global_ocean and 5-6 for lab_sea).
1060    o model/src: for atmosphere in p* coords:
1061      - store factor rStarFacC**atm_kappa (= pStarFacK) in common block
1062      - implement more accurate p* coordinate slope term (in calc_grad_phi_hyd.F),
1063        but not yet activated.
1064    o pkg/seaice: fix restart problem for ITD with new ice strength parameterisation:
1065      - move computation of opnWtrFrac = 1-AREA to before computing ice strength
1066      - this changes the results (but not for any verification experiment, because
1067        none tests this), but avoids having an extra field in the restart files
1068    o pkg/seaice: remove global variable TICE (not needed)
1069      - replace by TICES or local variable where necessary (cost_seaice_test,
1070        seaice_diagnostics_state)
1071      - move copying TICE to TICES from seaice_check_pickup to seaice_read_pickup
1072      - use specific read/write routines for reading and writing individual leves
1073        of a multilevel field
1074    o pkg/ctrl & model/inc:
1075      - move additional anomaly fields of control vars (related to options:
1076         ALLOW_KAPGM_CONTROL, ALLOW_KAPREDI_CONTROL and ALLOW_BOTTOMDRAG_CONTROL)
1077        from DYNVARS.h into new header file: CTRL_FIELDS.h
1078    o pkg/seaice: some small modifications to the ridging code
1079      - make fw2ObyRidge a global variable and add the freshwater flux to
1080        seaice_growth
1081      - pass actual thickness from seaice_prepare_ridging, so that it is
1082        computed only in one place and compute it in the same way as in
1083        seaice_growth
1084      - initialise more fields in seaice_do_ridging that where cause floating
1085        point exceptions over land
1086    o pkg/seaice: preparations for ridging code and first real ridging code
1087      - move most of "PART 1" of S/R seaice_growth into a new and separate
1088        S/R seaice_reg_ridge that will both regularize the state variable after
1089        advection call the actual ridging routine;
1090      - requires to make 5 fields global fields: d_HEFFbyNEG,d_HSNWbyNEG,
1091        d_AREAbyRLX,d_HEFFbyRLX,saltFluxAdjust;
1092      - remove ridging code from seaice_advdiff
1093      - clean up remaining part 1 of seaice_growth in an attempt to make it
1094        more readable (this is probably subjective)
1095      - call seaice_itd_redist once in the initialisation phase to have the initial
1096        conditions in the correct category
1097      - finally: add new ridging routine for ITD code
1098    
1099    checkpoint64v (2014/04/11)
1100    o pkg/ecco:
1101      - add runtime parameters mdt[start,end]date[1,2]
1102      - rename variable "tpmean" as "mdt" and "topexmeanfile" as "mdtdatfile"
1103    o pkg/seaice:
1104      - make deltaC a global variable, so that it can be used in ridging code
1105      - first step towards ridging: introduce new routines that compute
1106        ice strength based on ridging parameters
1107      - add diagnostic for HSNOWITD
1108      - add opnWtrFrac as a global variable (required for ridging scheme)
1109    o pkg/salt_plume + pkg/seaice/seaice_growth.F
1110      - add SALT_PLUME_IN_LEADS flag to activate pkg/salt_plume only when ice
1111        AREA exceeds a threshold (code contributed by I.Fenty in 2011)
1112    o verification/hs94.1x64x5:
1113      - leave ALLOW_AUTODIFF_TAMC undefined in code_oad/AUTODIFF_OPTIONS.h
1114      - do not use ECCO_CPPOPTIONS.h anymore for TAF & OpenAD Adjoint tests.
1115    o autodiff:
1116      - Start to include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h,
1117        and CTRL_OPTIONS.h in src files (to enable to skip the ECCO_CPPOPTIONS.h)
1118        For now, only in pkgs used in verification/hs94.1x64x5.
1119      - Replace ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for tape/storage
1120        which are specific to TAF/TAMC).
1121      - Replace ALLOW_AUTODIFF_OPENAD by ALLOW_OPENAD:
1122        since ALLOW_OPENAD is defined in PACKAGES_CONFIG.h (any time pkg/openad
1123        is compiled), this simplifies/reduces which *_OPTIONS.h file to include.
1124      - OpenAD: change Makefile to generate the appropriate AD_CONFIG.h when
1125        building mitgcmuv_ad (make adAll).
1126    o pkg/ecco:
1127      - cost_gencost_seaicev4.F:
1128         reformulate proxy cost as function of sst and local param SEAICE_freeze
1129         change cost names from siv4-[sst,vol] to siv4-[deconc,exconc]
1130      - add stop statement if old names siv4-[sst,vol] are used
1131      - add snapshots + cost reports for atmospheric longwave
1132      - remove factor 0.1 in front of wtau[u,v]
1133      - replace never used flag ALLOW_TMI_COST_CONTRIBUTION with
1134         ALLOW_TMI_SST_COST_CONTRIBUTION
1135    o pkg/atm_phys:
1136      - add some diagnostics for Short-wave and for convection S/R.
1137    o pkg/seaice/seaice_growth:
1138      - fix a bug in the lateral melt parameterization for SEAICE_ITD
1139        in seaice_growth; tempFrz needs to be computed inside the i/j-loop
1140      - rearrange loop order for better vector code in the same code block
1141      - rewrite the floeDiameter formula to have fewer divisions
1142      -  (miraculously) none of this changes the results of seaice_itd
1143    o pkg/smooth:
1144      - move param smooth2Ddiffnbt to pkg/ecco
1145    o pkg/salt_plume:
1146      - salt_plume_frac.F:
1147         clean up local param names
1148         reformulate (1-frac) to frac; original 1-frac was based on swfrac code
1149    o pkg/rw:
1150      - add RS version of S/R READ_MFLDS_LEV.
1151    o pkg/streamice:
1152      - fix the restart test by writing/reading pickup_streamice files.
1153    o pkg/seaice:
1154      - refine checks for jfnk-related parameters
1155      - comment out if statement with SEAICEuseIMEX parameter as long as there
1156        is no IMEX code to avoid confusion and surprises
1157    
1158    checkpoint64u (2014/03/07)
1159    o verification/MLAdjust:
1160      - rename secondary test suffix:
1161         1.leith  -> A4FlxF  + switch to flux-form & add side-drag
1162         0.leithD -> AhFlxF  + switch to flux-form
1163         0.smag   -> AhVrDv  (use Vorticity-Div. visc form) + add side-drag
1164         0.leith  -> AhStTn  (use Strain-Tension visc form) + add side-drag
1165    o pkg/mom_vecinv:
1166      - remove unused arguments from S/R MOM_VI_HDISSIP & MOM_HDISSIP (as it used
1167        to be before mom_calc_visc.F)
1168      - skip the call to MOM_CALC_TENSION & MOM_CALC_STRAIN if not needed.
1169      - add 2nd copy of vort3 & strain that knows about lateral BC (free/no slip):
1170        this is simpler for the adjoint and for diagnostics.
1171    o model/src + pkg/momentum:
1172      - add input files for  2-D additional Western and Southern cell-edge wall
1173         (e.g., to add "thin-wall" where it is =1).
1174      - fix sideDrag option for thin-walls with Non-Lin Free-Surf
1175        using 2nd hFacZ that is computed from initial (fix domain) hFac
1176      - known limitations of thin wall implementation: not yet coded for sigma
1177        coords; not working with CD-scheme neither.
1178    o pkg/seaice:
1179      - rename recently introduced parameters from (wrong name) AB to
1180        BDF (backward difference time discretisation)
1181      - retire runtime parameters SEAICEuseAB2, SEAICE_abEps
1182    o tools/adjoint_options:
1183      - remove setting of "OPENAD=true" (now set by command line "genmake2 -oad")
1184    
1185    checkpoint64t (2014/02/01)
1186    o pkg/ecco
1187      - add compile flag ALLOW_GENCOST_TIMEVARY_WEIGHT in ECCO_OPTIONS.h and
1188        runtime logical flag gencost_timevaryweight to read daily sea-ice sigma
1189      - replace hard-coded record number and period which only work for monthly
1190        with read-in runtime param that works for other periods (month,day,year)
1191    o pkg/thsice
1192      - corrected store directive fixes thsice adjoint gradient checks
1193    o genmake2 & testreport:
1194      - add genmake2 option "-oad" to generate a Makefile for OpenAD built and
1195        in this case, use tools/adjoint_options/adjoint_oad as default AD optfile.
1196        Update testreport accordingly. No need to set "export OPENAD=true"
1197        in adjoint_options/adjoint_oad anymore (will be removed later).
1198    o pkg/shelfice:
1199      - put T & S shelfice forcing into model surfaceForcing_T,_S (for now,
1200        only if SHELFICEboundaryLayer=F); Change model/src/external_forcing.F
1201        so that surface forcing applies to k=kSurf if using pkg/shelfice.
1202    o pkg/ctrl, pkg/grdchk, pkg/ecco:
1203      - Changes to make GENARR more modular (i.e. invisible if not used)
1204    o model/src/temp_integrate.F and salt_integrate.F
1205      - re-include store directives that were removed on Dec 27th.
1206    o model/src/external_forcing_surf.F
1207      - add storage directives for EmPmR and PmEpR to avoid recomputation of
1208        seaice_model in the adjoint that is problematic when seaice_model is
1209        turned off in the adjoint. The resolved issue dated back to July when
1210        EXTERNAL_FORCING_SURF call was moved.
1211        Update global_ocean.cs32x15/*/output_adm.seaice_dynmix.txt accordingly.
1212    o pkg/exf/exf_check.F
1213      - fix a small bug again (originally found by Wentao Liu, now found again)
1214      - streamline error output
1215    o pkg/streamice and aim_v23:
1216      - replace a few "_EXCH_XY_RL (" with "_EXCH_XY_RL(", so that
1217        Apple's /usr/bin/cpp knows what to do:
1218        Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
1219        Target: x86_64-apple-darwin13.0.0
1220    
1221    checkpoint64s (2014/01/05)
1222    o tools/adjoint_options:
1223      - switch to fastopt.net TAF server (instead of default fastopt.de) for
1224        AD optfiles adjoint_diva & adjoint_f95 (similar to adjoint_default).
1225    o model/src:
1226      - remove some unnecessary TAF storage directives in forward_step.F and
1227        in dynamics.F (note: not always removed by TAF, e.g., double storage
1228        of kappaRU,kappaRV in former version of dynamics.F).
1229    o model/src & pkg/ptracers:
1230      - call directly GAD_IMPLICIT_R & IMPLDIFF + DWNSLP_APPLY from temp_integrate.F
1231        salt_integrate.F and ptracers_integrate.F (instead of from thermodynamics.F)
1232        and remove ptracers_dwnslp_apply.F & ptracers_implicit.F
1233      - call MATRIX_STORE_TENDENCY_EXP for each tracer (in ptracers_integrate.F)
1234      - add fZon & fMer as output argument of S/R GAD_CALC_RHS.
1235      - update TAF AD-output of experiments global_ocean.90x40x15 (13 for AD-grad).
1236    o useSingleCpuInput separates single-CPU input from single-CPU output;
1237        for now only implemented for in exf_interp_read.F
1238    o verification/advect_xy:
1239      - fix missing EXCH call in local version of ini_salt.F and update output.
1240    o momentum diagnostics:
1241      - fix which deltaT is used in Total-Tendency diagnostics.
1242      - fix typo in diagnostics for momentum tendency from AB.
1243    o pkg/seaice/seaice_lsr.F: fix an initialisation bug for the
1244        SEAICE_VECTORIZE_LSR_ZEBRA option that lead to NaNs on a NEC-SX8
1245    
1246    checkpoint64r (2013/12/08)
1247    o verification/*/results:
1248      - Update reference output of experiments that were passing with just 13 digits
1249         (make it easier to detect future changes in results)
1250    o model/src & pkg/ptracers:
1251      - move calls to GAD_ADVECTION (Multi-Dim advection) from thermodynamics.F to
1252        inside temp_integrate.F and salt_integrate.F and from ptracers_advection.F
1253        to inside ptracers_integrate.F ; remove ptracers_advection.F
1254    o coupling interface pkgs:
1255        [atm_compon_interf, ocn_compon_interf & atm_ocn_coupler]
1256      - change the config check to test the agreement of Ocean Depth
1257        with ATM land/sea mask (instead of ATM orography);
1258      - send to coupler the number of coupler time-steps to do for this run:
1259        this allows to check for consistency and don't need anymore to be
1260        specified in parameter file "data";
1261      in coupler:
1262      - check consistency of RunOff map versus Ocean Depth and ATM land/sea mask.
1263      - improve report to log-file of config setting (pass log-file unit to few S/R)
1264    o pkg/compon_communic:
1265      - add coupling send/receive for non-tiled integer vector;
1266      - add S/R to check and stop if any proc has an error (similar to
1267        eesupp/src/stop_if_error.F but single thread and across Comm_World).
1268    o pkg/exch2:
1269      - in exch2*_get_rx[1,2]: use new list "W2_tileIndex" to replace search
1270        through list of all tiles my proc owns.
1271    o model/src:
1272      - AUTODIFF only: in calc_adv_flow.F, recompute rTransKp (instead of copying
1273        from rTrans) to simplify dependencies (no need to store rTrans anymore in
1274        calling S/R); this affects AD results at machine truncation level:
1275        update AD-output (TAF) of experiments: 1D_ocean_ice_column,
1276        bottom_ctrl_5x5 & obcs_ctrl (12 digits for AD grad, same FWD grad).
1277    o tools/build_options:
1278      - simplify Warnings options (-ieee & -devel cases) in linux_amd64_gfortran
1279    o coupling interface pkgs:
1280        [compon_communic, atm_compon_interf & ocn_compon_interf]
1281      - move declaration of local array "ibuf" out of header file "CPLR_SIG.h"
1282        to each S/R that needs it; remove un-used variables.
1283      - change component tile registration (cpl_register.F in both compon_interf
1284        and mitcomponent_tile_register.F) to pass the full list of tiles
1285        information (including bi,bj) in 1 vector (instead of in a bi,bj matrix).
1286      - with pkg/exch2: adopt the same convention used for I/O to define mapping
1287        towards coupler global array (unless W2_useE2ioLayOut=F):
1288         a) can now use different tiling between atm & ocn comp.
1289         b) no needs to modify the run-Off map when changing tiling (was needed
1290            even if using the same tiling between atm & ocn).
1291         c) will allow to run with blank-tiles in 1 component (e.g., for ocean
1292            full land tiles); not yet tested.
1293      - check for valid mapping from comp. tile to coupler global array
1294      - improve report of tile registration results to log file.
1295    o pkg/exch2:
1296      - in eesupp/src/eeboot.F: move call to W2_EEBOOT before Coupler
1297        tile-registration (CPL_REGISTER);
1298      - activate (un-comment) definition and setting of "W2_tileIndex" list to
1299        store the local bi,bj indices of each tile;
1300      - also print bi,bj in local report to log file;
1301      - fix pkg/debug/debug_cs_corner_uv.F for the case nSy > 1 (left from
1302        Jun 2009 modif of pkg/exch2).
1303    o testing on baudelaire:
1304      - run 2 tests at a time: no significant slow down (since enough cpu) and
1305        get the full set of test done earlier
1306      - switch the ifort test to "-devel" ; run the OpenAD test everyday.
1307    o model/src/thermodynamics.F and routines called from it:
1308      - pkg/gmredi: gmredi_residual_flow.F (replacing gmredi_calc_uvflow.F &
1309        gmredi_calc_wflow.F) to update eulerian velocity (input) into residual
1310        velocity (outp) by adding bolus velocity.
1311      - model/src: calc_adv_flow.F (replacing calc_common_factors.F) to compute
1312        mass transport from velocity + lateral grid cell area
1313      - rename calc_gt.F to temp_integrate.F (includes call to TIMESTEP_TRACER)
1314      - rename calc_gs.F to salt_integrate.F (includes call to TIMESTEP_TRACER)
1315     in thermodynamics.F
1316      - remove k from thermodynamics.F and move it to temp_integrate.F
1317        salt_integrate.F and ptracers_integrate.F (now done inside the tracer
1318        loop).
1319      - compute locally (in thermodynamics.F) 3-D velocity field that is used to
1320        advect tracers; pass it as argument to GAD_ADVECTION, GAD_SOM_ADVECT,
1321        PTRACERS_ADVECTION, TEMP_INTEGRATE, SALT_INTEGRATE, PTRACERS_INTEGRATE,
1322        GAD_IMPLICIT_R and PTRACERS_IMPLICIT
1323      - update AD-output (TAF & OAD) of experiments: 1D_ocean_ice_column,
1324        global_ocean.90x40x15, tutorial_global_oce_biogeo and
1325        tutorial_tracer_adjsens (+ TLM output).
1326    o tools/OAD_support and (verification/*/) code_oad:
1327      - OAD_support/cb2mGetModules.csh: add PACKAGES_CONFIG.h in header file to
1328        module conversion ; remove unneeded CPP_EEOPTIONS.h.
1329      - code_oad/CPP_OPTIONS.h: remove PACKAGES_CONFIG.h and use a more standard
1330        version (closer to model/inc/CPP_OPTIONS.h).
1331    o model/src:
1332      - remove parameter "useOldFreezing" from PARAMS.h and push it to the
1333        retired list of parameters (routine FREEZE has been replace by surface
1334        freezing (10.yrs ago) and by pkg/frazil (interior freezing).
1335    o pkg/gmredi:
1336      - add option (GM_CALC_TRANSP_FROM_VEL) to compute transport directly from
1337        velocity (same scheme but affects machine truncation) for GM_AdvForm.
1338      - update output of FWD experiments: front_relax.bvp,
1339        global_ocean.90x40x15.dwnslp, global_ocean.cs32x15 and ideal_2D_oce.
1340    
1341    checkpoint64q (2013/11/17)
1342    o verification:
1343      - generate new output on baudelaire (gfortran, -ieee) for OpenAD experiments
1344        tutorial_global_oce_biogeo and global_ocean.90x40x15.
1345      - generate new output (growth & melt) for seaice_itd experiment after
1346        updating the input pickup_seaice files (previously wrong).
1347    o pkg/cost:
1348      - define a "final cost function" for each tile, and use GLOBAL_SUM_TILE_RL
1349        (instead of _GLOBAL_SUM_RL) to get the final cost from all procs & threads:
1350        o this fixes global-sum value if multi-threads (since GLOBAL_SUM_RL
1351          cannot be applied to var in common block).
1352        o allows to get results independent of tile-per-proc setting (if using
1353          slower GLOBAL_SUM_SEND_RECV option).
1354      - update accordingly: seaice_cost_final.F, shelfice_cost_final.F,
1355        thsice_cost_final.F and ecco_cost_final.F (this one affects lab_sea
1356        forward gradients: update output).
1357      - update */code_oad/externalDummies.F by adding dummy GLOBAL_SUM_TILE_RL
1358        S/R and, for most exp., also comment out GLOBAL_SUM_R8.
1359    o pkg/mom_common:
1360      - move to pkg/mom_common and model/src (previously in tutorial_deep_convection
1361        code) 2nd version of isotropic 3-D Smagorinsky code interface: strain and
1362        viscosity are locally declared in dynmics.F and pass as argument to CALC_GW;
1363        ensure that all field value that are used are set.
1364    o tutorial_deep_convection (smag3d):
1365      - add missing scaling in mom_calc_smag_3d.F;
1366      - set smag3D_coeff in input.smag3d such that results do not change.
1367    o pkg/dic:
1368      - change dic_cost.F to compute cost on each tile first and then apply
1369        GLOBAL_SUM_TILE_RL: this affects forward gradient of AD experiments
1370        tutorial_dic_adjoffline & tutorial_global_oce_biogeo; update output.
1371      - remove kLev argument and use GLOBAL_SUM_TILE_RL in tracer_meanarea.
1372    o eesupp/src & pkg/mdsio:
1373      - remove gather/scatter_vector.F (from eesupp) and mdsio_read/writevector.F
1374        (from pkg/mdsio) since they are no longer used for tape IO.
1375      - move simple C subroutine "setdir.c" from pkg/compon_communic to eesupp/src
1376        (+ keep a copy in pkg/atm_ocn_coupler).
1377    o verification/isomip:
1378      - split domain in 8 squared tiles (instead of just 2) for FWD, AD & OAD tests.
1379    o tools/build_options:
1380      - optfile linux_amd64_ifort11, fast (no ieee) case:
1381        to get a working restart for all experiments, add "-fp-model source"
1382        to FOPTIM (also remove "-opt-streaming-stores auto" <- this is the default).
1383    
1384    checkpoint64p (2013/10/20)
1385    o pkg/autodiff:
1386      - adread_adwrite.F: when type and length do not match ALLOW_AUTODIFF_WHTAPEIO
1387        criteria, return to simple (default) tape IO format.
1388    o pkg/mdsio (+ eesupp/src):
1389      - rewrite/simplify tape-IO S/R (new S/R MDS_READ/WRITE_TAPE replace
1390        previous MDSREAD/WRITEVECTOR) with 2 array argument from each type (R4/R8);
1391      - fix globalFile and singleCpuIO options using simpler global mapping.
1392      - new pairs of scatter/gather vector S/R (one for each type, generated from
1393        template) corresponding to simpler global mapping.
1394      - adread_write.F: switch to new S/R (but leave old calls commented) and write
1395        to globalFile when parameter globalFiles is set to True.
1396      - switch on useSingleCpuIO in AD experiments: global_ocean.90x40x15 & isomip.
1397    o pkg/autodiff:
1398      - adread_adwrite.F: add a hack for RS arrays (when RS=real*4);
1399        with ALLOW_AUTODIFF_WHTAPEIO defined, since corresponding (real*4) is
1400        missing, just add a STOP if array type do not match.
1401    o pkg/exf:
1402      - to allow to use seaice-fraction from pkg/exf in other pkgs than pkg/seaice:
1403         rename CPP option EXF_ALLOW_SEAICE_RELAX to EXF_SEAICE_FRACTION
1404         and rename array obsSIce to exf_iceFraction.
1405    o tutorial_deep_convection:
1406      - add 1rst version of isotropic 3-D Smagorinsky code (from Louis-Philippe),
1407        for now all in this exp. code dir.
1408      - add secondary test using Smag-3D viscosity (keep very low backgroud visc for
1409        testing) and flux-limter advection scheme for Temp. (no explicit diffusion).
1410    o eesupp/src:
1411      - added SINGLE_DISK_IO option because reading of parameter files on
1412        very large number of processors did not work with existing set-up
1413    
1414    checkpoint64o (2013/09/25)
1415    o pkg/atm_phys & atm_compon_interf:
1416      - allows for coupling of gray-atmosphere (atm_phys) with ocean.
1417    o tools/build_options:
1418      - switch from "-fPIC" to "-mcmodel=medium" in optfiles: linux_amd64_gfortran
1419        & linux_amd64_ifort11 and in linux_amd64_g77 & linux_amd64_open64 also
1420        remove CPP setting (was identical to genmake2 default).
1421    o pkg/gmredi & model/src: Some updating and work done on the residual model.
1422      - created new file model/src/calc_eddy_stress.F to calculate the eddy stress.
1423      - fixed up the calculation of the eddy stress and how it is added to the
1424        external forcing via taueddy_external_forcing.F
1425      - at the moment, it is very experimental and only works with the variable eddy
1426        diffusivity calculated in gmredi_k3d.F
1427    o pkg/seaice/seaice_check.F: add a check to catch the case of specifying
1428        lw/swfluxfile instead of lw/swdownfile in data.exf together with pkg/seaice
1429    o testreport (& tools/do_tst_2+2):
1430      - for MPI test, set default COMMAND to 'mpirun -v -np TR_NPROC ./{executable}'
1431    o tools/build_options: linux_amd64_gfortran & linux_amd64_ifort11:
1432      - remove CPP='cpp -traditional -P' (this is genmake2 default)
1433      - add switch (for big setups) to use 'medium' memory-model (but leave it
1434        commented out for now). Note: needed with FC 19 to compile big setups.
1435    o pkg/atm_compon_interf:
1436      - regroup per field origin (model & pkgs) the coupling storage routines
1437         (which accumalate in time each coupling field)
1438      - move bi,bj loops inside atm_store_my_data.F and store also wind-stress;
1439        update accordingly + simplify aim_do_physics.F
1440    
1441    checkpoint64n (2013/08/26)
1442    o pkg/bbl:
1443      - update formulation to reduce dispersion of tracer properties in bbl
1444      - replaced horizontal and vertical transport parameters with velocities
1445      - changes results for verification/global_with_exf.yearly
1446    o verification/halfpipe_streamice:
1447      - change to matrix construction; update both Fwd & AD output.
1448    o verification/tutorial_tracer_adjsens:
1449      - OpenAD test: switch to vector-invariant momentum since fluxform with
1450        rStar causes problems with OpenAD; update output.
1451    o tools:
1452      - genmake2: define a common prefix for all temp-file names ; move them
1453        to local /tmp disk (but would be easy to move them back);
1454      - xmakedepend: apply the same switch for temp-files.
1455    o pkg/offline:
1456      - changes for use with rStar (NLFS): assume that we continue to provide
1457        UVELMASS/hFacW_ini & VVELMASS/hFacS_ini (hFacWi,S_ini as written in grid
1458        output files) and apply r* scaling at each time-step (function of the time
1459        varying Eta field); use normal pickup files (needed for restart with NLFS).
1460    o adjoint with OpenAD:
1461      - move OpenAD-specific files from verification/OpenAD/code_oad_all to a new
1462        package openad.  This package has to be compiled for all runs with OpenAD
1463        instead of specifying code_oad_all as a modification directory.
1464      - link the fortran templates from tools/OAD_support to the build directory
1465        for preprocessing to avoid conflicts between different setups compiled
1466        simultaneously and simplify cleanup.
1467    o pkg/exf:
1468      - in exf_getforcing.F: comment out most of the EXCH calls (fields used by
1469        main model or other pkgs are exchanged in EXF_MAPFIELDS).
1470    o model/src:
1471      - do_stagger_fields_exchanges.F: skip EXCH calls when using pkg/offline
1472        (similar to do_fields_blocking_exchanges.F).
1473    o tools/genmake2:
1474      - remove TAF output src code just before calling staf (when not doing a fresh
1475        built, will stop if things go wrong with staf).
1476      - fix target "adobj" (left from TAF version-2 transition)
1477    o pkg/diagnostics:
1478      - add a parameter to track the status of pkg/diagnostics activation;
1479        this replace/extend the use of logical param "settingDiags" (to check
1480        when adding diag to the list) to also check any DIAGNOSTICS_[]FILL* call.
1481        New S/R to print error message and stop when pkgStatus is not right.
1482      - to try: add a warning when "data.diagnostics" exist but useDiagnostics=F.
1483    
1484    checkpoint64m (2013/08/13)
1485    o model/inc:
1486      - move FCORI_MACROS.h from PARAMS(_MACROS).h to GRID_MACROS.h (left from
1487        8 yrs ago modif when Coriolis arrays were moved from PARAMS.h to GRID.h)
1488    o pkg/kpp & aim_v23:
1489      - only call DIAGNOSTICS_FILL when useDiagnostics=TRUE.
1490    o pkg/seaice:
1491      - restore (last time on 2011/12/24) ability to compile pkg/seaice with
1492        undefined pkg/exf ALLOW_ATM_TEMP or ALLOW_RUNOFF CPP-options.
1493      - only call DIAGNOSTICS_FILL when useDiagnostics=TRUE.
1494    o eesupp/src:
1495      - fix check for overlap-size argument (myOLn.GT.MAX_OLY_EXCH)
1496        in exch1_rx[_ad].template (thanks to Francois Lefeuvre report).
1497    o switch to TAF version-2:
1498      - add flow directives to "freeze" naming convention for ad-routines that
1499        are used in I/O routines of adjoint state and associated common blocks
1500        that are used in adcommon.h (backward compatible with version-1)
1501      - update all ad-optfiles (in tools/adjoint_options + few local to some
1502        verification exp) to switch to latest TAF version (currently 2.5.5);
1503        merge "*_mpi" adoptfiles into the corresponding non-mpi (but commented
1504        out except for diva).
1505      - the major change with TAF version-2 is that both the differentiated
1506        routines and the forward routines (new) are returned as part of the TAF
1507        output source code. Update genmake2 accordingly.
1508      - new output for AD experiment tutorial_global_oce_biogeo (better AD gradient
1509        with version-2 when compared to TLM or FWD gradient); other experiments
1510        output show minor changes (machine truncation level); update the few AD &
1511        TLM output with 12 matching digits only (some prior to version-2 switch).
1512    
1513    checkpoint64l (2013/08/05)
1514    o model/src:
1515      - in dynamics.F, skip the call to CALC_VISCOSITY if momViscosity=F
1516      - main_do_loop.F: no longer includes additional (AUTODIFF) header files
1517        when using TAF but only if using OpenAD.
1518    o pkg/mom_common+fluxform+vecinv:
1519      - always set horiz. viscosity arrays to background value before calling
1520        MOM_CALC_VISC (in MOM_FLUXFORM & MOM_VECINV) and call S/R MOM_CALC_VISC
1521        only when using variable horiz. viscosity (useVariableVisc=T);
1522      - simplify mom_vecinv.F (only 1 block for momViscosity).
1523    o pkg/mom_common: variable horiz. viscosity in NH code
1524      - move horiz-viscosity 3-D arrays viscAh_W & viscA4_W (used in calc_gw.F)
1525        from model/inc/NH_VARS.h to pkg/mom_common/MOM_VISC.h
1526      - store in common block (in MOM_VISC.h) logical parameters: useHarmonicVisc,
1527        useBiharmonicVisc & useVariableVisc.
1528      - fix old bug (already in 1rst implementation of variable horizontal viscosity
1529        in calc_gw.F, version 1.27, 2006/06/20):
1530        horizontal bi-harmonic viscosity in gW was missing when wiscA4W=0
1531        even if variable bi-harmonic viscosity (e.g., viscA4Grid) was non-zero.
1532      - change background horiz viscosity in vertical momentum (gW) to always be
1533        viscAhW,viscA4W (instead of switching to viscAhD, viscA4D when using
1534        any type of variable viscosity, e.g., viscAh/4Grid)
1535      - change default value of viscAhW,viscA4W to viscAhD,viscA4D (instead of
1536        viscAh,viscA4) which default to viscAh,viscA4 :  this avoid missing
1537        horiz. viscosity in W eq when just setting viscAhD/Z,viscA4D/Z (since
1538        default viscAh,viscA4 is zero).
1539    o model/src:
1540      - extend length of drC & recip_drC from Nr to Nr+1.
1541    o Divided Adjoint (DIVA) with MPI:
1542      - genmake2: do not create local ./mpi_headers dir when no file to copy into.
1543      - remove option ALLOW_DIVIDED_ADJOINT_MPI (replaced by ALLOW_DIVIDED_ADJOINT
1544        and ALLOW_USE_MPI) from model/src code and from ECCO_CPPOPTIONS.h.
1545    
1546    checkpoint64k (2013/07/23)
1547    o tools/OAD_support:
1548      - avoid the need for file "oadtempflile" in insertTemplateDir.bash
1549        and remove it from genmake2.
1550    o tools/build_options:
1551      - remove MPI_HEADER_FILES_INC setting (no longer used) and comment out
1552        MPI_HEADER_FILES list (let genmake2 find the missing headers)
1553    o verification/halfpipe_streamice:
1554      - change to driving stress formulation; update both Fwd & AD output.
1555    o tools/genmake2 and Divided Adjoint with MPI:
1556      - remove default setting of MPIINCLUDEDIR from $MPIHOME (always been broken);
1557      - only create local ./mpi_headers dir if using MPI and MPIINCLUDEDIR is set;
1558      - add new variable (LOCAL_MPI_HEADERS, replace MPI_HEADER_FILES_INC) in
1559        Makefile, which is set by genmake2, and check which mpi-headers are needed.
1560        Note: need to update adjoint_options/adjoint_diva_mpi accordingly.
1561      - update target "CLEAN" (to also remove ./mpi_headers/ dir).
1562    o testreport:
1563      - changes for Divided Adjoint Run: when file "run_ADM_DIVA" is present,
1564        perform additional runs (number of additional runs is "add_DIVA_runs" taken
1565        from file run_ADM_DIVA ; should match "nchklev_3" in file "code_ad/tamc.h").
1566    o verification/lab_sea (AD test):
1567      - change to test Divided Adjoint Run in this set-up (both standard AD test
1568        and 2 secondary AD test: noseaice + noseaicedyn); drop the evp AD test.
1569    o pkg atm_ & ocn_compon_interf:
1570      - remove cpl_earlyExpImpCall=F option (was mainly a hack added for the old
1571        staggerTimeStep implementation) and disable (retired) corresponding
1572        parameter.
1573    o pkg/offline:
1574      - comment out unused field-array: ICEM, ConvectCount, hflx[01], icem[01];
1575      - add S/R OFFLINE_CHECK to print offline parameter summary
1576        and stop if loading a file that is not used;
1577      - enable to calculate GMRedi tensor, KPP mixing and convective index
1578        when the corresponding file(s) is/are not specified (but pkg is used).
1579      - comment out resetting of monitorFreq (to endTime) since it still useful
1580        for monitoring CFL numbers and checking offline fields.
1581    o OpenAD:
1582      - do not define OAD_DEBUG (in tools/adjoint_options/adjoint_oad) to get
1583        smaller standard output) and generate new (smaller) output (on baudelaire
1584        using gfortran with -ieee) for exp. tutorial_tracer_adjsens
1585    o model/src:
1586      - call EXTERNAL_FORCING_SURF outside bi,bj loops (in do_oceanic_phys.F),
1587        (where external_forcing_adjust was called) and change list of arguments;
1588      - merge external_forcing_adjust.F into external_forcing_surf.F
1589      - put surface relaxation of SST & SSS in new S/R (forcing_surf_relax.F)
1590        which also contains balancing surface relaxation (ALLOW_BALANCE_RELAX,
1591        previously in file "balance_relax.F", now removed); remove corresponding
1592        arrays in FFIELDS.h.
1593      - EXTERNAL_FORCING_SURF is now called when using pkg/offline; implement
1594        a hack for getting back surfaceForcingS (loaded from file) when using
1595        ALLOW_OLD_VIRTUALFLUX (pkg/dic, in DIC_OPTIONS.h) in offline set-up.
1596      - update output of AD test experiment global_ocean.cs32x15.seaice_dynmix
1597        (was getting only 11 digits for AD-grad, due to different truncation
1598         error in AD code).
1599    
1600    checkpoint64j (2013/07/04)
1601    o pkg/offline:
1602      - to enable the use of other features with pkg offline (e.g., obcs),
1603        also call S/R DO_OCEANIC_PHYS in offline run - more modifs to come.
1604      - comment out "allowFreezing" (now active) in 2 offline testing exp.
1605    o pkg/exf ALLOW_RUNOFTEMP
1606      - fix sign and make compatible with temp_EvPrRn .NE. UNSET_RL
1607      - ahdded RUNOFTEMP test to verification/global_ocean.cs32x15/input.seaice
1608      - changes verification/global_ocean.cs32x15/results/output.seaice.txt
1609    o pkg/atm_phys:
1610      - allows to add some damping on uVel,vVel (strength only function of k).
1611    o verification, ad-tests:
1612      - reduce length of the simulation for AD test: global_ocean.cs32x15.seaice,
1613        global_ocean_ebm and offline_exf_seaice.thsice.
1614    o verification/halfpipe_streamice:
1615      - found a bug in s/r pkg/streamice/streamice_advect_thickness which caused
1616        flux input boundary conditions to be ignored; a fix for this bug changed
1617        verification results for forward test.
1618      - add adjoint test.
1619    o pkg/ptracers:
1620      - allow to restart without SOM pickup (resetting SOM to zero).
1621    o pkg/gmredi:
1622      - New parameterisation for the calculation of K and (GM_PsiX,GM_PsiY) added.
1623      - It uses mixing length theory and suppression by steering level effects to
1624        calculate a diffusivity used in the Redi tensor (see Bates et al., submitted
1625        to JPO, for more details).
1626      - It also uses the diffusivity to calculate an eddy induced streamfunction
1627        based on a PV closure (rather than a buoyancy closure as in GM).
1628      - New files added to pkg/gmredi:
1629        gmredi_k3d.F calculates the diffusivity for the Redi tensor and the eddy
1630          induced overturning streamfunction (called from gmredi_calc_tensor)
1631        gmredi_calc_eigs.F calculates the eigenvalues and eigenvectors required
1632          for use in gmredi_k3d
1633        gmredi_calc_urms.F calculates the the rms eddy velocity used to calculate
1634          the eddy diffusivity
1635    
1636    checkpoint64i (2013/06/18)
1637    o pkg/cheapaml:
1638      - take src files from MITgcm_contrib/verification_other/offline_cheapaml/code
1639        that enable the use of seaice (pkg/thsice thermo & pkg/seaice dynamics)
1640        with pkg/cheapaml.
1641    o utils/python: add subpackage for cubed sphere function, first example is
1642        simple cs.pcol to plot 2D fields on a map
1643    o pkg/streamice:
1644      - This is a new package in MITgcm, which solves dynamic equations for ice
1645         sheets and ice streams
1646      - At the moment it is independent of atmosphere/ocean dynamics, or any
1647        other physical packages in MITgcm, even ShelfIce (although it is anticipat-
1648        ed that this will change)
1649      - There is a new verification exercise that tests it, halfpipe_streamice,
1650        evolves a 40x80 km ice stream/ice shelf (at coarse resolution) in a
1651        rectangular embayment
1652      - halfpipe_streamice is forward-only for now, will have TAF test soon
1653      - for questions, email dgoldber@mit.edu
1654    o pkg/thsice:
1655      - fix filling of snow-precip diagnostic (SIsnwPrc) (left from the removing
1656        of snowPrc from common bloc, on May 2nd, thsice_step_fwd.F revision 1.40);
1657      - remove diagnostics 'SI_FrcFx' ( now identical to 'SI_Fract' with new
1658         call sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect );
1659      - allow precip from pkg/cheapaml to make snow over seaice.
1660    o pkg/cfc:
1661      - move in separated header file (CFC_ATMOS.h) time-serie arrays of Atmos CFC
1662      - remove atmos CFC 2-D arrays from common bloc (now local variables)
1663      - change some hard-coded constant to run time parameter for reading and
1664        and interpolating atmospheric CFC ; keep same default as previously.
1665      - more flexible reading of Atmos CFC (number of records no longer hard-coded)
1666      - put arguments in standard order: myTime, myIter, myThid
1667      - use standard S/R GET_PERIODIC_INTERVAL for time interpolation of
1668        atmospheric CFC ; fix for the case myIter < PTRACERS_iter0.
1669      - fix calculation of surf tendencys for partial-cell and/or Non-Lin Free-Surf
1670      - new routine to print summary of CFC params and check for consistency.
1671    o pkg/seaice: add uice/vice to the parameter list of s/r seaice_advdiff,
1672      similar to thsice_advdiff.
1673      Note that for the B-grid case the routine parameters uc/vc are overwritten.
1674    o pkg/cfc:
1675      - change time interpolation for atmospheric CFC-11 (now same as for CFC-12);
1676        update output (CFC-11) of experiment cfc_example and tutorial_cfc_offline.
1677      - fix interpolation of atmphspheric CFC between Sorthern and Northern
1678        hemisphere value.
1679    o pkg/seaice:
1680      - allow to use seaice dynamics without pkg/exf (e.g., using pkg/cheapaml)
1681    o pkg/seaice: add Adams-Bashforth2 time discretization for ice dynamics;
1682                  so far only for JFNK-solver, turn on with SEAICEuseAB2 = .TRUE.
1683      - requires an additional time level that is stored in the pickup
1684      - you can start with AB2 from a pickup without this time level with
1685        pickupStrictlyMatch = .false.
1686    
1687    checkpoint64h (2013/05/26)
1688    o pkg/cheapaml:
1689      - replace one ()**.5 with SQRT + use temp var "cdu = tau/Du" (coare3_flux);
1690        affect machine truncation (but exp cheapAML_box still pass with 13 digits).
1691      - consistent treatment of uWind,vWind location: assume everywhere in
1692        pkg/cheapaml that they are on C-grid (@ uVel,vVel location)
1693        (Note: was already the case for Tair,Qair advection);
1694        add option (INCONSISTENT_WIND_LOCATION) to recover old results.
1695      - compute diabatic forcing only in the interior (excluding overlap regions)
1696      - fill in array "Qsw" (for short-wave heating);
1697      - add diagnostic for precip ; fill-in diagnostics for cheapAML state vars
1698        before any update (consistent with MITgcm state var diagnostics);
1699      - cheapaml_fields_load.F & cheapaml_init_varia.F : only fill outer edges if
1700        non periodic ; + adjusted for uWind,vWind (C-grid).
1701    o pkg/seaice:
1702      - remove dependence of pkg/seaice versus pkg/exf (file: pkg/pkg_depend) and
1703        add explicitly pkg/exf in experiments that currently use pkg/seaice.
1704      - allows to compile pkg/seaice without pkg/exf.
1705    o tools/OAD_support:
1706      - use a local copy (ourRWCPinBd) to ensure index ourRWCP stays within bounds
1707        of array "ourStepOf" in function rvNextAction (revolve.F90).
1708    o pkg/aim_compon_interf renamed to pkg/atm_compon_interf
1709      - change pkg name (to be used with other atmospheric physics pkg)
1710        but by-pass CVS when making the new pkg so that we keep the CVS history.
1711    o pkg/offline:
1712      - call OFFLINE_FIELDS_LOAD from pkg/offline/offline_init_varia.F
1713        (previously called from pkg/dic_surfforcing_init.F)
1714    o model/src:
1715      - re-order sequence of calls within packages_init_variables.F, using
1716        standard order, except for:
1717         DIAGNOSTICS_INIT_VARIA and OFFLINE_INIT_VARIA (called @ the top),
1718         CTRL_MAP_INI and OBCS_INIT_VARIABLES (called @ the bottom)
1719    o new pkg: atm_phys
1720      - add entry point and source code (previously in contrib
1721          verification_other/atm_gray/code_gray/) for new pkg "atm_phys"
1722        (atmospheric physics pkg from P. O'Gorman and T. Schneider, JCl, 2008).
1723      - re-order sequence of calls within packages_readparms.F,
1724         packages_init_fixed.F and packages_write_pickup.F
1725        (but skip packages_init_variables.F because of TAF issues).
1726      - update contrib/*/atm_gray/ experiment.
1727    o pkg/seaice (ITD code):
1728      - simplify and fix the writing of pickup-files for ITD case
1729    o pkg/seaice (ITD code):
1730      - introduce floe size dependent lateral melt for ITD case;
1731      - cleaning (avoid division by zero, change to f77 syntax, remove tabs)
1732      - update seaice_itd experiment main output.
1733    o pkg/thsice:
1734      - remove snowPrc from common block THSICE_FLUX, in THSICE_VARS.h and
1735        declared it locally (without bi,bj) in thsice_main.F & aim_do_physics.F;
1736        changed accordingly pkg/atm2d.
1737    
1738    checkpoint64g (2013/05/01)
1739    o pkg/exf ALLOW_RUNOFTEMP
1740      - if defined,  river and glacier runoff temperature can be read-in from
1741        runoftempfile; runoftempfile needs to have same format as runofffile
1742    o pkg/thsice (& pkg/bulk_force):
1743      - In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account
1744        for energy content of Precip + RunOff & Evap (like with pkg/exf).
1745      - change computation domain to always be the interior (without overlap).
1746      - fix bug (wrong overlap) when using EXF and stressReduction > 0.
1747    o verification/tutorial_global_oce_biogeo:
1748      - add preliminary OpenAD setup (still has problems)
1749    o pkg/seaice:
1750      - turn some parameters for choosing the convergence criterion of
1751        the inexact Newton method (JFNK) into runtime parameters for convenience
1752      - clean up seaice_calc_viscosities.F: remove/retire two options for
1753        SEAICetaZmethod (1,2), introduce area weighting for method 3; this changes
1754        the results of lab_sea/input because a division has been replaced by
1755        a multiplication with the reciprocal (sumNorm)
1756      - modify offline_exf_seaice/input.dyn_jfnk/data.seaice to improve
1757        convergence of solver (changes results, of course), and to test some
1758        new features
1759    o model/src:
1760      - remove unused (since Aug 2006) S/R SET_WRITE_GLOBAL_PICKUP and its call.
1761      - remove unused forcing field "dQdT" and associated parameter "dQdTFile".
1762      - move forcing adjustment (balancing surface forcing) in specific S/R
1763        where might also be applied exchanges (if needed) to forcing arrays.
1764    o pkg/shelfice:
1765      - allow to specify the Ice-Shelf mass per unit area (instead of
1766        shelficeLoadAnomaly) and do the conversion from one to the other
1767      - move loading from file of shelficeLoadAnomaly from SHELFICE_INIT_VARIA
1768        to SHELFICE_INIT_FIXED: (a) avoid some TAF recompution issues and
1769        (b) will be loaded in time (before calling INI_PRESSURE) in case it is
1770        needed in phi0surf for initial pressure calculation when useDynP_inEos_Zc
1771      - update isomip experiment forward output (get machine truncation error
1772        from conversion shelficeLoadAnomaly -> shelficeMass -> shelficeLoadAnomaly)
1773    o verification/offline_exf_seaice:
1774      revise data.seaice in input.thermo and input_ad and update results accordingly
1775        HO = 0.2, SEAICE_areaLossFormula = 2,
1776        SEAICE_growMeltByConv = .TRUE.,
1777        SEAICE_doOpenWaterMelt = .TRUE.,
1778      Improve consistency with input.thsice and fix the spurious 500m ice corners
1779    o verification/global_ocean.cs32x15:
1780      - set Energy Reference Level to liq. water @ 0 degC: temp_EvPrRn=0.,
1781        in icedyn (thsice+seaice-dyn) test and update output.
1782    o verification/offline_exf_seaice:
1783      - adjust list of tested variables (with testreport) and update
1784        standard test output with better slection of monitored fields.
1785    o pkg/cd_code:
1786      - swtich off Adams-Bashforth on the 1rst iteration. Update output of
1787        experiment lab_sea.hb87
1788    o tools/genmake2:
1789      - change default makedepend from the system default to tools/xmakedepend:
1790        When no makedepend is specified, select tools/xmakedepend it the test pass,
1791        otherwise select the system default (if exist and pass the test) or
1792        try to build cyrus-makedepend ; stop if none of the 3 works.
1793    o pkg/exf & pkg/thsice:
1794      - In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account
1795        for energy content of Precip + RunOff & Evap. Assumes:
1796       1) Rain has same temp as Air.
1797       2) Snow has no heat capacity (consistent with seaice & thsice pkgs)
1798       3) Run-Off comes at the temp of surface water (with same Cp)
1799       4) Evap over ocean is released to the Atmos @ surf-temp (=SST); should be
1800        put directly into Latent Heat flux & should use water-vapor heat capacity.
1801       5) Evap over snow/seaice (pkg/thsice) assumes constant Lf+Lv (consistent
1802        with snow having no Cp) => water vapor is released to Atmos @ 0^oC (=ERL).
1803    o pkg/seaice: simplify the use of CPP flags in JFNK-related files
1804        (compile when SEAICE_ALLOW_JFNK is defined)
1805    o pkg/thsice:
1806      - fix oceanic flux diagnostics & timeave (left from new sequence of calls
1807        implementation): move THSICE_AVE call after the advection (called directly
1808        from thsice_do_advect.F).
1809    o verification/global_ocean.90x40x15 and OpenAD:
1810      New experiment for OpenAD is identical to the one in input_ad except that
1811        multiDimAdvection=.FALSE.,
1812      There is still an issue with this.
1813    o pkg/thsice:
1814      - account for ice velocity (ocean relative velocity) in turbulent heat flux
1815        at the base of the ice; update output of global_ocean.cs32x15 (icedyn)
1816        and offline_exf_seaice (main test).
1817    
1818    checkpoint64f (2013/03/31)
1819    o verification/OpenAD:
1820      - new (smaller, without OAD_DEBUG) output_oadm.txt generated using gfortran.
1821    o verification/isomip, pkg/shelfice and OpenAD:
1822      - add OpenAD setup to this exp and make shelfice package work with OpenAD
1823    o verification/tutorial_global_oce_biogeo:
1824      - update AD and TLM output after turning off ALLOW_FE (in DIC_OPTIONS.h)
1825    o verification/offline_exf_seaice:
1826      - replace adjoint experiment (now similar to fwd input.thermo/ setup).
1827    o verification/tutorial_tracer_adjsens, pkg/ptracers and OpenAD:
1828      - add OpenAD setup to this exp and make ptracers package work with OpenAD
1829    o pkg/seaice/seaice_evp.F:
1830       mask the asymmetric contribution of the ice-ocean stress (when
1831       the turningAngle is non-zero) over open water to avoid stripes
1832       in the EVP-solutions after many EVP-substeps. This does not change
1833       the verification experiment (because turningAngle=0 in that experiment),
1834       but will affect other EVP solutions with turningAngle.ne.0
1835    o verification, AD & TLM output:
1836      - new TAF version 2.3.10 (previously 2.3.8) add more parenthesis in multiple
1837        additions and multiplications which affect results at machine truncation
1838        level. Update few AD output (1D_ocean_ice_column, bottom_ctrl_5x5,
1839        lab_sea.noseaicedyn & offline_exf_seaice) and TLM output
1840        (1D_ocean_ice_column & tutorial_tracer_adjsens.som81) which had only 12
1841        digits of matching.
1842    o pkg/seaice:
1843       modify lsr-algorithm so that it vectorizes AND converges by using a
1844       "zebra" method: split vector loop into two with step size 2; this
1845       solves a general convergence problem for the JFNK solver on a vector
1846       computer. It has the potential to even improve convergence for
1847       non-vector machines, but it does change the results so it is turned
1848       off by default. To turn on define CPP-flags SEAICE_VECTORIZE_LSR and
1849       SEAICE_VECTORIZE_LSR_ZEBRA in SEAICE_OPTIONS.h
1850    
1851    checkpoint64e (2013/03/05)
1852    o pkg/ecco and several verification experiments:
1853       Remove special versions of the_model_main.F, the_main_loop.F, forward_step.F
1854       from ecco package, and revert to unified routine in model/src/
1855       Adjust verification experiments accordingly, especially gloal_oce_llc90
1856       Should conclude long-standing work by Gael to reconsile the_main_loop with
1857       ECCO and will enable OpenAD's revolve loop in ECCO setup.
1858    o pkg/generic_advdiff:
1859      - implement compressible flow method for multi-dim advection (similar to
1860        gad_som_advect.F); add new option "GAD_MULTIDIM_COMPRESSIBLE" (since
1861        TAF generates many recomputations) to use it; no yet coded with implicit
1862        vertical advection.
1863      - change experiment advect_cs (new output) and advect_xy (same output)
1864        to test compressible flow multi-dim advection.
1865    o pkg/generic_advdiff:
1866      - fix SOM advection for unusual cases (linear Free-Surf in r*, other
1867        cases where linear Free-Surf is not @ k=1, e.g., useShelfIce)
1868    o pkg/seaice:
1869      - fix bug in the no-slip implementation in seaice_calc_strainrates.F, this
1870        bug affects two verification experiments (lab_sea and lab_sea.hb87),
1871        recover old (wrong) results by setting noSlipFac = 2. in
1872        seaice_calc_strainrates.F;
1873      - add another averaging method for etaZ (etaZmethod=3), a mix of 2 and 0
1874      - add runtime parameter SEAICE_JFNKepsilon for that finite difference
1875        gradient in the Jacobian times vector operation (s/r seaice_jacvec)
1876      - fix line search in seaice_jfnk.F (s/r seaice_jfnk_update)
1877    o pkg/seaice: reorganize seaice_lsr.F to be able to reuse more code:
1878      - new subroutines seaice_lsr_tridiagu/v
1879      - introduce loop bounds i/jmin/max to be able to use a restricted
1880        additive Schwarz method, but not used for now.
1881      - rename SEAICE_CALC_LSR_COEFFS into SEAICE_LSR_CALC_COEFFS
1882      - use new subroutines seaice_lsr_tridiagu/v in s/r seaice_preconditioner
1883    o OpenAD support
1884       Reorganize S/R call for overall time-stepping loop to facilitate
1885       OpenAD revolve loop replacement
1886       (new S/R main_do_loop.F)
1887    o model/src:
1888      - add 3-D array 3rd dimension to argument list of S/R ADAMS_BASHFORTH2/3;
1889      - pkg/cheapaml: remove local S/R ADAMS2d and use instead standard S/R
1890        ADAMS_BASHFORTH2.
1891    o pkg/cheapaml:
1892      - add new parameter (default=F, same as before) to disable full domain
1893        (including land) periodicity in X & Y dir.
1894      - new S/R CHEAPAML_COPY_EDGES to copy relaxation field into edges of
1895        prognostics field ; merge the 2 S/R cycle_2d_tracer and timestep_2d_tracer
1896        into single S/R CHEAPAML_TIMESTEP.
1897    
1898    checkpoint64d (2013/02/17)
1899    o pkg/monitor (angular momentum):
1900      - do not add Eta contribution to the total AM if using rigid-lid;
1901      - correct for Adams-Bashforth in zonal-wind part (instead of in AM_eta).
1902      - horizontal discretisation: compute Zonal wind contribution separately for
1903        each component (instead of from cell centered averaged) and use the 4
1904        grid-cell corner averaged value of Omega*(R*cos_Phi)^2 in AM_eta part.
1905      - Check that AM is conserved with linear dynamics (momAdvection=F and linear
1906        FreeSurf) if using vectorInvariant momentum.
1907    o model/src (horizontal grid):
1908      - move initialisation of all horizontal grid arrays to null value
1909        from specific horizontal grid S/R to main S/R INI_GRID;
1910      - add 2 new arrays to project model C-grid velocity on to zonal direction
1911        (similar to AngleCosC & -AngleSinC but at U and V point location) and
1912        compute them in S/R CALC_GRID_ANGLES.
1913    o pkg/seaice: replace a hard coded parameter by a runtime parameter
1914        SEAICE_JFNK_tolIter
1915    o pkg/seaice: introduce a restricted additive Schwarz (RAS) method in
1916        preconditioner for JFNK (run LSR into the overlaps as far as possible,
1917        i.e OLx/y-2, but overwrite the solution in the overlaps)
1918      - extend loop range in seaice_calc_viscosity
1919      - add new parameters SEAICE_OLx/y (default = OLx/y-2)
1920      - add flexible loop ranges to seaice_preconditioner, seaice_calc_lsr_coeffs
1921      - slightly modify loops in tridiagonal solver lsr-preconditioner
1922      - by default remove the extra exchange in seaice_preconditioner with a
1923        replacement of an undocumented CPP flag by SEAICE_PRECOND_EXTRA_EXCHANGE
1924      - modify offline_exf_seaice so that old results without RAS are reproduced
1925        for output.dyn_jfnk.txt
1926      in seaice_fgmres.F (unrelated to RAS)
1927      - add a cpp-flag option for a re-ordered mapping (potentially more
1928        efficient), but because this changes the results, turn it off by
1929        default
1930      - replace the save statement by local common blocks
1931    o utils/matlab:
1932      - fix tile-offset in rdmnc.m when output was produced using EXCH2.
1933      - update cs_grid/bk_line scripts to use load_grid.m (in utils/matlab)
1934        instead of local script "load_cs.m".
1935    o pkg/seaice:
1936      - fix a serious bug in seaice_fgmres.F, s/r seaice_scalprod, connected
1937        to the scalarProductMetric and the unrolling. By chance this does not
1938        change the verification experiment, because of the particular domain
1939        decomposition
1940    o pkg/diagnostics:
1941      - change default missing_value from UNSET_RL to -999.
1942    o pkg/layers: improve vectorization of layers_fluxcalc.F
1943      - step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu
1944        time spent in this routine by more than a factor of 3 on an NEC-SX8
1945      - step 2: replace search algorithm by a bisection algorithm found in
1946        Press et al. Numerical Recipes in Fortran. This algorithm can be
1947        vectorized and finds the correct bin in approx. log2(Nlayers) steps.
1948        For now, use this algorithm only for TARGET_NEC_SX defined.
1949      - moved the search algorithm into a separate subroutine, that is kept
1950        within the same file for automatic inlining.
1951      - modified catching potential errors
1952    o pkg/ecco:
1953      - add compile switches ALLOW_SHALLOW_ALTIMETRY and ALLOW_HIGHLAT_ALTIMETRY.
1954    o model/src, pkg/autodiff, pkg/ctrl, pkg/grdchk :
1955      - modifications for ALLOW_GENTIM2D_CONTROL
1956      -- forward_step.F, the_main_loop.F : pass options and arrays for adjoint tapes.
1957      -- load_fields_driver.F : add call to CTRL_MAP_GENTIM2D( myTime, myIter, myThid )
1958      -- add xx_gentim2d0/1 in ctrl_ad_check_lev1_dir.h checkpoint_lev1_directives.h etc
1959      -- use ctrl_swapffields.F (new) instead of exf_SwapFFields.F in ctrl_get_gen.F
1960    o model/src:
1961      - account for moist thermodynamics in (dry) potential temperature equation;
1962        update results of experiments: aim.5l_cs (x2), fizhi-cs (std + aqualev)
1963        and cpl_aim+ocn.
1964      - also switch to standard compiler (gfortran, was using ifort previously)
1965        for fizhi-cs experiments reference output.
1966    o pkg/ctrl:
1967      - 1st step toward generic time-varying control variable (2D) via CPP option
1968        ALLOW_GENTIM2D_CONTROL
1969      - note new namelist ctrl_nml_genarr in data.ctrl
1970    o verification/global_ocean.cs32x15:
1971      - switch off OLD_THSICE_CALL_SEQUENCE (both forward and AD code) to use new
1972        thsice calling sequence and update "output.icedyn.txt" output file.
1973    o pkg/ptracers:
1974      - from Ryan A.: code to allow to restart a tracer at regular time interval
1975        specifying a reset frequency and a reset-phase (for each tracers).
1976    o pkg/thsice:
1977      - implement new sequence of calls for thsice+seaice:
1978          previously:   ice-Dyn,ice-Advect,ice-Thermo(thsice)
1979          new sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect
1980      - allows (with temporary CPP option "#define OLD_THSICE_CALL_SEQUENCE"
1981        in CPP_OPTIONS.h) to recover old sequence;
1982      - update diagnostics for Intermediate State thsice diagnostics: now filled
1983        just before advection (instead of just after advection in old sequence);
1984      - update output of experiment offline_exf_seaice (standard test);
1985      - in global_ocean.cs32x15 exp., postpone output.icedyn.txt update
1986        by setting #define OLD_THSICE_CALL_SEQUENCE in CPP_OPTIONS.h
1987    o pkg/aim_v23:
1988      - use tiled array for aim_CO2 and surface wind speed for export to coupler;
1989      - use standard pkg/mdsio routines to read & write CO2 pickup file;
1990      - in-line S/R AIM_AIM2DYN_EXCHANGES in aim_do_physics.F;
1991      - Implement new sequence of calls for seaice advection (with thsice and
1992        seaice diffusion): do ice advection after ice-Thermodynamic (previously
1993        was done before); change aim_do_physics.F (split the bi,bj loops block);
1994      - use same CPP option (OLD_THSICE_CALL_SEQUENCE) to recover old sequence;
1995    o pkg/thsice:
1996      - add a missing EXCH of sIceLoad in thsice_main.F (ocean set-up) for the case
1997        where just seaice diffusion is used without seaice-dynamics.
1998    
1999    checkpoint64c (2013/01/18)
2000    o pkg/seaice:
2001      - add a parameter JFNKres_tFac that can replace JFNKres_t
2002        (= JFNKres_tFac*JFNKresidual before JFNK solver)
2003      - add a line search option to the JFNK solver
2004      - move update of u/vIce and computation of initial residual into a separate
2005        routine (same file); makes the code a little easier to read (?)
2006      - the line search requires computation of the residual and for some reason
2007        I cannot do the update of u/vIce at the beginning of the Newton loop
2008        without changing the results, so we move computation of the new residual
2009        also to the end of the Newton loop, even without the line search
2010    o pkg/mdsio:
2011      - write missing value (corresponding to undefined array value) to meta files;
2012        skip this if missing value is one (UNSET_RL would be a better value for the
2013        case of undefined missing value but it's current the default missing-value);
2014        Also update mdsio_read_meta.F (reading timeInterval & missing-value).
2015    o pkg/exf & thsice:
2016      - for diagnostics purpose, fill-up and update Qsw array (+ fill the
2017        diagnostics) even when SHORTWAVE_HEATING is #undef;
2018    o verification/cfc_example:
2019      - turn on pkg/layers with pkg/diagnostics (to test pkg/layers and to
2020        illustrate how to use it).
2021    o verification/offline_exf_seaice:
2022      in input: add SEAICErestoreUnderIce=.TRUE., and reduce size of forcing
2023        files to only one time-record.
2024      in input.thermo: narrow the 2 bands of low initial ice-concentration near
2025        N & S edges; switch on SEAICErestoreUnderIce=T; use pkg/diagnostics for
2026        snapshot output; same mcPheePiston value as in thsice with
2027        surf-current=0.2m/s.
2028      in input.thsice: similar set-up as in input.thermo (channel with same seaice
2029        initial conditions).
2030    o verification/cfc_example:
2031      - update file "data" with more standard choice (default rotationPeriod,
2032        exactConserv=T, reduce ivdc_kappa to 10, remove multiDimAdvection=F,
2033        set deltaTFreeSurf to deltaTtracer) and update the output.
2034    o pkg/layers:
2035      - fix bolus part so that it compiles with #undef GM_BOLUS_ADVEC;
2036      - ensure that "layers_bolus" is switched to False when useGMRedi=False.
2037    o verification/offline_exf_seaice:
2038      - set all {field}period to zero for constant-in-time forcing (not tested
2039        anywhere else).
2040    o verification/offline_exf_seaice:
2041      - dyn_lsr  : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice;
2042      - dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice.
2043    o model/src:
2044      - implement Finite-Volume method for (hydrostatic) presure gradient
2045        from S.-J. Lin (QJRMS 1997), for atmosphere using sigma-coordinate.
2046    o pkg/seaice: implement EVP* by Lemieux et al. (2012).
2047      - In order to be compatible with the default EVP code, this requires changing
2048        the EVP code around a little; and because any small change immediately
2049        breaks the lab_sea.hb87 verification experiment, the reference output is
2050        updated two times (each time the remaining aggrement was only 2 digits):
2051        - after replacing 1/dt by 1*recip_dt with a precomputed recip_dt
2052        - after replacing 1/(1+0.5*dt/tau) by a/(a+1), with a=2*tau/dt
2053        The adjoint test lab_sea.evp also needed to be updated.
2054      - Turn on EVP* by setting SEAICE_deltaTevp as before, and setting
2055        SEAICEuseEVPstar=.true.; for EVP* SEAICE_deltaTevp does not need to be
2056        a factor of SEAICE_deltaTdyn, and you can set the number of EVP steps
2057        explicitly with SEAICEnEVPstarSteps (thereby overriding the default of
2058        INT(SEAICE_deltaTdyn/SEAICE_deltaTevp)). Controlling EVP* is deliberately
2059        kept obscure, because I need to test it a little more.
2060    o pkg/cheapaml:
2061      - fix few incorrect type (_RL/_RS) in subroutine calls.
2062    o pkg/seaice:
2063      - new S/R SEAICE_MAP_RS2VEC (similar to SEAICE_MAP2VEC) to map _RS arrays
2064        to _RL vector; this fixes JFNK code when compiling with "-use_r4" option.
2065    o model/src:
2066      - add a warning if using select_rStar=2 with nonlinFreeSurf <> 4;
2067        change (in input_ad*/data) select_rStar from 2 to 1 for AD verification
2068        experiments global_ocean.cs32x15 & tutorial_tracer_adjsens (+ update output)
2069    o pkg/cheapaml:
2070      - replace "273.1 _d 0" by celsius2K in pkg/cheapaml/cheapaml.F and
2071        update output of experiment cheapAML_box.
2072      - store in CHEAPAML.h coeffs ssq[0:2] for saturation specific humidity,
2073        and set them only in one place (cheapaml_readparms.F).
2074      - replace "273.16 _d 0" by celsius2K & replace "3.14159 _d 0" by constant "PI"
2075      - remove re-setting of main-model parameter "celsius2K" (in cheapaml_readparms)
2076        and re-setting of cheapAML params "lath" & "p0" (in cheapaml_init_varia).
2077    o model/src/the_main_loop.F:
2078      - fix revision 129 : need both ALLOW_ECCO and ALLOW_ECCO_EVOLUTION.
2079    o pkg/seaice:
2080      - remove legacy branch code.
2081      - retire SEAICE_GROWTH_LEGACY and SEAICE_CAP_HEFF accordingly.
2082    o verification/*/code*/SEAICE_OPTIONS.h:
2083      - remove documentation for retired CPP flags (SEAICE_GROWTH_LEGACY,
2084        SEAICE_CAP_HEFF).
2085    o pkg/cheapaml:
2086      - use standard routine (S/R GET_PERIODIC_INTERVAL) to decide when it is time
2087        to load new forcing fields.
2088      - add missing "_d 0" where it's needed; + some editing (improve indentation).
2089      - remove switch to "-r8" compiler option (no longer needed) in verification
2090        cheapAML_box, keep same output (small trucation error differences).
2091    o verification/offline_exf_seaice:
2092      - add thermodynamics only test.
2093    o verification/cheapAML_box:
2094      - split the domain in 8 (2x4) tiles; add MPI and multi-threaded test;
2095        keep same output (same 14 digits for cg2d).
2096      - switch on "-r8" compiler option (some numerical values are missing
2097        the "_d 0") and update output (only 6 digits for cg2d were preserved).
2098    
2099    checkpoint64b (2012/12/24)
2100    o pkg/cheapaml:
2101      - remove un-used variables (Qnet,EmPmR) from pickup files.
2102      - store tendency of advected variables into cheapaml pickup file
2103        and fix the AB-2 restart.
2104    o verification/offline_exf_seaice and lab_sea adjoint:
2105      - switch to new code (#undef SEAICE_GROWTH_LEGACY).
2106      - switch to 4 time steps in offline, consistent with lab_sea.
2107      - match parameters from SEAICE_GROWTH_LEGACY branch in data.seaice.
2108      - update results after change of experiment seaice.
2109    o pkg/seaice:
2110      - remove option SEAICE_MULTICATEGORY; has been replaced with run-time
2111        parameter SEAICE_multDim. Issue a warning if SEAICE_MULTICATEGORY is
2112        still defined since SEAICE_multDim needs to be set to MULTDIM value (from
2113        SEAICE_SIZE.h) to recover previous #define SEAICE_MULTICATEGORY default.
2114    o model/src:
2115      - add run-time parameter to select CG2D solver minimum-residual solution
2116        (in case of a poor convergence).
2117    o pkg/seaice/seaice_lsr.F
2118      - move calculation of matrix coefficients into new
2119        S/R SEAICE_CALC_LSR_COEFFS; for now this routine remains in the same
2120        file; the main purpose of this change is to be able to reuse the code
2121        in S/R SEAICE_PRECONDITIONER
2122      - modify the computation of the residual so that the mass of sea-ice
2123        is not used twice; this simplifies the calculations, but since
2124        the residual is never used except when LSR_mixIniGuess.ge.4---and this is
2125        not tested in testreport---this does not affect the testreport results.
2126    o verification/seaice_obcs:
2127      - disable SEAICE_GROWTH_LEGACY; reset input files to match those of
2128        verification/lab_sea/input.salt_plume; changes results/output.txt*
2129    o model/src:
2130      - adapt quasi-hydrostatic formulation to work with p or p* coordinate.
2131    o pkg/seaice:
2132      - improve description of parameters in seaice_fgmres.F and start
2133        cleaning up the code
2134      - change name of SCALPROD to SEAICE_SCALPROD and modify meaning of
2135        second argument
2136      - add a metric based on grid cell area to SEAICE_SCALPROD; update
2137        results of offline_exf_seaice.dyn_jfnk
2138      - compute initial residual norm in seaice_jfnk based on SEAICE_SCALPROD
2139    o pkg/aim_v23:
2140      - fix an other bug in dissipation heating (grid-cell area was missing).
2141    o model/src + pkg/seaice:
2142      - add global (multi-tile) linear solver for pair of tri-diagonal system
2143        along X and Y lines, respectively for U and V component.
2144        Note: 1) MPI and cube-exchange not yet coded.
2145            2) probably not accurate for poorly conditioned / large size problem.
2146      - add option for SEAICE_LSR to use global (multi-tile) tri-diagonal solver;
2147        default: not compiled and not used.
2148    o pkg/seaice:
2149      - first attempt at a multi-threaded fgmres solver for the JFNK solver:
2150        introduce bi/bj loops and use global_sum_tile_rl instead of
2151        mpi_allreduce in seaice_fgmres.F
2152      - improve diagnostics output for fgmres solver (seaice_fgmres.F)
2153      - replace a few unnecessary goto statements by if-blocks  (seaice_fgmres.F)
2154      - add a verification experiment for JFNK in offline_exf_seaice
2155    o verification:
2156      - change (for now, only fwd test) offline_exf_seaice experiment:
2157        use a re-entrant channel with idealized coastline (trapezoidal shape)
2158        at southern boundary to explore seaice dynamics and thermodynamics
2159        with simple forcing. Main set-up has dynamics+thermo and SST relaxation;
2160        secondary test (input.thsice) use thermodynamics only with SST relaxation.
2161      - add seaice-dynamics only secondary test using LSR and pkg/thsice advection.
2162    o pkg/exf:
2163      - disable "sstExtrapol" when Nr=1
2164    o verification:
2165      - add new experiment "cheapAML_box" (simple 1 layer set-up from Bruno Deremble)
2166        to test pkg/cheapaml.
2167    o pkg/aim_v23 & pkg/shap_filt:
2168      - fix dissipation heating (erroneous gravity multiplication factor).
2169    o pkg/seaice:
2170      - remove unused field pressPre from jfnk solver
2171      - rename two subroutines in seaice_preconditioner.F
2172    o eesupp/src:
2173       - S/R MDSFINDUNIT avoids reserved unit numbers (scrUnit1, eeDataUnit ...)
2174    o pkg/seaice/seaice_preconditioner.F: fix preconditioner once again
2175       - remove wrong parts of the rhs and the lhs (were in there
2176         because I did not understand the concept of this preconditioner)
2177       - add an exchange between u- and v-sweep. This increases communication
2178         by a factor of two but improves the convergence of jfnk. Ideally,
2179         one would like the u- and v-sweep to be independent. So far within
2180         undocumented ifdefs
2181       - reorganize the extra computations for printing the residuals
2182    o tools/genmake2:
2183      - comment out the "mpif.h" include in NetCDF test programm (for MPI built)
2184        since it's not necessary (and was preventing to use MNC in some cases).
2185    
2186    checkpoint64a (2012/11/16)
2187    o pkg/autodiff:
2188      - improve pkg-internal logical parameter switch (inAd/inFwd mode) so that
2189        autodiff_readparms.F no longer depends on calling order (within
2190        packages_readparms.F) and no longer requires to include ${PKG}_PARMS.h):
2191        rename param turnFreeDriftInAdMode to SEAICEuseFREEDRIFTswitchInAd
2192        and change param SEAICEuseDYNAMICSinAdMode to SEAICEuseDYNAMICSswitchInAd.
2193    o pkg/obcs:
2194      - adding tidal velocity forcing capability to obcs
2195        for usage example, see verification/seaice_obcs/input.tides
2196    o pkg/seaice:
2197      - turn the LSR-relaxation parameters WFAU/V into runtime parameters
2198        SEAICE_LSRrelaxU/V
2199      - introduce runtime parameter SEAICEetaZmethod (=0 by default)
2200    o pkg/aim_v23:
2201      - implement heating from friction (bottom friction and stratospheric drag).
2202    o pkg/shap_filt:
2203      - fix diagnostic "SHAP_dKE" (was 2 time smaller); implement heating from
2204        dissipation but only for Shap_funct=2, active when addFrictionHeating=T.
2205    o model/src:
2206      - move AddMass common block from DYNVARS.h to FFIELDS.h; allow to read-in
2207        time-constant addMass field from file (addMassFile);
2208      - support for heating due to friction (and Kinetic Energy dissipation):
2209        add option, run-time switch and 3-D field array + support code ; each pkg
2210        or S/R can add heating contribution (if there is a sink of KE); the sum is
2211        accounted for as a Temperature tendency term (EXTERNAL_FORCING_T).
2212    o pkg/seaice:
2213      - complete merge of ITD code into seaice_growth.F
2214        from MITgcm_contrib/torge/itd/code/
2215        no verification so far, but Torge Martin tested
2216        "1-D test case and Beaufort set up;
2217        deliver okay results after 1 model year."
2218      - complete merge of SEAICE_SIZE.h into all relevant routines
2219      - move computation of eta at Z-points into calc_viscosities
2220        + introduce global field etaZ
2221        + add different methods for computing etaZ, for now the old
2222          method (simple averages of eta to Z-points) is hardwired
2223        + replace etaMeanZ by etaZ in seaice_lsr, seaice_calc_residual,
2224          seaice_preconditioner
2225      - simplify computations for SEAICE_ZETA_SMOOTHREG
2226      - seaice_preconditioner:
2227        + replace one remaining press by pressLoc (mistake)
2228        + adjust printing of residuals
2229      - improve I/O of diagnostics of JFNK in seaice_jfnk.F:
2230        + add (SEAICE.h) and rename some counters (initiliased in
2231          seaice_init_fixed.F)
2232        + add _BEGIN/END_MASTER (myThid)  around print statements
2233        + print total number of iterations and failures over SEAICE_monFreq
2234          interval to STDOUT
2235      - move control over output-messages by fgmres to seaice_jfnk to save
2236        some operations
2237      - move resetting initial guess for fgmres outside of seaice_fgmres_driver
2238        in order to make restarts with sol .ne. zero (fgmres with restarts)
2239        (seaice_jfnk.F, seaice_fgmres.F)
2240      - seaice_calc_l/rhs.F: replace maskW/S by maskInW/S; this fixes
2241        a serious convergence problem when open boundaries are involved
2242    o pkg/ggl90: fix computation of control volumes for the case of
2243      ALLOW_GGL90_HORIZDIFF (probably not used very often): move control volumes
2244      up half a grid cell from C-centered to W-centered (pointed out by C. Eden)
2245    o pkg/seaice: simplify seaice_evp by avoiding use of extra fields u/vIceC
2246    o pkg/autodiff
2247      - Add inAdMode switch for SEAICEuseDYNAMICS:
2248        SEAICEuseDYNAMICSinAdMode
2249        (extend logic in ADAUTODIFF_INADMODE_SET)
2250    o pkg/seaice
2251      - Step 1 of merging ice-thickness distribution (ITD) code from
2252        MITgcm_contrib/torge/itd/ (author: Torge Martin)
2253        The code implements concept laid out in Thorndike et al. (1975);
2254        code is enabled via CPP flag SEAICE_ITD
2255        nITD (in SEAICE_SIZE.h) defines number of ice thickness categories;
2256        code is not complete yet!!
2257      - SEAICE_SIZE.h now included in almost all seaice routines
2258    o verification (using seaice):
2259      - switch back seaice-dynamics (+ lower SOLV_MAX_ITERS) in ADM exp.
2260        global_ocean.cs32x15.seaice ; update results.
2261      - compile B-grid dynamics in FW test exp 1D_ocean_ice_column ;
2262      - compile C-grid dynamics with #define SEAICE_ALLOW_JFNK in FW test exp
2263        offline_exf_seaice (previously compiling B-grid).
2264    o pkg/exf:
2265      - fix some STOP conditions in exf_check.F (from Aug 28, modifs did not allow
2266        to specify neither just 1 comp of wind or wind-stress, nor no surface momentum
2267        forcing): just replace CPP option ALLOW_ATM_WIND with run-time param useAtmWind.
2268    o pkg/layers (adjust changes from Sept 19):
2269      - do snap-shot output and fill diagnostics from inside iLa loop (layers_calc.F)
2270        this allows to remove "layers_maxNum" dimension from all layers arrays.
2271    o pkg/layers (adjust changes from Sept 19):
2272      - remove ALLOW_LAYERS_OUTPUT ; fix snap-shot and time-ave output ;
2273      - snap-shot extended to all type of layers (not just the 1rst type);
2274      - remove layers variables when corresponding CPP option is undef.
2275    o pkg/layers:
2276      - rename pkg/layers variable and add new output (layer exist & un-weighted
2277        velocity in layer)
2278    o pkg/seaice:
2279      - simplify (?) ocean-drag coefficent computations by using
2280        the same routine in all three solvers (saves some code lines)
2281      - remove global fields DRAGA and DRAGS from C-grid code and
2282        declare them locally in lsr.F (the only place where they are
2283        still used)
2284      - update AD output of lab_sea.evp (very sensitive anyway).
2285    o pkg/seaice: add Jacobian-free Newton Krylov solver for ice dynamics
2286      (Lemieux et al. 2010, 2012). Turn on with the usual SEAICE_ALLOW_JFNK
2287      and SEAICEuseJFNK=.true. A few things to note:
2288      - involves a FGMRES, that is parallel but very inefficient,
2289        because of many scalar products (global sums) in the Gram-Schmidt
2290        orthogonalization method. Needs to be replaced. Original code
2291        from J.-F. Lemieux
2292      - preconditioner for FGMRES is a stripped down version of LSOR
2293      - SOLV_MAX_ITERS is now used for LSOR as a solver and as a
2294        preconditioner. For the preconditioner, the default is set to 10.
2295      - Jacobian times vector is computed with finite differences
2296      - marginally related to JFNK-solver: add a smooth regularization for
2297        zeta with tanh that will improve convergence (Lemieux and Tremblay,
2298        2009) for any implicit solver (not implemented for EVP because EVP
2299        does not need this regularization in the first place). Define
2300        SEAICE_ZETA_SMOOTHREG in SEAICE_OPTIONS.h to use.
2301    o eesupp/src:
2302      - check in genmake2 that intrinsic S/R flush is available.
2303      - add S/R to flush IO unit (if intrinsic S/R flush is available)
2304      - flush standard & error msg unit before MPI termination
2305      - if debugMode, flush IO unit after printing msg
2306    o pkg/ctrl:
2307      - ctrl_unpack.F, ALLOW_GENARR3D_CONTROL code: fix missing argument in call
2308        to ctrl_set_unpack_xyz.
2309    
2310    checkpoint64 (2012/10/09)
2311    o pkg/shelfice
2312      - in mom_fluxform.F, mom_vecinv.F:
2313        CALL SHELFICE_V_DRAG(bi,bj,k,vFld,KE,KappaRU,vF,myThid)
2314        Bug fix KappaRU -> KappaRV
2315        does not change verification/isomip but may change other setups
2316        (presumably constant KappaRU=KappaRV)
2317      - fix diagnostics SHIU/Vdrag (thanks to Tom Millgate)
2318    o pkg/obcs:
2319      - fixed some indexing bugs in obcs_seaice_sponge.F
2320      - added obcs relaxation subroutines for HSALT and HSNOW
2321      - changes verification/seaice_obcs/results/obcs_seaice_sponge.F
2322  o pkg/seaice:  o pkg/seaice:
2323    - add "multicategory" parameterization for snow in analogy to ice,    - add "multicategory" parameterization for snow in analogy to ice,
2324      default is off for now.      default is off for now.

Legend:
Removed from v.1.1743  
changed lines
  Added in v.1.2173

  ViewVC Help
Powered by ViewVC 1.1.22