/[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.1626 by jmc, Sun Mar 18 23:29:55 2012 UTC revision 1.1876 by jmc, Tue Jun 11 02:52:42 2013 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/thsice:
8      - fix filling of snow-precip diagnostic (SIsnwPrc) (left from the removing
9        of snowPrc from common bloc, on May 2nd, thsice_step_fwd.F revision 1.40);
10      - remove diagnostics 'SI_FrcFx' ( now identical to 'SI_Fract' with new
11         call sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect );
12      - allow precip from pkg/cheapaml to make snow over seaice.
13    o pkg/cfc:
14      - move in separated header file (CFC_ATMOS.h) time-serie arrays of Atmos CFC
15      - remove atmos CFC 2-D arrays from common bloc (now local variables)
16      - change some hard-coded constant to run time parameter for reading and
17        and interpolating atmospheric CFC ; keep same default as previously.
18      - more flexible reading of Atmos CFC (number of records no longer hard-coded)
19      - put arguments in standard order: myTime, myIter, myThid
20      - use standard S/R GET_PERIODIC_INTERVAL for time interpolation of
21        atmospheric CFC ; fix for the case myIter < PTRACERS_iter0.
22      - fix calculation of surf tendencys for partial-cell and/or Non-Lin Free-Surf
23      - new routine to print summary of CFC params and check for consistency.
24    o pkg/cfc:
25      - change time interpolation for atmospheric CFC-11 (now same as for CFC-12);
26        update output (CFC-11) of experiment cfc_example and tutorial_cfc_offline.
27      - fix interpolation of atmphspheric CFC between Sorthern and Northern
28        hemisphere value.
29    o pkg/seaice:
30      - allow to use seaice dynamics without pkg/exf (e.g., using pkg/cheapaml)
31    o pkg/seaice: add Adams-Bashforth2 time discretization for ice dynamics;
32                  so far only for JFNK-solver, turn on with SEAICEuseAB2 = .TRUE.
33      - requires an additional time level that is stored in the pickup
34      - you can start with AB2 from a pickup without this time level with
35        pickupStrictlyMatch = .false.
36    
37    checkpoint64h (2013/05/26)
38    o pkg/cheapaml:
39      - replace one ()**.5 with SQRT + use temp var "cdu = tau/Du" (coare3_flux);
40        affect machine truncation (but exp cheapAML_box still pass with 13 digits).
41      - consistent treatment of uWind,vWind location: assume everywhere in
42        pkg/cheapaml that they are on C-grid (@ uVel,vVel location)
43        (Note: was already the case for Tair,Qair advection);
44        add option (INCONSISTENT_WIND_LOCATION) to recover old results.
45      - compute diabatic forcing only in the interior (excluding overlap regions)
46      - fill in array "Qsw" (for short-wave heating);
47      - add diagnostic for precip ; fill-in diagnostics for cheapAML state vars
48        before any update (consistent with MITgcm state var diagnostics);
49      - cheapaml_fields_load.F & cheapaml_init_varia.F : only fill outer edges if
50        non periodic ; + adjusted for uWind,vWind (C-grid).
51    o pkg/seaice:
52      - remove dependence of pkg/seaice versus pkg/exf (file: pkg/pkg_depend) and
53        add explicitly pkg/exf in experiments that currently use pkg/seaice.
54      - allows to compile pkg/seaice without pkg/exf.
55    o tools/OAD_support:
56      - use a local copy (ourRWCPinBd) to ensure index ourRWCP stays within bounds
57        of array "ourStepOf" in function rvNextAction (revolve.F90).
58    o pkg/aim_compon_interf renamed to pkg/atm_compon_interf
59      - change pkg name (to be used with other atmospheric physics pkg)
60        but by-pass CVS when making the new pkg so that we keep the CVS history.
61    o pkg/offline:
62      - call OFFLINE_FIELDS_LOAD from pkg/offline/offline_init_varia.F
63        (previously called from pkg/dic_surfforcing_init.F)
64    o model/src:
65      - re-order sequence of calls within packages_init_variables.F, using
66        standard order, except for:
67         DIAGNOSTICS_INIT_VARIA and OFFLINE_INIT_VARIA (called @ the top),
68         CTRL_MAP_INI and OBCS_INIT_VARIABLES (called @ the bottom)
69    o new pkg: atm_phys
70      - add entry point and source code (previously in contrib
71          verification_other/atm_gray/code_gray/) for new pkg "atm_phys"
72        (atmospheric physics pkg from P. O'Gorman and T. Schneider, JCl, 2008).
73      - re-order sequence of calls within packages_readparms.F,
74         packages_init_fixed.F and packages_write_pickup.F
75        (but skip packages_init_variables.F because of TAF issues).
76      - update contrib/*/atm_gray/ experiment.
77    o pkg/seaice (ITD code):
78      - simplify and fix the writing of pickup-files for ITD case
79    o pkg/seaice (ITD code):
80      - introduce floe size dependent lateral melt for ITD case;
81      - cleaning (avoid division by zero, change to f77 syntax, remove tabs)
82      - update seaice_itd experiment main output.
83    o pkg/thsice:
84      - remove snowPrc from common block THSICE_FLUX, in THSICE_VARS.h and
85        declared it locally (without bi,bj) in thsice_main.F & aim_do_physics.F;
86        changed accordingly pkg/atm2d.
87    
88    checkpoint64g (2013/05/01)
89    o pkg/exf ALLOW_RUNOFTEMP
90      - if defined,  river and glacier runoff temperature can be read-in from
91        runoftempfile; runoftempfile needs to have same format as runofffile
92    o pkg/thsice (& pkg/bulk_force):
93      - In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account
94        for energy content of Precip + RunOff & Evap (like with pkg/exf).
95      - change computation domain to always be the interior (without overlap).
96      - fix bug (wrong overlap) when using EXF and stressReduction > 0.
97    o verification/tutorial_global_oce_biogeo:
98      - add preliminary OpenAD setup (still has problems)
99    o pkg/seaice:
100      - turn some parameters for choosing the convergence criterion of
101        the inexact Newton method (JFNK) into runtime parameters for convenience
102      - clean up seaice_calc_viscosities.F: remove/retire two options for
103        SEAICetaZmethod (1,2), introduce area weighting for method 3; this changes
104        the results of lab_sea/input because a division has been replaced by
105        a multiplication with the reciprocal (sumNorm)
106      - modify offline_exf_seaice/input.dyn_jfnk/data.seaice to improve
107        convergence of solver (changes results, of course), and to test some
108        new features
109    o model/src:
110      - remove unused (since Aug 2006) S/R SET_WRITE_GLOBAL_PICKUP and its call.
111      - remove unused forcing field "dQdT" and associated parameter "dQdTFile".
112      - move forcing adjustment (balancing surface forcing) in specific S/R
113        where might also be applied exchanges (if needed) to forcing arrays.
114    o pkg/shelfice:
115      - allow to specify the Ice-Shelf mass per unit area (instead of
116        shelficeLoadAnomaly) and do the conversion from one to the other
117      - move loading from file of shelficeLoadAnomaly from SHELFICE_INIT_VARIA
118        to SHELFICE_INIT_FIXED: (a) avoid some TAF recompution issues and
119        (b) will be loaded in time (before calling INI_PRESSURE) in case it is
120        needed in phi0surf for initial pressure calculation when useDynP_inEos_Zc
121      - update isomip experiment forward output (get machine truncation error
122        from conversion shelficeLoadAnomaly -> shelficeMass -> shelficeLoadAnomaly)
123    o verification/offline_exf_seaice:
124      revise data.seaice in input.thermo and input_ad and update results accordingly
125        HO = 0.2, SEAICE_areaLossFormula = 2,
126        SEAICE_growMeltByConv = .TRUE.,
127        SEAICE_doOpenWaterMelt = .TRUE.,
128      Improve consistency with input.thsice and fix the spurious 500m ice corners
129    o verification/global_ocean.cs32x15:
130      - set Energy Reference Level to liq. water @ 0 degC: temp_EvPrRn=0.,
131        in icedyn (thsice+seaice-dyn) test and update output.
132    o verification/offline_exf_seaice:
133      - adjust list of tested variables (with testreport) and update
134        standard test output with better slection of monitored fields.
135    o pkg/cd_code:
136      - swtich off Adams-Bashforth on the 1rst iteration. Update output of
137        experiment lab_sea.hb87
138    o tools/genmake2:
139      - change default makedepend from the system default to tools/xmakedepend:
140        When no makedepend is specified, select tools/xmakedepend it the test pass,
141        otherwise select the system default (if exist and pass the test) or
142        try to build cyrus-makedepend ; stop if none of the 3 works.
143    o pkg/exf & pkg/thsice:
144      - In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account
145        for energy content of Precip + RunOff & Evap. Assumes:
146       1) Rain has same temp as Air.
147       2) Snow has no heat capacity (consistent with seaice & thsice pkgs)
148       3) Run-Off comes at the temp of surface water (with same Cp)
149       4) Evap over ocean is released to the Atmos @ surf-temp (=SST); should be
150        put directly into Latent Heat flux & should use water-vapor heat capacity.
151       5) Evap over snow/seaice (pkg/thsice) assumes constant Lf+Lv (consistent
152        with snow having no Cp) => water vapor is released to Atmos @ 0^oC (=ERL).
153    o pkg/seaice: simplify the use of CPP flags in JFNK-related files
154        (compile when SEAICE_ALLOW_JFNK is defined)
155    o pkg/thsice:
156      - fix oceanic flux diagnostics & timeave (left from new sequence of calls
157        implementation): move THSICE_AVE call after the advection (called directly
158        from thsice_do_advect.F).
159    o verification/global_ocean.90x40x15 and OpenAD:
160      New experiment for OpenAD is identical to the one in input_ad except that
161        multiDimAdvection=.FALSE.,
162      There is still an issue with this.
163    o pkg/thsice:
164      - account for ice velocity (ocean relative velocity) in turbulent heat flux
165        at the base of the ice; update output of global_ocean.cs32x15 (icedyn)
166        and offline_exf_seaice (main test).
167    
168    checkpoint64f (2013/03/31)
169    o verification/OpenAD:
170      - new (smaller, without OAD_DEBUG) output_oadm.txt generated using gfortran.
171    o verification/isomip, pkg/shelfice and OpenAD:
172      - add OpenAD setup to this exp and make shelfice package work with OpenAD
173    o verification/tutorial_global_oce_biogeo:
174      - update AD and TLM output after turning off ALLOW_FE (in DIC_OPTIONS.h)
175    o verification/offline_exf_seaice:
176      - replace adjoint experiment (now similar to fwd input.thermo/ setup).
177    o verification/tutorial_tracer_adjsens, pkg/ptracers and OpenAD:
178      - add OpenAD setup to this exp and make ptracers package work with OpenAD
179    o pkg/seaice/seaice_evp.F:
180       mask the asymmetric contribution of the ice-ocean stress (when
181       the turningAngle is non-zero) over open water to avoid stripes
182       in the EVP-solutions after many EVP-substeps. This does not change
183       the verification experiment (because turningAngle=0 in that experiment),
184       but will affect other EVP solutions with turningAngle.ne.0
185    o verification, AD & TLM output:
186      - new TAF version 2.3.10 (previously 2.3.8) add more parenthesis in multiple
187        additions and multiplications which affect results at machine truncation
188        level. Update few AD output (1D_ocean_ice_column, bottom_ctrl_5x5,
189        lab_sea.noseaicedyn & offline_exf_seaice) and TLM output
190        (1D_ocean_ice_column & tutorial_tracer_adjsens.som81) which had only 12
191        digits of matching.
192    o pkg/seaice:
193       modify lsr-algorithm so that it vectorizes AND converges by using a
194       "zebra" method: split vector loop into two with step size 2; this
195       solves a general convergence problem for the JFNK solver on a vector
196       computer. It has the potential to even improve convergence for
197       non-vector machines, but it does change the results so it is turned
198       off by default. To turn on define CPP-flags SEAICE_VECTORIZE_LSR and
199       SEAICE_VECTORIZE_LSR_ZEBRA in SEAICE_OPTIONS.h
200    
201    checkpoint64e (2013/03/05)
202    o pkg/ecco and several verification experiments:
203       Remove special versions of the_model_main.F, the_main_loop.F, forward_step.F
204       from ecco package, and revert to unified routine in model/src/
205       Adjust verification experiments accordingly, especially gloal_oce_llc90
206       Should conclude long-standing work by Gael to reconsile the_main_loop with
207       ECCO and will enable OpenAD's revolve loop in ECCO setup.
208    o pkg/generic_advdiff:
209      - implement compressible flow method for multi-dim advection (similar to
210        gad_som_advect.F); add new option "GAD_MULTIDIM_COMPRESSIBLE" (since
211        TAF generates many recomputations) to use it; no yet coded with implicit
212        vertical advection.
213      - change experiment advect_cs (new output) and advect_xy (same output)
214        to test compressible flow multi-dim advection.
215    o pkg/generic_advdiff:
216      - fix SOM advection for unusual cases (linear Free-Surf in r*, other
217        cases where linear Free-Surf is not @ k=1, e.g., useShelfIce)
218    o pkg/seaice:
219      - fix bug in the no-slip implementation in seaice_calc_strainrates.F, this
220        bug affects two verification experiments (lab_sea and lab_sea.hb87),
221        recover old (wrong) results by setting noSlipFac = 2. in
222        seaice_calc_strainrates.F;
223      - add another averaging method for etaZ (etaZmethod=3), a mix of 2 and 0
224      - add runtime parameter SEAICE_JFNKepsilon for that finite difference
225        gradient in the Jacobian times vector operation (s/r seaice_jacvec)
226      - fix line search in seaice_jfnk.F (s/r seaice_jfnk_update)
227    o pkg/seaice: reorganize seaice_lsr.F to be able to reuse more code:
228      - new subroutines seaice_lsr_tridiagu/v
229      - introduce loop bounds i/jmin/max to be able to use a restricted
230        additive Schwarz method, but not used for now.
231      - rename SEAICE_CALC_LSR_COEFFS into SEAICE_LSR_CALC_COEFFS
232      - use new subroutines seaice_lsr_tridiagu/v in s/r seaice_preconditioner
233    o OpenAD support
234       Reorganize S/R call for overall time-stepping loop to facilitate
235       OpenAD revolve loop replacement
236       (new S/R main_do_loop.F)
237    o model/src:
238      - add 3-D array 3rd dimension to argument list of S/R ADAMS_BASHFORTH2/3;
239      - pkg/cheapaml: remove local S/R ADAMS2d and use instead standard S/R
240        ADAMS_BASHFORTH2.
241    o pkg/cheapaml:
242      - add new parameter (default=F, same as before) to disable full domain
243        (including land) periodicity in X & Y dir.
244      - new S/R CHEAPAML_COPY_EDGES to copy relaxation field into edges of
245        prognostics field ; merge the 2 S/R cycle_2d_tracer and timestep_2d_tracer
246        into single S/R CHEAPAML_TIMESTEP.
247    
248    checkpoint64d (2013/02/17)
249    o pkg/monitor (angular momentum):
250      - do not add Eta contribution to the total AM if using rigid-lid;
251      - correct for Adams-Bashforth in zonal-wind part (instead of in AM_eta).
252      - horizontal discretisation: compute Zonal wind contribution separately for
253        each component (instead of from cell centered averaged) and use the 4
254        grid-cell corner averaged value of Omega*(R*cos_Phi)^2 in AM_eta part.
255      - Check that AM is conserved with linear dynamics (momAdvection=F and linear
256        FreeSurf) if using vectorInvariant momentum.
257    o model/src (horizontal grid):
258      - move initialisation of all horizontal grid arrays to null value
259        from specific horizontal grid S/R to main S/R INI_GRID;
260      - add 2 new arrays to project model C-grid velocity on to zonal direction
261        (similar to AngleCosC & -AngleSinC but at U and V point location) and
262        compute them in S/R CALC_GRID_ANGLES.
263    o pkg/seaice: replace a hard coded parameter by a runtime parameter
264        SEAICE_JFNK_tolIter
265    o pkg/seaice: introduce a restricted additive Schwarz (RAS) method in
266        preconditioner for JFNK (run LSR into the overlaps as far as possible,
267        i.e OLx/y-2, but overwrite the solution in the overlaps)
268      - extend loop range in seaice_calc_viscosity
269      - add new parameters SEAICE_OLx/y (default = OLx/y-2)
270      - add flexible loop ranges to seaice_preconditioner, seaice_calc_lsr_coeffs
271      - slightly modify loops in tridiagonal solver lsr-preconditioner
272      - by default remove the extra exchange in seaice_preconditioner with a
273        replacement of an undocumented CPP flag by SEAICE_PRECOND_EXTRA_EXCHANGE
274      - modify offline_exf_seaice so that old results without RAS are reproduced
275        for output.dyn_jfnk.txt
276      in seaice_fgmres.F (unrelated to RAS)
277      - add a cpp-flag option for a re-ordered mapping (potentially more
278        efficient), but because this changes the results, turn it off by
279        default
280      - replace the save statement by local common blocks
281    o utils/matlab:
282      - fix tile-offset in rdmnc.m when output was produced using EXCH2.
283      - update cs_grid/bk_line scripts to use load_grid.m (in utils/matlab)
284        instead of local script "load_cs.m".
285    o pkg/seaice:
286      - fix a serious bug in seaice_fgmres.F, s/r seaice_scalprod, connected
287        to the scalarProductMetric and the unrolling. By chance this does not
288        change the verification experiment, because of the particular domain
289        decomposition
290    o pkg/diagnostics:
291      - change default missing_value from UNSET_RL to -999.
292    o pkg/layers: improve vectorization of layers_fluxcalc.F
293      - step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu
294        time spent in this routine by more than a factor of 3 on an NEC-SX8
295      - step 2: replace search algorithm by a bisection algorithm found in
296        Press et al. Numerical Recipes in Fortran. This algorithm can be
297        vectorized and finds the correct bin in approx. log2(Nlayers) steps.
298        For now, use this algorithm only for TARGET_NEC_SX defined.
299      - moved the search algorithm into a separate subroutine, that is kept
300        within the same file for automatic inlining.
301      - modified catching potential errors
302    o pkg/ecco:
303      - add compile switches ALLOW_SHALLOW_ALTIMETRY and ALLOW_HIGHLAT_ALTIMETRY.
304    o model/src, pkg/autodiff, pkg/ctrl, pkg/grdchk :
305      - modifications for ALLOW_GENTIM2D_CONTROL
306      -- forward_step.F, the_main_loop.F : pass options and arrays for adjoint tapes.
307      -- load_fields_driver.F : add call to CTRL_MAP_GENTIM2D( myTime, myIter, myThid )
308      -- add xx_gentim2d0/1 in ctrl_ad_check_lev1_dir.h checkpoint_lev1_directives.h etc
309      -- use ctrl_swapffields.F (new) instead of exf_SwapFFields.F in ctrl_get_gen.F
310    o model/src:
311      - account for moist thermodynamics in (dry) potential temperature equation;
312        update results of experiments: aim.5l_cs (x2), fizhi-cs (std + aqualev)
313        and cpl_aim+ocn.
314      - also switch to standard compiler (gfortran, was using ifort previously)
315        for fizhi-cs experiments reference output.
316    o pkg/ctrl:
317      - 1st step toward generic time-varying control variable (2D) via CPP option
318        ALLOW_GENTIM2D_CONTROL
319      - note new namelist ctrl_nml_genarr in data.ctrl
320    o verification/global_ocean.cs32x15:
321      - switch off OLD_THSICE_CALL_SEQUENCE (both forward and AD code) to use new
322        thsice calling sequence and update "output.icedyn.txt" output file.
323    o pkg/ptracers:
324      - from Ryan A.: code to allow to restart a tracer at regular time interval
325        specifying a reset frequency and a reset-phase (for each tracers).
326    o pkg/thsice:
327      - implement new sequence of calls for thsice+seaice:
328          previously:   ice-Dyn,ice-Advect,ice-Thermo(thsice)
329          new sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect
330      - allows (with temporary CPP option "#define OLD_THSICE_CALL_SEQUENCE"
331        in CPP_OPTIONS.h) to recover old sequence;
332      - update diagnostics for Intermediate State thsice diagnostics: now filled
333        just before advection (instead of just after advection in old sequence);
334      - update output of experiment offline_exf_seaice (standard test);
335      - in global_ocean.cs32x15 exp., postpone output.icedyn.txt update
336        by setting #define OLD_THSICE_CALL_SEQUENCE in CPP_OPTIONS.h
337    o pkg/aim_v23:
338      - use tiled array for aim_CO2 and surface wind speed for export to coupler;
339      - use standard pkg/mdsio routines to read & write CO2 pickup file;
340      - in-line S/R AIM_AIM2DYN_EXCHANGES in aim_do_physics.F;
341      - Implement new sequence of calls for seaice advection (with thsice and
342        seaice diffusion): do ice advection after ice-Thermodynamic (previously
343        was done before); change aim_do_physics.F (split the bi,bj loops block);
344      - use same CPP option (OLD_THSICE_CALL_SEQUENCE) to recover old sequence;
345    o pkg/thsice:
346      - add a missing EXCH of sIceLoad in thsice_main.F (ocean set-up) for the case
347        where just seaice diffusion is used without seaice-dynamics.
348    
349    checkpoint64c (2013/01/18)
350    o pkg/seaice:
351      - add a parameter JFNKres_tFac that can replace JFNKres_t
352        (= JFNKres_tFac*JFNKresidual before JFNK solver)
353      - add a line search option to the JFNK solver
354      - move update of u/vIce and computation of initial residual into a separate
355        routine (same file); makes the code a little easier to read (?)
356      - the line search requires computation of the residual and for some reason
357        I cannot do the update of u/vIce at the beginning of the Newton loop
358        without changing the results, so we move computation of the new residual
359        also to the end of the Newton loop, even without the line search
360    o pkg/mdsio:
361      - write missing value (corresponding to undefined array value) to meta files;
362        skip this if missing value is one (UNSET_RL would be a better value for the
363        case of undefined missing value but it's current the default missing-value);
364        Also update mdsio_read_meta.F (reading timeInterval & missing-value).
365    o pkg/exf & thsice:
366      - for diagnostics purpose, fill-up and update Qsw array (+ fill the
367        diagnostics) even when SHORTWAVE_HEATING is #undef;
368    o verification/cfc_example:
369      - turn on pkg/layers with pkg/diagnostics (to test pkg/layers and to
370        illustrate how to use it).
371    o verification/offline_exf_seaice:
372      in input: add SEAICErestoreUnderIce=.TRUE., and reduce size of forcing
373        files to only one time-record.
374      in input.thermo: narrow the 2 bands of low initial ice-concentration near
375        N & S edges; switch on SEAICErestoreUnderIce=T; use pkg/diagnostics for
376        snapshot output; same mcPheePiston value as in thsice with
377        surf-current=0.2m/s.
378      in input.thsice: similar set-up as in input.thermo (channel with same seaice
379        initial conditions).
380    o verification/cfc_example:
381      - update file "data" with more standard choice (default rotationPeriod,
382        exactConserv=T, reduce ivdc_kappa to 10, remove multiDimAdvection=F,
383        set deltaTFreeSurf to deltaTtracer) and update the output.
384    o pkg/layers:
385      - fix bolus part so that it compiles with #undef GM_BOLUS_ADVEC;
386      - ensure that "layers_bolus" is switched to False when useGMRedi=False.
387    o verification/offline_exf_seaice:
388      - set all {field}period to zero for constant-in-time forcing (not tested
389        anywhere else).
390    o verification/offline_exf_seaice:
391      - dyn_lsr  : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice;
392      - dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice.
393    o model/src:
394      - implement Finite-Volume method for (hydrostatic) presure gradient
395        from S.-J. Lin (QJRMS 1997), for atmosphere using sigma-coordinate.
396    o pkg/seaice: implement EVP* by Lemieux et al. (2012).
397      - In order to be compatible with the default EVP code, this requires changing
398        the EVP code around a little; and because any small change immediately
399        breaks the lab_sea.hb87 verification experiment, the reference output is
400        updated two times (each time the remaining aggrement was only 2 digits):
401        - after replacing 1/dt by 1*recip_dt with a precomputed recip_dt
402        - after replacing 1/(1+0.5*dt/tau) by a/(a+1), with a=2*tau/dt
403        The adjoint test lab_sea.evp also needed to be updated.
404      - Turn on EVP* by setting SEAICE_deltaTevp as before, and setting
405        SEAICEuseEVPstar=.true.; for EVP* SEAICE_deltaTevp does not need to be
406        a factor of SEAICE_deltaTdyn, and you can set the number of EVP steps
407        explicitly with SEAICEnEVPstarSteps (thereby overriding the default of
408        INT(SEAICE_deltaTdyn/SEAICE_deltaTevp)). Controlling EVP* is deliberately
409        kept obscure, because I need to test it a little more.
410    o pkg/cheapaml:
411      - fix few incorrect type (_RL/_RS) in subroutine calls.
412    o pkg/seaice:
413      - new S/R SEAICE_MAP_RS2VEC (similar to SEAICE_MAP2VEC) to map _RS arrays
414        to _RL vector; this fixes JFNK code when compiling with "-use_r4" option.
415    o model/src:
416      - add a warning if using select_rStar=2 with nonlinFreeSurf <> 4;
417        change (in input_ad*/data) select_rStar from 2 to 1 for AD verification
418        experiments global_ocean.cs32x15 & tutorial_tracer_adjsens (+ update output)
419    o pkg/cheapaml:
420      - replace "273.1 _d 0" by celsius2K in pkg/cheapaml/cheapaml.F and
421        update output of experiment cheapAML_box.
422      - store in CHEAPAML.h coeffs ssq[0:2] for saturation specific humidity,
423        and set them only in one place (cheapaml_readparms.F).
424      - replace "273.16 _d 0" by celsius2K & replace "3.14159 _d 0" by constant "PI"
425      - remove re-setting of main-model parameter "celsius2K" (in cheapaml_readparms)
426        and re-setting of cheapAML params "lath" & "p0" (in cheapaml_init_varia).
427    o model/src/the_main_loop.F:
428      - fix revision 129 : need both ALLOW_ECCO and ALLOW_ECCO_EVOLUTION.
429    o pkg/seaice:
430      - remove legacy branch code.
431      - retire SEAICE_GROWTH_LEGACY and SEAICE_CAP_HEFF accordingly.
432    o verification/*/code*/SEAICE_OPTIONS.h:
433      - remove documentation for retired CPP flags (SEAICE_GROWTH_LEGACY,
434        SEAICE_CAP_HEFF).
435    o pkg/cheapaml:
436      - use standard routine (S/R GET_PERIODIC_INTERVAL) to decide when it is time
437        to load new forcing fields.
438      - add missing "_d 0" where it's needed; + some editing (improve indentation).
439      - remove switch to "-r8" compiler option (no longer needed) in verification
440        cheapAML_box, keep same output (small trucation error differences).
441    o verification/offline_exf_seaice:
442      - add thermodynamics only test.
443    o verification/cheapAML_box:
444      - split the domain in 8 (2x4) tiles; add MPI and multi-threaded test;
445        keep same output (same 14 digits for cg2d).
446      - switch on "-r8" compiler option (some numerical values are missing
447        the "_d 0") and update output (only 6 digits for cg2d were preserved).
448    
449    checkpoint64b (2012/12/24)
450    o pkg/cheapaml:
451      - remove un-used variables (Qnet,EmPmR) from pickup files.
452      - store tendency of advected variables into cheapaml pickup file
453        and fix the AB-2 restart.
454    o verification/offline_exf_seaice and lab_sea adjoint:
455      - switch to new code (#undef SEAICE_GROWTH_LEGACY).
456      - switch to 4 time steps in offline, consistent with lab_sea.
457      - match parameters from SEAICE_GROWTH_LEGACY branch in data.seaice.
458      - update results after change of experiment seaice.
459    o pkg/seaice:
460      - remove option SEAICE_MULTICATEGORY; has been replaced with run-time
461        parameter SEAICE_multDim. Issue a warning if SEAICE_MULTICATEGORY is
462        still defined since SEAICE_multDim needs to be set to MULTDIM value (from
463        SEAICE_SIZE.h) to recover previous #define SEAICE_MULTICATEGORY default.
464    o model/src:
465      - add run-time parameter to select CG2D solver minimum-residual solution
466        (in case of a poor convergence).
467    o pkg/seaice/seaice_lsr.F
468      - move calculation of matrix coefficients into new
469        S/R SEAICE_CALC_LSR_COEFFS; for now this routine remains in the same
470        file; the main purpose of this change is to be able to reuse the code
471        in S/R SEAICE_PRECONDITIONER
472      - modify the computation of the residual so that the mass of sea-ice
473        is not used twice; this simplifies the calculations, but since
474        the residual is never used except when LSR_mixIniGuess.ge.4---and this is
475        not tested in testreport---this does not affect the testreport results.
476    o verification/seaice_obcs:
477      - disable SEAICE_GROWTH_LEGACY; reset input files to match those of
478        verification/lab_sea/input.salt_plume; changes results/output.txt*
479    o model/src:
480      - adapt quasi-hydrostatic formulation to work with p or p* coordinate.
481    o pkg/seaice:
482      - improve description of parameters in seaice_fgmres.F and start
483        cleaning up the code
484      - change name of SCALPROD to SEAICE_SCALPROD and modify meaning of
485        second argument
486      - add a metric based on grid cell area to SEAICE_SCALPROD; update
487        results of offline_exf_seaice.dyn_jfnk
488      - compute initial residual norm in seaice_jfnk based on SEAICE_SCALPROD
489    o pkg/aim_v23:
490      - fix an other bug in dissipation heating (grid-cell area was missing).
491    o model/src + pkg/seaice:
492      - add global (multi-tile) linear solver for pair of tri-diagonal system
493        along X and Y lines, respectively for U and V component.
494        Note: 1) MPI and cube-exchange not yet coded.
495            2) probably not accurate for poorly conditioned / large size problem.
496      - add option for SEAICE_LSR to use global (multi-tile) tri-diagonal solver;
497        default: not compiled and not used.
498    o pkg/seaice:
499      - first attempt at a multi-threaded fgmres solver for the JFNK solver:
500        introduce bi/bj loops and use global_sum_tile_rl instead of
501        mpi_allreduce in seaice_fgmres.F
502      - improve diagnostics output for fgmres solver (seaice_fgmres.F)
503      - replace a few unnecessary goto statements by if-blocks  (seaice_fgmres.F)
504      - add a verification experiment for JFNK in offline_exf_seaice
505    o verification:
506      - change (for now, only fwd test) offline_exf_seaice experiment:
507        use a re-entrant channel with idealized coastline (trapezoidal shape)
508        at southern boundary to explore seaice dynamics and thermodynamics
509        with simple forcing. Main set-up has dynamics+thermo and SST relaxation;
510        secondary test (input.thsice) use thermodynamics only with SST relaxation.
511      - add seaice-dynamics only secondary test using LSR and pkg/thsice advection.
512    o pkg/exf:
513      - disable "sstExtrapol" when Nr=1
514    o verification:
515      - add new experiment "cheapAML_box" (simple 1 layer set-up from Bruno Deremble)
516        to test pkg/cheapaml.
517    o pkg/aim_v23 & pkg/shap_filt:
518      - fix dissipation heating (erroneous gravity multiplication factor).
519    o pkg/seaice:
520      - remove unused field pressPre from jfnk solver
521      - rename two subroutines in seaice_preconditioner.F
522    o eesupp/src:
523       - S/R MDSFINDUNIT avoids reserved unit numbers (scrUnit1, eeDataUnit ...)
524    o pkg/seaice/seaice_preconditioner.F: fix preconditioner once again
525       - remove wrong parts of the rhs and the lhs (were in there
526         because I did not understand the concept of this preconditioner)
527       - add an exchange between u- and v-sweep. This increases communication
528         by a factor of two but improves the convergence of jfnk. Ideally,
529         one would like the u- and v-sweep to be independent. So far within
530         undocumented ifdefs
531       - reorganize the extra computations for printing the residuals
532    o tools/genmake2:
533      - comment out the "mpif.h" include in NetCDF test programm (for MPI built)
534        since it's not necessary (and was preventing to use MNC in some cases).
535    
536    checkpoint64a (2012/11/16)
537    o pkg/autodiff:
538      - improve pkg-internal logical parameter switch (inAd/inFwd mode) so that
539        autodiff_readparms.F no longer depends on calling order (within
540        packages_readparms.F) and no longer requires to include ${PKG}_PARMS.h):
541        rename param turnFreeDriftInAdMode to SEAICEuseFREEDRIFTswitchInAd
542        and change param SEAICEuseDYNAMICSinAdMode to SEAICEuseDYNAMICSswitchInAd.
543    o pkg/obcs:
544      - adding tidal velocity forcing capability to obcs
545        for usage example, see verification/seaice_obcs/input.tides
546    o pkg/seaice:
547      - turn the LSR-relaxation parameters WFAU/V into runtime parameters
548        SEAICE_LSRrelaxU/V
549      - introduce runtime parameter SEAICEetaZmethod (=0 by default)
550    o pkg/aim_v23:
551      - implement heating from friction (bottom friction and stratospheric drag).
552    o pkg/shap_filt:
553      - fix diagnostic "SHAP_dKE" (was 2 time smaller); implement heating from
554        dissipation but only for Shap_funct=2, active when addFrictionHeating=T.
555    o model/src:
556      - move AddMass common block from DYNVARS.h to FFIELDS.h; allow to read-in
557        time-constant addMass field from file (addMassFile);
558      - support for heating due to friction (and Kinetic Energy dissipation):
559        add option, run-time switch and 3-D field array + support code ; each pkg
560        or S/R can add heating contribution (if there is a sink of KE); the sum is
561        accounted for as a Temperature tendency term (EXTERNAL_FORCING_T).
562    o pkg/seaice:
563      - complete merge of ITD code into seaice_growth.F
564        from MITgcm_contrib/torge/itd/code/
565        no verification so far, but Torge Martin tested
566        "1-D test case and Beaufort set up;
567        deliver okay results after 1 model year."
568      - complete merge of SEAICE_SIZE.h into all relevant routines
569      - move computation of eta at Z-points into calc_viscosities
570        + introduce global field etaZ
571        + add different methods for computing etaZ, for now the old
572          method (simple averages of eta to Z-points) is hardwired
573        + replace etaMeanZ by etaZ in seaice_lsr, seaice_calc_residual,
574          seaice_preconditioner
575      - simplify computations for SEAICE_ZETA_SMOOTHREG
576      - seaice_preconditioner:
577        + replace one remaining press by pressLoc (mistake)
578        + adjust printing of residuals
579      - improve I/O of diagnostics of JFNK in seaice_jfnk.F:
580        + add (SEAICE.h) and rename some counters (initiliased in
581          seaice_init_fixed.F)
582        + add _BEGIN/END_MASTER (myThid)  around print statements
583        + print total number of iterations and failures over SEAICE_monFreq
584          interval to STDOUT
585      - move control over output-messages by fgmres to seaice_jfnk to save
586        some operations
587      - move resetting initial guess for fgmres outside of seaice_fgmres_driver
588        in order to make restarts with sol .ne. zero (fgmres with restarts)
589        (seaice_jfnk.F, seaice_fgmres.F)
590      - seaice_calc_l/rhs.F: replace maskW/S by maskInW/S; this fixes
591        a serious convergence problem when open boundaries are involved
592    o pkg/ggl90: fix computation of control volumes for the case of
593      ALLOW_GGL90_HORIZDIFF (probably not used very often): move control volumes
594      up half a grid cell from C-centered to W-centered (pointed out by C. Eden)
595    o pkg/seaice: simplify seaice_evp by avoiding use of extra fields u/vIceC
596    o pkg/autodiff
597      - Add inAdMode switch for SEAICEuseDYNAMICS:
598        SEAICEuseDYNAMICSinAdMode
599        (extend logic in ADAUTODIFF_INADMODE_SET)
600    o pkg/seaice
601      - Step 1 of merging ice-thickness distribution (ITD) code from
602        MITgcm_contrib/torge/itd/ (author: Torge Martin)
603        The code implements concept laid out in Thorndike et al. (1975);
604        code is enabled via CPP flag SEAICE_ITD
605        nITD (in SEAICE_SIZE.h) defines number of ice thickness categories;
606        code is not complete yet!!
607      - SEAICE_SIZE.h now included in almost all seaice routines
608    o verification (using seaice):
609      - switch back seaice-dynamics (+ lower SOLV_MAX_ITERS) in ADM exp.
610        global_ocean.cs32x15.seaice ; update results.
611      - compile B-grid dynamics in FW test exp 1D_ocean_ice_column ;
612      - compile C-grid dynamics with #define SEAICE_ALLOW_JFNK in FW test exp
613        offline_exf_seaice (previously compiling B-grid).
614    o pkg/exf:
615      - fix some STOP conditions in exf_check.F (from Aug 28, modifs did not allow
616        to specify neither just 1 comp of wind or wind-stress, nor no surface momentum
617        forcing): just replace CPP option ALLOW_ATM_WIND with run-time param useAtmWind.
618    o pkg/layers (adjust changes from Sept 19):
619      - do snap-shot output and fill diagnostics from inside iLa loop (layers_calc.F)
620        this allows to remove "layers_maxNum" dimension from all layers arrays.
621    o pkg/layers (adjust changes from Sept 19):
622      - remove ALLOW_LAYERS_OUTPUT ; fix snap-shot and time-ave output ;
623      - snap-shot extended to all type of layers (not just the 1rst type);
624      - remove layers variables when corresponding CPP option is undef.
625    o pkg/layers:
626      - rename pkg/layers variable and add new output (layer exist & un-weighted
627        velocity in layer)
628    o pkg/seaice:
629      - simplify (?) ocean-drag coefficent computations by using
630        the same routine in all three solvers (saves some code lines)
631      - remove global fields DRAGA and DRAGS from C-grid code and
632        declare them locally in lsr.F (the only place where they are
633        still used)
634      - update AD output of lab_sea.evp (very sensitive anyway).
635    o pkg/seaice: add Jacobian-free Newton Krylov solver for ice dynamics
636      (Lemieux et al. 2010, 2012). Turn on with the usual SEAICE_ALLOW_JFNK
637      and SEAICEuseJFNK=.true. A few things to note:
638      - involves a FGMRES, that is parallel but very inefficient,
639        because of many scalar products (global sums) in the Gram-Schmidt
640        orthogonalization method. Needs to be replaced. Original code
641        from J.-F. Lemieux
642      - preconditioner for FGMRES is a stripped down version of LSOR
643      - SOLV_MAX_ITERS is now used for LSOR as a solver and as a
644        preconditioner. For the preconditioner, the default is set to 10.
645      - Jacobian times vector is computed with finite differences
646      - marginally related to JFNK-solver: add a smooth regularization for
647        zeta with tanh that will improve convergence (Lemieux and Tremblay,
648        2009) for any implicit solver (not implemented for EVP because EVP
649        does not need this regularization in the first place). Define
650        SEAICE_ZETA_SMOOTHREG in SEAICE_OPTIONS.h to use.
651    o eesupp/src:
652      - check in genmake2 that intrinsic S/R flush is available.
653      - add S/R to flush IO unit (if intrinsic S/R flush is available)
654      - flush standard & error msg unit before MPI termination
655      - if debugMode, flush IO unit after printing msg
656    o pkg/ctrl:
657      - ctrl_unpack.F, ALLOW_GENARR3D_CONTROL code: fix missing argument in call
658        to ctrl_set_unpack_xyz.
659    
660    checkpoint64 (2012/10/09)
661    o pkg/shelfice
662      - in mom_fluxform.F, mom_vecinv.F:
663        CALL SHELFICE_V_DRAG(bi,bj,k,vFld,KE,KappaRU,vF,myThid)
664        Bug fix KappaRU -> KappaRV
665        does not change verification/isomip but may change other setups
666        (presumably constant KappaRU=KappaRV)
667      - fix diagnostics SHIU/Vdrag (thanks to Tom Millgate)
668    o pkg/obcs:
669      - fixed some indexing bugs in obcs_seaice_sponge.F
670      - added obcs relaxation subroutines for HSALT and HSNOW
671      - changes verification/seaice_obcs/results/obcs_seaice_sponge.F
672    o pkg/seaice:
673      - add "multicategory" parameterization for snow in analogy to ice,
674        default is off for now.
675    o pkg/obcs:
676      - added obcs_seaice_sponge.F for obcs relaxation of seaice variables;
677        see verification/seaice_obcs/input.seaiceSponge for example application.
678      - remove local commom bloc "OBCS_GLOBAL" in obcs_readparms.F and do all the OB
679        index setting by master-thread. This fix multi-threads Pb in previous modifs.
680    o pkg/layers :
681      - add diagnostics to pkg/layers
682      - move the meat of pkg/layers from layers_calc.F to layers_fluxcalc.F
683        (from R.Tulloch). Layers_calc.F now calls layers_fluxcalc.F accordingly.
684    o pkg/generic_advdiff/gad_implicit_r.F :
685      - fix ADVr diagnostics in case of both implicit vertical advection and diffusion.
686    o pkg/seaice/seaice_growth.F:
687      - fix SItflux diagnostics in virtual salt flux + balanceEmpmr case.
688    o pkg/obcs:
689      - change default setting of OBCS_UVICE_OLD from defined to undef;
690      - use new parameter OB_indexNone for null index value (instead of hard-coded 0)
691        in all pkg/obcs code and in other pkgs; remove k loop in obcs_check_depths.F;
692      - pass OB_indexNone as (new) argument to S/R CTRL_MASK_SET_[X,Y]Z;
693      - change OB null index value (OB_indexNone) to -99 ; this fix the problem
694        with Southern & Western OB at a tile edge (at least in a simple set-up).
695    o pkg/obcs:
696      - change settings of OB index in case OB coincides with tile edge (shared by
697        2 tiles), so that common OB location is registered by both tiles (instead of
698        only 1). However, for Southern and Western OB, index value = 0 is not
699        recognized as valid OB index (=default null value) and needs to be fixed.
700      - modify accordingly OBCS_BALANCE_FLOW and OBCS_MONITOR (avoid double counting)
701      - new parameter "OB_indexNone" for null index value (for now, still zero)
702        to replace hard-coded null index value of zero.
703    o pkg/exch2:
704      - improve W2_USE_E2_SAFEMODE (faster) and W2_E2_DEBUG_ON:
705        always check buffer-size (but outside the loop); move checking for valid
706        index from W2_USE_E2_SAFEMODE to W2_E2_DEBUG_ON; in W2_E2_DEBUG_ON,
707        print each tile and point connection only if |W2_printMsg|>= 2 and 3.
708    o pkg/ctrl (pack & unpack):
709      - in ctrl_pack.F & ctrl_unpack.F, use the same local file-name variable
710        (locally defined) for different variables (+ remove the variable-specific
711        file name in CTRL_GENARR.h). For now, only implemented for GENARR2/3D_CONTROL
712        (to be extended to other local file names in ctrl.h).
713    o pkg/flt:
714      - add a FLT_Iter0 option (similar to PTRACERS_Iter0).
715    o pkg/mdsio:
716      - fix missing STOP in mdsio_readvec_loc.F (case ioUnit=0) when file is missing
717    o tools/genmake2:
718      - add similar dependences for target EXE_AD & EXE_FTL as we have for EXECUTABLE
719        (added by Alistair in version 1.51 for building without make depend);
720      - remove Header files list (H_SRC_FILES) from the dependence of targets
721         ad_input_code.f & ftl_input_code.f (not clear why it was added in the first
722        place in version 1.23): this save going through staf when unrelated header
723        file has been modified.
724       Note: for an intermediate target (e.g., ad_input_code.f or adtaf) without
725        "make depend" step, still need to do "make links" before "make adtaf".
726    o eesupp/src (+ few pkg src files) & genmake2:
727      - finish to remove ALWAYS_USE_MPI in source code that TAF does not see;
728      - no longer set ALWAYS_USE_MPI in Makefile (was done by genmake2).
729      - improve genmake2 checking for ALLOW_${PKG} in CPP_OPTIONS.h files (distinguish
730         upper/lower case ; account for space between "#" and undef/define)
731    o pkg/flt (with exch2):
732      - cleaning: fix so that it compiles; move remaining MPI calls out of flt_exch2.F;
733      - simplify threads synchronisation; fix (many issues) multi-threaded with MPI.
734    
735    checkpoint63s (2012/09/05)
736    o pkg/ecco:
737      - remove #ifdef ALLOW_SMOOTH_CORREL3D brackets.
738      - add more relevant #ifdef ALLOW_SMOOTH ones.
739      - sort out useAtmWind, useSMOOTH, ctrlSmoothCorrel2D.
740    o pkg/ctrl:
741      - CTRL_OPTIONS.h : document CPPs related to smoothing; ALLOW_SMOOTH_CORREL2D/3D,
742        ALLOW_CTRL_SMOOTH, ALLOW_SMOOTH_CTRL2D, ALLOW_SMOOTH_CTRL3D.
743      - ctrl.h : document run time params doInitXX, doMainPack, doMainUnpack, doPackDiag,
744        doSinglePrecTapelev (audodiff param!), ctrlSmoothCorrel2D (new) and
745        ctrlSmoothCorrel3D (new).
746        The added ctrlSmoothCorrel2D/3D replace the old ALLOW_SMOOTH_CORREL2D/3D CPP.
747      - ctrl_readparms.F : initialise ctrlSmoothCorrel2D/3D and read from namelist.
748      - ctrl_init.F ctrl_pack.F ctrl_unpack.F : switch off ustress/vstress
749        controls when useAtmWind, and vice versa.
750      - ctrl_map_ini_ecco.F : UVEL0, VVEL0, edtaux, edtauy cannot be smoothed as tracers.
751      - ctrl_get_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL2D with
752          #ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel2D, IF useSMOOTH.
753      - ctrl_map_ini_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL3D with
754          #ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel3D, IF useSMOOTH.
755      - ctrl_set_pack_xy[z].F, ctrl_set_unpack_xy[z].F:
756        replace ALLOW_SMOOTH_CORREL2D/3D brackets with ctrlSmoothCorrel2D/3D.
757    o pkg/smooth:
758      - remove un-necessary includes.
759      - remove ALLOW_SMOOTH*D and ALLOW_SMOOTH_CORREL*D brakets.
760        Those CPP options were never defined, and not necessary.
761    o model/src:
762      - fix CPP brackets in ini_mixing.F (GM_background_K belongs to gmredi).
763      - standard treatment of useSMOOTH.
764    o pkg/autodiff:
765      - add LOGICAL useGGL90inAdMode, useGGL90inFwdMode, useSALT_PLUMEinAdMode,
766        useSALT_PLUMEInFwdMode allowing to switch off ggl90 and salt_plume adjoint.
767    o pkg/exch2:
768      - add "if usingMPI" where it was missing (in exch2_rx?_cube*.template)
769        + start to remove ALWAYS_USE_MPI in source code that TAF does not see.
770      - make new S/R W2_MAP_PROCS out of w2_eeboot.F to setup exch2 CommonFlag
771        and tiles to process mapping.
772      - re-arrange 3 header files (W2_EXCH2_PARAMS.h, _BUFFER.h & _TOPOLOGY.h)
773        moving /EXCH2_FILLVAL_RX/ & /W2_EXCH2_COMMFLAG/ to W2_EXCH2_TOPOLOGY.h;
774        rename "exch2_tProc" to "W2_tileProc" and move seting of e2FillValue_RX
775        from w2_eeboot.F to w2_readparms.F.
776    o eesupp/src:
777      - set exchNeedsMemsync & exchUsesBarrier according to "usingMPI" (instead of
778        ALWAYS_USE_MPI) + moved from ini_communication_patterns.F to eeset_parms.F;
779        also move setting of exchCollectStatistics from exch_init.F to eeset_parms.F
780      - in eedie.F and all_proc_die.F, always call MPI_FINALIZE when ALLOW_USE_MPI
781        is defined (remove condition on usingMPI) to match cases where MPI_INIT
782        has been called.
783      - fix bug I put in previous modif of exch_sm_3d_rx.template (not much used);
784      - change default (non-MPI) value of myPid (from 1 to 0) to match MPI settings
785        (so that on 1 proc, get same myPid independently of usingMPI)
786      - add a stop if multi-procs but usingMPI=F ; stop also if usingMPI=T and
787        useCubedSphereExchange with EXCH-1 (safer).
788      - add "if usingMPI" where it was missing (+ start to remove ALWAYS_USE_MPI).
789    o pkg/ggl90:
790      - fix bug in filling corner mask array "mskCor" (FILL_CS_CORNER_TR_RL call)
791        used in ALLOW_GGL90_SMOOTH code.
792    o pkg/flt:
793      - fix typo in FLT_WITHOUT_Y_PERIODICITY (the effect was to ignore stopping
794        floats at the Southern end of the domain).
795    o eesupp/inc:
796      - add a list of CPP-options which can be set by Makefile (DEF_IN_MAKEFILE.h);
797        but not used (and not to be used) anywhere, just for documentation.
798    o pkg/autodiff, exf, ptracers & seaice (AD & TL output):
799      - comment out the very nasty "writeBinaryPrec = writeStatePrec" line, since:
800        a) can damage previously written records in any other multi-record files.
801        b) if needed, can easily do it cleanly, by calling S/R WRITE_REC_3D_RL/S.
802    o tools/genmake2:
803      - define variable MAKE within Makefile and use it in place of 'make';
804      - update AD_CONFIG.h (if needed) before building any of the executable
805        (forward, adjoint or tangent-lin); this involves a 2nd invocation of make;
806        and add the usual #ifndef/#define AD_CONFIG_H in AD_CONFIG.h;
807      - always print usual warning comment 'this file is automatically generated'
808        from script convert_cpp_cmd2defines (+ remove this warning from genmake2).
809    o pkg/cheapaml:
810      - updated to correspond to the code used in accepted paper (Nico Wienders).
811    o pkg/exf:
812        added run time switch useAtmWind to replace ALLOW_ATM_WIND cpp switch.
813        ALLOW_ATM_WIND now just sets the useAtmWind default (see exf_readparms.F)
814        and force defines ALLOW_BULKFORMULAE (EXF_OPTIONS.h).
815    o pkg/exf, autodiff, ctrl, ecco and seaice:
816        remove ALLOW_ATM_WIND brackets, or replace them with useAtmWind ones.
817    o pkg/ctrl, ecco:
818        allow to compile both ALLOW_U/VSTRESS_CONTROL and ALLOW_U/VWIND_CONTROL.
819        Depending on useAtmWind, one is inactive, and the other is active (see
820        exf_getffields.F/exf_getsurfacefluxes.F).
821    o tools/genmake2:
822      - improve error msg when failing in 2nd test of check_for_broken_Ff
823      - fix option '-makefile' short-name (-mf according to genmake2 -help)
824      - source local config file "genmake_local" just after processing the genmake2
825        command arguments (previously done before processing arg).
826    o pkg/grdchk:
827      - add a call to TURNOFF_MODEL_IO for Tangent-Linear run (in this case, call
828        to this routine from cost_final has been dropped in g_cost_final)
829      - improve printed information (more explicit msg, no longer using "print *,"
830         fix fcpertminus printed value).
831    o model/src:
832      - move call to COST_INIT_VARIA out of packages_init_variables.F directly
833        into initialise_varia.F (just after calling PACKAGES_INIT_VARIABLES):
834        this prevents getting cost-funct reset in adinitialise_varia recomputations.
835    o pkg/dic:
836      - move initialisation of "freefe" array from from dic_biotic_forcing.F to
837        fe_chem.F: this prevents TAF from dropping this initialisation in TLM code.
838    o pkg/grdchk:
839      - grdchk_main.F : added CALL GLOBAL_SUM_INT( ierr , myThid )
840      - grdchk_getadxx.F etc. : omit I/O if ierr.EQ.0
841    o pkg/autodiff/ctrl/grdchk :
842      - attempt to sort out what works and what does not,
843        with regard to I/O, and to warn/stop accordingly.
844    o pkg/grdchk:
845      - attempt to fix grdchk in the case of useSingleCpuIO.
846      - "if ( myProcId .EQ. grdchkwhichproc .AND. ierr .EQ. 0 )"
847       statements were moved from grdchk_main.F and into
848       grdchk_getadxx.F grdchk_getxx.F grdchk_setxx.F.
849      - a global sum is applied to record numbers icvrec/layer
850       out of grdchk_loc so that they be passed to I/O routines.
851    o pkg/smooth:
852      - fix recomputation that appeared with nlfs : use smooth_recip_hFacC,
853        smooth_hFacW, smooth_hFacS (copied at init_fixed) in 3d case.
854    o verification/testreport:
855      - add option '-tlm' for Tangent-Linear test (-adm,-oad,-tlm are all exclusive);
856      - can also use compressed (gzip) reference output file;
857      - change format (in pkg/grdchk) of TLM output (+ add forward gradient)
858        to be easier to collect by testreport.
859      - update existing TLM output (half out-of-date by more than 3 yrs).
860      - report NETCDF & LAPACK settings (from genmake2) in output dir.
861      - report run-time in each individual summary (previously only for AD test);
862        for TLM test, add also TAF version.
863      - add daily TLM test on (old) aces cluster + weekly test on baudelaire.
864    
865    checkpoint63r (2012/08/15)
866    o tools/genmake2:
867      - fix Makefile for target ftlall (+ update files to clean after make ftlall)
868    o pkg/ecco/ecco_cost_final.F :
869      - fix fc print statements (to stdout and costfunction0000) so
870        that the printed value is always after the global sum.
871    o pkg/seaice/seaice_dynsolver.F :
872      - fix ice strength assymptote at SEAICE_area_max<1
873        (no change for the standard case of SEAICE_area_max=1)
874    o some cleaning:
875      - pkg source files: ensure that all *.F files from each pkg included the
876        corresponding ${PKG}_OPTIONS.h file (except stand-alone src file which
877        only includes CPP_EEOPTIONS.h); fix S/R CTRL_SMOOTH ; update AD experiment
878        code_ad/*.F src files; add new option-file in pkg/admtlm + corresponding
879        includes;
880      - model/src: add PACKAGES_CONFIG.h wherever ALLOW_AUTODIFF[_TAMC] is used.
881      - ALLOW_DIFFKR_CONTROL: add a stop in S/R CTRL_CHECK in case ALLOW_3D_DIFFKR
882        is undef; also define /DYNVARS_DIFFKR/ common block in DYNVARS.h when
883        ALLOW_DIFFKR_CONTROL is defined, to allow to compile and reach this stop.
884      - update option-file CPP_OPTIONS.h of all AD experiments:
885        * no longer include PACKAGES_CONFIG.h ;
886        * includes ECCO_CPPOPTIONS.h if PACKAGES_CONFIG.h has been included ;
887        * def/undef ALLOW_3D_DIFFKR independently of ALLOW_DIFFKR_CONTROL (before
888          including ECCO_CPPOPTIONS.h).
889    o pkg/cost, pkg/ctrl, pkg/ecco option-file:
890      - clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into
891        separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h,
892        not necessary accurate).
893      - add a template for option-file ECCO_CPPOPTIONS.h, mostly empty, in
894        pkg/autodiff, i.e., the 1rst pkg to compile for adjoint built, with lines to
895        deliberately break compilation (a remainder that it needs to be customized)
896      - in pkg/ecco, includes ECCO_OPTIONS.h instead of COST_OPTIONS.h
897      - rename COST_CPPOPTIONS.h to COST_OPTIONS.h
898      - rename CTRL_CPPOPTIONS.h to CTRL_OPTIONS.h
899    o tools/genamke2:
900      - check for lapack.
901    o pkg/cost and pkg/ecco : attempt to sort out some of the limiting intricacies.
902      - pkg/cost.cost_final.F : allow for use of pkg/ecco and pkg/cost cost functions
903        jointly. The exclusive ifdefs were removed, to add costs terms (when defined)
904        from both packages.
905      - the fc global sum in pkg/ecco/ecco_cost_final.F was removed accordingly.
906      - for objf_atl we use either the pkg/ecco or the pkg/cost term depending on CPPs.
907      - pkg/ecco and model/src : add CPP brackets around pkg/cost and pkg/ctrl includes
908        of "CTRL_SIZE.h" "ctrl.h" "ctrl_dummy.h" "optim.h" / "cost.h" accordingly.
909    o pkg/cost : add comments to explain special and/or untested setups.
910    o pkg/exf:
911      - use EXF_OPTIONS.h to set pkg/exf options except if done in ECCO_CPPOPTIONS.h
912        (previously, ALLOW_AUTODIFF_TAMC was controling this switch).
913    o verification/*/code_ad:
914      mimimal cleaning of AD experiments ECCO_CPPOPTIONS.h option-file:
915      - reccord when this file is included (define ECCO_CPPOPTIONS_H)
916      - remove the most obvious obsolete features (e.g., #define ALLOW_COST not
917        allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h)
918    o pkg/seaice :
919      - added possibility to change ice strength/PRESS0 relationship to
920        HEFF, according to the following run time parameters
921        SEAICEpresPow0 :: HEFF exponent for ice strength below SEAICEpresH0 (integer, >0)
922        SEAICEpresPow1 :: HEFF exponent for ice strength above SEAICEpresH0 (integer, >0)
923        SEAICEpresH0   :: HEFF threshold for ice strength            (m)
924    o pkg/ggl90 :
925      - added run time flag mxlSurfFlag to include the code that ensure
926        mixing between first and second level (previously included as a comment)
927    o verification/1D_ocean_ice_column/input_ad/data.autodiff :
928      - add test of newly added dumpAdByRec=T option where
929        we write all records to one file per variable.
930    o verification/global_ocean.cs32x15/code_ad/CPP_OPTIONS.h :
931      - switch to #define ALLOW_BALANCE_RELAX and ALLOW_BALANCE_FLUXES
932        to check that this code is ok with taf and compiles in adjoint.
933    o pkg/autodiff :
934      - added run time param dumpAdByRec : ad dump format switch.
935        If true then write all records to one file per variable.
936        Else write one file per record (remains the default).
937      - revise seaice_ad_dump.F and exf_adjoint_snapshots_ad.F accordingly.
938    o pkg/seaice:
939     - Added SEAICEuseTILT run time switch : if set to
940       false then omit the tilt term in seaice dynamics.
941     - Fix free drift calculation.
942    o pkg/shelfice:
943      When initializing SHELFICEDragQuadratic, set default to be
944      consistent with shiCdrag in case SHELFICEuseGammaFrict is used,
945      but retain option to set it independently
946      (inconsistenty spotted by Veronique Dansereau)
947    o eesupp/inc:
948      - in EEPARAMS.h, add real-type constant for some frequently used simple number
949         (0,1,2,1/2), with name explicitly referring to RS/RL type.
950    o model/src:
951      - move balancing of relaxation terms to new S/R balance_relax.F.
952    o pkg/autodiff:
953      re-write active I/O high-level (control) S/R:
954      - rename  S/R ACTIVE_READ/WRITE_RL to ACTIVE_READ/WRITE_3D_RL
955      - add 1 more argument (useCurrentDir) to replace the "_LOC" 2nd set of S/R.
956      - use standard pkg/mdsio I/O routines (MDS_READ/WRITE_SEC_XZ/YZ  and
957        MDS_READ/WRITE_FIELD); change loops to multi-threads.
958      - update and merge active_file_control_slice.flow into active_file_control.flow
959      - update the calls in lower level S/R (active_file.F, active_file_g.F and
960        active_file_ad.F) keeping the argument list and function unchanged.
961      - also update lower-level "_LOC" version (call same S/R with "useCurrentDir
962        =.TRUE.") and remove high-level (control) _loc version (not called anymore).
963      - new low-level active I/O routines, one for each type (RL/RS), for active var
964        of various (XY,XZ,YZ) shape and level number (arguments: arrShape, myNr);
965        fix ctrl_init_wet.F & ecco_cost_weights.F by calling the new S/R with the
966        right type.
967    o autodiff and RS=real*4:
968      - call the right type (_RS instead of _RL) of S/R in few output S/R (pkg/exf
969        ad-monitor and snapshots); disable arrType='RS' in mdsio_gl*.F ;
970      - change argument type of 3-D mask argument to _RS to match type in the call
971        (in seaice_cost*.F, ctrl_*_gen.F and *ctrl_bound.F); to be continued.
972    o pkg/thsice:
973      - re-anable balanceEmPmR when useSEAICE=T with useThSIce=T.
974      - option to correct ocean fresh-water flux for imbalance of Atmos+Land
975        fresh-water flux: uniform correction or proportional to local precip.
976    o pkg/ctrl:
977      - new header file CTRL_SIZE.h for parameters maxCtrlArr2D, maxCtrlArr3D
978      - redefine CPP option ALLOW_BOTTOMDRAG_CONTROL to
979                            ALLOW_BOTTOMDRAG_CONTROL_NONGENERIC
980      - verification/hs94.1x64x5/ tests ALLOW_GENARR{2D,3D}_CONTROL
981    
982    checkpoint63q (2012/07/30)
983    o pkg/autodiff:
984      note about monitor and snap-shot of ad-variables:
985      a) need to apply ADEXCH before monitor or output of ad-vars to include
986       overlap contributions (was done for adjDump but missing for monitor).
987      b) since ADEXCH implies adding overlap values to interior array, machine
988       truncation error is expected when adding an ADEXCH call in the middle of
989       the time-stepping (although mathematically identical).
990      modifs:
991      - fix some incorrect type (RL/RS, UV/scalar) in ADEXCH calls and ad-vars
992        declaration (adEddyPsiX,adEddyPsiY in adcommon.h).
993      - add new run-time params (dumpAdVarExch & mon_AdVarExch) to select how  to
994        apply ADEXCH before monitor or snap-shot of ad-variables:
995           =0 : no ADEXCH ; =1 : do ADEXCH ; =2 : apply ADEXCH on a local copy.
996      - implement new method (copy+adexch) for snap-shot and monitor of main model
997        ad-vars (initially not used by default -> output unchanged).
998      - change default (set to 2) to use new method and update few output_adm.txt
999        with accurate ad-monitor (global_ocean.90x40x15, tutorial_global_oce_biogeo
1000        and both tutorial_tracer_adjsens tests).
1001      - switch 2 global_ocean.cs32x15 AD-tests to AB-2 (seaice_dynmix & thsice)
1002        and turn off momDissip_In_AB in the 2 other (needed for stable AB-3).
1003    o pkg/ctrl:
1004      enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of
1005      generic control variables via
1006      #define ALLOW_GENARR2D_CONTROL and/or #define ALLOW_GENARR3D_CONTROL
1007      Only required customization should be S/R ctrl_map_ini_genarr.F
1008      (routine in repository contains example)
1009    o pkg/exf:
1010      - fix and refine checking of surface-relaxation setting when using EXF
1011    o verification (adjoint exp):
1012      - reduce length of simulation by half for experiment global_ocean.cs32x15
1013        (std, seaice & seaice_dynmix) and exp tutorial_dic_adjoffline; update output.
1014    o pkg/mom_common (mom_u/v_bottomdrag), pkg/shelfice (shelfice_u/v_drag)
1015      - replace if statements KE.ne.0 with KE.gt.0 to avoid sqrt of negative numbers
1016        of KE that can occur with aggressive optimization
1017      + put quadratic bottom drag calculation in separated loops (only done if
1018        using bottomDragQuadratic)
1019    o model/src: CG2D_NSA
1020      - clean-up:  stop if cg2dNormaliseRHS=T and AUTODIFF
1021         and replace GLOBAL_SUM calls with GLOBAL_SUM_TILE.
1022      - in test-exp that uses CG2D_NSA (bottom_ctrl & tutorial_tracer_adjsens),
1023         change cg2d residual target to be expressed in Wunits (=> do not normalise
1024         RHS ; this fix global_max Pb with TAF); update output.
1025    o verification/tutorial_tracer_adjsens:
1026       improve parameter consistency (and get rid of warnings):
1027       - use deltaTFreeSurf=deltaTtracer (better with NonLin FreeSurf);
1028       - switch Temp Adv Scheme from 81 to 80 (no limiter since theta < 0 is physical)
1029       - use staggerTimeStep (for stability) in som81; use default rotation period.
1030    o pkg/exch2:
1031      - with empty facet: fix compact-format (W2_mapIO=1) definition (was previously
1032        reset to 0 = 1 long line in X)
1033    o pkg/mdsio:
1034      - fix reading of dimensions from meta file for large-size domain
1035    o model/src:
1036      - fix saltIsActiveTr setting for IdealGas eosType (eosType is 6 character long);
1037      - to refine CS-grid check, add logical flag "hasWetCSCorners": true if using
1038        Cubed-Sphere Exch with CS-corners inside the domain;
1039        make new S/R INI_GLOBAL_DOMAIN from code in ini_linear_phisurf.F to calculate
1040        globalArea and to set hasWetCSCorners.
1041      - add warning if usingCurvilinearGrid and momAdvection in flux-form (missing
1042        metric terms); stop if hasWetCSCorners=T and momAdvection in flux-form.
1043      - re-activate the stop if useCDscheme and hasWetCSCorners=T (previously if
1044        useCDscheme and useCubedSphereExchange).
1045    o pkg/seaice/seaice_growth.F :
1046      - compute the SEAICE_DISABLE_HEATCONSFIX term accordingly
1047        for the (.NOT.useRealFreshWaterFlux).OR.(nonlinFreeSurf.EQ.0)
1048        when the previous code was not correct.
1049      - in all cases diagnoze the boundary condition mismatch to SIaaflux
1050      - in the case of useRealFreshWaterFlux.AND.(nonlinFreeSurf.GT.0) add
1051        that term to QNET (essentially to set the melt/freeze water to 0degC).
1052        when SEAICEheatConsFix is true, so that the ocean+ice budget heat is closed.
1053    o verification/global_ocean.cs32x15/input.seaice :
1054      - add SEAICEheatConsFix in data.seaice, ensuring closed ocean+ice heat budget.
1055      - add diagnostics (commented out) for budget test using my matlab codes (gcmfaces).
1056      - update results (output.seaice.txt) accordingly.
1057    o verification/lab_sea/input/data.seaice :
1058      - remove SEAICEheatConsFix, which is now be tested
1059        in global_ocean.cs32x15. The presently coded fix
1060        is only consistent with real fresh water + nlfs.
1061      - update results (output.txt) accordingly.
1062    o pkg/salt_plume: added diagnotic for salt tendency (oceSPtnd).
1063    o AD_CONFIG.h file:
1064      - in genmake2: remove "#undef ALLOW_ECCO_OPTIMIZATION" from AD_CONFIG.h;
1065      - remove #include "AD_CONFIG.h" from all included OPTIONS files and
1066        add it explicitly in each fortran src file where it is needed.
1067        motivation: header file AD_CONFIG.h is generated/modified after "make depend"
1068        thus introducing potentially wrong dependency; therefore, better to include
1069        it only where it's really needed, and after any other included OPTIONS file
1070        (less tempting to bring conditional includes according to ALLOW_ADJOINT_RUN
1071        or ALLOW_TANGENTLINEAR_RUN).
1072    
1073    checkpoint63p (2012/07/06)
1074    o pkg/autodiff:
1075      - rename S/R INI_AUTODIFF to AUTODIFF_INIT_VARIA ;
1076      - create new header file "AUTODIFF_PARAMS.h" for pkg/autodiff parameters
1077        which are now read from new parameter file "data.autodiff" (inAdExact
1078        previously in "data", use{KPP/GMRedi/SEAICE}inAdMode previously in data.pkg)
1079      - add file "data.autodiff" in all verification/*/input_ad/ directories.
1080      - add run-time parameter to turn On/Off SEAICEuseFREEDRIFT in adjoint/forward
1081        mode (used in global_ocean.cs32x15.seaice_dynmix test exp.)
1082    o verification/tutorial_tracer_adjsens/
1083      - add extra sub-verification which uses "SOM" advection scheme
1084        (2nd Order-Moment Advection Scheme, Prather Limiter) with
1085          #define GAD_ALLOW_TS_SOM_ADV in GAD_OPTIONS.h
1086        and in data:
1087          multiDimAdvection=.TRUE.,
1088          tempAdvScheme=81,
1089          saltAdvScheme=81,
1090    o model/src:
1091      - introduce ALLOW_BALANCE_RELAX which allow the removal
1092       of the global mean of relaxation terms by setting
1093       balanceThetaClimRelax and balanceSaltClimRelax
1094      - disable balanceEmPmR and balanceQnet in the case when useSeaice.
1095       This case is now treated appropriately in seaice_growth.F
1096    o pkg/seaice:
1097      - do balanceEmPmR and balanceQnet based on the net fluxes
1098        (SItflux) that enter the ocean+ice system rather than QNET
1099        and EMPMR. Works best in real fresh water.
1100      - SIatmFW, SIatmQnet, and SItflux computations had to be moved
1101        out of the diagnotics bloc, and stored in global arrays.
1102    
1103    checkpoint63o (2012/06/29)
1104    o vertical mixing schemes:
1105      - remove unused S/R CALC_BUOYANCY (left from branch-atmos merging)
1106      - replace computation of density (in Function STATE1, opps_calc.F) by a call
1107        to S/R FIND_RHO_SCALAR
1108      - pass sigmaR to S/R PP81_CALC, MY82_CALC (but not yet used) and to GGL90_CALC
1109        and use it for N^2 calculation in ggl90_calc.F (save 2 density computations);
1110        affects output (vermix.ggl90) at truncation level.
1111    o testreport:
1112      - change adjustment of SIZE.h for mpi+mth testing: preserve enough tiles
1113        (nSx,nSy) for the number of threads (from eedata.mth)
1114    o model/src:
1115      - remove 2nd set of calls at the top of initialise_varia.F (Adjoint part)
1116        related to Non_Lin Free-Surf or Bottom-Control (but not longer necessary).
1117    o verification/tutorial_tracer_adjsens/
1118      - compile with ALLOW_CG2D_NSA
1119      - run with nonlinFreeSurf=3
1120      - update reference output_adm.txt
1121    o tools/genmake2:
1122      - add "-DHAVE_NETCDF" to the DEFINES list when NetCDF is available ;
1123        refine usePROFILES switching off (only when NetCDF is not available).
1124    o verification (atmospheric set-up):
1125      - change eosType='IDEALGAS' to eosType='IDEALG' to match variable declaration
1126    o pkg/profiles : refine profiles and files handling.
1127    o model/src and pkg/ecco : introduce run-time switch usePROFILES.
1128    o model/src/the_main_loop.F, forward_step.F and pkg/exf/EXF_OPTIONS.h :
1129      - changes to use model/src/the_main_loop.F rather than the ecco version
1130        in ecco type adjoint runs.
1131    o model/src:
1132      - move computation of recip of grid distance & area from INI_MASKS_ETC to INI_GRID
1133      - move setting of h0Fac[C,W,S] from INI_LINEAR_PHISURF to INI_MASKS_ETC
1134      - update_masks_etc.F: rename SMOOTH*_R4,R8 function to the corresponding type (RS,RL)
1135    o model/src:
1136      - fix S/R UPDATE_CG2D for ALLOW_DEPTH_CONTROL case (was empty before);
1137        update output of test experiment bottom_ctrl_5x5.
1138    o pkg/generic_advdiff:
1139      - implement vertical bi-harmonic diffusion (for now, only for T & S and
1140        only explicitly).
1141    o verification/bottom_ctrl_5x5/
1142      update reference output (results changed quite some time ago,
1143      not sure when; but new reference results look ok in terms of grdchk)
1144    o verification/1D_ocean_ice_column/
1145      For verification purposes, the exact adjoint rather than an approx.
1146      should be used (e.g., to comare against F.D. or TLM).
1147      removed autodiff_inadmode*_ad.F routines in code_ad/
1148      Update results/ accordingly.
1149    o pkg/cal:
1150      - change cal_getdate.F so that output date is function of input time only
1151        (less ambiguous, not mixed up with input iteration number).
1152      - fix calendarDumps for non-zero phase-lag (S/R CAL_TIME2DUMP).
1153    o pkg/diagnostics:
1154      - implement calendarDumps also for stats-diags
1155      - implement calendarDumps also for snap-shot output (negative freq)
1156      - for now, ignores calendarDumps if non-zero phase-lag.
1157    
1158    checkpoint63n (2012/06/04)
1159    o model/src:
1160      - recompute rSurfW & S to ensure consistent column thickness (needed for rStar)
1161        between Sum_k(hFac*drF) and rSurf-rLow, for now only when using pkg/shelfice;
1162      - use h0FacC, W & S to compute hFac_surfC, W & S in calc_surf_dr.F (more
1163        similar to calc_r_star.F); update results of experiment internal_wave and
1164        tutorial_global_oce_in_p (affected @ truncation level).
1165    o pkg/shelfice:
1166      - add parameterisation of advective-diffusive flux into the ice shelf
1167        according to Holland and Jenkins (1999), eq.22-33, as suggested by Jan De Ryd
1168      - simply eps3/3a computation
1169    o eesupp:
1170     - add new CPP option (DISCONNECTED_TILES) to disconnect tiles (no exchange
1171       between tiles, just fill-in edges assuming locally periodic subdomain) and
1172       add corresponding exchange subroutines (EXCH0);
1173     - new CG-solver version (_EX0) for disconnected-tiles special case.
1174    o model/src (CG-solvers):
1175     - modify Single-Reduction version (CG2D_SR) in case cg2dMaxIters is reached
1176       (similar final residual output and max-Iter number as with standard version);
1177     - allows to store and use lowest-residual solution (standard & _SR versions);
1178     - cleaning up (remove old, commented out code, LETS_MAKE_JAM ...).
1179     - by default, also compile CG2D_SR version (define ALLOW_SRCG in CPP_OPTIONS.h)
1180    o eesup/src:
1181     - global_vec_sum.F cleaning: add a BARRIER ; update comments ; remove ndef
1182       ALWAYS_USE_MPI (no longer needed after fixing usingMPI settings - March 2012)
1183    o pkg/salt_plume added to lab_sea/input_ad.noseaicedyn
1184    
1185    checkpoint63m (2012/04/27)
1186    o pkg/shelfice:
1187     - account for partical cells in surface level below ice-shelf for hydrostatic
1188       pressure calculion (set uniformFreeSurfLev to F); update isomip experiments.
1189    o ad test experiments:
1190     - update and rename to "ad_optfile.local" local AD-optfile specific to a
1191       particular adjoint verification experiment (in verification/*/code_ad/)
1192    o pkg/seaice & pkg/exf:
1193     - Part two of ECCO-CLIVAR code merges.
1194       Completes merge of seaice area relax. code.
1195       Requires unified CPP option EXF_ALLOW_SEAICE_RELAX
1196       to be set in EXF_OPTIONS.h since this pkg controls its I/O
1197       (and avoids second CPP option in SEAICE_OPTIONS.h)
1198     - change default value of costIceStart & costIceEnd to a valid date.
1199     - add snowPrecip to HSNOW in seaice_growth
1200    o pkg/ptracers:
1201     - move ptracers summary and setup check into separated S/R ; add a check for
1202       valid PTRACERS_Iter0 value (error+stop or just warning).
1203    o pkg/cal (+ pkg/ecco):
1204     - avoid calling a S/R with 2 times the same arg (FWD: unless both are only used
1205       as input; and for AD, unless both are not differentiable (e.g., k index)).
1206    o model/src:
1207     - define internal flag "uniformFreeSurfLev" (=T when free-surface level-index
1208       is everywhere k=1) to speed-up some calculations (by pass kSurf reference);
1209       temporary set to usingZCoords value (to be changed to F when using shelfice).
1210     - hydrostatic pressure: implement partial cell near the surface also for
1211       Z-coordinates (for the case where uniformFreeSurfLev=F); replace test on
1212       usingZCoords with test on uniformFreeSurfLev where needed (in NonHyd code).
1213    o pkg/ctrl/ctrl_init.F:
1214     - add a formal parameter to s/r ctrl_init_rec to print
1215       xx_$(ctrl_valiable)_file for easier debugging
1216     - move call of cal_* routines into the if-block where they are really
1217       needed so that xx_$(ctrl_variable)_period can be 0 or -12 without having
1218       to specify a startdate
1219    o pkg/seaice:
1220     - update comments in SEAICE_OPTIONS.h (+ similar update of lab_sea/code and
1221       global_ocean.cs32x15/code versions).
1222     - turn on seaice Multi-category (in data.seaice, SEAICE_multDim=7) for
1223       verification experiment global_ocean.cs32x15.seaice and update results.
1224    o pkg/exf:
1225     - new S/R EXF_GETFIELD_START to return starting-time of a forcing field
1226       (according to useExfYearlyFields).
1227    o pkg/cal:
1228     - move calendar setting & summary (previously in cal_readparams.F) into new
1229       S/R CAL_INIT_FIXED to be called later in the initialisation process, once
1230       length of the simulation is set (after SET_PARMS call); This is an attempt
1231       to fix Pb when, e.g.: pkg/longstep, modifies the length of the run.
1232     - For safety: keep a record of pkg/cal parameter settings status
1233               to allow to STOP if one pkg/cal S/R is called too early.
1234     - add a stop in all basic pkg/cal subroutines if called before setting is done.
1235     - modify cal_getdate.F: stop when nothing was returned;
1236       if called with myIter=-1, simply retrun modelBaseDate (1,2 = startDate_1,_2);
1237       this allows to remove "cal.h" from seaice_read_parms.F & init_mnc_vars.F.
1238    
1239    checkpoint63l (2012/04/04)
1240    o pkg/bbl:
1241      - fix call to FIND_RHO_2D in bbl_calc_rho.F (case multi-tiles per proc);
1242        update global_with_exf output.yearly.txt file.
1243    o pkg/cal:
1244      - start to clean-up cal_set.F ; fix for the case where baseTime is non-zero.
1245      - remove 2 unsused and very short (1 line only) functions ;
1246      - remove unsused subroutines from AD-Diff list.
1247    o model/src:
1248      - start to implement clean wait to stop in initialization S/R (config_check.F,
1249         packages_check.F, ini_parms.F and pkg/obcs/obcs_check.F + pkg/mypackage)
1250    o folowing PRINT_MESSAGE changes:
1251      - remove reminder multiple print to the same file (STDOUT) when multi-threads.
1252    o pkg/bbl:
1253      - modification so it can work with z*
1254      - replace deltaT with dTtracerLev(k) for asynchronous time stepping
1255      - global_with_exf/input.yearly verification; changes output.yearly.txt
1256    o eesupp/src:
1257      - PRINT_MESSAGE: use OpenMP critical instruction (similar to PRINT_ERROR);
1258        writing to unit 0 (if unit=errorMessageUnit) extended to the case myThid=1
1259      - CHECK_THREADS: specific code if using OpenMP threading: improve checking of
1260        # of threads across processors (e.g., different env OMP_NUM_THREADS setting)
1261      - improve special preliminary call to EESET_PARMS (if eedata is read 2 times).
1262      - when using MPI, always set usingMPI=T ; set default accordingly and stop
1263        if not consistent.
1264      - ALL_PROC_DIE: add a BARRIER after MPI_FINALIZE call ; skip this when thread
1265        argument is zero (in case called within single-thread section).
1266    o pkg/fizhi:
1267        clean-up turbulence cold-start switch: decided in fizhi_init_vars.F, stored
1268        in common bloc (fizhi_coms.h) and then passed as argument up to S/R TURBIO.
1269    o pkg/exch2:
1270      - add argument "updateCorners" to S/R exch2_get_uv_bounds (enable to
1271        activate EXCH_IGNORE_CORNERS in vector EXCH S/R).
1272      - switch 1rst EXCH call to IGNORE_CORNERS (instead of UPDATE_CORNERS)
1273        but keep the 2nd with UPDATE_CORNERS: this prevents overwriting good data
1274        with bad ones coming from a not-yet-updated halo.
1275        This should fix the problem when sNx <> sNy and GCD(sNx,sNy) < 2*Olx.
1276    o pkg/frazil:
1277        move FrzForcT diag from frazil_diagnostics_state.F to frazil_calc_rhs.F
1278        http://mitgcm.org/pipermail/mitgcm-devel/2012-March/005384.html
1279    o model/src/config_check.F: add a check for OLx>sNx/OLy>sNy
1280    o verification/lab_sea
1281      * #undef SEAICE_EXCLUDE_FOR_EXACT_AD_TESTING
1282      * #define ALLOW_SST_CONTROL & ALLOW_SST_CONTROL
1283      * nTimeSteps 3 -> 4
1284      * changed reference output accordingly
1285    o pkg/ctrl:
1286      * fix ctrl_get_gen for xx_sst, xx_sss
1287    o pkg/fizhi:
1288      - fix 2 calls to S/R GRD2MSC (argument igrd) in update_earth_exports.F
1289        update results of exp. fizhi-cs-32x32x40 (fail with only 6 digits for cg2d)
1290      - by default, use new version of S/R GETPWHERE (#define TRY_NEW_GETPWHERE);
1291        fix few out-of-bounds indices in referencing vars (initialise igrd to 1);
1292        clean-up fizhi_turb.F (remove unused & uninitialised qdiaglsm array).
1293    o pkg/gmredi:
1294      - add diagnostic of Redi (main diagnonal) vertical diffusive flux of Temp
1295    o pkg/fizhi:
1296      - fix few initialisation and multi-tile Pb: aqualev & gridalt now pass the
1297        (old)aces open64 tuv test.
1298    o pkg/icefront: fix bug and reorder loop in icefront_init_varia.F
1299    o pkg/mom_vecinv:
1300      - fix 1 loop range in mom_vecinv.F to be like all the other loops which
1301        set/update gu,gv/Diss (fix Pb of uninitialised fVerUkp in admom_vecinv
1302        with non-lin free-surf).
1303    o model/src: move k-loop outside of i/j-loops when (re-)computing R_low
1304      in ini/update_masks_etc.F in order to avoid -O3 optimization problems with
1305      some compilers (gfortran 4.6.0 on MacOS)
1306  o momentum:  o momentum:
1307    - separate fVer?(:,:,kUp) & fVer?(:,:,kDown) in argument list of MOM_FLUXFORM    - separate fVer?(:,:,kUp) & fVer?(:,:,kDown) in argument list of MOM_FLUXFORM
1308      & MOM_VECINV subroutines (to help TAF). This fixes Pb of uninitialised      & MOM_VECINV subroutines (to help TAF). This fixes Pb of uninitialised

Legend:
Removed from v.1.1626  
changed lines
  Added in v.1.1876

  ViewVC Help
Powered by ViewVC 1.1.22