/[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.1724 by jmc, Sat Aug 25 00:07:09 2012 UTC revision 1.1904 by jmc, Thu Aug 1 20:17:16 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/mom_common+fluxform+vecinv:
8      - always set horiz. viscosity arrays to background value before calling
9        MOM_CALC_VISC (in MOM_FLUXFORM & MOM_VECINV) and call S/R MOM_CALC_VISC
10        only when using variable horiz. viscosity (useVariableVisc=T);
11      - simplify mom_vecinv.F (only 1 block for momViscosity).
12    o pkg/mom_common: variable horiz. viscosity in NH code
13      - move horiz-viscosity 3-D arrays viscAh_W & viscA4_W (used in calc_gw.F)
14        from model/inc/NH_VARS.h to pkg/mom_common/MOM_VISC.h
15      - store in common block (in MOM_VISC.h) logical parameters: useHarmonicVisc,
16        useBiharmonicVisc & useVariableVisc.
17      - fix old bug (already in 1rst implementation of variable horizontal viscosity
18        in calc_gw.F, version 1.27, 2006/06/20):
19        horizontal bi-harmonic viscosity in gW was missing when wiscA4W=0
20        even if variable bi-harmonic viscosity (e.g., viscA4Grid) was non-zero.
21      - change background horiz viscosity in vertical momentum (gW) to always be
22        viscAhW,viscA4W (instead of switching to viscAhD, viscA4D when using
23        any type of variable viscosity, e.g., viscAh/4Grid)
24      - change default value of viscAhW,viscA4W to viscAhD,viscA4D (instead of
25        viscAh,viscA4) which default to viscAh,viscA4 :  this avoid missing
26        horiz. viscosity in W eq when just setting viscAhD/Z,viscA4D/Z (since
27        default viscAh,viscA4 is zero).
28    o model/src:
29      - extend length of drC & recip_drC from Nr to Nr+1.
30    o Divided Adjoint (DIVA) with MPI:
31      - genmake2: do not create local ./mpi_headers dir when no file to copy into.
32      - remove option ALLOW_DIVIDED_ADJOINT_MPI (replaced by ALLOW_DIVIDED_ADJOINT
33        and ALLOW_USE_MPI) from model/src code and from ECCO_CPPOPTIONS.h.
34    
35    checkpoint64k (2013/07/23)
36    o tools/OAD_support:
37      - avoid the need for file "oadtempflile" in insertTemplateDir.bash
38        and remove it from genmake2.
39    o tools/build_options:
40      - remove MPI_HEADER_FILES_INC setting (no longer used) and comment out
41        MPI_HEADER_FILES list (let genmake2 find the missing headers)
42    o verification/halfpipe_streamice:
43      - change to driving stress formulation; update both Fwd & AD output.
44    o tools/genmake2 and Divided Adjoint with MPI:
45      - remove default setting of MPIINCLUDEDIR from $MPIHOME (always been broken);
46      - only create local ./mpi_headers dir if using MPI and MPIINCLUDEDIR is set;
47      - add new variable (LOCAL_MPI_HEADERS, replace MPI_HEADER_FILES_INC) in
48        Makefile, which is set by genmake2, and check which mpi-headers are needed.
49        Note: need to update adjoint_options/adjoint_diva_mpi accordingly.
50      - update target "CLEAN" (to also remove ./mpi_headers/ dir).
51    o testreport:
52      - changes for Divided Adjoint Run: when file "run_ADM_DIVA" is present,
53        perform additional runs (number of additional runs is "add_DIVA_runs" taken
54        from file run_ADM_DIVA ; should match "nchklev_3" in file "code_ad/tamc.h").
55    o verification/lab_sea (AD test):
56      - change to test Divided Adjoint Run in this set-up (both standard AD test
57        and 2 secondary AD test: noseaice + noseaicedyn); drop the evp AD test.
58    o pkg atm_ & ocn_compon_interf:
59      - remove cpl_earlyExpImpCall=F option (was mainly a hack added for the old
60        staggerTimeStep implementation) and disable (retired) corresponding
61        parameter.
62    o pkg/offline:
63      - comment out unused field-array: ICEM, ConvectCount, hflx[01], icem[01];
64      - add S/R OFFLINE_CHECK to print offline parameter summary
65        and stop if loading a file that is not used;
66      - enable to calculate GMRedi tensor, KPP mixing and convective index
67        when the corresponding file(s) is/are not specified (but pkg is used).
68      - comment out resetting of monitorFreq (to endTime) since it still useful
69        for monitoring CFL numbers and checking offline fields.
70    o OpenAD:
71      - do not define OAD_DEBUG (in tools/adjoint_options/adjoint_oad) to get
72        smaller standard output) and generate new (smaller) output (on baudelaire
73        using gfortran with -ieee) for exp. tutorial_tracer_adjsens
74    o model/src:
75      - call EXTERNAL_FORCING_SURF outside bi,bj loops (in do_oceanic_phys.F),
76        (where external_forcing_adjust was called) and change list of arguments;
77      - merge external_forcing_adjust.F into external_forcing_surf.F
78      - put surface relaxation of SST & SSS in new S/R (forcing_surf_relax.F)
79        which also contains balancing surface relaxation (ALLOW_BALANCE_RELAX,
80        previously in file "balance_relax.F", now removed); remove corresponding
81        arrays in FFIELDS.h.
82      - EXTERNAL_FORCING_SURF is now called when using pkg/offline; implement
83        a hack for getting back surfaceForcingS (loaded from file) when using
84        ALLOW_OLD_VIRTUALFLUX (pkg/dic, in DIC_OPTIONS.h) in offline set-up.
85      - update output of AD test experiment global_ocean.cs32x15.seaice_dynmix
86        (was getting only 11 digits for AD-grad, due to different truncation
87         error in AD code).
88    
89    checkpoint64j (2013/07/04)
90    o pkg/offline:
91      - to enable the use of other features with pkg offline (e.g., obcs),
92        also call S/R DO_OCEANIC_PHYS in offline run - more modifs to come.
93      - comment out "allowFreezing" (now active) in 2 offline testing exp.
94    o pkg/exf ALLOW_RUNOFTEMP
95      - fix sign and make compatible with temp_EvPrRn .NE. UNSET_RL
96      - ahdded RUNOFTEMP test to verification/global_ocean.cs32x15/input.seaice
97      - changes verification/global_ocean.cs32x15/results/output.seaice.txt
98    o pkg/atm_phys:
99      - allows to add some damping on uVel,vVel (strength only function of k).
100    o verification, ad-tests:
101      - reduce length of the simulation for AD test: global_ocean.cs32x15.seaice,
102        global_ocean_ebm and offline_exf_seaice.thsice.
103    o verification/halfpipe_streamice:
104      - found a bug in s/r pkg/streamice/streamice_advect_thickness which caused
105        flux input boundary conditions to be ignored; a fix for this bug changed
106        verification results for forward test.
107      - add adjoint test.
108    o pkg/ptracers:
109      - allow to restart without SOM pickup (resetting SOM to zero).
110    o pkg/gmredi:
111      - New parameterisation for the calculation of K and (GM_PsiX,GM_PsiY) added.
112      - It uses mixing length theory and suppression by steering level effects to
113        calculate a diffusivity used in the Redi tensor (see Bates et al., submitted
114        to JPO, for more details).
115      - It also uses the diffusivity to calculate an eddy induced streamfunction
116        based on a PV closure (rather than a buoyancy closure as in GM).
117      - New files added to pkg/gmredi:
118        gmredi_k3d.F calculates the diffusivity for the Redi tensor and the eddy
119          induced overturning streamfunction (called from gmredi_calc_tensor)
120        gmredi_calc_eigs.F calculates the eigenvalues and eigenvectors required
121          for use in gmredi_k3d
122        gmredi_calc_urms.F calculates the the rms eddy velocity used to calculate
123          the eddy diffusivity
124    
125    checkpoint64i (2013/06/18)
126    o pkg/cheapaml:
127      - take src files from MITgcm_contrib/verification_other/offline_cheapaml/code
128        that enable the use of seaice (pkg/thsice thermo & pkg/seaice dynamics)
129        with pkg/cheapaml.
130    o utils/python: add subpackage for cubed sphere function, first example is
131        simple cs.pcol to plot 2D fields on a map
132    o pkg/streamice:
133      - This is a new package in MITgcm, which solves dynamic equations for ice
134         sheets and ice streams
135      - At the moment it is independent of atmosphere/ocean dynamics, or any
136        other physical packages in MITgcm, even ShelfIce (although it is anticipat-
137        ed that this will change)
138      - There is a new verification exercise that tests it, halfpipe_streamice,
139        evolves a 40x80 km ice stream/ice shelf (at coarse resolution) in a
140        rectangular embayment
141      - halfpipe_streamice is forward-only for now, will have TAF test soon
142      - for questions, email dgoldber@mit.edu
143    o pkg/thsice:
144      - fix filling of snow-precip diagnostic (SIsnwPrc) (left from the removing
145        of snowPrc from common bloc, on May 2nd, thsice_step_fwd.F revision 1.40);
146      - remove diagnostics 'SI_FrcFx' ( now identical to 'SI_Fract' with new
147         call sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect );
148      - allow precip from pkg/cheapaml to make snow over seaice.
149    o pkg/cfc:
150      - move in separated header file (CFC_ATMOS.h) time-serie arrays of Atmos CFC
151      - remove atmos CFC 2-D arrays from common bloc (now local variables)
152      - change some hard-coded constant to run time parameter for reading and
153        and interpolating atmospheric CFC ; keep same default as previously.
154      - more flexible reading of Atmos CFC (number of records no longer hard-coded)
155      - put arguments in standard order: myTime, myIter, myThid
156      - use standard S/R GET_PERIODIC_INTERVAL for time interpolation of
157        atmospheric CFC ; fix for the case myIter < PTRACERS_iter0.
158      - fix calculation of surf tendencys for partial-cell and/or Non-Lin Free-Surf
159      - new routine to print summary of CFC params and check for consistency.
160    o pkg/seaice: add uice/vice to the parameter list of s/r seaice_advdiff,
161      similar to thsice_advdiff.
162      Note that for the B-grid case the routine parameters uc/vc are overwritten.
163    o pkg/cfc:
164      - change time interpolation for atmospheric CFC-11 (now same as for CFC-12);
165        update output (CFC-11) of experiment cfc_example and tutorial_cfc_offline.
166      - fix interpolation of atmphspheric CFC between Sorthern and Northern
167        hemisphere value.
168    o pkg/seaice:
169      - allow to use seaice dynamics without pkg/exf (e.g., using pkg/cheapaml)
170    o pkg/seaice: add Adams-Bashforth2 time discretization for ice dynamics;
171                  so far only for JFNK-solver, turn on with SEAICEuseAB2 = .TRUE.
172      - requires an additional time level that is stored in the pickup
173      - you can start with AB2 from a pickup without this time level with
174        pickupStrictlyMatch = .false.
175    
176    checkpoint64h (2013/05/26)
177    o pkg/cheapaml:
178      - replace one ()**.5 with SQRT + use temp var "cdu = tau/Du" (coare3_flux);
179        affect machine truncation (but exp cheapAML_box still pass with 13 digits).
180      - consistent treatment of uWind,vWind location: assume everywhere in
181        pkg/cheapaml that they are on C-grid (@ uVel,vVel location)
182        (Note: was already the case for Tair,Qair advection);
183        add option (INCONSISTENT_WIND_LOCATION) to recover old results.
184      - compute diabatic forcing only in the interior (excluding overlap regions)
185      - fill in array "Qsw" (for short-wave heating);
186      - add diagnostic for precip ; fill-in diagnostics for cheapAML state vars
187        before any update (consistent with MITgcm state var diagnostics);
188      - cheapaml_fields_load.F & cheapaml_init_varia.F : only fill outer edges if
189        non periodic ; + adjusted for uWind,vWind (C-grid).
190    o pkg/seaice:
191      - remove dependence of pkg/seaice versus pkg/exf (file: pkg/pkg_depend) and
192        add explicitly pkg/exf in experiments that currently use pkg/seaice.
193      - allows to compile pkg/seaice without pkg/exf.
194    o tools/OAD_support:
195      - use a local copy (ourRWCPinBd) to ensure index ourRWCP stays within bounds
196        of array "ourStepOf" in function rvNextAction (revolve.F90).
197    o pkg/aim_compon_interf renamed to pkg/atm_compon_interf
198      - change pkg name (to be used with other atmospheric physics pkg)
199        but by-pass CVS when making the new pkg so that we keep the CVS history.
200    o pkg/offline:
201      - call OFFLINE_FIELDS_LOAD from pkg/offline/offline_init_varia.F
202        (previously called from pkg/dic_surfforcing_init.F)
203    o model/src:
204      - re-order sequence of calls within packages_init_variables.F, using
205        standard order, except for:
206         DIAGNOSTICS_INIT_VARIA and OFFLINE_INIT_VARIA (called @ the top),
207         CTRL_MAP_INI and OBCS_INIT_VARIABLES (called @ the bottom)
208    o new pkg: atm_phys
209      - add entry point and source code (previously in contrib
210          verification_other/atm_gray/code_gray/) for new pkg "atm_phys"
211        (atmospheric physics pkg from P. O'Gorman and T. Schneider, JCl, 2008).
212      - re-order sequence of calls within packages_readparms.F,
213         packages_init_fixed.F and packages_write_pickup.F
214        (but skip packages_init_variables.F because of TAF issues).
215      - update contrib/*/atm_gray/ experiment.
216    o pkg/seaice (ITD code):
217      - simplify and fix the writing of pickup-files for ITD case
218    o pkg/seaice (ITD code):
219      - introduce floe size dependent lateral melt for ITD case;
220      - cleaning (avoid division by zero, change to f77 syntax, remove tabs)
221      - update seaice_itd experiment main output.
222    o pkg/thsice:
223      - remove snowPrc from common block THSICE_FLUX, in THSICE_VARS.h and
224        declared it locally (without bi,bj) in thsice_main.F & aim_do_physics.F;
225        changed accordingly pkg/atm2d.
226    
227    checkpoint64g (2013/05/01)
228    o pkg/exf ALLOW_RUNOFTEMP
229      - if defined,  river and glacier runoff temperature can be read-in from
230        runoftempfile; runoftempfile needs to have same format as runofffile
231    o pkg/thsice (& pkg/bulk_force):
232      - In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account
233        for energy content of Precip + RunOff & Evap (like with pkg/exf).
234      - change computation domain to always be the interior (without overlap).
235      - fix bug (wrong overlap) when using EXF and stressReduction > 0.
236    o verification/tutorial_global_oce_biogeo:
237      - add preliminary OpenAD setup (still has problems)
238    o pkg/seaice:
239      - turn some parameters for choosing the convergence criterion of
240        the inexact Newton method (JFNK) into runtime parameters for convenience
241      - clean up seaice_calc_viscosities.F: remove/retire two options for
242        SEAICetaZmethod (1,2), introduce area weighting for method 3; this changes
243        the results of lab_sea/input because a division has been replaced by
244        a multiplication with the reciprocal (sumNorm)
245      - modify offline_exf_seaice/input.dyn_jfnk/data.seaice to improve
246        convergence of solver (changes results, of course), and to test some
247        new features
248    o model/src:
249      - remove unused (since Aug 2006) S/R SET_WRITE_GLOBAL_PICKUP and its call.
250      - remove unused forcing field "dQdT" and associated parameter "dQdTFile".
251      - move forcing adjustment (balancing surface forcing) in specific S/R
252        where might also be applied exchanges (if needed) to forcing arrays.
253    o pkg/shelfice:
254      - allow to specify the Ice-Shelf mass per unit area (instead of
255        shelficeLoadAnomaly) and do the conversion from one to the other
256      - move loading from file of shelficeLoadAnomaly from SHELFICE_INIT_VARIA
257        to SHELFICE_INIT_FIXED: (a) avoid some TAF recompution issues and
258        (b) will be loaded in time (before calling INI_PRESSURE) in case it is
259        needed in phi0surf for initial pressure calculation when useDynP_inEos_Zc
260      - update isomip experiment forward output (get machine truncation error
261        from conversion shelficeLoadAnomaly -> shelficeMass -> shelficeLoadAnomaly)
262    o verification/offline_exf_seaice:
263      revise data.seaice in input.thermo and input_ad and update results accordingly
264        HO = 0.2, SEAICE_areaLossFormula = 2,
265        SEAICE_growMeltByConv = .TRUE.,
266        SEAICE_doOpenWaterMelt = .TRUE.,
267      Improve consistency with input.thsice and fix the spurious 500m ice corners
268    o verification/global_ocean.cs32x15:
269      - set Energy Reference Level to liq. water @ 0 degC: temp_EvPrRn=0.,
270        in icedyn (thsice+seaice-dyn) test and update output.
271    o verification/offline_exf_seaice:
272      - adjust list of tested variables (with testreport) and update
273        standard test output with better slection of monitored fields.
274    o pkg/cd_code:
275      - swtich off Adams-Bashforth on the 1rst iteration. Update output of
276        experiment lab_sea.hb87
277    o tools/genmake2:
278      - change default makedepend from the system default to tools/xmakedepend:
279        When no makedepend is specified, select tools/xmakedepend it the test pass,
280        otherwise select the system default (if exist and pass the test) or
281        try to build cyrus-makedepend ; stop if none of the 3 works.
282    o pkg/exf & pkg/thsice:
283      - In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account
284        for energy content of Precip + RunOff & Evap. Assumes:
285       1) Rain has same temp as Air.
286       2) Snow has no heat capacity (consistent with seaice & thsice pkgs)
287       3) Run-Off comes at the temp of surface water (with same Cp)
288       4) Evap over ocean is released to the Atmos @ surf-temp (=SST); should be
289        put directly into Latent Heat flux & should use water-vapor heat capacity.
290       5) Evap over snow/seaice (pkg/thsice) assumes constant Lf+Lv (consistent
291        with snow having no Cp) => water vapor is released to Atmos @ 0^oC (=ERL).
292    o pkg/seaice: simplify the use of CPP flags in JFNK-related files
293        (compile when SEAICE_ALLOW_JFNK is defined)
294    o pkg/thsice:
295      - fix oceanic flux diagnostics & timeave (left from new sequence of calls
296        implementation): move THSICE_AVE call after the advection (called directly
297        from thsice_do_advect.F).
298    o verification/global_ocean.90x40x15 and OpenAD:
299      New experiment for OpenAD is identical to the one in input_ad except that
300        multiDimAdvection=.FALSE.,
301      There is still an issue with this.
302    o pkg/thsice:
303      - account for ice velocity (ocean relative velocity) in turbulent heat flux
304        at the base of the ice; update output of global_ocean.cs32x15 (icedyn)
305        and offline_exf_seaice (main test).
306    
307    checkpoint64f (2013/03/31)
308    o verification/OpenAD:
309      - new (smaller, without OAD_DEBUG) output_oadm.txt generated using gfortran.
310    o verification/isomip, pkg/shelfice and OpenAD:
311      - add OpenAD setup to this exp and make shelfice package work with OpenAD
312    o verification/tutorial_global_oce_biogeo:
313      - update AD and TLM output after turning off ALLOW_FE (in DIC_OPTIONS.h)
314    o verification/offline_exf_seaice:
315      - replace adjoint experiment (now similar to fwd input.thermo/ setup).
316    o verification/tutorial_tracer_adjsens, pkg/ptracers and OpenAD:
317      - add OpenAD setup to this exp and make ptracers package work with OpenAD
318    o pkg/seaice/seaice_evp.F:
319       mask the asymmetric contribution of the ice-ocean stress (when
320       the turningAngle is non-zero) over open water to avoid stripes
321       in the EVP-solutions after many EVP-substeps. This does not change
322       the verification experiment (because turningAngle=0 in that experiment),
323       but will affect other EVP solutions with turningAngle.ne.0
324    o verification, AD & TLM output:
325      - new TAF version 2.3.10 (previously 2.3.8) add more parenthesis in multiple
326        additions and multiplications which affect results at machine truncation
327        level. Update few AD output (1D_ocean_ice_column, bottom_ctrl_5x5,
328        lab_sea.noseaicedyn & offline_exf_seaice) and TLM output
329        (1D_ocean_ice_column & tutorial_tracer_adjsens.som81) which had only 12
330        digits of matching.
331    o pkg/seaice:
332       modify lsr-algorithm so that it vectorizes AND converges by using a
333       "zebra" method: split vector loop into two with step size 2; this
334       solves a general convergence problem for the JFNK solver on a vector
335       computer. It has the potential to even improve convergence for
336       non-vector machines, but it does change the results so it is turned
337       off by default. To turn on define CPP-flags SEAICE_VECTORIZE_LSR and
338       SEAICE_VECTORIZE_LSR_ZEBRA in SEAICE_OPTIONS.h
339    
340    checkpoint64e (2013/03/05)
341    o pkg/ecco and several verification experiments:
342       Remove special versions of the_model_main.F, the_main_loop.F, forward_step.F
343       from ecco package, and revert to unified routine in model/src/
344       Adjust verification experiments accordingly, especially gloal_oce_llc90
345       Should conclude long-standing work by Gael to reconsile the_main_loop with
346       ECCO and will enable OpenAD's revolve loop in ECCO setup.
347    o pkg/generic_advdiff:
348      - implement compressible flow method for multi-dim advection (similar to
349        gad_som_advect.F); add new option "GAD_MULTIDIM_COMPRESSIBLE" (since
350        TAF generates many recomputations) to use it; no yet coded with implicit
351        vertical advection.
352      - change experiment advect_cs (new output) and advect_xy (same output)
353        to test compressible flow multi-dim advection.
354    o pkg/generic_advdiff:
355      - fix SOM advection for unusual cases (linear Free-Surf in r*, other
356        cases where linear Free-Surf is not @ k=1, e.g., useShelfIce)
357    o pkg/seaice:
358      - fix bug in the no-slip implementation in seaice_calc_strainrates.F, this
359        bug affects two verification experiments (lab_sea and lab_sea.hb87),
360        recover old (wrong) results by setting noSlipFac = 2. in
361        seaice_calc_strainrates.F;
362      - add another averaging method for etaZ (etaZmethod=3), a mix of 2 and 0
363      - add runtime parameter SEAICE_JFNKepsilon for that finite difference
364        gradient in the Jacobian times vector operation (s/r seaice_jacvec)
365      - fix line search in seaice_jfnk.F (s/r seaice_jfnk_update)
366    o pkg/seaice: reorganize seaice_lsr.F to be able to reuse more code:
367      - new subroutines seaice_lsr_tridiagu/v
368      - introduce loop bounds i/jmin/max to be able to use a restricted
369        additive Schwarz method, but not used for now.
370      - rename SEAICE_CALC_LSR_COEFFS into SEAICE_LSR_CALC_COEFFS
371      - use new subroutines seaice_lsr_tridiagu/v in s/r seaice_preconditioner
372    o OpenAD support
373       Reorganize S/R call for overall time-stepping loop to facilitate
374       OpenAD revolve loop replacement
375       (new S/R main_do_loop.F)
376    o model/src:
377      - add 3-D array 3rd dimension to argument list of S/R ADAMS_BASHFORTH2/3;
378      - pkg/cheapaml: remove local S/R ADAMS2d and use instead standard S/R
379        ADAMS_BASHFORTH2.
380    o pkg/cheapaml:
381      - add new parameter (default=F, same as before) to disable full domain
382        (including land) periodicity in X & Y dir.
383      - new S/R CHEAPAML_COPY_EDGES to copy relaxation field into edges of
384        prognostics field ; merge the 2 S/R cycle_2d_tracer and timestep_2d_tracer
385        into single S/R CHEAPAML_TIMESTEP.
386    
387    checkpoint64d (2013/02/17)
388    o pkg/monitor (angular momentum):
389      - do not add Eta contribution to the total AM if using rigid-lid;
390      - correct for Adams-Bashforth in zonal-wind part (instead of in AM_eta).
391      - horizontal discretisation: compute Zonal wind contribution separately for
392        each component (instead of from cell centered averaged) and use the 4
393        grid-cell corner averaged value of Omega*(R*cos_Phi)^2 in AM_eta part.
394      - Check that AM is conserved with linear dynamics (momAdvection=F and linear
395        FreeSurf) if using vectorInvariant momentum.
396    o model/src (horizontal grid):
397      - move initialisation of all horizontal grid arrays to null value
398        from specific horizontal grid S/R to main S/R INI_GRID;
399      - add 2 new arrays to project model C-grid velocity on to zonal direction
400        (similar to AngleCosC & -AngleSinC but at U and V point location) and
401        compute them in S/R CALC_GRID_ANGLES.
402    o pkg/seaice: replace a hard coded parameter by a runtime parameter
403        SEAICE_JFNK_tolIter
404    o pkg/seaice: introduce a restricted additive Schwarz (RAS) method in
405        preconditioner for JFNK (run LSR into the overlaps as far as possible,
406        i.e OLx/y-2, but overwrite the solution in the overlaps)
407      - extend loop range in seaice_calc_viscosity
408      - add new parameters SEAICE_OLx/y (default = OLx/y-2)
409      - add flexible loop ranges to seaice_preconditioner, seaice_calc_lsr_coeffs
410      - slightly modify loops in tridiagonal solver lsr-preconditioner
411      - by default remove the extra exchange in seaice_preconditioner with a
412        replacement of an undocumented CPP flag by SEAICE_PRECOND_EXTRA_EXCHANGE
413      - modify offline_exf_seaice so that old results without RAS are reproduced
414        for output.dyn_jfnk.txt
415      in seaice_fgmres.F (unrelated to RAS)
416      - add a cpp-flag option for a re-ordered mapping (potentially more
417        efficient), but because this changes the results, turn it off by
418        default
419      - replace the save statement by local common blocks
420    o utils/matlab:
421      - fix tile-offset in rdmnc.m when output was produced using EXCH2.
422      - update cs_grid/bk_line scripts to use load_grid.m (in utils/matlab)
423        instead of local script "load_cs.m".
424    o pkg/seaice:
425      - fix a serious bug in seaice_fgmres.F, s/r seaice_scalprod, connected
426        to the scalarProductMetric and the unrolling. By chance this does not
427        change the verification experiment, because of the particular domain
428        decomposition
429    o pkg/diagnostics:
430      - change default missing_value from UNSET_RL to -999.
431    o pkg/layers: improve vectorization of layers_fluxcalc.F
432      - step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu
433        time spent in this routine by more than a factor of 3 on an NEC-SX8
434      - step 2: replace search algorithm by a bisection algorithm found in
435        Press et al. Numerical Recipes in Fortran. This algorithm can be
436        vectorized and finds the correct bin in approx. log2(Nlayers) steps.
437        For now, use this algorithm only for TARGET_NEC_SX defined.
438      - moved the search algorithm into a separate subroutine, that is kept
439        within the same file for automatic inlining.
440      - modified catching potential errors
441    o pkg/ecco:
442      - add compile switches ALLOW_SHALLOW_ALTIMETRY and ALLOW_HIGHLAT_ALTIMETRY.
443    o model/src, pkg/autodiff, pkg/ctrl, pkg/grdchk :
444      - modifications for ALLOW_GENTIM2D_CONTROL
445      -- forward_step.F, the_main_loop.F : pass options and arrays for adjoint tapes.
446      -- load_fields_driver.F : add call to CTRL_MAP_GENTIM2D( myTime, myIter, myThid )
447      -- add xx_gentim2d0/1 in ctrl_ad_check_lev1_dir.h checkpoint_lev1_directives.h etc
448      -- use ctrl_swapffields.F (new) instead of exf_SwapFFields.F in ctrl_get_gen.F
449    o model/src:
450      - account for moist thermodynamics in (dry) potential temperature equation;
451        update results of experiments: aim.5l_cs (x2), fizhi-cs (std + aqualev)
452        and cpl_aim+ocn.
453      - also switch to standard compiler (gfortran, was using ifort previously)
454        for fizhi-cs experiments reference output.
455    o pkg/ctrl:
456      - 1st step toward generic time-varying control variable (2D) via CPP option
457        ALLOW_GENTIM2D_CONTROL
458      - note new namelist ctrl_nml_genarr in data.ctrl
459    o verification/global_ocean.cs32x15:
460      - switch off OLD_THSICE_CALL_SEQUENCE (both forward and AD code) to use new
461        thsice calling sequence and update "output.icedyn.txt" output file.
462    o pkg/ptracers:
463      - from Ryan A.: code to allow to restart a tracer at regular time interval
464        specifying a reset frequency and a reset-phase (for each tracers).
465    o pkg/thsice:
466      - implement new sequence of calls for thsice+seaice:
467          previously:   ice-Dyn,ice-Advect,ice-Thermo(thsice)
468          new sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect
469      - allows (with temporary CPP option "#define OLD_THSICE_CALL_SEQUENCE"
470        in CPP_OPTIONS.h) to recover old sequence;
471      - update diagnostics for Intermediate State thsice diagnostics: now filled
472        just before advection (instead of just after advection in old sequence);
473      - update output of experiment offline_exf_seaice (standard test);
474      - in global_ocean.cs32x15 exp., postpone output.icedyn.txt update
475        by setting #define OLD_THSICE_CALL_SEQUENCE in CPP_OPTIONS.h
476    o pkg/aim_v23:
477      - use tiled array for aim_CO2 and surface wind speed for export to coupler;
478      - use standard pkg/mdsio routines to read & write CO2 pickup file;
479      - in-line S/R AIM_AIM2DYN_EXCHANGES in aim_do_physics.F;
480      - Implement new sequence of calls for seaice advection (with thsice and
481        seaice diffusion): do ice advection after ice-Thermodynamic (previously
482        was done before); change aim_do_physics.F (split the bi,bj loops block);
483      - use same CPP option (OLD_THSICE_CALL_SEQUENCE) to recover old sequence;
484    o pkg/thsice:
485      - add a missing EXCH of sIceLoad in thsice_main.F (ocean set-up) for the case
486        where just seaice diffusion is used without seaice-dynamics.
487    
488    checkpoint64c (2013/01/18)
489    o pkg/seaice:
490      - add a parameter JFNKres_tFac that can replace JFNKres_t
491        (= JFNKres_tFac*JFNKresidual before JFNK solver)
492      - add a line search option to the JFNK solver
493      - move update of u/vIce and computation of initial residual into a separate
494        routine (same file); makes the code a little easier to read (?)
495      - the line search requires computation of the residual and for some reason
496        I cannot do the update of u/vIce at the beginning of the Newton loop
497        without changing the results, so we move computation of the new residual
498        also to the end of the Newton loop, even without the line search
499    o pkg/mdsio:
500      - write missing value (corresponding to undefined array value) to meta files;
501        skip this if missing value is one (UNSET_RL would be a better value for the
502        case of undefined missing value but it's current the default missing-value);
503        Also update mdsio_read_meta.F (reading timeInterval & missing-value).
504    o pkg/exf & thsice:
505      - for diagnostics purpose, fill-up and update Qsw array (+ fill the
506        diagnostics) even when SHORTWAVE_HEATING is #undef;
507    o verification/cfc_example:
508      - turn on pkg/layers with pkg/diagnostics (to test pkg/layers and to
509        illustrate how to use it).
510    o verification/offline_exf_seaice:
511      in input: add SEAICErestoreUnderIce=.TRUE., and reduce size of forcing
512        files to only one time-record.
513      in input.thermo: narrow the 2 bands of low initial ice-concentration near
514        N & S edges; switch on SEAICErestoreUnderIce=T; use pkg/diagnostics for
515        snapshot output; same mcPheePiston value as in thsice with
516        surf-current=0.2m/s.
517      in input.thsice: similar set-up as in input.thermo (channel with same seaice
518        initial conditions).
519    o verification/cfc_example:
520      - update file "data" with more standard choice (default rotationPeriod,
521        exactConserv=T, reduce ivdc_kappa to 10, remove multiDimAdvection=F,
522        set deltaTFreeSurf to deltaTtracer) and update the output.
523    o pkg/layers:
524      - fix bolus part so that it compiles with #undef GM_BOLUS_ADVEC;
525      - ensure that "layers_bolus" is switched to False when useGMRedi=False.
526    o verification/offline_exf_seaice:
527      - set all {field}period to zero for constant-in-time forcing (not tested
528        anywhere else).
529    o verification/offline_exf_seaice:
530      - dyn_lsr  : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice;
531      - dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice.
532    o model/src:
533      - implement Finite-Volume method for (hydrostatic) presure gradient
534        from S.-J. Lin (QJRMS 1997), for atmosphere using sigma-coordinate.
535    o pkg/seaice: implement EVP* by Lemieux et al. (2012).
536      - In order to be compatible with the default EVP code, this requires changing
537        the EVP code around a little; and because any small change immediately
538        breaks the lab_sea.hb87 verification experiment, the reference output is
539        updated two times (each time the remaining aggrement was only 2 digits):
540        - after replacing 1/dt by 1*recip_dt with a precomputed recip_dt
541        - after replacing 1/(1+0.5*dt/tau) by a/(a+1), with a=2*tau/dt
542        The adjoint test lab_sea.evp also needed to be updated.
543      - Turn on EVP* by setting SEAICE_deltaTevp as before, and setting
544        SEAICEuseEVPstar=.true.; for EVP* SEAICE_deltaTevp does not need to be
545        a factor of SEAICE_deltaTdyn, and you can set the number of EVP steps
546        explicitly with SEAICEnEVPstarSteps (thereby overriding the default of
547        INT(SEAICE_deltaTdyn/SEAICE_deltaTevp)). Controlling EVP* is deliberately
548        kept obscure, because I need to test it a little more.
549    o pkg/cheapaml:
550      - fix few incorrect type (_RL/_RS) in subroutine calls.
551    o pkg/seaice:
552      - new S/R SEAICE_MAP_RS2VEC (similar to SEAICE_MAP2VEC) to map _RS arrays
553        to _RL vector; this fixes JFNK code when compiling with "-use_r4" option.
554    o model/src:
555      - add a warning if using select_rStar=2 with nonlinFreeSurf <> 4;
556        change (in input_ad*/data) select_rStar from 2 to 1 for AD verification
557        experiments global_ocean.cs32x15 & tutorial_tracer_adjsens (+ update output)
558    o pkg/cheapaml:
559      - replace "273.1 _d 0" by celsius2K in pkg/cheapaml/cheapaml.F and
560        update output of experiment cheapAML_box.
561      - store in CHEAPAML.h coeffs ssq[0:2] for saturation specific humidity,
562        and set them only in one place (cheapaml_readparms.F).
563      - replace "273.16 _d 0" by celsius2K & replace "3.14159 _d 0" by constant "PI"
564      - remove re-setting of main-model parameter "celsius2K" (in cheapaml_readparms)
565        and re-setting of cheapAML params "lath" & "p0" (in cheapaml_init_varia).
566    o model/src/the_main_loop.F:
567      - fix revision 129 : need both ALLOW_ECCO and ALLOW_ECCO_EVOLUTION.
568    o pkg/seaice:
569      - remove legacy branch code.
570      - retire SEAICE_GROWTH_LEGACY and SEAICE_CAP_HEFF accordingly.
571    o verification/*/code*/SEAICE_OPTIONS.h:
572      - remove documentation for retired CPP flags (SEAICE_GROWTH_LEGACY,
573        SEAICE_CAP_HEFF).
574    o pkg/cheapaml:
575      - use standard routine (S/R GET_PERIODIC_INTERVAL) to decide when it is time
576        to load new forcing fields.
577      - add missing "_d 0" where it's needed; + some editing (improve indentation).
578      - remove switch to "-r8" compiler option (no longer needed) in verification
579        cheapAML_box, keep same output (small trucation error differences).
580    o verification/offline_exf_seaice:
581      - add thermodynamics only test.
582    o verification/cheapAML_box:
583      - split the domain in 8 (2x4) tiles; add MPI and multi-threaded test;
584        keep same output (same 14 digits for cg2d).
585      - switch on "-r8" compiler option (some numerical values are missing
586        the "_d 0") and update output (only 6 digits for cg2d were preserved).
587    
588    checkpoint64b (2012/12/24)
589    o pkg/cheapaml:
590      - remove un-used variables (Qnet,EmPmR) from pickup files.
591      - store tendency of advected variables into cheapaml pickup file
592        and fix the AB-2 restart.
593    o verification/offline_exf_seaice and lab_sea adjoint:
594      - switch to new code (#undef SEAICE_GROWTH_LEGACY).
595      - switch to 4 time steps in offline, consistent with lab_sea.
596      - match parameters from SEAICE_GROWTH_LEGACY branch in data.seaice.
597      - update results after change of experiment seaice.
598    o pkg/seaice:
599      - remove option SEAICE_MULTICATEGORY; has been replaced with run-time
600        parameter SEAICE_multDim. Issue a warning if SEAICE_MULTICATEGORY is
601        still defined since SEAICE_multDim needs to be set to MULTDIM value (from
602        SEAICE_SIZE.h) to recover previous #define SEAICE_MULTICATEGORY default.
603    o model/src:
604      - add run-time parameter to select CG2D solver minimum-residual solution
605        (in case of a poor convergence).
606    o pkg/seaice/seaice_lsr.F
607      - move calculation of matrix coefficients into new
608        S/R SEAICE_CALC_LSR_COEFFS; for now this routine remains in the same
609        file; the main purpose of this change is to be able to reuse the code
610        in S/R SEAICE_PRECONDITIONER
611      - modify the computation of the residual so that the mass of sea-ice
612        is not used twice; this simplifies the calculations, but since
613        the residual is never used except when LSR_mixIniGuess.ge.4---and this is
614        not tested in testreport---this does not affect the testreport results.
615    o verification/seaice_obcs:
616      - disable SEAICE_GROWTH_LEGACY; reset input files to match those of
617        verification/lab_sea/input.salt_plume; changes results/output.txt*
618    o model/src:
619      - adapt quasi-hydrostatic formulation to work with p or p* coordinate.
620    o pkg/seaice:
621      - improve description of parameters in seaice_fgmres.F and start
622        cleaning up the code
623      - change name of SCALPROD to SEAICE_SCALPROD and modify meaning of
624        second argument
625      - add a metric based on grid cell area to SEAICE_SCALPROD; update
626        results of offline_exf_seaice.dyn_jfnk
627      - compute initial residual norm in seaice_jfnk based on SEAICE_SCALPROD
628    o pkg/aim_v23:
629      - fix an other bug in dissipation heating (grid-cell area was missing).
630    o model/src + pkg/seaice:
631      - add global (multi-tile) linear solver for pair of tri-diagonal system
632        along X and Y lines, respectively for U and V component.
633        Note: 1) MPI and cube-exchange not yet coded.
634            2) probably not accurate for poorly conditioned / large size problem.
635      - add option for SEAICE_LSR to use global (multi-tile) tri-diagonal solver;
636        default: not compiled and not used.
637    o pkg/seaice:
638      - first attempt at a multi-threaded fgmres solver for the JFNK solver:
639        introduce bi/bj loops and use global_sum_tile_rl instead of
640        mpi_allreduce in seaice_fgmres.F
641      - improve diagnostics output for fgmres solver (seaice_fgmres.F)
642      - replace a few unnecessary goto statements by if-blocks  (seaice_fgmres.F)
643      - add a verification experiment for JFNK in offline_exf_seaice
644    o verification:
645      - change (for now, only fwd test) offline_exf_seaice experiment:
646        use a re-entrant channel with idealized coastline (trapezoidal shape)
647        at southern boundary to explore seaice dynamics and thermodynamics
648        with simple forcing. Main set-up has dynamics+thermo and SST relaxation;
649        secondary test (input.thsice) use thermodynamics only with SST relaxation.
650      - add seaice-dynamics only secondary test using LSR and pkg/thsice advection.
651    o pkg/exf:
652      - disable "sstExtrapol" when Nr=1
653    o verification:
654      - add new experiment "cheapAML_box" (simple 1 layer set-up from Bruno Deremble)
655        to test pkg/cheapaml.
656    o pkg/aim_v23 & pkg/shap_filt:
657      - fix dissipation heating (erroneous gravity multiplication factor).
658    o pkg/seaice:
659      - remove unused field pressPre from jfnk solver
660      - rename two subroutines in seaice_preconditioner.F
661    o eesupp/src:
662       - S/R MDSFINDUNIT avoids reserved unit numbers (scrUnit1, eeDataUnit ...)
663    o pkg/seaice/seaice_preconditioner.F: fix preconditioner once again
664       - remove wrong parts of the rhs and the lhs (were in there
665         because I did not understand the concept of this preconditioner)
666       - add an exchange between u- and v-sweep. This increases communication
667         by a factor of two but improves the convergence of jfnk. Ideally,
668         one would like the u- and v-sweep to be independent. So far within
669         undocumented ifdefs
670       - reorganize the extra computations for printing the residuals
671    o tools/genmake2:
672      - comment out the "mpif.h" include in NetCDF test programm (for MPI built)
673        since it's not necessary (and was preventing to use MNC in some cases).
674    
675    checkpoint64a (2012/11/16)
676    o pkg/autodiff:
677      - improve pkg-internal logical parameter switch (inAd/inFwd mode) so that
678        autodiff_readparms.F no longer depends on calling order (within
679        packages_readparms.F) and no longer requires to include ${PKG}_PARMS.h):
680        rename param turnFreeDriftInAdMode to SEAICEuseFREEDRIFTswitchInAd
681        and change param SEAICEuseDYNAMICSinAdMode to SEAICEuseDYNAMICSswitchInAd.
682    o pkg/obcs:
683      - adding tidal velocity forcing capability to obcs
684        for usage example, see verification/seaice_obcs/input.tides
685    o pkg/seaice:
686      - turn the LSR-relaxation parameters WFAU/V into runtime parameters
687        SEAICE_LSRrelaxU/V
688      - introduce runtime parameter SEAICEetaZmethod (=0 by default)
689    o pkg/aim_v23:
690      - implement heating from friction (bottom friction and stratospheric drag).
691    o pkg/shap_filt:
692      - fix diagnostic "SHAP_dKE" (was 2 time smaller); implement heating from
693        dissipation but only for Shap_funct=2, active when addFrictionHeating=T.
694    o model/src:
695      - move AddMass common block from DYNVARS.h to FFIELDS.h; allow to read-in
696        time-constant addMass field from file (addMassFile);
697      - support for heating due to friction (and Kinetic Energy dissipation):
698        add option, run-time switch and 3-D field array + support code ; each pkg
699        or S/R can add heating contribution (if there is a sink of KE); the sum is
700        accounted for as a Temperature tendency term (EXTERNAL_FORCING_T).
701    o pkg/seaice:
702      - complete merge of ITD code into seaice_growth.F
703        from MITgcm_contrib/torge/itd/code/
704        no verification so far, but Torge Martin tested
705        "1-D test case and Beaufort set up;
706        deliver okay results after 1 model year."
707      - complete merge of SEAICE_SIZE.h into all relevant routines
708      - move computation of eta at Z-points into calc_viscosities
709        + introduce global field etaZ
710        + add different methods for computing etaZ, for now the old
711          method (simple averages of eta to Z-points) is hardwired
712        + replace etaMeanZ by etaZ in seaice_lsr, seaice_calc_residual,
713          seaice_preconditioner
714      - simplify computations for SEAICE_ZETA_SMOOTHREG
715      - seaice_preconditioner:
716        + replace one remaining press by pressLoc (mistake)
717        + adjust printing of residuals
718      - improve I/O of diagnostics of JFNK in seaice_jfnk.F:
719        + add (SEAICE.h) and rename some counters (initiliased in
720          seaice_init_fixed.F)
721        + add _BEGIN/END_MASTER (myThid)  around print statements
722        + print total number of iterations and failures over SEAICE_monFreq
723          interval to STDOUT
724      - move control over output-messages by fgmres to seaice_jfnk to save
725        some operations
726      - move resetting initial guess for fgmres outside of seaice_fgmres_driver
727        in order to make restarts with sol .ne. zero (fgmres with restarts)
728        (seaice_jfnk.F, seaice_fgmres.F)
729      - seaice_calc_l/rhs.F: replace maskW/S by maskInW/S; this fixes
730        a serious convergence problem when open boundaries are involved
731    o pkg/ggl90: fix computation of control volumes for the case of
732      ALLOW_GGL90_HORIZDIFF (probably not used very often): move control volumes
733      up half a grid cell from C-centered to W-centered (pointed out by C. Eden)
734    o pkg/seaice: simplify seaice_evp by avoiding use of extra fields u/vIceC
735    o pkg/autodiff
736      - Add inAdMode switch for SEAICEuseDYNAMICS:
737        SEAICEuseDYNAMICSinAdMode
738        (extend logic in ADAUTODIFF_INADMODE_SET)
739    o pkg/seaice
740      - Step 1 of merging ice-thickness distribution (ITD) code from
741        MITgcm_contrib/torge/itd/ (author: Torge Martin)
742        The code implements concept laid out in Thorndike et al. (1975);
743        code is enabled via CPP flag SEAICE_ITD
744        nITD (in SEAICE_SIZE.h) defines number of ice thickness categories;
745        code is not complete yet!!
746      - SEAICE_SIZE.h now included in almost all seaice routines
747    o verification (using seaice):
748      - switch back seaice-dynamics (+ lower SOLV_MAX_ITERS) in ADM exp.
749        global_ocean.cs32x15.seaice ; update results.
750      - compile B-grid dynamics in FW test exp 1D_ocean_ice_column ;
751      - compile C-grid dynamics with #define SEAICE_ALLOW_JFNK in FW test exp
752        offline_exf_seaice (previously compiling B-grid).
753    o pkg/exf:
754      - fix some STOP conditions in exf_check.F (from Aug 28, modifs did not allow
755        to specify neither just 1 comp of wind or wind-stress, nor no surface momentum
756        forcing): just replace CPP option ALLOW_ATM_WIND with run-time param useAtmWind.
757    o pkg/layers (adjust changes from Sept 19):
758      - do snap-shot output and fill diagnostics from inside iLa loop (layers_calc.F)
759        this allows to remove "layers_maxNum" dimension from all layers arrays.
760    o pkg/layers (adjust changes from Sept 19):
761      - remove ALLOW_LAYERS_OUTPUT ; fix snap-shot and time-ave output ;
762      - snap-shot extended to all type of layers (not just the 1rst type);
763      - remove layers variables when corresponding CPP option is undef.
764    o pkg/layers:
765      - rename pkg/layers variable and add new output (layer exist & un-weighted
766        velocity in layer)
767    o pkg/seaice:
768      - simplify (?) ocean-drag coefficent computations by using
769        the same routine in all three solvers (saves some code lines)
770      - remove global fields DRAGA and DRAGS from C-grid code and
771        declare them locally in lsr.F (the only place where they are
772        still used)
773      - update AD output of lab_sea.evp (very sensitive anyway).
774    o pkg/seaice: add Jacobian-free Newton Krylov solver for ice dynamics
775      (Lemieux et al. 2010, 2012). Turn on with the usual SEAICE_ALLOW_JFNK
776      and SEAICEuseJFNK=.true. A few things to note:
777      - involves a FGMRES, that is parallel but very inefficient,
778        because of many scalar products (global sums) in the Gram-Schmidt
779        orthogonalization method. Needs to be replaced. Original code
780        from J.-F. Lemieux
781      - preconditioner for FGMRES is a stripped down version of LSOR
782      - SOLV_MAX_ITERS is now used for LSOR as a solver and as a
783        preconditioner. For the preconditioner, the default is set to 10.
784      - Jacobian times vector is computed with finite differences
785      - marginally related to JFNK-solver: add a smooth regularization for
786        zeta with tanh that will improve convergence (Lemieux and Tremblay,
787        2009) for any implicit solver (not implemented for EVP because EVP
788        does not need this regularization in the first place). Define
789        SEAICE_ZETA_SMOOTHREG in SEAICE_OPTIONS.h to use.
790    o eesupp/src:
791      - check in genmake2 that intrinsic S/R flush is available.
792      - add S/R to flush IO unit (if intrinsic S/R flush is available)
793      - flush standard & error msg unit before MPI termination
794      - if debugMode, flush IO unit after printing msg
795    o pkg/ctrl:
796      - ctrl_unpack.F, ALLOW_GENARR3D_CONTROL code: fix missing argument in call
797        to ctrl_set_unpack_xyz.
798    
799    checkpoint64 (2012/10/09)
800    o pkg/shelfice
801      - in mom_fluxform.F, mom_vecinv.F:
802        CALL SHELFICE_V_DRAG(bi,bj,k,vFld,KE,KappaRU,vF,myThid)
803        Bug fix KappaRU -> KappaRV
804        does not change verification/isomip but may change other setups
805        (presumably constant KappaRU=KappaRV)
806      - fix diagnostics SHIU/Vdrag (thanks to Tom Millgate)
807    o pkg/obcs:
808      - fixed some indexing bugs in obcs_seaice_sponge.F
809      - added obcs relaxation subroutines for HSALT and HSNOW
810      - changes verification/seaice_obcs/results/obcs_seaice_sponge.F
811    o pkg/seaice:
812      - add "multicategory" parameterization for snow in analogy to ice,
813        default is off for now.
814    o pkg/obcs:
815      - added obcs_seaice_sponge.F for obcs relaxation of seaice variables;
816        see verification/seaice_obcs/input.seaiceSponge for example application.
817      - remove local commom bloc "OBCS_GLOBAL" in obcs_readparms.F and do all the OB
818        index setting by master-thread. This fix multi-threads Pb in previous modifs.
819    o pkg/layers :
820      - add diagnostics to pkg/layers
821      - move the meat of pkg/layers from layers_calc.F to layers_fluxcalc.F
822        (from R.Tulloch). Layers_calc.F now calls layers_fluxcalc.F accordingly.
823    o pkg/generic_advdiff/gad_implicit_r.F :
824      - fix ADVr diagnostics in case of both implicit vertical advection and diffusion.
825    o pkg/seaice/seaice_growth.F:
826      - fix SItflux diagnostics in virtual salt flux + balanceEmpmr case.
827    o pkg/obcs:
828      - change default setting of OBCS_UVICE_OLD from defined to undef;
829      - use new parameter OB_indexNone for null index value (instead of hard-coded 0)
830        in all pkg/obcs code and in other pkgs; remove k loop in obcs_check_depths.F;
831      - pass OB_indexNone as (new) argument to S/R CTRL_MASK_SET_[X,Y]Z;
832      - change OB null index value (OB_indexNone) to -99 ; this fix the problem
833        with Southern & Western OB at a tile edge (at least in a simple set-up).
834    o pkg/obcs:
835      - change settings of OB index in case OB coincides with tile edge (shared by
836        2 tiles), so that common OB location is registered by both tiles (instead of
837        only 1). However, for Southern and Western OB, index value = 0 is not
838        recognized as valid OB index (=default null value) and needs to be fixed.
839      - modify accordingly OBCS_BALANCE_FLOW and OBCS_MONITOR (avoid double counting)
840      - new parameter "OB_indexNone" for null index value (for now, still zero)
841        to replace hard-coded null index value of zero.
842    o pkg/exch2:
843      - improve W2_USE_E2_SAFEMODE (faster) and W2_E2_DEBUG_ON:
844        always check buffer-size (but outside the loop); move checking for valid
845        index from W2_USE_E2_SAFEMODE to W2_E2_DEBUG_ON; in W2_E2_DEBUG_ON,
846        print each tile and point connection only if |W2_printMsg|>= 2 and 3.
847    o pkg/ctrl (pack & unpack):
848      - in ctrl_pack.F & ctrl_unpack.F, use the same local file-name variable
849        (locally defined) for different variables (+ remove the variable-specific
850        file name in CTRL_GENARR.h). For now, only implemented for GENARR2/3D_CONTROL
851        (to be extended to other local file names in ctrl.h).
852    o pkg/flt:
853      - add a FLT_Iter0 option (similar to PTRACERS_Iter0).
854    o pkg/mdsio:
855      - fix missing STOP in mdsio_readvec_loc.F (case ioUnit=0) when file is missing
856    o tools/genmake2:
857      - add similar dependences for target EXE_AD & EXE_FTL as we have for EXECUTABLE
858        (added by Alistair in version 1.51 for building without make depend);
859      - remove Header files list (H_SRC_FILES) from the dependence of targets
860         ad_input_code.f & ftl_input_code.f (not clear why it was added in the first
861        place in version 1.23): this save going through staf when unrelated header
862        file has been modified.
863       Note: for an intermediate target (e.g., ad_input_code.f or adtaf) without
864        "make depend" step, still need to do "make links" before "make adtaf".
865    o eesupp/src (+ few pkg src files) & genmake2:
866      - finish to remove ALWAYS_USE_MPI in source code that TAF does not see;
867      - no longer set ALWAYS_USE_MPI in Makefile (was done by genmake2).
868      - improve genmake2 checking for ALLOW_${PKG} in CPP_OPTIONS.h files (distinguish
869         upper/lower case ; account for space between "#" and undef/define)
870    o pkg/flt (with exch2):
871      - cleaning: fix so that it compiles; move remaining MPI calls out of flt_exch2.F;
872      - simplify threads synchronisation; fix (many issues) multi-threaded with MPI.
873    
874    checkpoint63s (2012/09/05)
875    o pkg/ecco:
876      - remove #ifdef ALLOW_SMOOTH_CORREL3D brackets.
877      - add more relevant #ifdef ALLOW_SMOOTH ones.
878      - sort out useAtmWind, useSMOOTH, ctrlSmoothCorrel2D.
879    o pkg/ctrl:
880      - CTRL_OPTIONS.h : document CPPs related to smoothing; ALLOW_SMOOTH_CORREL2D/3D,
881        ALLOW_CTRL_SMOOTH, ALLOW_SMOOTH_CTRL2D, ALLOW_SMOOTH_CTRL3D.
882      - ctrl.h : document run time params doInitXX, doMainPack, doMainUnpack, doPackDiag,
883        doSinglePrecTapelev (audodiff param!), ctrlSmoothCorrel2D (new) and
884        ctrlSmoothCorrel3D (new).
885        The added ctrlSmoothCorrel2D/3D replace the old ALLOW_SMOOTH_CORREL2D/3D CPP.
886      - ctrl_readparms.F : initialise ctrlSmoothCorrel2D/3D and read from namelist.
887      - ctrl_init.F ctrl_pack.F ctrl_unpack.F : switch off ustress/vstress
888        controls when useAtmWind, and vice versa.
889      - ctrl_map_ini_ecco.F : UVEL0, VVEL0, edtaux, edtauy cannot be smoothed as tracers.
890      - ctrl_get_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL2D with
891          #ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel2D, IF useSMOOTH.
892      - ctrl_map_ini_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL3D with
893          #ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel3D, IF useSMOOTH.
894      - ctrl_set_pack_xy[z].F, ctrl_set_unpack_xy[z].F:
895        replace ALLOW_SMOOTH_CORREL2D/3D brackets with ctrlSmoothCorrel2D/3D.
896    o pkg/smooth:
897      - remove un-necessary includes.
898      - remove ALLOW_SMOOTH*D and ALLOW_SMOOTH_CORREL*D brakets.
899        Those CPP options were never defined, and not necessary.
900    o model/src:
901      - fix CPP brackets in ini_mixing.F (GM_background_K belongs to gmredi).
902      - standard treatment of useSMOOTH.
903    o pkg/autodiff:
904      - add LOGICAL useGGL90inAdMode, useGGL90inFwdMode, useSALT_PLUMEinAdMode,
905        useSALT_PLUMEInFwdMode allowing to switch off ggl90 and salt_plume adjoint.
906    o pkg/exch2:
907      - add "if usingMPI" where it was missing (in exch2_rx?_cube*.template)
908        + start to remove ALWAYS_USE_MPI in source code that TAF does not see.
909      - make new S/R W2_MAP_PROCS out of w2_eeboot.F to setup exch2 CommonFlag
910        and tiles to process mapping.
911      - re-arrange 3 header files (W2_EXCH2_PARAMS.h, _BUFFER.h & _TOPOLOGY.h)
912        moving /EXCH2_FILLVAL_RX/ & /W2_EXCH2_COMMFLAG/ to W2_EXCH2_TOPOLOGY.h;
913        rename "exch2_tProc" to "W2_tileProc" and move seting of e2FillValue_RX
914        from w2_eeboot.F to w2_readparms.F.
915    o eesupp/src:
916      - set exchNeedsMemsync & exchUsesBarrier according to "usingMPI" (instead of
917        ALWAYS_USE_MPI) + moved from ini_communication_patterns.F to eeset_parms.F;
918        also move setting of exchCollectStatistics from exch_init.F to eeset_parms.F
919      - in eedie.F and all_proc_die.F, always call MPI_FINALIZE when ALLOW_USE_MPI
920        is defined (remove condition on usingMPI) to match cases where MPI_INIT
921        has been called.
922      - fix bug I put in previous modif of exch_sm_3d_rx.template (not much used);
923      - change default (non-MPI) value of myPid (from 1 to 0) to match MPI settings
924        (so that on 1 proc, get same myPid independently of usingMPI)
925      - add a stop if multi-procs but usingMPI=F ; stop also if usingMPI=T and
926        useCubedSphereExchange with EXCH-1 (safer).
927      - add "if usingMPI" where it was missing (+ start to remove ALWAYS_USE_MPI).
928    o pkg/ggl90:
929      - fix bug in filling corner mask array "mskCor" (FILL_CS_CORNER_TR_RL call)
930        used in ALLOW_GGL90_SMOOTH code.
931    o pkg/flt:
932      - fix typo in FLT_WITHOUT_Y_PERIODICITY (the effect was to ignore stopping
933        floats at the Southern end of the domain).
934    o eesupp/inc:
935      - add a list of CPP-options which can be set by Makefile (DEF_IN_MAKEFILE.h);
936        but not used (and not to be used) anywhere, just for documentation.
937    o pkg/autodiff, exf, ptracers & seaice (AD & TL output):
938      - comment out the very nasty "writeBinaryPrec = writeStatePrec" line, since:
939        a) can damage previously written records in any other multi-record files.
940        b) if needed, can easily do it cleanly, by calling S/R WRITE_REC_3D_RL/S.
941    o tools/genmake2:
942      - define variable MAKE within Makefile and use it in place of 'make';
943      - update AD_CONFIG.h (if needed) before building any of the executable
944        (forward, adjoint or tangent-lin); this involves a 2nd invocation of make;
945        and add the usual #ifndef/#define AD_CONFIG_H in AD_CONFIG.h;
946      - always print usual warning comment 'this file is automatically generated'
947        from script convert_cpp_cmd2defines (+ remove this warning from genmake2).
948    o pkg/cheapaml:
949      - updated to correspond to the code used in accepted paper (Nico Wienders).
950    o pkg/exf:
951        added run time switch useAtmWind to replace ALLOW_ATM_WIND cpp switch.
952        ALLOW_ATM_WIND now just sets the useAtmWind default (see exf_readparms.F)
953        and force defines ALLOW_BULKFORMULAE (EXF_OPTIONS.h).
954    o pkg/exf, autodiff, ctrl, ecco and seaice:
955        remove ALLOW_ATM_WIND brackets, or replace them with useAtmWind ones.
956    o pkg/ctrl, ecco:
957        allow to compile both ALLOW_U/VSTRESS_CONTROL and ALLOW_U/VWIND_CONTROL.
958        Depending on useAtmWind, one is inactive, and the other is active (see
959        exf_getffields.F/exf_getsurfacefluxes.F).
960  o tools/genmake2:  o tools/genmake2:
961    - improve error msg when failing in 2nd test of check_for_broken_Ff    - improve error msg when failing in 2nd test of check_for_broken_Ff
962    - fix option '-makefile' short-name (-mf according to genmake2 -help)    - fix option '-makefile' short-name (-mf according to genmake2 -help)

Legend:
Removed from v.1.1724  
changed lines
  Added in v.1.1904

  ViewVC Help
Powered by ViewVC 1.1.22