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

Legend:
Removed from v.1.1743  
changed lines
  Added in v.1.1948

  ViewVC Help
Powered by ViewVC 1.1.22