/[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.2019 by jmc, Thu Jul 10 00:24:24 2014 UTC revision 1.2212 by mlosch, Wed Dec 16 14:28:12 2015 UTC
# Line 4  $Name$ Line 4  $Name$
4      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
5      ==============================      ==============================
6    
7    o pkg/seaice: fix bug in tridiagonal solvers for SEAICE_OLx/y>0, this affects
8      the JFNK solver (offline.dyn_jfnk) and global_ocean.cs32x15.seaice
9      -> updated
10    o pkg/seaice: fix a bug in computing areaS in (J-J -> J-1)
11      that affects runs when SEAICEscaleSurfStress=.TRUE.
12    o pkg/atm_phys:
13      - add diagnostics for 3-D, Nr+1 levels diagnostics of radiative fluxes
14        (shortwave & longwave, net & downward) and diagnostics of temp. tendency
15        for individual contribution (convection, LSC cond, radiation)
16      - add Ruth Geen etal, GRL 2016, radiation optionis (see paper supp.
17        information); activated with: solar_exponent=0. and wv_exponent=-1.
18    o pkg/ggl90:
19      - within IDEMIX add upper limit for horizontal group velocity to
20        avoid instability problems in the explicit horizontal diffusion term for
21        long time steps or high resolution
22    o pkg/diagnostics:
23      - simplify setting of local-array size in diagstats_output.F: uses "numLevels"
24        (from DIAGNOSTICS_SIZE.h) to allow to write out more than Nr levels.
25    o testreport:
26      - remove "-v" (verbose option) in default mpirun command.
27    o pkg/seaice/seaice_growth:
28      - catch potential division by zero in ITD code, does not change
29        verification results
30    o pkg/ecco:
31      - retire old codes to the Attic. The calls to retired functions are
32        left in a commented form in case they ever need to be re-activated.
33      - ecco_check.F: issue warning if any old CPP option is
34        defined that corresponds to retired codes -- then stop.
35    o pkg/atm_compon_interf:
36      - change seaice fraction (use for OCN dic surf.flux) stored and sent to
37        coupler: use last time-step value instead of average over cplSendFrq_iter
38        time-step, similar to what is done for seaIceMass.
39        This will affect results (pkg/dic) of coupled ATM-OCN+dic set-up.
40    o eesupp & genmake2:
41      - from Jinxuan Zhu: change etime fct call to S/R call (fix gfortran ETIME);
42        <= remove until a fix is found for some ifort version on ia32 machine.
43    o pkg/seaice/seaice_evp:
44      - refine residual computation
45    
46    checkpoint65q (2015/11/18)
47    o pkg/seaice/seaice_evp:
48      - fix residual computations so that they no longer affect the actual
49        simulation code
50      - fix seaice_readparams to be able to actually set new parameters
51        SEAICEaEVPcStar and SEAICEaEVPalphaMin, also fix logic a little
52    o model/src:
53      - fix wrong truncation (single prec) from "FLOAT" function in expressions
54        like: deltaT*FLOAT(myIter) when myIter is large:
55         a) replaced by DFLOAT (if not seen by TAF);
56         b) remove "FLOAT" and use implicit type conversion (if seen by TAF).
57    o pkg/aim_v23:
58      - write/read the expected CO2 pickups (from S/R AIM_DO_CO2): fix reading
59        when pickupSuff is set ; do write rolling pickups + at the end of the run.
60    o pkg/atm_ocn_coupler + ocn_compon_interf:
61      - in prep for using pkg/seaice Dyn in coupled set-up, implement sequential
62        coupling option-1: ATM -(cpl)-> OCN and then OCN -(cpl)-> ATM ;
63        add corresponding call in DO_OCEANIC_PHYS.
64    o coupler pkgs:
65      Start a new way to set-up optionally-exchanged variables (previously, only
66       there for exchange_DIC): switch on/off from 1 place, at run-time, in coupler
67       data.cpl (new) instead of at compile time in ATMIDS.h & OCNIDS.h ;
68       send switch to ATM & OCN compon before reading their own "data.cpl" (so that
69       compononent param default can be set accordingly).
70      Note: this new switch (cpl_exchange_[xxx]) is not a per variable switch
71       but rather applies to a group a fields (going both ways like for DIC)
72       and corresponds to an option of coupling config.
73      coupler (pkg/atm_ocn_coupler):
74      - change parameter file from "data" to "data.cpl" (in cpl_read_params.F),
75        and read namelist directly (without eessup S/R calls) instead of
76        in the very un-flexible old way, 1 param per line, in fixed order;
77      - add error-counter to track errors (e.g., missing "data.cpl") and to stop
78        cleanly in CPL_CHECK_CPLCONFIG
79      - add new coupling-exchange selectors (some not yet active) including
80        cpl_exchange_DIC (to set to 3 to replace atmCpl_exchange_DIC=T in ATMIDS.h
81                                             and ocnCpl_exchange_DIC=T in OCNIDS.h);
82      - add 2 new S/R (CPL_SEND_ATM/OCN_CPLPARMS) to send coupler-params to each
83        component ; called directly from coupler.F, after comp. registrations;
84      - rename few variable-ID names (in ATMIDS.h & OCNIDS.h):
85         atm/ocnSeaIceName --> atm/ocnSIceMassName ; atm/ocnFCO2Name ->
86          -> atm/ocnCO2FluxName ; atm/ocnWSpdName --> atm/ocnWindSpdName
87      components (pkg/atm_ & ocn_compon_interf):
88      - add ATM/OCN_CPL_OPTIONS.h in component pkgs and include the corresponding
89        CPP header file in all pkg source files.
90      - move checking of comp. configs out of cpl_exch_configs.F into new S/R
91        ATM/OCN_CHECK_CPLCONFIG;
92      - add error-counter to track errors (e.g., in "data.cpl") and to stop
93        cleanly in ATM/OCN_CHECK_CPLCONFIG;
94      - add new S/R CPL_IMPORT_CPLPARMS to import coupling-exchange selectors
95        from coupler ; called from initialise_fixed.F, after PACKAGES_BOOT and
96        before PACKAGES_READPARMS;
97      verification/cpl_aim+ocn/:
98      - update ATMIDS.h & OCNIDS.h (in shared_code) and use new parameter file
99        "data.cpl" for coupler (in input_cpl).
100    o eesupp/inc:
101      - change the MPI-global-sum default (in CPP_EEOPTIONS.h) to:
102        #define GLOBAL_SUM_ORDER_TILES (only affects MPI built of global_sum_tile.F)
103        to always cumulate tile local-sum in the same order (still uses
104        MPI_Allreduce like standard code).
105      - in verification experiment code, remove local CPP_EEOPTIONS.h_mpi files
106        that are now identical to standard version (in eesupp/inc).
107    o pkg/shelfice:
108      - add SHELFICETransCoeffTFile for initializing spatially varying
109        heat and salt transfer coefficients
110    o pkg/atm_compon_interf & ocn_compon_interf:
111      - combine into 1 (new) S/R CPL_EXPORT_IMPORT_DATA the two previous
112        S/R CPL_EXPORT_MY_DATA & CPL_IMPORT_EXTERNAL_DATA
113      - move bi,bj loops inside S/R OCN_STORE_MY_DATA
114    o pkg/atm_ocn_coupler:
115      - initialise to zero ATMVARS.h & OCNVARS.h arrays.
116    o pkg/rbcs:
117      - select RBCS-mask for Temp & Salt the same way as for pTracer ; this allows
118        to compile with maskLEN=1 when all tracers use the same RBCS-mask.
119      - add a short report (to STDOUT) about RBCS-mask settings.
120    
121    checkpoint65p (2015/10/23)
122    o pkg/seaice/seaice_evp.F: fix store directives and key computations, since
123        there is no adjoint test for EVP, we don't know what it does to the adjoint
124        solution, but at least there are no more recomputation warnings left
125    o pkg/seaice/seaice_evp.F: slight modification of averaging so that EVP stands
126        a chance of giving the same results as a fully converged VP (JFNK) solver
127    o tools/adjoint_options/adjoint_diva:
128      - fix bug (typo) in Tang-Linear FLAGS setting for MPI + DIVA
129    o pkg/streamice:
130      - spotted bug in streamice_driving_stress using dyG where should have been dxG
131    o pkg/exf:
132      - remove STOP statement that prevented to use wind or (wind-)stress
133        interpolation for constant-in-time forcing fields (wind/stress period = 0).
134    o pkg/seaice:
135      - replace SEAICE_EVP_USE_ADAPTATION by run time parameters, requires
136        5 additionals 2D fields and 6 new store directives
137      - change logic in seaice_readparms.F: EVP code can now be turned on in
138        various ways, setting SEAICE_deltaTev is no longer required,
139        alternatively set SEAICE_evpAlpha/Beta, SEAICEuseEVPstar, SEAICEuseEVPrev,
140        or SEAICEaEVPcoeff
141    o pkg/shelfice/shelfice_thermodynamics.F
142      - redefining uLoc/vLoc to u/v, instead of 2u/v
143    o pkg/seaice/seaice_evp.F: introduce "adaptive EVP" by Madlen Kimmritz
144      - this is an intermediate state of a truely converging EVP that has
145        the potential of outperforming implicit VP methods, I do not recommend
146        using it yet.
147      - for now, "adaptive EVP" is turned on by setting SEAICE_EVP_USE_ADAPTATION
148        and all parameters are hardwired
149      - for convergence it still requires very smooth regularisations, that means,
150        if SEAICE_DELTA_SMOOTHREG is defined, deltaCreg=deltaC+deltaMin, which is
151        different from the VP case with deltaCreg=sqrt(deltaC**2+deltaMin**2); also
152        specific averaging appears to be required, still subject to tuning
153      - still needs cleaning and I need to turn parameter into runtime parameters
154      - add code to compute and print residuals of iteration, compile with
155        defining ALLOW_SEAICE_EVP_RESIDUAL to enable it
156    o pkg/seaice/seaice_evp.F: fix a bug (factor of four in front of e12Csq)
157      that entered with r1.54 on Sep04, 2015, -> update results
158    
159    checkpoint65o (2015/09/14)
160    o pkg/mom_vecinv & mom_common:
161      - add deep-atmosphere geometry factor in mom_calc_visc.F + in routines
162        called from there.
163      - add anelastic and deep-atmosphere geometry factor in pkg/mom_vecinv ; this
164        allows to use Vector-Invariant form in deep atmos and anelastic formulation
165    o pkg/seaice: introduce fast ice parameterisation following Itkin et al. (2015)
166      and Koenig-Beatty+Holland (2012)
167      - two new parameters SEAICE_tensilFac and SEAICE_tensilDepth
168      - global 2D field tensileStrength, computed in seaice_calc_ice_strength
169      - requires an extra input argument for S/R seaice_calc_viscosities
170      - tensileStrength's depth dependence is different from Itkin et al. (2015)
171        (to be changed and played with, for now exponential)
172    o pkg/seaice: introduce new parameter SEAICEscaleSurfStress (default = .FALSE.)
173      - if TRUE scale ice-ocean and ice-atmosphere stress acting on sea ice
174        by AREA according to Connelly et al. (2004), JPO.
175      - For EVP and the LSR solver, the implicit part of the drag term is
176        the only non-zero term in the denominator when there is no ice (which
177        prevented running the model with zero ice-ocean drag). If
178        SEAICEscaleSurfStress = .TRUE., this results in a division by zero
179        (or zero main diagonals BU/BV) which need to be caught. A practical
180        consequence is that for open water, the momentum equation reduce
181        to trivially 0 = 0 + 0 (for EVP). For LSR, BU/BV are reset to 1, if
182        they happen to be zero, often leading to a non-zero solution over
183        open water.
184    o pkg/seaice: revise EVP code (seaice_evp.F) in preparation for a more
185        efficient EVP method.
186      - introduce area-weighted averages for e12 (analogously to
187        seaice_calc_viscosities.F); this totally changes lab_sea.hb87 (2 digits
188        remain, but also changing the order of terms in the previous average
189        changed the results as much) -> update experiment
190      - add SEAICE_DELTA_SMOOTHREG code
191      - disentangle computation of zetaC/deltaC and zetaZ/deltaZ, also for
192        TEM-code
193      - adjust loop bounds so that only required fields are computed
194      - add new averaging code for zetaZ/deltaZ (again similar to
195        seaice_calc_viscosities.F), inactive by default for now (will change
196        results again), but will replace old code eventually
197    o eesupp/src:
198      - add an other alternative for multi-proc GLOBAL_SUM (in global_sum_tile.F)
199        to always cumulate tile local-sum in the same order
200        (option #define GLOBAL_SUM_ORDER_TILES in CPP_EEOPTIONS.h).
201        Still uses MPI_Allreduce (like standard code) but on array of tiles
202        and should be faster than GLOBAL_SUM_SEND_RECV code.
203      - switch almost all verification experiments that use GLOBAL_SUM_SEND_RECV
204        (defined in CPP_EEOPTIONS.h_mpi) to GLOBAL_SUM_ORDER_TILES instead.
205      - add CPP_EEOPTIONS.h_mpi with GLOBAL_SUM_ORDER_TILES defined in 14 more exp.:
206         aim.5l_cs, cheapAML_box, deep_anelastic, dome, fizhi-cs-32x32x40,
207         fizhi-cs-aqualev20, fizhi-gridalt-hs, global_ocean_ebm, matrix_example,
208         natl_box, solid-body.cs-32x32x1, tutorial_advection_in_gyre,
209         tutorial_baroclinic_gyre and tutorial_held_suarez_cs.
210    
211    checkpoint65n (2015/07/29)
212    o pkg/thsice:
213      - add a warning when used with pkg/aim but without updating SST
214        (stepFwd_oceMxL=F & useCoupler=F & tauRelax_MxL<>-1 ).
215    o pkg/offline:
216      - change where Offline-Fields are loaded, from load_fields_driver.F to
217        directly within FORWARD_STEP, just after updating iter number and time;
218      - move setting of GM and KPP diffusivity out of OFFLINE_FIELDS_LOAD into new
219        S/R OFFLINE_GET_DIFFUS that is called towards the end of DO_OCEANIC_PHYS;
220       These changes allow:
221        a) to recover exactly on-line results using deltaToffline=deltaTClock,
222        tested (using offlineIter0= nIter0 -1 and offlineTimeOffset= -deltaT/2)
223        both with Lin & Non-Lin Free-Surf, both with staggerTimeStep & synchronous
224        time-step, both with GM & KPP files and with recomputing these fields;
225        b) no needs to switch on staggerTimeStep anymore;
226        c) simplify rescaling of offline horiz. velocity with Non-Lin Free-Surf.
227      - update output of experiment tutorial_dic_adjoffline (only 3 digits left).
228    o pkg/offline:
229      - change (rarely used) offset-iteration parameter to an offset time (in s):
230        can easily recover previous offset-iter effect by setting offset-time
231        (offlineTimeOffset) to offset-iter x deltaToffline;
232      - do not turn-off Temp & Salinity surface relaxation when using KPP (used
233        in KPP as part of surface buoyancy forcing) in offline run.
234      - fix ptracers KPP non-local term in the case where KPP is re-computed.
235    o OpenAD
236      - Adding preliminary ggl90 test to OpenAD verification.
237        Config. with ggl90 currently diverges after 64 time steps
238        so will need more work to become more stable
239      - Adding preliminary kpp test to OpenAD verification.
240        required small tweakes in kpp_routines.F
241      - Merge and update from Krishna Narayanan's contrib area:
242        * Add one variable for preliminary OpenAD DIVA
243        * Add replacement time-stepping for OpenAD DIVA
244        * genmake2 flag -diva (but only for OpenAD; preliminary)
245        * required modifs for OAD_support
246        successful preliminary test for tutorial_global_oce_biogeo/
247    o pkg/seaice:
248      - initialise deltaC in seaice_lsr, cosmetic changes in seaice_lsr
249      - add cpp-flag SEAICE_DELTA_SMOOTHREG for option of regularising
250        delta with a smooth function in s/r seaice_calc_viscosity
251        (no effect on EVP)
252      - rename local suffix "sqr" into "sq" for more consistent variable names
253    o pkg/seaice:
254        add new parameter SEAICE_deltaMin that is used ***only***
255        for regularizing Delta (and nothing else, like the parameter
256        which is also used for all sorts of things SEAICE_EPS).
257        Defaults to SEAICE_EPS for backward compatibility only.
258    o pkg/seaice: replace erroneously storing e12Csqr on the wrong tape with
259        the wrong key by inialising it before use -> fixes a recomputation
260        problem but does not fix the gradient
261    o pkg/layers:
262      - move resetting of flux arrays to outside the iLa loop
263        (this caused layers_diapycnal to not work with more than one layer coord.)
264      - fix bug in calculation of layers_recip_delta in layers_init_fixed.F
265    o pkg/layers:
266      - remove from common block 3D layers fields (used to diagnose transport
267        in tracer coords) and declare them as local arrays in layers_calc.F
268    o pkg/seaice:
269      - Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it
270        in lab_sea forward experiment (changes results -> updated)
271      - update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v
272    o pkg/seaice: modify seaice_lsr.F in order to improve the gradient
273       computations; for SEAICE_VECTORIZE_LSR
274      - move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v)
275        sweep to the outside,
276      - remove store directives and add "CADJ loop sequential" directives
277        in analogy to model/src/solve_tridiagonal.F
278      - replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop
279        boundaries to yield more readable code. This has also the charming side
280        effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without
281        SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in
282        seaice_lsr_tridiagu/v now requires either of these flags, vectorization
283        still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as
284        an additional option)
285       The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F
286       but the adjoint gradients (which are affected by this change) still explode.
287    o coupler (atm & ocn _compon_interf):
288      - avoid using Exch2 IO mapping if not suitable.
289    
290    checkpoint65m (2015/06/15)
291    o pkg/layers:
292      - clean-up old parameters setting (from Sep 2012):
293        + remove old parameters setting from common block (declared locally);
294        + stop if any old parameter is mixed with new parameters;
295        + check for valid or consistent parameter setting (e.g., layers_name)
296      - check that layers_bounds for Pot.Density are in the right range;
297        this is supposed to catch un-updated setting after recently shifting
298        potential density field "prho" by -1000 (now in "sigma" scale).
299    o pkg/layers:
300      - Added missing call to layers_fill for keeping track of tottend in
301        pkg/diagnostics/diagnostics_fill_state.F
302    o pkg/layers:
303      - added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning
304        of diapycnal fluxes
305    o pkg/layers:
306      - reverted changes to interpolation to previous treatment; there
307        was never actually a problem
308    o pkg/layers:
309      - fix interpolation of layers tracers in the presence of partial cells
310      - add lots of new functionality to compute water mass transformation
311        (enabled by CPP flag LAYERS_THERMODYNAMICS)
312      - add new calls from main code (diags_oceanic_surf_flux.F,
313        thermodynamics.F, impldiff.F) and gad to save the necessary fields
314        for layers_thermodynamics calculations
315    o pkg/ptracers:
316      - add capability of stepping a passive tracer forward without advection
317        by setting PTRACERS_advScheme to 0.
318    o pkg/diagnostics:
319      - add few (threads) _BARRIER around any update of "diag_pkgStatus".
320    o pkg/layers:
321      - shift potential density field "prho" by -1000 for density layer averaging so
322        that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000);
323        Note that density bin boundaries (layers_bounds in data.layers) have
324        to be set accordingly (i.e., shifted, in sigma scale).
325    o pkg/layers:
326      - fix snap-shot output of layer thickness @ V.pt and output of pot.density
327      - fix calculation of layer non-weighted velocity and layer probability
328      - add diagnostics for pot.density used for layer averaging
329    o pkg/seaice:
330      - seaice_calc_viscosity.F: change computation of deltaC**2 to ensure
331        positiveness, modify a few comments and improve variable names,
332      - the changed computation of deltaC affects most seaice-related
333        experiments at the truncation level.
334        seaice_itd.thermo is affected by far the most, with
335        only 7 digits of agreement remaining; update experiments.
336    
337    checkpoint65l (2015/05/04)
338    o pkg/shelfice:
339      - in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set
340        factor drKp1 to zero where it is negative (ie. do not use
341        SHELFICEBoundaryLayer if hFacC>1)
342      - the same for factor drLoc in shelfice_forcing.F
343    o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem
344        with modules in ptracers, when using testreport option "-small_f"
345    o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD)
346      - replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1))
347    o verification/testreport
348      - add new option -small_f
349        with this option testreport first makes the target small_f (*.f files)
350        before running make (all). This is useful for explicit inlining when
351        all sources need to be full available.
352    o pkg/exf/exf_interp.F:
353        remove previous changes related to reverse (decreasing) input grids latitude
354    
355    checkpoint65k (2015/04/01)
356    o pkg/ecco:
357        fix missing cosphi initialization; use eccoiter in place of optimcycle;
358        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
359        instead of active read/write
360    o pkg/ctrl:
361        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
362        instead of active read/write.
363    o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F
364        return if .NOT.useAUTODIFF
365    o pkg/seaice: add CPP brackets (cost function related).
366    o model/src:
367        add useAUTODIFF run time switch.
368    o pkg/exf/exf_interp.F:
369        add code to allow input grids with latitude starting in the north (i.e. when
370        j=1 corresponds to northern edge of field); modify global_with_exf to test
371        this feature.
372    o verification/testreport:
373      - replace "grep -A3" with POSIX conformal sed command, because there are
374        implementations of grep that cannot do contextual searches
375      - replace "cat -n" by "nl" (two occurrences), because not all implementations
376        of "cat" have the option "-n"
377    o model/src:
378        add new file gsw_teos10.F that contains 3 functions, more or less a copy
379        of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to
380        convert from conservative to potential temperature. For now they are not
381        called anywhere.
382    o pkg/ggl90: make "useIDEMIX" useful
383      - re-organize code in s/r ggl90_calc a little to move computations that
384        are different for idemix into separate loops (changes verification
385        experiment idemix at truncation level, 12 digits remain -> updated)
386      - requires 2 new 2D fields KappaM, verticalShear
387      - make hFacI and recip_hFacI local 3D variables that are passed to
388        s/r ggl90_idemix
389      - fix and improve some comments
390    
391    checkpoint65j (2015/02/25)
392    o pkg/openad
393      - synchronize seawater.F with version in model/src: replace routine
394        body of sw_temp by calling sw_ptmp and fix/add a few comments.
395    o pkg/mnc:
396      - change default value of pickup_read/write_mnc params to FALSE
397        (since few features are missing in reading MNC pickup files).
398    o model/src:
399      - change default (background) vertical diffusivity for salt to be the
400        temperature (background) vertical diffusivity.
401      - change background vertical diffusivity in vertical mixing pkgs ggl90,
402        kl10, my82 and pp81 from temperature diffusivity to salinity diffusivity.
403        This makes ptracers default diffusivity (that uses salt diffKr) more
404        consistent with vertical mixing schemes.
405    o verification/testreport:
406      - fix typo in "-pcls" option ;
407      - put temp files in /tmp (instead of in local dir)
408      - add option "-ncad" to use genmake2 new option "-nocat4ad"
409      - allow to use "-j" option (for multi-procs make) for AD, OAD and TLM.
410    o pkg/ggl90 (idemix code):
411      - apply few fixes ; add some missing "_d 0" ; update output of exp.
412        global_ocean.90x40x15.idemix
413    o OpenAD
414      - enable active file I/O and begin removal of work-around code
415        for OpenAD for handling control variables (memory vs. active files)
416      - new CPP options file OPENAD_OPTIONS.h
417      - revert to genarr2d gradient check for hs94.1x64x5
418      - (genarr3d tested by tutorial_global_oce_biogeo, tutorial_tracer_adjsens)
419      - gentim2d works for halfpipe_streamice but not yet hs94.1x64x5
420    o tools/genmake2:
421      - add option for an alternative Makefile (from Martin) where multiple
422        source files are sent to TAF (instead of all in one file).
423    o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013)
424      - code provided by Carsten Eden as an extension of ggl90
425      - so far the code is turned on within ggl90 by setting a CPP-flag at
426        compile time; a runtime flag implementation is not yet complete
427      - tested in new verification experiment global_ocean.90x40x15.idemix
428    o verification:
429      - reduce length of the AD test run by half for experiments
430        global_ocean.cs32x15 (std + thsice) and isomip
431      - enable active file I/O for OpenAD, adjust verifications accordingly
432      - halfpipe_streamice: change gradient check from genarr2d to gentim2d
433    o verification/testreport:
434      - fix two non-POSIX sed statements so that there are no error messages
435        on Mac OS X
436      - replace hostname -s with hostname | sed 's/\..*$//'
437    o model/src/seawater.F:
438      - simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged
439        (following the matlab code), which would have avoided the bug caught
440        by Matt (see below) in the first place
441    o pkg/shelfice:
442      - implement alternative discretisation of quadratic drag (selectBotDragQuadr)
443        and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag.
444      - fix sign of friction tendency (no-slip BC) and fix u,v drag for thin
445        ice-shelf case (i.e., within surface level).
446      - add config summary in shelfice_check.F
447      - remove global variable recip_SHELFICElatentHeat and replace by a local
448        variable recip_latentHeat
449      - introduce diagnostics for friction velocity uStar (in case of
450        SHELFICEuseGammaFrict)
451      - change verification experiment isomip.htd:
452        + start from pickup (as input_ad at nIter0=8640)
453        + start from SHELFICEmassFile instead of SHELFICEloadAnomaly file
454        + test SHELFICEuseGammaFrict = .TRUE.
455        + test SHELFICEadvDiffHeatFlux = .TRUE.
456    o model/src:
457      - fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to
458        in-situ Temp) and in routine SW_TEMP (in pkg/openad);
459        update output of experiments global_with_exf.yearly and isomip (all 6).
460    o pkg/shelfice:
461      - change setting of kTopC to also be zero where there is no ice-shelf.
462      - zero out surface forcing arrays (for now, for T & S + EmPmR) where
463        ice-shelf is.
464      - first attempt to get RealFreshWaterFlux effects: for now, only without
465        SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping.
466    o pkg/seaice: add the option to prescribe a fixed thickness PDF
467      for thermodynamic calculations
468      - because of divisions of the type 7/7 not exactly equal to 1, this change
469        affects results of some verification experiments by up to 4 digits:
470        global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume,
471        seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides
472        adjoint: lab_sea, lab_sea.noseaicedyn
473        -> updated
474    
475    checkpoint65i (2015/01/23)
476    o model/src:
477      - change units of frictionHeating field from W to W/m^2
478      - fix bug in frictional heating from stratospheric drag in
479        S/R ATM_PHYS_TENDENCY_APPLY_V
480      - with synchronous time-stepping: move resetting to zero of frictionHeating
481        field from load_fields_driver.F to thermodynamics.F ;
482      - add diagnostics for frictional heating.
483    o model/src & gmredi K3D:
484      - add frictionHeating field to pickup-files (for synchronous time-stepping)
485      - move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h
486      - rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name
487        and name in pickup file).
488      - fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F
489    o model/src:
490      - move (from ini_forcing.F) initialisation of all arrays in header file
491        FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart
492        (since Nov 2012) with option selectAddFluid=1.
493    o pkg/shelfice:
494      - change units (+ document) of newly added field "shelfIceMassDynTendency"
495      - upgrade from _RS to _RL shelficeMass & shelficeLoadAnomaly arrays.
496    o pkg/obcs: re-organize obcs_calc_stevens.F to prepare for passive tracers
497    o pkg/seaice: two new runtime parameters:
498      - SEAICE_cStar replaces the hard wired "20" in the strength formulation,
499        long overdue
500      - SEAICE_tensilFac: preparation for Koenig-Beatty+Holland (2012)
501        parameterization of tensil stress for fast ice (does not do anything yet)
502    o pkg/seaice/seaice_check.F: left over from restricted addtive Schwarz method
503        for LSR: move checking overlaps out of JFNK-if-block
504    o pkg/atm_phys:
505      - move copy of grid and dynamical fields out of atm_phys_driver.F into
506        new S/R ATM_PHYS_DYN2PHYS.
507      - fix level height for Linear Free-Surf case (to be consistent with
508        fixed-in-time pressure levels).
509    o pkg/mom_common (bottomdrag):
510      - average bottomDragFld (ALLOW_BOTTOMDRAG_CONTROL) from grid-cell center
511        to correct location (U & V point) in S/R MOM_U/V_BOTTOMDRAG;
512        update output (adm & tlm) of experiment global_ocean.90x40x15.bottomdrag.
513    o pkg/shelfice (u/v_drag):
514      - add one argument (the other velocity component) to S/R SHELFICE_U/V_DRAG;
515      - use SHELFICEDragLinear & SHELFICEDragQuadratic in shelfice_v_drag.F
516        (now similar to shelfice_u_drag.F)
517      - remove condition on bottomDragTerms when calling SHELFICE_U/V_DRAG
518        from mom_vecinv.F (similar to mom_fluxform calls).
519    o pkg/mom_common (bottomdrag):
520      - add one argument (the other velocity component) to S/R MOM_U/V_BOTTOMDRAG;
521      - add options for alternative discretisation of velocity norm in quadratic
522        bottom drag: averaging of grid-cell-center KE to U.point and V.point
523        (selectBotDragQuadr=0, original code) can produce noisy patterns; this
524        improves when averaging only the other component (e.g. vVel for U bottom
525        drag) using wet-point method (selectBotDragQuadr=2) or not (=1).
526      - add options (bottomVisc_pCell) to account for partial-cell in bottom
527        friction (no-slip BC) thus getting the true distance from the bottom;
528        off by default since this also reduces model stability (explicit bottom
529        friction). Changes produce different machine truncation with linear-drag
530        + no-slip BC: update output of experiments exp4.stevens (10 digits) and
531        front_relax (bvp & mxl, 10 & 11 digits).
532    o model/src & mom pkgs:
533      - add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
534        since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
535      - for now and until vertical mixing scheme are updated to fill up level Nr+1,
536        just copy level Nr value to level Nr+1.
537    o doc:
538      - add notes form Abhisek Chakraborty on how to close Heat & Salt budgets.
539    o pkg/streamice:
540      - shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F,
541        SHELFICE.h: move array shelficemass to init_varia, initialise
542        from array shelficemassinit, which is set in init_fixed and
543        has option to be set from file; introduce array
544        shelficeMassDynTend array, set thru file in init_fixed
545      - NEW FILE: shelfice_step_icemass.F: update shelficemass from either
546        shelfIceFreshWaterFlux and shelficeMassDynTend or H_streamice in
547        pkg/streamice
548      - shelfice_thermodynamics.F: call shelfice_step_icemass if
549        SHELFICEMassStepping = .true.
550      - shelfice_ad_diff.list: add new subroutine shelfice_step_icemass.f
551    
552    checkpoint65h (2014/12/17)
553    o verification/global_ocean.90x40x15, global_ocean_ebm:
554      - update to generic controls.
555    o pkg/ctrl:
556      - ctrl_map_ini_genarr.F: test for igen>0
557      - ctrl_init_variables.F: add call to CTRL_MAP_INI_GENTIM2D.
558      - move gentim2d part of ctrl_map_ini_genarr.F to
559        new separate routine : ctrl_map_ini_gentim2d.F
560      - ctrl_cost_driver.F,ctrl_init.F ctrl_map_ini_genarr.F:
561        add time variable weights and cyclic controls (time mean,
562        seasonal cycle, etc) capabilities to gentim2d
563    o pkg/ecco:
564      - move reading of error, conversion to weights from
565        ecco_cost_init_fixed.F to ecco_toolbox.F (ecco_readwei)
566    o global_oce_llc90, cs32:
567      - activte sbo.
568      - CTRL_SIZE.h : add maxCtrlProc.
569      - activate the new genctrl capabilities.
570      - update following reorganization of global_oce_input_fields.tar.gz  
571    o pkg/ctrl/ctrl_ad_diff.list:
572      - add missing ctrl_init_rec.f
573    o tools/OAD_support/keepOriginal:
574      - add ctrl_init_rec.F
575    o model/src/the_main_loop.F, pkg/ctrl/ctrl_map_ini_genarr.F:
576      - avoid recomputations of xx_gentim2d_dummy.
577    o momentum diagnostics:
578      - move filling of diagnostics Um_Diss & Vm_Diss from mom_fluxform.F and
579        mom_vecinv.F to timestep.F (to include Smag-3D contribution).
580    o pkg/seaice/seaice_lsr.F:
581      - fix computation of BU/BV, make sure they are non-zero, only necessary
582        for cubed sphere exchanges and SEAICE_OLx/y>0.
583        This makes calling s/r fill_cs_corner_rl obsolete (removed).
584    o verification/global_ocean.cs32x15/input.seaice
585      - add test for strong implicit coupling and restricted addtive Schwarz
586        methods for LSR
587      - update results/output.seaice.txt
588    o verification/tutorial_global_oce_biogeo:
589      - AD & OAD set-up: switch off ALLOW_OLD_VIRTUALFLUX (like in fwd set-up)
590        and set PTRACERS_EvPrRn(1,2) to zero (for DIC & ALK);
591        update output_adm,_oadm,_tlm.txt
592    o pkg/dic:
593      - change default to "#undef ALLOW_OLD_VIRTUALFLUX" in DIC_OPTIONS.h
594      - add a stop when ALLOW_OLD_VIRTUALFLUX is defined and PTRACERS_EvPrRn
595        for tracer 1 & 2 is set (to avoid double counting of dilution effect).
596    o verification/tutorial_global_oce_biogeo:
597      - AD & OAD set-up: do not set PTRACERS_EvPrRn for tracer 1 & 2 since
598        dilution is already added by pkg/dic ALLOW_OLD_VIRTUALFLUX ;
599        update output_adm,_oadm,_tlm.txt
600    o eesupp/src:
601      - add fill_cs_corner_rl.F (_RL-copy of fill_cs_corner_rs.F)
602        and call it in seaice_lsr when using nonzero SEAICE_OLx/y
603    o pkg/seaice: introduce strongly implicit coupling, intended for stabilizing
604      LSR (following Hutchings et al. 2004)
605      - introduce zetaZ as a global variable (requires adjustments in
606        seaice_evp.F and seaice_jfnk.F) and compute analoguously to etaZ
607        in seaice_calc_viscosities.F
608      - new flag SEAICEuseStrImpCpl (default off)
609      - add new terms zetaZ*du/dy and zetaZ*dv/dx on both sides of the
610        momentum equations
611      - JFNK-solver (preconditioner) adjusted to allow using this method
612        (where it does not have any positive effect)
613    o pkg/seaice
614      - add overlap for restrictive additive Schwartz method also to LSR, but
615        turn it off by default (because it only seems to work for non-cubed
616        sphere/llc topologies)
617    o pkg/autodiff
618      - add extra exchanges in addummy_in_steppging also for mnc output
619    o pkg/seaice:
620      - add extra exchanges before dumping adjoint fields in seaice_ad_dump.F
621        to avoid stripes in the adjoint output (similar to addummy_in_stepping.F)
622    o pkg/obcs:
623      - add option to specify domain-connected piece Id along OB though files
624        (for now, only used to diagnose PhiVel; default =1 -> global correction)
625      - modify obcs_diag_balance.F to process each connected-part separately;
626        exclude OB where Id = 0 but keep the full divergence there (-> constant
627        Psi along this portion of OB and all inflow derived from grad(Phi))
628      - add example of OB-conect files in verification/so_box_biogeo/input.
629    o pkg/diagnostics:
630      - improve treatment of Open-Boundaries in Velocity-Potential calculation:
631      a) use non zero matrix element across OB and solve for Phi 1 grid point
632         outside OB (i.e, where tracer OBCS are applied).
633      b) global imbalance of inFlow/outFlow across OB: instead of modifying
634         velocity across OB, spread it uniformly along the OB in the RHS.
635    
636    checkpoint65g (2014/11/19)
637    o pkg/diagnostcis:
638      - add preconditioner off-diagonal factor (diagCG_pcOffDFac) as run-time param
639    o pkg/my82,pp81,kl10:
640      - fix ALLOW_3D_DIFFKR implementation (previously had no effect): use 3-D
641        field diffKr as background diffusivity to set minimum diffusivity value.
642    o pkg/seaice:
643      - add new parameter SEAICEuseEVPrev (for revisited EVP by
644        Bouillon et al 2013)
645      - add SEAICE_evpAlpha/Beta to namelist
646      - modify seaice_evp code to able to use SEAICEuseEVPrev. These changes
647        involve trivial re-ordering of divisions/multiplications that should not
648        have any effects, but ... they do change the results of lab_sea.hb87 so
649        that only 2 digits of agreement remain, in line with the general
650        instability/fragility of the evp-code. For now, I do not care and just
651        update the verification experiment
652    o pkg/ctrl : add generic pre-processing (xx_genarr2d_preproc etc)
653      - remove xx_genarr2d_numsmooth etc
654      - use xx_genarr2d_preproc etc instead
655      - carry out smooth_correl2D at initialization stage rather than during
656        time stepping.
657      - get smoothOpNb from xx_gentim2d_preproc
658    o global_oce_cs32 :
659      - add test of generic ecco capabilities.
660    o pkg/exf/exf_getsurfacefluxes.F :
661      - add to tmpUE/tmpVN rather than re-initializing them (conventional behavior).
662    o pkg/ctrl,ecco :
663      - omit un-necessary arguments to ctrl_cost_gen.F unless ECCO_CTRL_DEPRECATED
664        is defined.
665    o pkg/seaice: add diagnostics for Delta (deformation parameter)
666    o model/src:
667      - when ALLOW_3D_DIFFKR is defined, add a Warning if any of the vertical
668        diffusivity (background) is specified but ignored.
669    o verification:
670      - in testreport, convert hostname to lower case for default output dir name
671    o model, pkg : add useCTRL, useECCO parameters (on/off run time switch).
672    o pkg/dic: add modifications from Hajoon:
673      - add iron sedimentation flux function of the flux of PO4 out of bottom layer
674      - light attenuation: add self-shading effect by climatological Chlorophyll
675        (read from file).
676    o pkg/seaice/seaice_preconditioner.F : fix cpp flags, so that code also
677        compiles when SEAICE_ALLOW_DYNAMICS is undefined
678    o global_oce_llc90,cs32 : ecco_v4 verification exps now use separate
679        AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h rather than
680        ECCO_CPPOPTIONS.h (i.e. replacing the deprecated, circumvoluted,
681        approach where CPP_OPTIONS.h includes an omnipotent
682        ECCO_CPPOPTIONS.h that superseeds pkgs '_OPTIONS.h').
683    o pkg/ctrl/ctrl_map_ini_genarr.F : include GMREDI_OPTIONS.h where
684        ALLOW_3D_KAPGM, ALLOW_3D_KAPREDI (to be added later) belong.
685    o pkg/seaice/SEAICE_SIZE.h : replace ALLOW_AUTODIFF_TAMC with ALLOW_AUTODIFF
686        to avoid needing AUTODIFF_OPTIONS.h anytime SEAICE_SIZE.h is included
687        (it seems that THSICE_SIZE.h, PTRACERS_SIZE.h have the same issue...)
688    o model/src, pkg/smooth, profiles, salt_plume, seaice, exf, ecco, ctrl :
689      add ECCO_OPTIONS.h, AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h when needed
690      - ECCO_OPTIONS.h is needed when including ecco_cost.h, ecco.h
691      - AUTODIFF_OPTIONS.h is needed when including tamc.h, tamc_keys.h
692      - CTRL_OPTIONS.h is needed when including ctrl.h, optim.h, etc
693    o pkg/ctrl,ecco,exf :
694      - remove variables associated with NON-generic costs,
695        unless ECCO_CTRL_DEPRECATED is defined.
696      - remove NON-generic NON-obcs controls,
697        unless ECCO_CTRL_DEPRECATED is defined.
698    o pkg/ctrl : added ctrl_local_params.h
699    o pkg/ecco : added ecco_local_params.h
700    o verification : added ECCO_CTRL_DEPRECATED to most as and oad
701        experiments, which will progressively be removed once the
702        experiments are revised to use only generic controls/costs.
703    
704    checkpoint65f (2014/10/13)
705    o pkg/ctrl, ecco, seaice : minor changes in headers
706    o global_oce_llc90,cs32 : ecco_v4 verification exps now test generic
707        cost function and control capabilities added since checkpoint65c.
708    o pkg/ctrl: regroup all obcs ctrl variables in CTRL_OBCS.h.
709    o pkg/ecco: increase modularity and improve logic
710      - ecco_toolbox.F (new) : basic operations that are often used,
711        including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk,
712        ecco_addcost, ecco_add, ecco_div, ecco_readbar.
713      - cost_gencal.F (new) : determine filnames and records.
714      - cost_genread.F, cost_generic.F : condense code using ecco_toolbox.
715      - cost_generic.F : use spzeroloc rather than hard-coded -9999,
716        and exploit the above functions leading to more compact code.
717      - cost_genread.F : rm un-necessary arguments, re-arrange args order.
718      - ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj,
719        using_ers, using_gfo, using_mdt is now only defined within gencost)
720    o pkg/ecco: extend generic cost capabilities
721      - pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost
722        capabilities via gencost_preproc (+ _c,_i,_r related params),
723        gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod,
724        gencost_outputlevel arguments to cost_generic
725      - pkg/ecco/cost_genread.F (new) : interface between cost_generic
726        and active_read, making room for gencost_preproc to take effect.
727        Added preproc code ('climmon') to replace GENERIC_BAR_MONTH.
728      - pkg/ecco/cost_generic.F :
729        compute and store misfit maks*(model-data) in localdif that is
730        then used in cost and for output, output misfit if outlev.GT.0
731      - pkg/ecco/cost_averagesfields.F : depend on gencost_barskip
732        rather gencost_barfile for deciding whether to write barfile
733      - pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd
734      - pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from
735        ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip
736      - pkg/ecco/ecco_summary.F : report gencost variables
737      - pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs
738    o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA
739    o pkg/ecco: internal re-organization
740      - resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl
741        (rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter,
742        mv relevant variables definition from ecco_cost.h to ecco.h,
743        make sure gencost routines only include ecco.h)
744      - throughout : add missing CCP switches, rm unused variables,
745        and rm un-necessary CPP switches
746      - throughout gencost routines : replace modelstartdate with
747        gencost_startdate when needed
748      - cost_bp_read.F : use arguments, instead of common blocs
749        so that it can be used also by (new) cost_gencost_bpv4.F
750      - ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0
751      - ecco_phys.F : compute etanFull
752      - ecco_readparms.F : rename using_topex as using_tpj, add
753        bpv4-grace to gencost list, initialize added parameters
754      - ecco_summary.F : include SIZE.h needed for augmented ecco.h
755    
756    checkpoint65e (2014/09/28)
757    o pkg/obcs:
758      - replaced the just-added CPP options with run-time variables
759        (see pkg/obcs/OBCS_PARAMS.h for details)
760    o pkg/obcs:
761      - add additional CPP options for sponge boundary layers
762        (see pkg/obcs/OBCS_OPTIONS.h for details)
763    o pkg/atm_phys:
764      - implement simple (obliquity only, assuming circular planet orbit)
765        seasonal cycle for incoming insolation ; used when run-time parameter
766        "select_incSW" is set to 1 ; by default (=0), uses old unchanged formula.
767    o pkg/exf, pkg/ecco, pkg/ctrl:
768      - add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets
769      - activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip
770      - implement gentim2d for xx_tauu, xx_tauv
771    o pkg/ctrl, pkg/ecco :
772      - fix and complement the generic controls implementation
773    o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F,
774        pkg/shelfice/shelfice_thermodynamics.F,
775        verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F,
776        verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F :
777      - add weight in CTRL_GET_GEN calls
778    o pkg/ctrl :
779      - ctrl_get_gen.F : add weight as input parameter, and apply
780        it directly rather than using smooth_correl2Dw (to be retired).
781      - ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call
782    o pkg/ctrl :
783      - introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F,
784        ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F)
785      - re-activate ctrl_summary (call in ctrl_init.F)
786    o pkg/ctrl/ctrl_cost_gen.F :
787      - fix CCP brackets, remove un-necessary myiter, mytime
788    o pkg/ecco, pkg/ctrl :
789      - remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F)
790      - remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F)
791      - add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F)
792      - add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F)
793    
794    checkpoint65d (2014/09/15)
795    o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F :
796      - add xx_genarr2d_bounds,xx_genarr3d_bounds,
797        xx_genarr2d_numsmooth, xx_genarr3d_numsmooth
798    o pkg/ctrl/ctrl_map_ini_genarr.F :
799      - remove compilation failure
800      - replace hard coded example
801      - use ctrl_map_ini_gen2D, 3D
802    o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F :
803      - on/off switch based upon xx_genarr2d_weight,3d
804    o src/packages_init_variables.F :
805      - regroup pkg/estimation calls
806      - remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO
807        (moved to ctrl_init_variables)
808    o cost/cost_init_varia.F :
809      - remove ecco_cost_init_varia
810        (moved to ecco_init_varia)
811    o ctrl/ctrl_init_variables.F :
812      - add CTRL_MAP_INI, CTRL_MAP_INI_ECCO
813      - add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI
814    o ctrl/ctrl_map_ini.F :
815      - remove ctrl_map_ini_genarr, seaice_ctrl_map_ini
816        (moved to ctrl_init_variables)
817    o ctrl/ctrl_map_ini_ecco.F :
818      - remove ECCO_PHYS (mv to ecco_init_varia)
819      - remove seaice_ctrl_map_ini (mv to ctrl_init_variables)
820    o ecco/ecco_ad_diff.list :
821      - add ecco_init_varia.f
822    o ecco/ecco_init_varia.F
823      - new routine
824    o pkg/streamice:
825      - move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F
826        to streamice_init_fixed.F ; fix setting of STREAMICEisOn.
827      - from model/src, only call pkg/streamice routines if useStreamIce is TRUE.
828    o pkg/generic_advdiff:
829      - fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014.
830    o pkg/exf:
831      - exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown,
832         xxg_precip capability
833      - exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch
834    o pkg/ctrl:
835      - ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d
836    o model/src/load_fields_driver.F :
837      - move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING
838        so xx_gentim2d can be applied to e.g. exf fields in a timely manner.
839    o OpenAD verification experiments:
840      - Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h
841        in src files (to enable to skip the ECCO_CPPOPTIONS.h);
842        for now, only in pkgs used in OpenAD verification experiments.
843      - Change all except one (halfpipe_streamice) OpenAD experiments to use pkg
844        specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h)
845        instead of using ECCO_CPPOPTIONS.h (with all relevant options in it).
846        This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests.
847    o OpenAD verification tests:
848      - finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD);
849      - finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for
850        tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp.
851      - leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/)
852        and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC).
853    o model/src & generic_advdiff:
854      - change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S
855        forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model
856        dynamics requires valid tracer forcing only over tile interior but, for
857        some diagnostics, may need to extend it over 1 point in tile halo region.
858      - in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid
859        tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max
860        setting in temp/salt/ptracer_integrate.F
861    o pkg/dic:
862      - multiply tracer tendencies by maskInC (if ussing OBCS) before updating
863        gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER
864        in gchem_forcing_sep.F
865    o pkg/autodiff & obcs:
866      - add storage of current OB values for U & V (was already done for T & S).
867    
868    checkpoint65c (2014/08/30)
869    o pkg/dic:
870      - take out of dic_atmos.F the initialisation part (corresponding to istate=0)
871        and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for
872        AD compilers (but still a Pb with multi-threading and Ajoint dependencies).
873    o verification:
874      - new experiment testing OBCS and DIC pkgs, using params & output from
875        tutorial_global_oce_biogeo but limited to a sub-domain around Drake
876        passage: take OBCS from the last year of a 2 yrs simulation and initial
877        conditions from t=1.yr while keeping the same forcing.
878    o model/src:
879      - when allowFreezing=T, only reset below freezing initial Temp to Tfreezing
880        (at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T).
881    o pkg/diagnostics (Stats-Diags):
882      - re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to:
883        a) refine region where stats are computed, excluding where arrhFac=0 ;
884        b) fix missing interior mask (use with OBCS) in 3-D fields statistics;
885        c) extend regional stats over the region edges (for U or V pt location).
886    o pkg/gchem:
887      - add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since
888        pkg/dic is currently changing/updating ptracers values beyond the OB).
889    o verification (hs94):
890      - convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords
891        bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments
892        hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of
893        apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged.
894    o pkg/ptracers:
895      - implement Adams-Bashforth on pTracers (instead of on tracer tendency),
896        switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs)
897      - change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer
898        with AB-2 code (so that it get tested).
899    o model/src:
900      - allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS)
901        with AB-2 code (previously only available with AB-3 code).
902        Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F
903        to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done
904        there, by calling CYCLE_AB_TRACER).
905    o pkg/generic_advdiff:
906      - change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS,
907        GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R
908        + also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in
909        S/R temp/salt/ptracers_integrate.F
910    o model/src & pkg/ptracers:
911      - remove common block variables gT,gS (in DYNVARS.h), except when
912         USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly.
913      - remove common block variable gPtr.
914    o model/src & pkgs:
915      - change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R
916         ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G,
917         IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT,
918         GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T
919      + change accordingly all calling S/R.
920      - use local temperature/salinity/ptracer tendency array (without bi,bj)
921        in S/R temp/salt/ptracers_integrate.F
922    o pkg/seaice:
923      - move computation of stress contributions to rhsU/V in s/r seaice_lsr
924        to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code
925      - make u/vIceC local variables if SEAICE_CGRID is defined only to be used
926        in seaice_lsr
927      - seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D
928        in s/r seaice_lsr_calc_coeffs
929    o pkg/mdsio:
930      - in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long
931        (e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is
932        too long (e.g., > MAX_LEN_FNAM/2 )
933    
934    checkpoint65b (2014/08/12)
935    o pkg/matrix:
936      - pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP
937    o model/src:
938      - fix initialisation of geothermalFile; compile geothermal-flux code in
939        natl_box verification experiment.
940    o model/src & pkg/down_slope:
941      - push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop).
942      - in dwnslp_apply.F, update tracer tendency instead of the future tracer
943        field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects
944        results at machine truncation level: update output of experiments
945        global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD).
946    o pkg/diagnostics (Stats-Diags):
947      - do not cumulate the full volume when DIAGNOSTICS_FILL is
948        called with bibjFlg < 0 (no increment of the counter for 2D/3D diag);
949        This fix the mean statistics when DIAGNOSTICS_FILL is called multiple
950        times (but Min,Max and StD are still wrong).
951    o model/src:
952      - add geothermal flux forcing: read in ini_forcing.F as time-constant
953        field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F)
954    o model/src:
955      - move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer
956        _integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac
957        arrays are already updated while adjustments (filters, conv.adjustment) are
958        still applied later, in S/R TRACERS_CORRECTION_STEP.
959    o model/src:
960      - store in common bloc array "rhoInSitu" the virtual potential temperature
961        anomaly that is used to compute geopotential: this make the atmos code
962        more similar to ocean code which already uses rhoInSitu in calc_phi_hyd.F
963    o pkg/seaice/seaice_lsr.F
964      - rename integer variable ilcall to ipass (that's what it is called
965        in the residual diagnostics
966      - change time stepping for NPSEUDOTIMESTEP > 2 (does not change the
967        default) for improved non-linear convergence of the first few steps
968      - adjust a few comments and add new ones to explain some of the store
969        directives
970    o pkg/generic_advdiff (& ptracers):
971      - re-work the code to check for valid advection scheme and for minimum
972        size of overlap (now stored in local common bloc in gad_advscheme.F)
973    o pkg/seaice: another attempt to make the adjoint work for sea ice dynamics
974      - re-initialize more variables in seaice_lsr: u/vIceC, u/vIceNm1
975      - add an auxilliary variable "bet" and fix store directives and keys in
976        seaice_lsr_tridiagu/v, this seems to do the trick (i.e. more or
977        less exact gradients in my tests); but there are still
978        recomputation warning (although gradients are sort of OK), when
979        SEAICE_LSR_VECTORIZE is not defined, so this flag and
980        SEAICE_LSR_VECTORIZE_ZEBRA are recommended for efficiency.
981      - update verification experiments lab_sea.
982      - change some comments in S/R seaice_calc_viscosities
983    o model/src:
984      - if staggerTimeStep=T, always apply exchange to velocity field in
985        do_stagger_fields_exchanges.F instead of in do_fields_blocking_exchanges.F
986        (independent of using multi-dim advection or not); no effect on FWD run
987        but affects AD results (at machine truncation level): update output of
988        experiment 1D_ocean_ice_column (ad: 12 digits), hs94.1x64x5 (ad,oad: 13.d)
989        and isomip (oad: 12.d).
990    o pkg/generic_advdiff:
991      - stop if doAB_onGtGs is set to FALSE but ignored
992      - refine warning related to stability of tracer time-stepping
993        regarding internal wave dynamics.
994      - setting of AdamsBashforth_T,S when doAB_onGtGs=F: remove condition
995        on staggerTimeStep & implicitIntGravWave (will now get a warning
996        if potentially unstable).
997    o pkg/kl10:
998      - add new pkg "kl10" for mixing due to internal wave breaking, from
999        http://www.sciencedirect.com/science/article/pii/S1463500310000144
1000        (contribution from Jody Klymak), tested in verification experiment
1001        verification/internal_wave/input.kl10/
1002    o isomip experiment:
1003      - test pkg/shelfice with Non-Lin Free-Surf in one of the FWD set-up
1004        (input.htd) and update the output.
1005    o cd_code experiments:
1006      - use default cd_code options (#undef CD_CODE_NO_AB_MOMENTUM &
1007        #undef CD_CODE_NO_AB_CORIOLIS) in experiments: cfc_example (fwd)
1008        global_ocean.90x40x15 (ad & oad) and OpenAD (ad & oad) and
1009        update the corresponding output.
1010    o pkg/seaice:
1011      - reduce the number of include files and store directives in
1012        S/R seaice_lsr_tridiagu/v
1013      - change the order of loops in one case in S/R seaice_lsr_tridiagv
1014        (only for SEAICE_VECTORIZE_LSR_ZEBRA defined), which allows me to
1015        get rid off one store directive (a TAF bug?)
1016      - add one more instance of ifdef SEAICE_VECTORIZE_LSR_ZEBRA in
1017        S/R seaice_lsr_tridiagv to change the loop range for consistency
1018      - remove ilcall, m from parameter list of S/R seaice_lsr_tridiagu/v
1019      - fix a bug that affects the JFNK solver: replace sNx/y by i/jMax in
1020        S/R seaice_lsr_tridiagu/v (requires update of
1021        offline_exf_seaice/input.dyn_jfnk)
1022    
1023    checkpoint65a (2014/07/27)
1024    o model/src:
1025      - Non-Lin Free-Surf in p/z coords: allows hFacW,S to be larger than
1026        surrounding hFacC=1 @ edge of a step with different kSurfC on either side
1027        (topo in p-coords, ice-shelf in z-coords); update output of experiments
1028        tutorial_global_oce_in_p and isomip (both AD and OpenAD output).
1029    o model/src:
1030      - collect momentum forcing tendency into local 2-D array (passed as argument
1031        to apply_forcing S/R); this simplifies mom. Forcing diagnostics and CD_CODE
1032        parts in timestep.F (without CD_CODE_NO_AB_MOMENTUM defined = the default);
1033        affects results at machine truncation level (e.g., if using OBCS_SPONGE).
1034      - collect T & S forcing tendency into local 2-D array (passed as argument to
1035        apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.
1036        affects results at machine truncation level (e.g., ocean: if using
1037        SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist
1038        correction due to vertical advection).
1039      - update output of experiments: fizhi-cs-32x32x40 (13 digits),
1040        global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:
1041        seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),
1042        obcs_ctrl (ad & fwd grd @ 12 & 7).
1043    o pkg/ptracers & diagnostics:
1044      - use ptracers (short) name (instead of long one) to make ptracers diagnostics
1045        title (to avoid some unexpected truncation); sort out ptracers diags units.
1046      - collect ptracer forcing tendency into local 2-D array (passed as argument
1047        to apply_forcing S/R); add 3-D diagnostics for ptracers forcing tendency.
1048    
1049    checkpoint65 (2014/07/18)
1050    o pkg/fizhi:
1051      - add parenthesis around fizhi tendencies in fizhi_tendency_apply.F: this
1052        affects results at machine truncation level. Update output of experiments
1053        fizhi-cs-32x32x40 (12 digits for cg2d) & fizhi-cs-aqualev20 (13 digits).
1054    o pkg/seaice: more clean up
1055      - rename TAF common block tapes to be more consistent and remove
1056        unnecessary duplicates
1057      - add store directives to remove more recomputations, but use smaller
1058        tapes (and adjust keys) when SEAICE_LSR_ADJOINT_ITER is undefined.
1059        The idea behind this flag is to reduce the memory footprint when the
1060        adjoint of the LSR is not required. As of now, defining the flag
1061        SEAICE_LSR_ADJOINT_ITER increases 4 common block tapes for 2D field by
1062        a factor of SOLV_MAX_FIXED (=500 by default in SEAICE_SIZE.h).
1063        For experiment offline_exf_seaice, this means on a linux box with gfortran
1064        nearly a factor of 10 (but keep in mind there is mostly seaice code in
1065        this experiment):
1066        > size mitgcmuv_ad
1067        text    data        bss     dec        hex
1068        5100659 1216  220458952  225560827  d71c8fb
1069        5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
1070        but only a moderate increase of 36% for global_ocean.cs32x15:
1071        text    data        bss     dec        hex
1072        6695027 1648 1014578664 1021275339 3cdf6ccb
1073        6695203 1648 1382505320 1389202171 52cd8afb (SEAICE_LSR_ADJOINT_ITER)
1074      - note: there are still recomputations in global_ocean.cs32x15 and
1075        offline_exf_seaice and the gradient agreement changes (gets a
1076        little worse) for global_ocean.cs32x15 (-> update output_adm.seaice.txt)
1077      - in general, the AD gradients still are wrong
1078    o OpenAD
1079      - clean up code_oad/ directories somewhat by moving files
1080        dontCompile, dontTransform, keepOriginal to OAD_support/
1081    o model/src:
1082      - using MOM fluxform and Non-Lin Free-Surf with momDissip_In_AB=F
1083        (not currently tested): add dissipation terms before NLFS rescaling of
1084        tendencies (previously done after).
1085    o pkg/diagnostics:
1086      - write stats-diags in ascii file with more digits (same as in monitor).
1087    o pkg/down_slope:
1088      - drop the bi,bj dimension of argument recip_hFac in S/R DWNSLP_APPLY; with
1089        NLFS (not tested), use new recip_hFac value in order to conserve tracer.
1090    o model/src:
1091      - new file "apply_forcing.F" containing all the code previously in
1092        external_forcing.F, but with new argument list: pass, as new argument,
1093        the current level tendency array to update (instead of a direct update
1094        of the common bloc array). Change the corresponding calls.
1095      - add CPP option USE_OLD_EXTERNAL_FORCING (default is undef) to use
1096        EXTERNAL_FORCING_U,V,T,S subroutines (for backward compatibility).
1097    o pkg/seaice/seaice_lsr, a little bit of clean up
1098      - rearrange some code blocks, so that now all calculations for
1099        setting up the right-hand-sides done within one single block
1100        (I find that easier to read and understand)
1101      - rearrange freedrift-code to reduce the number of ifdefs
1102      - adjust some indentations and comments
1103    
1104    checkpoint64z (2014/07/10)
1105  o model/src and several pkgs:  o model/src and several pkgs:
1106    - change argument list of all S/R called from external_forcing.F and    - change argument list of all S/R called from external_forcing.F and
1107      called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F)      called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F)

Legend:
Removed from v.1.2019  
changed lines
  Added in v.1.2212

  ViewVC Help
Powered by ViewVC 1.1.22