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

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

  ViewVC Help
Powered by ViewVC 1.1.22