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

Legend:
Removed from v.1.1711  
changed lines
  Added in v.1.1919

  ViewVC Help
Powered by ViewVC 1.1.22