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

  ViewVC Help
Powered by ViewVC 1.1.22