/[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.2040 by jmc, Wed Aug 6 23:19:25 2014 UTC revision 1.2159 by jmc, Mon Jun 15 14:01:03 2015 UTC
# Line 4  $Name$ Line 4  $Name$
4      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
5      ==============================      ==============================
6    
7    checkpoint65m (2015/06/15)
8    o pkg/layers:
9      - clean-up old parameters setting (from Sep 2012):
10        + remove old parameters setting from common block (declared locally);
11        + stop if any old parameter is mixed with new parameters;
12        + check for valid or consistent parameter setting (e.g., layers_name)
13      - check that layers_bounds for Pot.Density are in the right range;
14        this is supposed to catch un-updated setting after recently shifting
15        potential density field "prho" by -1000 (now in "sigma" scale).
16    o pkg/layers:
17      - Added missing call to layers_fill for keeping track of tottend in
18        pkg/diagnostics/diagnostics_fill_state.F
19    o pkg/layers:
20      - added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning
21        of diapycnal fluxes
22    o pkg/layers:
23      - reverted changes to interpolation to previous treatment; there
24        was never actually a problem
25    o pkg/layers:
26      - fix interpolation of layers tracers in the presence of partial cells
27      - add lots of new functionality to compute water mass transformation
28        (enabled by CPP flag LAYERS_THERMODYNAMICS)
29      - add new calls from main code (diags_oceanic_surf_flux.F,
30        thermodynamics.F, impldiff.F) and gad to save the necessary fields
31        for layers_thermodynamics calculations
32    o pkg/ptracers:
33      - add capability of stepping a passive tracer forward without advection
34        by setting PTRACERS_advScheme to 0.
35    o pkg/diagnostics:
36      - add few (threads) _BARRIER around any update of "diag_pkgStatus".
37    o pkg/layers:
38      - shift potential density field "prho" by -1000 for density layer averaging so
39        that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000);
40        Note that density bin boundaries (layers_bounds in data.layers) have
41        to be set accordingly (i.e., shifted, in sigma scale).
42    o pkg/layers:
43      - fix snap-shot output of layer thickness @ V.pt and output of pot.density
44      - fix calculation of layer non-weighted velocity and layer probability
45      - add diagnostics for pot.density used for layer averaging
46    o pkg/seaice:
47      - seaice_calc_viscosity.F: change computation of deltaC**2 to ensure
48        positiveness, modify a few comments and improve variable names,
49      - the changed computation of deltaC affects most seaice-related
50        experiments at the truncation level.
51        seaice_itd.thermo is affected by far the most, with
52        only 7 digits of agreement remaining; update experiments.
53    
54    checkpoint65l (2015/05/04)
55    o pkg/shelfice:
56      - in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set
57        factor drKp1 to zero where it is negative (ie. do not use
58        SHELFICEBoundaryLayer if hFacC>1)
59      - the same for factor drLoc in shelfice_forcing.F
60    o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem
61        with modules in ptracers, when using testreport option "-small_f"
62    o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD)
63      - replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1))
64    o verification/testreport
65      - add new option -small_f
66        with this option testreport first makes the target small_f (*.f files)
67        before running make (all). This is useful for explicit inlining when
68        all sources need to be full available.
69    o pkg/exf/exf_interp.F:
70        remove previous changes related to reverse (decreasing) input grids latitude
71    
72    checkpoint65k (2015/04/01)
73    o pkg/ecco:
74        fix missing cosphi initialization; use eccoiter in place of optimcycle;
75        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
76        instead of active read/write
77    o pkg/ctrl:
78        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
79        instead of active read/write.
80    o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F
81        return if .NOT.useAUTODIFF
82    o pkg/seaice: add CPP brackets (cost function related).
83    o model/src:
84        add useAUTODIFF run time switch.
85    o pkg/exf/exf_interp.F:
86        add code to allow input grids with latitude starting in the north (i.e. when
87        j=1 corresponds to northern edge of field); modify global_with_exf to test
88        this feature.
89    o verification/testreport:
90      - replace "grep -A3" with POSIX conformal sed command, because there are
91        implementations of grep that cannot do contextual searches
92      - replace "cat -n" by "nl" (two occurrences), because not all implementations
93        of "cat" have the option "-n"
94    o model/src:
95        add new file gsw_teos10.F that contains 3 functions, more or less a copy
96        of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to
97        convert from conservative to potential temperature. For now they are not
98        called anywhere.
99    o pkg/ggl90: make "useIDEMIX" useful
100      - re-organize code in s/r ggl90_calc a little to move computations that
101        are different for idemix into separate loops (changes verification
102        experiment idemix at truncation level, 12 digits remain -> updated)
103      - requires 2 new 2D fields KappaM, verticalShear
104      - make hFacI and recip_hFacI local 3D variables that are passed to
105        s/r ggl90_idemix
106      - fix and improve some comments
107    
108    checkpoint65j (2015/02/25)
109    o pkg/openad
110      - synchronize seawater.F with version in model/src: replace routine
111        body of sw_temp by calling sw_ptmp and fix/add a few comments.
112    o pkg/mnc:
113      - change default value of pickup_read/write_mnc params to FALSE
114        (since few features are missing in reading MNC pickup files).
115    o model/src:
116      - change default (background) vertical diffusivity for salt to be the
117        temperature (background) vertical diffusivity.
118      - change background vertical diffusivity in vertical mixing pkgs ggl90,
119        kl10, my82 and pp81 from temperature diffusivity to salinity diffusivity.
120        This makes ptracers default diffusivity (that uses salt diffKr) more
121        consistent with vertical mixing schemes.
122    o verification/testreport:
123      - fix typo in "-pcls" option ;
124      - put temp files in /tmp (instead of in local dir)
125      - add option "-ncad" to use genmake2 new option "-nocat4ad"
126      - allow to use "-j" option (for multi-procs make) for AD, OAD and TLM.
127    o pkg/ggl90 (idemix code):
128      - apply few fixes ; add some missing "_d 0" ; update output of exp.
129        global_ocean.90x40x15.idemix
130    o OpenAD
131      - enable active file I/O and begin removal of work-around code
132        for OpenAD for handling control variables (memory vs. active files)
133      - new CPP options file OPENAD_OPTIONS.h
134      - revert to genarr2d gradient check for hs94.1x64x5
135      - (genarr3d tested by tutorial_global_oce_biogeo, tutorial_tracer_adjsens)
136      - gentim2d works for halfpipe_streamice but not yet hs94.1x64x5
137    o tools/genmake2:
138      - add option for an alternative Makefile (from Martin) where multiple
139        source files are sent to TAF (instead of all in one file).
140    o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013)
141      - code provided by Carsten Eden as an extension of ggl90
142      - so far the code is turned on within ggl90 by setting a CPP-flag at
143        compile time; a runtime flag implementation is not yet complete
144      - tested in new verification experiment global_ocean.90x40x15.idemix
145    o verification:
146      - reduce length of the AD test run by half for experiments
147        global_ocean.cs32x15 (std + thsice) and isomip
148      - enable active file I/O for OpenAD, adjust verifications accordingly
149      - halfpipe_streamice: change gradient check from genarr2d to gentim2d
150    o verification/testreport:
151      - fix two non-POSIX sed statements so that there are no error messages
152        on Mac OS X
153      - replace hostname -s with hostname | sed 's/\..*$//'
154    o model/src/seawater.F:
155      - simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged
156        (following the matlab code), which would have avoided the bug caught
157        by Matt (see below) in the first place
158    o pkg/shelfice:
159      - implement alternative discretisation of quadratic drag (selectBotDragQuadr)
160        and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag.
161      - fix sign of friction tendency (no-slip BC) and fix u,v drag for thin
162        ice-shelf case (i.e., within surface level).
163      - add config summary in shelfice_check.F
164      - remove global variable recip_SHELFICElatentHeat and replace by a local
165        variable recip_latentHeat
166      - introduce diagnostics for friction velocity uStar (in case of
167        SHELFICEuseGammaFrict)
168      - change verification experiment isomip.htd:
169        + start from pickup (as input_ad at nIter0=8640)
170        + start from SHELFICEmassFile instead of SHELFICEloadAnomaly file
171        + test SHELFICEuseGammaFrict = .TRUE.
172        + test SHELFICEadvDiffHeatFlux = .TRUE.
173    o model/src:
174      - fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to
175        in-situ Temp) and in routine SW_TEMP (in pkg/openad);
176        update output of experiments global_with_exf.yearly and isomip (all 6).
177    o pkg/shelfice:
178      - change setting of kTopC to also be zero where there is no ice-shelf.
179      - zero out surface forcing arrays (for now, for T & S + EmPmR) where
180        ice-shelf is.
181      - first attempt to get RealFreshWaterFlux effects: for now, only without
182        SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping.
183    o pkg/seaice: add the option to prescribe a fixed thickness PDF
184      for thermodynamic calculations
185      - because of divisions of the type 7/7 not exactly equal to 1, this change
186        affects results of some verification experiments by up to 4 digits:
187        global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume,
188        seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides
189        adjoint: lab_sea, lab_sea.noseaicedyn
190        -> updated
191    
192    checkpoint65i (2015/01/23)
193    o model/src:
194      - change units of frictionHeating field from W to W/m^2
195      - fix bug in frictional heating from stratospheric drag in
196        S/R ATM_PHYS_TENDENCY_APPLY_V
197      - with synchronous time-stepping: move resetting to zero of frictionHeating
198        field from load_fields_driver.F to thermodynamics.F ;
199      - add diagnostics for frictional heating.
200    o model/src & gmredi K3D:
201      - add frictionHeating field to pickup-files (for synchronous time-stepping)
202      - move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h
203      - rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name
204        and name in pickup file).
205      - fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F
206    o model/src:
207      - move (from ini_forcing.F) initialisation of all arrays in header file
208        FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart
209        (since Nov 2012) with option selectAddFluid=1.
210    o pkg/shelfice:
211      - change units (+ document) of newly added field "shelfIceMassDynTendency"
212      - upgrade from _RS to _RL shelficeMass & shelficeLoadAnomaly arrays.
213    o pkg/obcs: re-organize obcs_calc_stevens.F to prepare for passive tracers
214    o pkg/seaice: two new runtime parameters:
215      - SEAICE_cStar replaces the hard wired "20" in the strength formulation,
216        long overdue
217      - SEAICE_tensilFac: preparation for Koenig-Beatty+Holland (2012)
218        parameterization of tensil stress for fast ice (does not do anything yet)
219    o pkg/seaice/seaice_check.F: left over from restricted addtive Schwarz method
220        for LSR: move checking overlaps out of JFNK-if-block
221    o pkg/atm_phys:
222      - move copy of grid and dynamical fields out of atm_phys_driver.F into
223        new S/R ATM_PHYS_DYN2PHYS.
224      - fix level height for Linear Free-Surf case (to be consistent with
225        fixed-in-time pressure levels).
226    o pkg/mom_common (bottomdrag):
227      - average bottomDragFld (ALLOW_BOTTOMDRAG_CONTROL) from grid-cell center
228        to correct location (U & V point) in S/R MOM_U/V_BOTTOMDRAG;
229        update output (adm & tlm) of experiment global_ocean.90x40x15.bottomdrag.
230    o pkg/shelfice (u/v_drag):
231      - add one argument (the other velocity component) to S/R SHELFICE_U/V_DRAG;
232      - use SHELFICEDragLinear & SHELFICEDragQuadratic in shelfice_v_drag.F
233        (now similar to shelfice_u_drag.F)
234      - remove condition on bottomDragTerms when calling SHELFICE_U/V_DRAG
235        from mom_vecinv.F (similar to mom_fluxform calls).
236    o pkg/mom_common (bottomdrag):
237      - add one argument (the other velocity component) to S/R MOM_U/V_BOTTOMDRAG;
238      - add options for alternative discretisation of velocity norm in quadratic
239        bottom drag: averaging of grid-cell-center KE to U.point and V.point
240        (selectBotDragQuadr=0, original code) can produce noisy patterns; this
241        improves when averaging only the other component (e.g. vVel for U bottom
242        drag) using wet-point method (selectBotDragQuadr=2) or not (=1).
243      - add options (bottomVisc_pCell) to account for partial-cell in bottom
244        friction (no-slip BC) thus getting the true distance from the bottom;
245        off by default since this also reduces model stability (explicit bottom
246        friction). Changes produce different machine truncation with linear-drag
247        + no-slip BC: update output of experiments exp4.stevens (10 digits) and
248        front_relax (bvp & mxl, 10 & 11 digits).
249    o model/src & mom pkgs:
250      - add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
251        since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
252      - for now and until vertical mixing scheme are updated to fill up level Nr+1,
253        just copy level Nr value to level Nr+1.
254    o doc:
255      - add notes form Abhisek Chakraborty on how to close Heat & Salt budgets.
256    o pkg/streamice:
257      - shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F,
258        SHELFICE.h: move array shelficemass to init_varia, initialise
259        from array shelficemassinit, which is set in init_fixed and
260        has option to be set from file; introduce array
261        shelficeMassDynTend array, set thru file in init_fixed
262      - NEW FILE: shelfice_step_icemass.F: update shelficemass from either
263        shelfIceFreshWaterFlux and shelficeMassDynTend or H_streamice in
264        pkg/streamice
265      - shelfice_thermodynamics.F: call shelfice_step_icemass if
266        SHELFICEMassStepping = .true.
267      - shelfice_ad_diff.list: add new subroutine shelfice_step_icemass.f
268    
269    checkpoint65h (2014/12/17)
270    o verification/global_ocean.90x40x15, global_ocean_ebm:
271      - update to generic controls.
272    o pkg/ctrl:
273      - ctrl_map_ini_genarr.F: test for igen>0
274      - ctrl_init_variables.F: add call to CTRL_MAP_INI_GENTIM2D.
275      - move gentim2d part of ctrl_map_ini_genarr.F to
276        new separate routine : ctrl_map_ini_gentim2d.F
277      - ctrl_cost_driver.F,ctrl_init.F ctrl_map_ini_genarr.F:
278        add time variable weights and cyclic controls (time mean,
279        seasonal cycle, etc) capabilities to gentim2d
280    o pkg/ecco:
281      - move reading of error, conversion to weights from
282        ecco_cost_init_fixed.F to ecco_toolbox.F (ecco_readwei)
283    o global_oce_llc90, cs32:
284      - activte sbo.
285      - CTRL_SIZE.h : add maxCtrlProc.
286      - activate the new genctrl capabilities.
287      - update following reorganization of global_oce_input_fields.tar.gz  
288    o pkg/ctrl/ctrl_ad_diff.list:
289      - add missing ctrl_init_rec.f
290    o tools/OAD_support/keepOriginal:
291      - add ctrl_init_rec.F
292    o model/src/the_main_loop.F, pkg/ctrl/ctrl_map_ini_genarr.F:
293      - avoid recomputations of xx_gentim2d_dummy.
294    o momentum diagnostics:
295      - move filling of diagnostics Um_Diss & Vm_Diss from mom_fluxform.F and
296        mom_vecinv.F to timestep.F (to include Smag-3D contribution).
297    o pkg/seaice/seaice_lsr.F:
298      - fix computation of BU/BV, make sure they are non-zero, only necessary
299        for cubed sphere exchanges and SEAICE_OLx/y>0.
300        This makes calling s/r fill_cs_corner_rl obsolete (removed).
301    o verification/global_ocean.cs32x15/input.seaice
302      - add test for strong implicit coupling and restricted addtive Schwarz
303        methods for LSR
304      - update results/output.seaice.txt
305    o verification/tutorial_global_oce_biogeo:
306      - AD & OAD set-up: switch off ALLOW_OLD_VIRTUALFLUX (like in fwd set-up)
307        and set PTRACERS_EvPrRn(1,2) to zero (for DIC & ALK);
308        update output_adm,_oadm,_tlm.txt
309    o pkg/dic:
310      - change default to "#undef ALLOW_OLD_VIRTUALFLUX" in DIC_OPTIONS.h
311      - add a stop when ALLOW_OLD_VIRTUALFLUX is defined and PTRACERS_EvPrRn
312        for tracer 1 & 2 is set (to avoid double counting of dilution effect).
313    o verification/tutorial_global_oce_biogeo:
314      - AD & OAD set-up: do not set PTRACERS_EvPrRn for tracer 1 & 2 since
315        dilution is already added by pkg/dic ALLOW_OLD_VIRTUALFLUX ;
316        update output_adm,_oadm,_tlm.txt
317    o eesupp/src:
318      - add fill_cs_corner_rl.F (_RL-copy of fill_cs_corner_rs.F)
319        and call it in seaice_lsr when using nonzero SEAICE_OLx/y
320    o pkg/seaice: introduce strongly implicit coupling, intended for stabilizing
321      LSR (following Hutchings et al. 2004)
322      - introduce zetaZ as a global variable (requires adjustments in
323        seaice_evp.F and seaice_jfnk.F) and compute analoguously to etaZ
324        in seaice_calc_viscosities.F
325      - new flag SEAICEuseStrImpCpl (default off)
326      - add new terms zetaZ*du/dy and zetaZ*dv/dx on both sides of the
327        momentum equations
328      - JFNK-solver (preconditioner) adjusted to allow using this method
329        (where it does not have any positive effect)
330    o pkg/seaice
331      - add overlap for restrictive additive Schwartz method also to LSR, but
332        turn it off by default (because it only seems to work for non-cubed
333        sphere/llc topologies)
334    o pkg/autodiff
335      - add extra exchanges in addummy_in_steppging also for mnc output
336    o pkg/seaice:
337      - add extra exchanges before dumping adjoint fields in seaice_ad_dump.F
338        to avoid stripes in the adjoint output (similar to addummy_in_stepping.F)
339    o pkg/obcs:
340      - add option to specify domain-connected piece Id along OB though files
341        (for now, only used to diagnose PhiVel; default =1 -> global correction)
342      - modify obcs_diag_balance.F to process each connected-part separately;
343        exclude OB where Id = 0 but keep the full divergence there (-> constant
344        Psi along this portion of OB and all inflow derived from grad(Phi))
345      - add example of OB-conect files in verification/so_box_biogeo/input.
346    o pkg/diagnostics:
347      - improve treatment of Open-Boundaries in Velocity-Potential calculation:
348      a) use non zero matrix element across OB and solve for Phi 1 grid point
349         outside OB (i.e, where tracer OBCS are applied).
350      b) global imbalance of inFlow/outFlow across OB: instead of modifying
351         velocity across OB, spread it uniformly along the OB in the RHS.
352    
353    checkpoint65g (2014/11/19)
354    o pkg/diagnostcis:
355      - add preconditioner off-diagonal factor (diagCG_pcOffDFac) as run-time param
356    o pkg/my82,pp81,kl10:
357      - fix ALLOW_3D_DIFFKR implementation (previously had no effect): use 3-D
358        field diffKr as background diffusivity to set minimum diffusivity value.
359    o pkg/seaice:
360      - add new parameter SEAICEuseEVPrev (for revisited EVP by
361        Bouillon et al 2013)
362      - add SEAICE_evpAlpha/Beta to namelist
363      - modify seaice_evp code to able to use SEAICEuseEVPrev. These changes
364        involve trivial re-ordering of divisions/multiplications that should not
365        have any effects, but ... they do change the results of lab_sea.hb87 so
366        that only 2 digits of agreement remain, in line with the general
367        instability/fragility of the evp-code. For now, I do not care and just
368        update the verification experiment
369    o pkg/ctrl : add generic pre-processing (xx_genarr2d_preproc etc)
370      - remove xx_genarr2d_numsmooth etc
371      - use xx_genarr2d_preproc etc instead
372      - carry out smooth_correl2D at initialization stage rather than during
373        time stepping.
374      - get smoothOpNb from xx_gentim2d_preproc
375    o global_oce_cs32 :
376      - add test of generic ecco capabilities.
377    o pkg/exf/exf_getsurfacefluxes.F :
378      - add to tmpUE/tmpVN rather than re-initializing them (conventional behavior).
379    o pkg/ctrl,ecco :
380      - omit un-necessary arguments to ctrl_cost_gen.F unless ECCO_CTRL_DEPRECATED
381        is defined.
382    o pkg/seaice: add diagnostics for Delta (deformation parameter)
383    o model/src:
384      - when ALLOW_3D_DIFFKR is defined, add a Warning if any of the vertical
385        diffusivity (background) is specified but ignored.
386    o verification:
387      - in testreport, convert hostname to lower case for default output dir name
388    o model, pkg : add useCTRL, useECCO parameters (on/off run time switch).
389    o pkg/dic: add modifications from Hajoon:
390      - add iron sedimentation flux function of the flux of PO4 out of bottom layer
391      - light attenuation: add self-shading effect by climatological Chlorophyll
392        (read from file).
393    o pkg/seaice/seaice_preconditioner.F : fix cpp flags, so that code also
394        compiles when SEAICE_ALLOW_DYNAMICS is undefined
395    o global_oce_llc90,cs32 : ecco_v4 verification exps now use separate
396        AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h rather than
397        ECCO_CPPOPTIONS.h (i.e. replacing the deprecated, circumvoluted,
398        approach where CPP_OPTIONS.h includes an omnipotent
399        ECCO_CPPOPTIONS.h that superseeds pkgs '_OPTIONS.h').
400    o pkg/ctrl/ctrl_map_ini_genarr.F : include GMREDI_OPTIONS.h where
401        ALLOW_3D_KAPGM, ALLOW_3D_KAPREDI (to be added later) belong.
402    o pkg/seaice/SEAICE_SIZE.h : replace ALLOW_AUTODIFF_TAMC with ALLOW_AUTODIFF
403        to avoid needing AUTODIFF_OPTIONS.h anytime SEAICE_SIZE.h is included
404        (it seems that THSICE_SIZE.h, PTRACERS_SIZE.h have the same issue...)
405    o model/src, pkg/smooth, profiles, salt_plume, seaice, exf, ecco, ctrl :
406      add ECCO_OPTIONS.h, AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h when needed
407      - ECCO_OPTIONS.h is needed when including ecco_cost.h, ecco.h
408      - AUTODIFF_OPTIONS.h is needed when including tamc.h, tamc_keys.h
409      - CTRL_OPTIONS.h is needed when including ctrl.h, optim.h, etc
410    o pkg/ctrl,ecco,exf :
411      - remove variables associated with NON-generic costs,
412        unless ECCO_CTRL_DEPRECATED is defined.
413      - remove NON-generic NON-obcs controls,
414        unless ECCO_CTRL_DEPRECATED is defined.
415    o pkg/ctrl : added ctrl_local_params.h
416    o pkg/ecco : added ecco_local_params.h
417    o verification : added ECCO_CTRL_DEPRECATED to most as and oad
418        experiments, which will progressively be removed once the
419        experiments are revised to use only generic controls/costs.
420    
421    checkpoint65f (2014/10/13)
422    o pkg/ctrl, ecco, seaice : minor changes in headers
423    o global_oce_llc90,cs32 : ecco_v4 verification exps now test generic
424        cost function and control capabilities added since checkpoint65c.
425    o pkg/ctrl: regroup all obcs ctrl variables in CTRL_OBCS.h.
426    o pkg/ecco: increase modularity and improve logic
427      - ecco_toolbox.F (new) : basic operations that are often used,
428        including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk,
429        ecco_addcost, ecco_add, ecco_div, ecco_readbar.
430      - cost_gencal.F (new) : determine filnames and records.
431      - cost_genread.F, cost_generic.F : condense code using ecco_toolbox.
432      - cost_generic.F : use spzeroloc rather than hard-coded -9999,
433        and exploit the above functions leading to more compact code.
434      - cost_genread.F : rm un-necessary arguments, re-arrange args order.
435      - ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj,
436        using_ers, using_gfo, using_mdt is now only defined within gencost)
437    o pkg/ecco: extend generic cost capabilities
438      - pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost
439        capabilities via gencost_preproc (+ _c,_i,_r related params),
440        gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod,
441        gencost_outputlevel arguments to cost_generic
442      - pkg/ecco/cost_genread.F (new) : interface between cost_generic
443        and active_read, making room for gencost_preproc to take effect.
444        Added preproc code ('climmon') to replace GENERIC_BAR_MONTH.
445      - pkg/ecco/cost_generic.F :
446        compute and store misfit maks*(model-data) in localdif that is
447        then used in cost and for output, output misfit if outlev.GT.0
448      - pkg/ecco/cost_averagesfields.F : depend on gencost_barskip
449        rather gencost_barfile for deciding whether to write barfile
450      - pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd
451      - pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from
452        ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip
453      - pkg/ecco/ecco_summary.F : report gencost variables
454      - pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs
455    o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA
456    o pkg/ecco: internal re-organization
457      - resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl
458        (rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter,
459        mv relevant variables definition from ecco_cost.h to ecco.h,
460        make sure gencost routines only include ecco.h)
461      - throughout : add missing CCP switches, rm unused variables,
462        and rm un-necessary CPP switches
463      - throughout gencost routines : replace modelstartdate with
464        gencost_startdate when needed
465      - cost_bp_read.F : use arguments, instead of common blocs
466        so that it can be used also by (new) cost_gencost_bpv4.F
467      - ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0
468      - ecco_phys.F : compute etanFull
469      - ecco_readparms.F : rename using_topex as using_tpj, add
470        bpv4-grace to gencost list, initialize added parameters
471      - ecco_summary.F : include SIZE.h needed for augmented ecco.h
472    
473    checkpoint65e (2014/09/28)
474    o pkg/obcs:
475      - replaced the just-added CPP options with run-time variables
476        (see pkg/obcs/OBCS_PARAMS.h for details)
477    o pkg/obcs:
478      - add additional CPP options for sponge boundary layers
479        (see pkg/obcs/OBCS_OPTIONS.h for details)
480    o pkg/atm_phys:
481      - implement simple (obliquity only, assuming circular planet orbit)
482        seasonal cycle for incoming insolation ; used when run-time parameter
483        "select_incSW" is set to 1 ; by default (=0), uses old unchanged formula.
484    o pkg/exf, pkg/ecco, pkg/ctrl:
485      - add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets
486      - activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip
487      - implement gentim2d for xx_tauu, xx_tauv
488    o pkg/ctrl, pkg/ecco :
489      - fix and complement the generic controls implementation
490    o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F,
491        pkg/shelfice/shelfice_thermodynamics.F,
492        verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F,
493        verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F :
494      - add weight in CTRL_GET_GEN calls
495    o pkg/ctrl :
496      - ctrl_get_gen.F : add weight as input parameter, and apply
497        it directly rather than using smooth_correl2Dw (to be retired).
498      - ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call
499    o pkg/ctrl :
500      - introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F,
501        ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F)
502      - re-activate ctrl_summary (call in ctrl_init.F)
503    o pkg/ctrl/ctrl_cost_gen.F :
504      - fix CCP brackets, remove un-necessary myiter, mytime
505    o pkg/ecco, pkg/ctrl :
506      - remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F)
507      - remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F)
508      - add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F)
509      - add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F)
510    
511    checkpoint65d (2014/09/15)
512    o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F :
513      - add xx_genarr2d_bounds,xx_genarr3d_bounds,
514        xx_genarr2d_numsmooth, xx_genarr3d_numsmooth
515    o pkg/ctrl/ctrl_map_ini_genarr.F :
516      - remove compilation failure
517      - replace hard coded example
518      - use ctrl_map_ini_gen2D, 3D
519    o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F :
520      - on/off switch based upon xx_genarr2d_weight,3d
521    o src/packages_init_variables.F :
522      - regroup pkg/estimation calls
523      - remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO
524        (moved to ctrl_init_variables)
525    o cost/cost_init_varia.F :
526      - remove ecco_cost_init_varia
527        (moved to ecco_init_varia)
528    o ctrl/ctrl_init_variables.F :
529      - add CTRL_MAP_INI, CTRL_MAP_INI_ECCO
530      - add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI
531    o ctrl/ctrl_map_ini.F :
532      - remove ctrl_map_ini_genarr, seaice_ctrl_map_ini
533        (moved to ctrl_init_variables)
534    o ctrl/ctrl_map_ini_ecco.F :
535      - remove ECCO_PHYS (mv to ecco_init_varia)
536      - remove seaice_ctrl_map_ini (mv to ctrl_init_variables)
537    o ecco/ecco_ad_diff.list :
538      - add ecco_init_varia.f
539    o ecco/ecco_init_varia.F
540      - new routine
541    o pkg/streamice:
542      - move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F
543        to streamice_init_fixed.F ; fix setting of STREAMICEisOn.
544      - from model/src, only call pkg/streamice routines if useStreamIce is TRUE.
545    o pkg/generic_advdiff:
546      - fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014.
547    o pkg/exf:
548      - exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown,
549         xxg_precip capability
550      - exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch
551    o pkg/ctrl:
552      - ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d
553    o model/src/load_fields_driver.F :
554      - move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING
555        so xx_gentim2d can be applied to e.g. exf fields in a timely manner.
556    o OpenAD verification experiments:
557      - Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h
558        in src files (to enable to skip the ECCO_CPPOPTIONS.h);
559        for now, only in pkgs used in OpenAD verification experiments.
560      - Change all except one (halfpipe_streamice) OpenAD experiments to use pkg
561        specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h)
562        instead of using ECCO_CPPOPTIONS.h (with all relevant options in it).
563        This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests.
564    o OpenAD verification tests:
565      - finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD);
566      - finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for
567        tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp.
568      - leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/)
569        and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC).
570    o model/src & generic_advdiff:
571      - change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S
572        forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model
573        dynamics requires valid tracer forcing only over tile interior but, for
574        some diagnostics, may need to extend it over 1 point in tile halo region.
575      - in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid
576        tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max
577        setting in temp/salt/ptracer_integrate.F
578    o pkg/dic:
579      - multiply tracer tendencies by maskInC (if ussing OBCS) before updating
580        gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER
581        in gchem_forcing_sep.F
582    o pkg/autodiff & obcs:
583      - add storage of current OB values for U & V (was already done for T & S).
584    
585    checkpoint65c (2014/08/30)
586    o pkg/dic:
587      - take out of dic_atmos.F the initialisation part (corresponding to istate=0)
588        and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for
589        AD compilers (but still a Pb with multi-threading and Ajoint dependencies).
590    o verification:
591      - new experiment testing OBCS and DIC pkgs, using params & output from
592        tutorial_global_oce_biogeo but limited to a sub-domain around Drake
593        passage: take OBCS from the last year of a 2 yrs simulation and initial
594        conditions from t=1.yr while keeping the same forcing.
595    o model/src:
596      - when allowFreezing=T, only reset below freezing initial Temp to Tfreezing
597        (at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T).
598    o pkg/diagnostics (Stats-Diags):
599      - re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to:
600        a) refine region where stats are computed, excluding where arrhFac=0 ;
601        b) fix missing interior mask (use with OBCS) in 3-D fields statistics;
602        c) extend regional stats over the region edges (for U or V pt location).
603    o pkg/gchem:
604      - add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since
605        pkg/dic is currently changing/updating ptracers values beyond the OB).
606    o verification (hs94):
607      - convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords
608        bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments
609        hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of
610        apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged.
611    o pkg/ptracers:
612      - implement Adams-Bashforth on pTracers (instead of on tracer tendency),
613        switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs)
614      - change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer
615        with AB-2 code (so that it get tested).
616    o model/src:
617      - allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS)
618        with AB-2 code (previously only available with AB-3 code).
619        Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F
620        to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done
621        there, by calling CYCLE_AB_TRACER).
622    o pkg/generic_advdiff:
623      - change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS,
624        GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R
625        + also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in
626        S/R temp/salt/ptracers_integrate.F
627    o model/src & pkg/ptracers:
628      - remove common block variables gT,gS (in DYNVARS.h), except when
629         USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly.
630      - remove common block variable gPtr.
631    o model/src & pkgs:
632      - change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R
633         ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G,
634         IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT,
635         GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T
636      + change accordingly all calling S/R.
637      - use local temperature/salinity/ptracer tendency array (without bi,bj)
638        in S/R temp/salt/ptracers_integrate.F
639    o pkg/seaice:
640      - move computation of stress contributions to rhsU/V in s/r seaice_lsr
641        to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code
642      - make u/vIceC local variables if SEAICE_CGRID is defined only to be used
643        in seaice_lsr
644      - seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D
645        in s/r seaice_lsr_calc_coeffs
646    o pkg/mdsio:
647      - in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long
648        (e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is
649        too long (e.g., > MAX_LEN_FNAM/2 )
650    
651    checkpoint65b (2014/08/12)
652    o pkg/matrix:
653      - pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP
654    o model/src:
655      - fix initialisation of geothermalFile; compile geothermal-flux code in
656        natl_box verification experiment.
657    o model/src & pkg/down_slope:
658      - push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop).
659      - in dwnslp_apply.F, update tracer tendency instead of the future tracer
660        field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects
661        results at machine truncation level: update output of experiments
662        global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD).
663    o pkg/diagnostics (Stats-Diags):
664      - do not cumulate the full volume when DIAGNOSTICS_FILL is
665        called with bibjFlg < 0 (no increment of the counter for 2D/3D diag);
666        This fix the mean statistics when DIAGNOSTICS_FILL is called multiple
667        times (but Min,Max and StD are still wrong).
668    o model/src:
669      - add geothermal flux forcing: read in ini_forcing.F as time-constant
670        field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F)
671    o model/src:
672      - move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer
673        _integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac
674        arrays are already updated while adjustments (filters, conv.adjustment) are
675        still applied later, in S/R TRACERS_CORRECTION_STEP.
676  o model/src:  o model/src:
677    - store in common bloc array "rhoInSitu" the virtual potential temperature    - store in common bloc array "rhoInSitu" the virtual potential temperature
678      anomaly that is used to compute geopotential: this make the atmos code      anomaly that is used to compute geopotential: this make the atmos code
# Line 82  o model/src: Line 751  o model/src:
751    - collect T & S forcing tendency into local 2-D array (passed as argument to    - collect T & S forcing tendency into local 2-D array (passed as argument to
752      apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.      apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.
753      affects results at machine truncation level (e.g., ocean: if using      affects results at machine truncation level (e.g., ocean: if using
754      SHORTWAVE_HEATING and atmos:, if using FrictionHeating or (atm_Rq<>0)      SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist
755      moist correction due to vertical advection).      correction due to vertical advection).
756    - update output of experiments: fizhi-cs-32x32x40 (13 digits),    - update output of experiments: fizhi-cs-32x32x40 (13 digits),
757      global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:      global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:
758      seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),      seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),
# Line 112  o pkg/seaice: more clean up Line 781  o pkg/seaice: more clean up
781      nearly a factor of 10 (but keep in mind there is mostly seaice code in      nearly a factor of 10 (but keep in mind there is mostly seaice code in
782      this experiment):      this experiment):
783      > size mitgcmuv_ad      > size mitgcmuv_ad
784      text    data        bss     dec        hex        text    data        bss     dec        hex
785      5100659 1216  220458952  225560827  d71c8fb      5100659 1216  220458952  225560827  d71c8fb
786      5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)      5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
787      but only a moderate increase of 36% for global_ocean.cs32x15:      but only a moderate increase of 36% for global_ocean.cs32x15:
788      text    data        bss     dec        hex      text    data        bss     dec        hex

Legend:
Removed from v.1.2040  
changed lines
  Added in v.1.2159

  ViewVC Help
Powered by ViewVC 1.1.22