/[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.125 by jmc, Mon Jan 27 21:42:19 2003 UTC revision 1.414 by mlosch, Thu Dec 16 08:31:42 2004 UTC
# Line 3  $Header$ Line 3  $Header$
3      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
4      ==============================      ==============================
5    
6    o clean up build options files for SunOS, in particular change -xarch=v9
7      to -xarch=native
8    o changes per discussion of AM, JMC, & EH3 today:
9      - move redundant "grid" variables out of "state" -- in preparation of
10        creating proper CF-style coordinate variables and in recognition
11        that any/all grid variables can be easily copied (eg. w/NCO) from
12        the grid files into any of the other NetCDF files
13      - *always* output grid variables with MDSIO (this will eventually be
14        changed)
15      - output MNC grid file if useMNC is true
16    o every instance of _END_MASTER() has been found and replaced with
17      _END_MASTER( myThid ) in order to satisfy certain picky Sun
18      preprocessors
19    o re-arrange diagnostics pkg initialisation:
20     - allow each package to extend the available diagnostics list
21     - add some checking and fix small problems (multi-threaded, ...)
22     - new S/R diagnostics_fill (replace fill_diagnostics):
23       look through the short list of active diag. (instead of the long list)
24       create function DIAGNOSTICS_IS_ON to tell if a diagnostics is active
25    
26    checkpoint57a_post
27    o this set of changes restores TAMC compatibility
28      tested for global_ocean.90x40x15 adjoint on trough
29      (what a pain)
30    
31    checkpoint57a_pre
32    o some modifs in tools/build_options for sunos
33    o call ctrl_pack for ctrl at end for optimcycle=0
34    
35    checkpoint57
36    o add horizontal bi-harmonic viscosity for vertical velocity
37      - new parameter viscA4W (defaults to viscA4)
38      - affects only non-hydrostatic code
39      - to be done: no-slip lateral boundary conditions
40    o switch back to "sflux = sflux - runoff" in exf_getforcing.F
41    o implement Implicit Vertical advection for pTracers
42    o depth convergence accelerator: replace deltaTtracer by dTtracerLev(k)
43      (implemented also for implicit vertical diffusion & advection)
44    o OBCS: extend application of tracer open boundary conditions
45      to a strip beyond the boundary of width Olx/Oly
46    o add call monitor to TAF set of required calls (flow directives)
47      and include in natl_box_adjoint
48    o untangle a few ifdefs related to cost, ctrl, autodiff
49      untangel a few ALLOW_ECCO_OPTIMIZATION
50    o Apply Cooper & Haines representative estimates also at sub-surface (k=Nr)
51      (theta2, salt2 in ecco_cost_weights)
52    
53    checkpoint56c_post
54    o OBCS as control variables
55      - update ctrl_ad_diff.list, obcs_ad_diff.list
56      - remove balance of obcs controls from default
57      - fix index bug nobcs in ctrl_init
58      - fix dummy fields filen in ctrl_pack
59      - add dummy weights for obcs
60    o lsopt: comment out fort.94 output
61    o optim:
62      - remove unnecessary header files
63      - adjusted namelists
64      - add xerbla.F to Makefile
65    o exf:
66      - multiple modifications of exf_check_range
67      - unit change in exf_init_runoff from [m/year] to [m/s]
68    o mdsio:
69      - i/o-vector change debugLevel from debLevA to debLevB
70    
71    checkpoint56b_post
72    o collect all ptracers output in an new routine (PTRACERS_OUTPUT) that
73      is called from DO_THE_MODEL_IO
74      - rename PTRACERS_STATV_WRITE to PTRACERS_WRITE_TIMEAVE
75      - introduce new parameter PTRACERS_dumpFreq (defaults to dumpFreq)
76      - clean up PTRACERS_WRITE_TIMEAVE a little
77    o add another verification experiment that tests both the cfc-pkg and
78      the gchem-pkg with GCHEM_SEPARATE_FORCING undefined, that is with
79      reactive tendencies treated inline with regular timestepping
80    o testreport previously did a lousy job of comparing small numbers, so
81      we (Ed and Martin) changed the  way the cut-off of 1.e-12 is
82      implemented in the little c-progam tmp_cmpnum.c which is embedded in
83      testreport.
84    o ptracers_monitor: bug fix for MPI
85    
86    checkpoint56a_post
87    o GCHEM: finish reorganizating the package
88      - forward_step calls GCHEM_CALC_TENDENDY, which computes gchemTendency
89        (introduces another 3D-array for each passive tracer, but only if
90        GCHEM_SEPARATE_FORCING is undefined. For GCHEM_SEPARATE_FORCING
91        gchemTendency is not needed because the timestep is done separately)
92      - gchemTendency is added to gPtr in GCHEM_ADD_TENDENCY
93      - GCHEM is now---more or less cleanly---separate from PTRACERS
94      - to bo done: handling of surfaceForcingPtr that is needed for KPP not
95        so clear to me how that should be done in a general way.
96    o CFC: improve formatting of output in CFC_ATMOS
97    o PTRACERS:
98      - rename GCHEM_MONITOR to PTRACERS_MONITOR and call it from MONITOR, so
99        that ALL experiments with ptracers enable can be checked. This makes
100        GCHEM_MONITOR obsolete.
101      - include a runtime parameter PTRACERS_monitorFreq that defaults to
102        monitorFreq
103      - set default PTRACERS_write_mdsio to false if PTRACERS_write_mnc is true
104    o add PTRACERS (PTR0[1-5]) to testreport output
105    o exf_check_range:
106      * default changed to .TRUE.
107      * will check values for niter0 if debLevA, every timestep if debLevB
108      * STOP in exf_check_range if 'out of range'
109      * range chosen generous to allow for potential extema
110      TBD: a version with stricter range
111           permitted range would be runtime parameters
112    o GMredi:
113      - fix ldd97 slope limit ; extend valid domain of Psi-Bolus ;
114      - change S/R GRAD_SIGMA to be valid in the overlap on CS-grid.
115      - change the default GMREDI_OPTIONS.h: compile everything except Visbeck
116    o GCHEM:
117      - move call to GCHEM_FORCING_SEP, so that it is now called before
118        the blocking exchanges to avoid computing halos in GCHEM_FORCING_SEP
119      - introduced a useGCHEM runtime flag and applied it everywhere.
120      - renamed PTRACERS_SEPARATE_FORCING to GCHEM_SEPARATE_FORCING;
121        this flag is now only visible within GCHEM-pkg routines.
122      - moved gchem_forcing_int temporarily into ptracers_forcing, this will
123        be replaced by a 3D array that is computed before thermodynamics; for
124        this, the tracer ID iTracer had to be included into the parameter list
125        of ptracers_forcing
126      - set up forward_step to call gchem_forcing, that will replace
127        gchem_forcing_int in ptracers_forcing
128      - cleaning up
129    o small cleaning of exch2: remove files that are also in eesupp/src
130    
131    checkpoint56
132    o AIM: read land-Fraction earlier (from ini-fixed) and monitor land at nIter0
133    o mnc: cleanup "full" files--fixes out-of-memory problem
134    o ECCO-GODAE
135      * model/, pkg/, code/, input/ now complete w.r.t. ECCO-GODAE production setup
136      * fully merged and updated from SIO code
137        windstress sign change affects
138        - exf_inscal_[u/v]stress
139        - sign of xx_tau[u/v] adjustments
140        - signs in cost_scat
141      * ctrl_get_gen: avoid update of tau[u/v] for first few days
142      * natl_box_adjoint updated and compressed
143      * 2-level checkpoint switch added
144        (tested in EXP. 1 of natl_box_adjoint)
145      * new switch doInitXX to avoid init. of xx_... in optimcycle=0
146    o SVD
147      * first complete, non-hacked version for SVD calculations
148      * all interfaces clean w.r.t to handling of xx_..., adxx_..., g_xx_...
149        performed via direct access files admtlm_vector.it????
150        (via ctrl_[un]pack)
151      * optimcycle is used for ARPACK iteration counter
152        (note: adxx_... is iterated, rather than xx_...; latter is constant!)
153      * EV problem ok w.r.t. L2-norm in tangent space; need to check other norms
154        and add linear transforms where necessary
155      * controls are initial/final SST, SSS (can be extended; need to check
156        ctrl_set_[un]pack_xyz.F according to ctrl_set_[un]pack_xy.F
157    o mdsio: filename info to both stderr, stdout
158    o exf: exf_inscal_runoff: separated default conversion [m/year] -> [m/sec]
159      from sign change
160    
161    checkpoint55j_post
162    o isolate dissipation tendency (allow to keep it out off AB) in V.I form.
163      affects (truncation level) output.txt of global_ocean.cs32x15(&.thsice)
164    o add consistent build directories and .cvsignore files to verification
165    o added viscA4GridMin and viscA4GridMax for more control on biharmonic viscosity
166    o make all subroutines 30 or less characters in length for certain older
167      compilers to work (a thorough search only turns up two routines in
168      pkg/ptracers)
169    o allow (vecinv only) a different horiz. viscosity for Divergence and Vorticity;
170      affects (truncation level) output.txt of global_ocean.cs32x15(&.thsice)
171    
172    checkpoint55i_post
173    o change arrays for total vertical diffusivity (2.D if explicit,
174      3.D if implicit) ; each ptracer uses its own background value.
175    o added mnc/NetCDF output capability to ocn_compon_interf
176      - added bits to verification/cpl_aim+ocn so that it can run on
177        ITRDA and other clusters without the mpirun "-wd" option
178    o fixed wayward endif in mom_fluxform.F that messed up cyclindrical
179      configuration
180    o give MNC the ability to create additional files rather than
181      exceeding a specified file size limit "MNC_MAX_FILESIZE"
182      - the default is just less than 2GB which is a practical limit
183        on many systems
184    o Compute the non-local term using either KPP vertical diffusivity (=default)
185       or the total vertical diffusivity (when KPP_ghatUseTotalDiffus=T)
186    
187    checkpoint55h_post
188    o add verification test "vermix"
189    o remove all the *_ioinc flags and replace with the single global
190      outputTypesInclusive flag
191    o allow to set a vertical profile of vertical diffusivity for T & S
192    o call PACKAGE_BOOT & PACKAGES_READPARMS just after INI_PARMS
193    o useMNC moved from data.mnc to data.pkg
194    
195    checkpoint55g_post
196    o Renaming carbon AD experiments to comply with testreport conventions
197    o Updating adjoint of Held-Suarez hs94.1x64x5
198    o Fixing directives for non-ECCO forward_step, after ECCO directives
199      have been fixed to avoid recomp. of do_oceanic_phys
200      Works well for global_ocean.90x40x15,
201      but recomp. issue remains for carbon
202    o Updating adjoint output for natl_box_adjoint after
203      pkg/ecco has been modified (see taga c55d_post)
204    
205    checkpoint55f_post
206    o rename to timeave_init_fixed
207    
208    checkpoint55e_post
209    o some delicate re-shuffle of store directives to avoid one
210      extra call of do_oceanic_physics
211      affects ecco_the_main_loop.F, do_oceanic_physics.F
212      checkpoint_lev1_directives.h
213    o NB: this may break global_ocean adjoint temporarily,
214      but it is clear how to fix it. Will do later, need this now.
215    
216    checkpoint55d_post
217    o ECCO specific cost function terms (up-to-date with 1x1 runs)
218    o ecco_cost_weights is modified to 1x1 runs
219    o modifs to allow observations to be read in as
220      single file or yearly files
221    o enable to read exf forcing fields as either
222      single file or yearly files (flag useExfYearlyFields)
223    checkpoint55d_pre
224    
225    o switch between 2-level and 3-level checkpointing
226    o add ability of MNC to write local and "partial" (eg. 2D slices where
227      the full 3D field is never actually stored) arrays to NetCDF files
228      with the correct (that is, the complete multi-dimensional) set of
229      array indicies
230      - used in mom_vecinv() to write the diagFreq output
231      - tested (demonstrated) in verification/aim.5l_cs
232    o further mnc-ification
233      - add verification/lab_sea to the list with mnc setups
234      - fix undefined mnc v-names in cd_code
235      - add kpp to mnc output (both snapshot and timeave)
236    o non-hydrostatic code
237      - added horizontal viscosity parameter viscAhW for w, that replaces viscAh
238        in calc_gw.F
239      - defaults to viscAh
240      - this is useful, when I want to use viscAh=0 (e.g., only biharmonic
241        friction or Leith) in non-hydrostatic mode, as long as there is
242        no biharmonic friction and/or Leigth or equivalent for vertical velocity.
243    o pkg/cost
244      extend simple cost functions to treat time mean quantities
245      (T,U,V) via cost_accumulate_state from cost_tile
246    o multidimAdvection on CS-grid: implement the full 3 pass ; overlap needs to
247        be 2 times larger than the minimum size the advection scheme requires.
248        now get a perfect conservation of salt in advect_cs test-exp (updated)
249    o GGL90 (Gaspar's TKE mixed layer)
250      - add horizontal diffusion of TKE, requires exchanges in
251        do_fields_blocking_exchanges, horizontal diffusivity is zero by
252        default. In OPA there is no horizontal diffusion of TKE but the
253        mixing coefficients are computed from a horizontal average of TKE of
254        6 points or so. I think that diffusion has a little more physical
255        justification.
256      - clean up ggl90_calc in the hope of reducing memory usage (this hope
257        was in vain)
258      - mask tke-variable in ggl90_init
259    o fix mask Pb in multidimAdvection on CS-grid (still a small Pb with ipass)
260    o fix biharmonic diffusion on CS-grid.
261    o more obcs stuff
262      - added obcs_external_fields_load as an alternative to the EXF-pkg option
263        for reading boundary values. This routine is called from
264        obcs_prescribe_read
265      - updated obcs_check
266      - changed sponge layer relaxation parameter units for days to seconds
267      - turned off sponge layer by default
268      - changed argument list of OBCS_CALC to myTime+deltaTclock
269      - fixed about 35 bugs in obcs_external_fields_load
270    
271    checkpoint55c_post
272    o obcs stuff
273      - new runtime flags useOBCSprescribe, useOBCSbalance
274      - re-arranged obcs_calc
275      - moved exf_getobcs to obcs_prescibe_read
276        obcs_prescibe_read is called after ORLANSKI stuff
277        and independent of it (executable can contain all).
278      - updated obcs_check
279      - added exchanges for U,V,gU,gV for useOBCSprescribe=.TRUE.
280        These may be necessary only if tangential velocities are
281        prescribed at OB, not sure, needs testing.
282    o make the MNC_CW_ADD_VATTR_* subroutines all take scalar arguments
283      which simplifies the calls and passes the ifc check-bounds test
284    
285    checkpoint55b_post
286    o add a 2D scalar, Z location, exchange_2 routine.
287    o EXCH_UV for CS-grid: add one u,v in the corner-halo region, allows
288      to compute vorticity on a wider stencil [e.g., vort3(0,1)&(1,0)]
289      affects advect_cs results (for the wrong reason): update output.txt
290    o use a more standard discretization for biharmonic viscosity ;
291     (original version still available with #define MOM_VI_ORIGINAL_VISCA4 )
292      affects results of dome set-up: update output.txt
293    o fix gad_advection.F (CubedSphere part), back to version 1.23
294    o fix bug in mom_vi_del2uv.F (CubedSphere part).
295    
296    checkpoint55a_post
297    o merged code to
298      * prescribe/read time-dependent open boundaries
299        (works in conjunction with exf, cal)
300      * sponge layer code for open boundaries
301      * each boundary N/S/E/W now has its own CPP option
302        (healthy for the adjoint)
303    
304    checkpoint55
305    o up-to-date adjoint of previous breaks
306      - natl_box_adjoint: problem for exp 12, 13: cost = 0. needs fix
307      - global_ocean_ebm: adjoint still needs fix (TLM ok)
308      - global_ocean.90x40x15: extended GMREDI_OPTIONS.h
309      - carbon: * remove tr1-related adjoint verification
310                * add ptracer as control variable
311    o remove all tr1-related code (ALLOW_PASSIVE_TRACER)
312      (adjoint stuff still has some tr1 'names', but all use ptracer arrays)
313    
314    checkpoint54f_post
315    o in verification/carbin/ remove experiment related to
316      ALLOW_PASSIVE_TRACER (array tr1 etc)
317      code_ad/ input_ad/ results_ad
318    
319    o add two new packages
320      - ggl90, TKE-model of Gaspar et al. (1990), Blanke+Delecluse (1993)
321        + subject to optimization (memory)
322      - opps, OPPS (ocean penetrative plume scheme) of Paluszkiewicz+Romea (1997)
323        + subject to reordering (many GOTOs in the original code)
324        + so far opps is called for every (i,j) point, and then operates in
325          the vertical; one may want to reorder the scheme in order operate in
326          horizontal slabs at the cost of (a lot of) memory, at least ten new 3D
327          fields)
328    o overhaul of IO so that we now have flags for MDSIO and/or MNC
329      - all verification tests compile and run with linux_ia32_g77
330      - defaults are compatible with current input files--nothing
331        should change if you were not previously using MNC
332      - MNC output has been added in numerous places (eg. timeave)
333        but there are still a few writes not yet do-able with MNC
334        (this is in progress)
335      - flags now allow for either/or/both use of MDSIO and MNC and
336        documentation will soon follow
337      - numerous small formatting cleanups for ProTeX
338    o add version info (via BUILD_INFO.h) to MNC and stdout
339    
340    checkpoint54e_post
341    o add two new packages
342      - pp81 (Packanowski and Philander, 1981), Richardson number and
343        stratification dependent mixing
344      - my82 (Mellor and Yamada, 1982) level 2 turbulence closure scheme
345      - these scheme operate in a similar manner as KPP (without ghat, of
346        course), however there is only one diffusivity that is used for both
347        temperature and salinity (and passive tracers)ç
348    o add offline package
349    o add "verification/dic_example" which contains a dic-gchem-ptracer setup
350      provided by Stephanie Dutkiewicz
351    o genmake2: add ability to search for C compilers and cleanup test output
352      - fixes recent SX-6 problems and should help with others (eg. HP-UX)
353    
354    checkpoint54d_post
355    o data.diagnostics: if levels() is unspecified then ALL levels are diagnosed
356    o bug fix in pkg/cal/cal_addtime.F for TheCalendar='model' day count is wrong,
357      leading to additional shift by 5 days each year of integration
358       (i.e. leading to considerable offset over the years)
359    o update global_ocean.cs32x15/thsice: use z* + RealFW + staggerTimeStep
360    o start with no AB and no initial filtering (staggerTimeStep):
361      change the results of test-exp: hs94.128x64x5, hs94.1x64x5 & hs94.cs-32x32x5
362    o move ocean specific S/R calls from forward_step.F to do_oceanic_phys.F
363      (external loading & cpl import/export stay in forward_step.F)
364    o update coupling interface to work with new staggerTimeStep
365    o change MDSIO ptracers_pickup.
366    o fix a bug in Flux deriv. vs Ts (pkg/aim_v23/phy_suflux_sice.F);
367    o genmake2 fixes so netcdf now works on halem ("osf1_alpha_*")
368    o bugs fixed in kpp_calc.F (ustarY) and external_forcing.F (Qsw & Partial-cell)
369    
370    checkpoint54c_post
371    o replace surfaceTendency U,V,S,T,Tice,Ptr by surfaceForcing U,V,S,T,Tice,Ptr
372      this affects (truncation error) output.txt of test-exp:
373       global_ocean_ebm,_pressure,.cs32x15(&.thsice), lab_sea & natl_box
374    o pkg/kpp: replace pMask by maskC to reduce memory size (one 3.D array)
375    o change Qnet to always be the net heat flux, (+upward).
376      affects (truncation error) output of natl_box exp.: updated
377    o define the max number of passive tracers in PTRACERS_SIZE.h
378    o start to test mnc routinely in exp0
379    o add sea-ice loading (sIceLoad) as a new forcing field.
380    
381    checkpoint54b_post
382    o add testreport "-j JOBS" option for parallel builds (tested and pretty
383       impressive on Altix and Opteron systems)
384    o diagnostics can now write NetCDF files through the mnc package
385    o staggerTimeStep & NLFS: update pkg aim_v23 & thsice; update aim.5l_cs output
386    o staggerTimeStep & multi-Dim-Advec: Exch(U,V) added
387    o staggerTimeStep & NLFS: rescale T & S surface tendencies.
388      affects (truncation error) output of lab_sea & natl_box exp.: updated
389    o change pickup _cd & _ptracers (old pickup restart: usePickupBeforeC54=.T.)
390    
391    checkpoint54a_post
392    o re-write staggerTimeStep: step fwd U,V and then T,S (reverse the order).
393    o change pickup file (to restart from old pickup, set usePickupBeforeC54=.T.)
394    o get a perfect restart when using RealFreshWaterFlux + NLFS (not finished)
395    o update output of all exp. that use staggerTimeStep (except hs94.cs & 2D)
396      + internal_wave (shift in writing cg2d_ini_res)
397    checkpoint54a_pre
398    
399    o require forcing_In_AB=.FALSE. and remove surfaceTendencyTice from pkg/seaice
400      - modified verification/lab_sea and natl_box_adjoint accordingly
401    
402    checkpoint54
403    checkpoint53g_post
404    o prepare splitting of thermodynamics: store convect.counter in common block
405    o store d.etaH/dt (instead of Div.hV) in common ; affects (truncation error)
406      output of: global_ocean.cs32x15, global_ocean_pressure & internal_wave
407    o cnh's modifs to gad_advection.F for cube-sphere multi-dim advection
408    o new parameter "nShapS": allow to treat differently S from T (nShapT)
409    o separate Vert.Advec.Scheme from horizontal Advec.Scheme (T & S)
410    o restore adjointability
411    
412    checkpoint53f_post
413    o modifications that affect AIM experiment results (update output.txt):
414      - no advection of S at top interface Nr (pkg/generic_advdiff)
415      - air surf. temp: use lower value between T0 & T1 (phy_suflux_prep.F)
416    o AIM pkg:
417      - include stability function into surf.Flux derivative relative to Tsurf
418      - calculate clear-sky radiation & surface temp. change (for diagnostics)
419    
420    checkpoint53e_post
421    o merged cylindrical coord configuration
422    o added rotating_tank experiment
423    checkpoint53e_pre
424    
425    checkpoint53d_post
426    o faulks upgraded: re-generate output.txt that have changed:
427       global_ocean.cs32x15(.thsice), global_ocean_ebm, lab_sea, natl_box
428    o Added Bryan and Lewis, 1979, vertical diffusivity profile
429    o pkg/land: fix problem in land_impl_temp.F when Ts arround freezing.
430    o added Sadourny discretization of Coriolis
431      - moved some PARAMETERS from mom_*_coriolis.F to PARAMS.h
432      - re-enabled use of omega3 (useAbsVorticity)
433    o added Leith (Phys. Fluids, 1968, 10, 1409-1416) variable viscosity for
434      vector-invariant equations
435      - note: does *NOT* yet use same variable visc. for no-slip BC's.
436    o recoded the lateral boundary conditions for non-hydrostatic w, this time
437      hopefully without new bugs
438      - still to do: biharmonic friction for non-hydrostatic w
439    o bug fix for mom_*_sidedrag: rA -> rAs,rAw
440    o regenerated output for global_ocean_ebm (using -ieee)
441    o fix mom_common/mom_*_sidedrag.F to recover numeric output prior to creation
442      of mom_common/
443      - simple re-arrangement of instructions within computing loop
444    checkpoint53d_pre
445    
446    checkpoint53c_post
447    o new version of coupler for AIM+thSIce and Ocean models
448     - new fields (SSS,h_MixLayer ...) are exchanged through the coupler
449     - land: change Evaporation of snow
450     - aim with thSIce: fix bug in snow-precip.
451    o changes to calc_gw.F
452     - bug fix for w^2 term near the bottom boundary
453     - (hopefully) improve the lateral slip boundary condtions for use with
454        partial/looped cells
455      - because the bug fix changes two verification experiments anyway (exp5
456        and plume on slope), change the lateral boundary condition from half slip
457        to the value of no_slip_sides
458    o ebm package wasnt quite up to the parallel task. Fixed that.
459    o Adjoint of EBM package + verification
460      * TLM OK
461      * ADM not sufficient accuracy yet (needs further testing)
462    
463    checkpoint53b_post
464    o Commiting new energy balance model to repository
465      * package is pkg/ebm
466      * verif. is verification/global_ocean_ebm
467      * references are in ebm_driver.F
468    C      * X. Wang, P. Stone and J. Marotzke, 1999:
469    C        Global thermohaline circulation. Part I:
470    C        Sensitivity to atmospheric moisture transport.
471    C        J. Climate 12(1), 71-82
472    C      * X. Wang, P. Stone and J. Marotzke, 1999:
473    C        Global thermohaline circulation. Part II:
474    C        Sensitivity with interactive transport.
475    C        J. Climate 12(1), 83-91
476    C      * M. Nakamura, P. Stone and J. Marotzke, 1994:
477    C        Destabilization of the thermohaline circulation
478    C        by atmospheric eddy transports.
479    C        J. Climate 7(12), 1870-1882
480    o Will need long integration testing.
481    checkpoint53b_pre
482    
483    o created pkg/mom_common in preparation for variable viscosity code
484    o renamed and split ini_mnc_io
485    o pkg/land: only liquid water can diffuse or run-off
486    o AIM using land: soil wetness availability account for snow
487    o added printMapIncludesZeros to EEPARMS namelist
488    
489    checkpoint53a_post
490    o restore TAMC compatiility for exf_constants.h
491      (no usage of _d in .h)
492    o Additional storing in KPP in an attempt to fix
493      TAMC problem with adjoint of KPP code.
494      (no success...)
495      Identical code works fine with TAF.
496    o Fixed verification/natl_box_adjoint experiments.
497      Initial conditions for Experiments 4 and 5 are now
498      set to "SEAICE_initialHEFF=0", which is more reasonable,
499      and hence gives results closer to that of Experiment 2.
500      Experiment 6 requires "SEAICE_initialHEFF=1" and is working once again.
501    
502    checkpoint53
503    o stable checkpoint with up to date adjoint
504      TLM tests only run for 1st grdchk at the moment. Its unclear if
505      this is a code problem or a problem with resetting code for g_
506      variables that is being autogenerated wrong.
507      Otherwise:
508       o code is testing well on Linux (P4 and AMD), SGI Alitix and Irix.
509       o IBM and HPQ tests could not be run because NCAR (IBM) and NCCS (HPQ)
510         are both still in chaos following their security messes.
511    
512    checkpoint52n_post
513    o various build (mostly genmake2) changes including:
514      - ability to build/run more easily within Cygwin and MacOS X
515      - more complicated Makefiles with a stronger dependence on Gnu Make
516    o pkg/seaice modifications
517      - added SEAICE_deltaTtherm and SEAICE_deltaTdyn in order to reduce cost
518        of pkg/seaice.  For time being, SEAICE_deltaTtherm = deltaTtracer
519        and SEAICE_deltaTdyn must be integer multiple of SEAICE_deltaTtherm
520      - changed proxy for geostrophic velocity and updated
521        verification/lab_sea/results/* accordingly
522      - removed ADI dynamic solver from pkg/seaice
523      - replaced all occurrences of 1/CSTICE or 1/CSUICE
524        they caused a segmentation fault under certain circumstances
525      - removed unused field WATR
526    o bug fix in exf-package:
527      -  u/vwind are defined at tracer/pressure points. The values of u/vwindmask
528         now reflect that.
529    o small fixes in the cal-package:
530      - set reference date to first of January for the 'model'-calendar
531      - failing of cal_CheckDate in cal_FullDate now actually results in a
532        warning
533    o small modifications in exf-package to increase flexibility:
534      - change climtempfreeze from a constant to a runtime parameter that
535        is specified in data.exf_clim (default = -1.9)
536      - introduce runtime parameter windstressmax (default = 2.0) that is
537        specified in data.exf
538    o fix in pkg/thsice:
539      - update Evap (Tsf changes) to be consistent with Latent heat flux
540      - maintain snow precipitation unchanged (even if Tsf >=0).
541     both affect global_ocean.cs32x15/(.thsice) results ; update output.txt.thsice
542    
543    checkpoint52m_post
544    o commented out call to cal_GetMonthsRec in swfrac.F and added some comments;
545      this does not change any of the results, because myIter=0 in swfrac always
546      lead to jwtype=2 (the default anyway), but the call makes little sense
547      as a default
548    o no SHORTWAVE HEATING lost at the bottom; affects lab_sea output; updated
549    o re-work pkg/thsice interface with ocean & bulk_force pkg to allow
550      atmospheric model (AIM) to use it ; add a "slab ocean" component.
551    o pkg/aim_v23 : add interface to call thermodynamic sea-ice (thsice)
552    o update global_ocean.cs32x15/output (.thsice) after changes in pkg/thsice
553    o extending useSingleCpuIO option to work with new exch2 I/O format
554      - old-style, missing-tile I/O is still accessible by defining CPP
555        option MISSING_TILE_IO in pkg/mdsio/MDSIO_OPTIONS.h
556    o monitor package can write to NetCDF files and/or STDOUT
557    o fix re-definition bug in MNC_GRID_INIT_ALL()
558    o doc/api_reference added
559      - a framework for building an API Reference Manual using all
560        the "protex" comments embedded in the code
561      - see pkg/generic_advdiff, pkg/mnc for examples
562    o MNC:
563      - make myThid the last argument for all subroutines
564      - new default for the grid files: NO halos
565      - add useMNC and other run-time flags
566      - separate per-file-group handling of the unlimited dimension
567      - early initialization of MNC w/ flags read at the eeboot stage
568        and lookup tables set in initialize_fixed
569      - write all MNC output to a freshly-created directory
570    o thermodynamics sea-ice (thsice) is now tested with testreport.
571    o test exp. advect_cs: use the standard cs32 grid ; update output.
572    o Added functionality to grdchk:
573      pick global i,j,k position (or nearest wet) where to perform check.
574    
575    checkpoint52l_post
576    o new land formulation:
577      a) use ground enthalpy as prognostic variable to ensure exact
578         energy conservation.
579      b) account for water temperature and for latent heat of freezing
580         in all processes (rain, run-off, ground storage)
581      c) compute surface and ground temperature implicitly.
582    o aim_v23 modification for new land model:
583      a) Treat separately land / ocean / sea-ice surface fluxes
584         to allow implicit computation of land & sea-ice surface temp.
585      b) add snow precipitation.
586    checkpoint52l_pre
587    
588    o fix problem (when 1 tile is empty) in min/max monitor.
589    o fix bug in timeAve (u,vZetatave in common block)
590    o no restoring terms under ice for pkg/seaice
591    o moved SEAICE_DO_DIAGS to S/R do_the_model_io
592    o bug fix for pkg/seaice pickups
593    o change MNC call locations and add coordinate attributes
594    o mask vorticity at the corner ; affects global_ocean.cs output
595    o fix ini_curvilinear_grid ; test CS experiments with mpi
596    o aim.5l_cs: modify sea-ice fraction input file ; update output
597    o exf: Adding simple range check routine for exf fields after read
598    
599    checkpoint52k_post
600    o removed top-level directory "diags"
601      - we migrated these functions to pkg/timeave a long time ago
602    o fixed bug introduced in pkg/monitor
603    o accuracy ctrlprec = 32 insuffient for gradient checks using
604      averaged fields (I/O via cost_averages)
605      -> use ctrl.h in active_file*.F to control I/O precision.
606    o paramter list of CALL ADTHE_MAIN_LOOP
607    o added initial do_the_model_io to ecco
608    o set all ...Freq to zero after cost_final
609      taveFreq, dumpFreq, pChkptFreq
610    o MAIN and ECCO differentiability restored
611    
612    checkpoint52j_post
613    o fix nchklev in tamc.h for global_ocean...
614    o Bringing flow and store directives up-to-date
615    o Really weird thing!
616      call do_the_model_io from the_main_loop with parameters
617      starttime, niter0, instead of mytime, myiter, screws up the adjoint:
618      TAF places a faulty re-call of initialise_varia
619      after cost_final call which should not be there!
620    checkpoint52j_pre
621    
622    o tweaked pkg/mdsio/mdsio_readfield.F to have more useful logic and
623      error messages
624    o fix errorMessageUnit problem. remove old version of mdsio from eesup/src
625    o modified pkg/mdsio/mdsio_readfield.F -- commented out diskspace-eating
626      debug output
627    o modfied mdsio_writefield.F to handle non-global files under exch2
628    o update AIM Cubed-Sphere exp (aim.5l_cs):
629      use land, p*, and Franco.M forcing fields with fractional land-sea mask.
630    o update AIM Equatorial Channel exp:
631      use standard aim_v23 pkg and change the SST fields to be more realistic.
632    o globalFile now works with exch2
633    o merged mom_vi_calc_relvort3.F, mom_vi_del2uv.F and
634      mon_vort3.F to make exch2 friendly with >1 tile per cube face
635    o limit timeave output for hi-res integrations
636    
637    checkpoint52i_post
638    o removed CPP_EEOPTIONS.h from verification/*/code
639    o updated the tiling for global_ocean_pressure
640    checkpoint52i_pre
641    
642    o update aim.5l_LatLon using the standard aim_v23 pkg (instead of
643      the old pkg/aim).
644    
645    checkpoint52h_pre
646    o shortened offending lines in exch2_send_rx?.template
647    o modified W2_EXCH2_TOPOLOGY.h to reflect current topology generator
648    o genmake2: add build & execute test for NetCDF code
649    o modded aim.5l_cs and global_ocean.cs32x15 to use exch2, removed
650      old grid files, moved CPP_EEMACROS.h to pkg/exch2
651    o added useSingleCPUIO flag to monitor.F and mon_out.F
652    o added temporary hack for sea-ice dynamics on the cube:
653      metric terms are ignored and it is assumed that
654      there is no sea-ice on cube faces 1, 2, 4, and 5.
655    
656    checkpoint52f_post
657    o added exch2 cube routines to pkg/exch2
658    o modified hs94.cs-32x32x5 to use it
659    o added new grid files to hs94.cs-32x32x5
660    checkpoint52f_pre
661    
662    checkpoint52e_post
663    o first attempt to solve vertical advection (momemtum & T,S) Implicitly
664      for now, only implemented with Lax-Wendroff (tracer) and VectInv (mom)
665    o step.1 : rewrite (as in MultiDimAdvec) explicit tracer stepping (gad_calc_rhs.F)
666      to work with implicit vertical advection and AB ;
667    o Implic. vert. advect. implemented with flux-limiter, c2, u3 and c4 scheme.
668    o update output (gad_calc_rhs.F changes affect truncation error) of exp:
669     front_relax, global_ocean .cs32x15 & _pressure, internal_wave, lab_sea, natl_box
670    checkpoint52e_pre
671    
672    o fix bug in impldiff when Nr=1 or Nr=2.
673    o change the albedo in pkg/thsice (as GISS model); update output_thsice.txt
674    o little changes (fftpack, aim/phy_suflux ...) to pass the "checkbounds" test.
675    o fix deltaTfreesurf in update_cg2d.F (left from c45d_post): affects 2
676      ocean exp. that use NLFS: global_ocean.cs32x15 & global_ocean_pressure
677    o added exf_offset_atemp for Celsius to Kelvin conversion of atemp
678    o eesupp/inc/EEPARAMS.h: MAX_NO_PROCS=1024
679    o pkg/cal/cal_toseconds.F fix for long (>60 years) integrations
680    
681    checkpoint52d_post
682    o re-tiled many expts to allow comparison in multi-processor mode
683      - updated output accordingly
684      - changed hs94.128x64x5 to use intial T from file rather than use the
685        random number generator
686    o add infrastructure in model routines for fizhi and gridalt packages
687    o change global_ocean.cs32x15 because of Pb with GM on CS-grid.
688    o changes to permit hi-res, cubed-sphere, configuration
689      - added useSingleCpuIO capability to mdsio_readfield.F and exf_interp.F
690      - added "#undef ALLOW_USE_MPI" support to eesupp/src/scatter_2d.F
691      - added pkg/exf/exf_set_uv.F for on-the-fly interpolation and rotation
692        of surface winds for the cube
693      (A verification experiment, based on global_ocean.cs32x15, but with
694       pkg/seaice turned on and with on-the-fly interpolation from the NCEP
695       Gaussian grid is described in MITgcm_contrib/high_res_cube/README_ice,
696       complete with example surface forcing files and matlab scripts to look
697       at the output and compare it with that of global_ocean.cs32x15.)
698    o packages pickup: $PKG_write_pickup called from packages_write_pickup ;
699       but call to $PKG_read_pickup remains in $PKG_ini_vars: change CD_code
700       to conform to the common rule.
701    o check-in the first version of the coupler + interfaces for multi-components
702       set-up (Chris's version, adapted to work on cubed-sphere grid); use MPI.
703       - imply modification in eesupp (MPI_COMM_MODEL < MPI_COMM_WORLD).
704       - atmosphere: use pkg aim_v23 ; no sea-ice for now.
705       - ocean and atmos. share the same horizontal grid (no interpolation).
706       - exchanges between component and coupler is done in forward_step
707    o new verification experiment, cpl_aim+ocn:
708       coupled ocean - AIM atmosphere on cs32 grid.
709    
710    checkpoint52d_pre
711    o surface flux time-av diagnostic modified for NLFS & RealFreshWater
712    o add call to AIM pendant S/R in external_forcing & external_fields_load.F
713    
714    checkpoint52c_post
715    o Fixing OPTIONS files for use of exf:
716      - ALLOW_ECCO not needed
717      - ECCO_CPPOPTIONS.h should not be included from
718        EXF_OPTIONS.h/CAL_OPTIONS.h, but from CPP_OPTIONS.h
719        as has been the case in the past
720      - All cal/exf related options are currently set in
721        single header file. Should remain so until we
722        agree on a consistent new policy.
723    o Removed all CPP options for cal package.
724      cal has no more CPP options.
725    o modified STOREs in GAD_ADVECTION
726    o corrected key comp. for passkey
727    
728    checkpoint52b_post
729    o new version: "thsice" of thermodynamic sea-ice pkg:
730     - only 1 call from "forward_step"; conserve energy, fresh-water & salt.
731     - modify fluxes but do not change theta directly;
732     - light cleaning of bulk_force pkg (still needed with thsice).
733     - add forcing fields + data files in global_ocean.cs32x15/inp_thsice
734       + output_thsice.txt to test thsice & bulk_force pkgs.
735    o put back grid & coriolis monitor output.
736    checkpoint52b_pre
737    
738    o call "do_the_model_io" at the beginning (=> dump initial state)
739    o use rhoConstFresh to define convertEmP2rUnit (was done only in ocean-P)
740    o sort out interplay between tamc.h and PTRACERS_OPTIONS.h
741      (need info on NUMBER_OF_PTRACERS)
742    o missing PTRACERS headers in some routines
743    o default tamc.h in pkg/autodiff supposed to crash
744      to ensure proper customization
745    
746    checkpoint52a_post
747    o modifications to make FREEZE (_SURFACE) flux visible to pkg/kpp
748      - moved surfaceTendencyTice from pkg/seaice to main code
749      - subroutine FREEZE_SURFACE now limits only surface temperature
750        and is called in FORWARD_STEP (if allowFreezing=.TRUE.)
751        => new output.txt for global_ocean.cs32x15 & global_with_exf
752      - keep the old version of FREEZE for backward compatibility;
753        global_ocean.90x40x15 left unchanged using useOldFreezing=.TRUE.
754      - corresponding modifs for TAF directives
755    o added surface flux output variables to TIMEAVE_STATVARS
756    o time-averaged output for pkg/ptracers
757    o fix problem with ECCO-related divided adjoint
758      snapshot file was missing some ad-variables,
759      but no warning issued by TAF
760    
761    checkpoint52a_pre
762    o some bug fixes for #undef REAL4_IS_SLOW
763    
764    checkpoint52 = ecco_c52_e35
765    o after testing adjoints of checkpoint51u_post
766    
767    checkpoint51u_post
768    o this is the post-merge tag of the ecco-branch
769      (needs another clean checkout and re-testing)
770    o various natl_box_adjoint configs and results
771      but no input fields
772    o obcs adjoint not yet merged!
773    o adding ECCO global 1x1 and 2x2 degree configs
774    o updated/extended some store directives for seaice
775    o pkg/ecco now containes ecco-specific part of cost function
776    o top level routines the_main_loop, forward_step
777      supersede those in model/src/
778      previous input data.cost now in data.ecco
779      (new namelist ecco_cost_nml)
780    o in ctrl/ cleaned some cross-dependencies and updated CPP options
781    
782    checkpoint51t_post
783    o this is the pre-merge tag of the ecco-branch
784    
785    checkpoint51s_post
786    o cleanup: removed various obsolete #define-s
787    o pkg/grdchk
788      - renamed 'ph-grd 3' to 'grad-res'
789      - merged from ecco-branch
790        (remaining bug fixes for obcs gradient checks)
791      - additional high-precision output for testreport
792        (grep for 'precision_grdchk_result')
793    
794    checkpoint51r_post
795    o cleaned up or removed CPP_OPTIONS.h files
796    o updated results for some of the tests to reflect the new
797      optfiles (-ieee: -O0 instead of -O3)
798    
799    checkpoint51q_post
800    o cd_code:
801      - moved cd_scheme.F -> cd_code_scheme.F
802      - separate read_checkpoint from cd_code_ini_vars.F
803      - separated cd_code part from write_checkpoint
804      - updated AD_SOURCE, generated .flow
805      - added CD_CODE_VARS.h to the_main_loop
806      - Moving cd_code specific store dir.s to pkg/cd_code
807    o ctrl package totally restructured
808      - pack/unpack now optional and decoupled from
809        xx_/adxx_ I/O
810      - ctrl_pack/unpack cleaned
811        (new routines ctrl_init_ctrlvar.F, pkg/ctrl/ctrl_init_wet.F)
812      - confined inclusion of AD_CONFIG.h to where necessary.
813    o genmake2: changed AD dependencies from SRCFILES to AD_FILES
814    
815    checkpoint51p_post
816    o create initial cd_code package
817      - WARNING: the initialization of fields within packages
818        is broken because INI_FIELDS (where READ_CHECKPOINT is
819        called) is called *before* PACKAGES_INIT_VARIABLES.
820        This seems to be backwards since
821        1) its important to initially zero the entire field including
822           the "halo" region
823        2) zeroing needs to be done *before* reading pickup info
824           and the pickup call might or might not happen in any
825           particular run
826      - this needs an overhaul for R2
827    o cleanup verification/*/code/GMREDI_OPTIONS.h
828    o cleanup testreport
829    
830    checkpoint51o_post
831    o bringing AD-related verif's up to date with genmake2
832      - carbon/
833      - global_ocean.90x40x15/
834      - hs.94.1x64x5/
835      - (front_relax/ )
836    o (more) consistent directory structure for AD-related verif.'s
837    o cleaning ALLOW_GRADIENT_CHECK -> ALLOW_GRDCHK
838    o cleaning some ALLOW_TANGENTLINEAR_RUN -> ALLOW_AUTODIFF
839    o bug fix in find_alpha.F for MDJWF:
840      - modif. to alpha = 1/D*( dN/dT - rho*dD/Dt) to account for
841        change rho -> rho-rhoConst
842      - replace call find_rho to find_rhonum
843    o initialisation of rFlx extended to full array (required by TAF)
844      and shifted to thermodynamics
845    o removed PTRACERS.h in ptracers routine
846    o added surfacetendencyPtr to S/R parameter list pracers_forcing
847    o Correcting initialisations for fVerU, fVerV.
848    o helping TAF to recognize dependency on kUp for
849      fVerU, fVerV
850    o Replacing delZ by delR in pkg/ctrl/
851    checkpoint51o_pre
852    
853    o undid all of cp51 pending some cleanups and discussion
854    o added the [#include "AD_CONFIG.h"] statement to all files that need
855       it for adjoint/tl #defines
856     o re-worked the build logic in genmake2 to support AD_CONFIG.h
857     o removed tools/genmake since it no longer works
858    
859    checkpoint51n_post
860    o modifications to make FREEZE flux visible to pkg/kpp
861      - moved surfaceTendencyTice from pkg/seaice to main code
862      - FREEZE & EXTERNAL_FORCING_SURF moved to FORWARD_STEP
863      - subroutine FREEZE now limits only surface temperature
864        (this means new output.txt for global_ocean.90x40x15,
865         global_ocean.cs32x15, and global_with_exf)
866    o added surface flux output variables to TIMEAVE_STATVARS
867    
868    checkpoint51n_pre
869    o added "#undef ALLOW_USE_MPI" support to eesupp/src/gather_2d.F
870    o added [#include "AD_CONFIG.h"] to all files that use the following
871      defines:
872      - ALLOW_ADJOINT_RUN
873      - ALLOW_TANGENTLINEAR_RUN
874      - ALLOW_ECCO_OPTIMIZATION
875    
876    checkpoint51m_post
877    o incorporating changes to get TAMC/TAF working in genmake2
878      - added new TAMC/TAF targets to the Makefile
879      - various cleanups related to package handling
880      - these changes should have no impact on the forward model
881    
882    checkpoint51l_post
883    o changes to pkg/cal and pkg/exf that allow and speed-up long integrations
884     - faster algorithm for cal_addtime.F
885     - higher precision arithmetic, where needed
886     - pkg/exf *startdate variables changed from calendar date to
887       model integration time
888    
889    checkpoint51l_pre
890    o add salt flux to forcing fields (used when salty sea-ice forms or melts)
891    o enable to apply restoring on S & T only in a latitude band.
892    o update output (external_forcing_surf modif. change truncation errors)
893       global_ocean.cs32x15, global_ocean_pressure, lab_sea, natl_box
894    
895    checkpoint51k_post
896    o change default to: useNHMTerms=.FALSE.
897     - new output.txt for atmos. exp (NHMTerms were wrong but now turned off):
898       adjustment.128x64x1, aim.5l_Eq_Ch, aim.5l_LatLon, hs94.128x64x5, hs94.1x64x5
899     - new output.txt for idealized oceanic exp (NHMTerms are now turned off):
900        exp1, ideal_2D_oce
901     - change data file of oceanic exp (leave the results unchanged for now)
902       exp2, global_ocean[90x40x15,pressure,with_exf], lab_sea, natl_box
903    o set gravitySign automatically according to the vertical coordinate used
904      (and change sign: back to "logical" value: +1 when R increases downward)
905    o added an include barrier to the default CPP_OPTIONS.h and
906      removed the #include "PACKAGES_CONFIG.h" from it
907    o fix a bug in mom_fluxform (from chk51j_post)
908    
909    checkpoint51j_post
910    o Added some AD-related initialisations in mom_vecinv/ mom_fluxform/
911    o adjusted some flow directives (dynamics, thermodynamics)
912    o added cubed-sphere case to test cost function
913    o heckpoint_lev?_directives.h now include
914      pkg-specific directives, whenever those are enabled.
915    o Moving pkg-specific flow directives to corresponding pkg
916      Moving pkg-specific differentiation list to corresponding pkg
917      Moving pkg-specific checkpoint-lev storing to corresponding pkg
918      ---> conventions are
919           - pkg_ad.flow
920           - pkg_ad_diff.list
921           - pkg_ad_check_lev?_dir.h
922    
923    checkpoint51i_post
924    o merge of the branch-genmake2
925      - knowingly breaks the older genmake
926      - automatic generation of all ALLOW_${PKG_NAME} defines
927      - new testreport supersedes older testscript
928    o large number of package inclusion and header cleanups
929    checkpoint51i_pre
930    
931    o new output for adjoin of global ocean vector invariant
932    o fix for checkpoint of thermodynamic seaice and bulk_force
933    o Steph gchem various cleanups
934    
935    checkpoint 51h_pre
936    o fixed some single quotes
937    o modify gchem pkg to be more versatile
938    o modifications to clean up dic pkg
939    o add pkg/cfc
940    
941    checkpoint51g_post
942    o provide links for ARPACK and ADM*TLM
943    o start removing verification/vero/
944    o update AD-related stuff
945      (in particular some IF-statements in model/src/ routines)
946    o adding to verification/global_ocean.90x40x15/ adjoint of
947      vector invariant setup
948    
949    checkpoint51f_post
950    o update advect_xz/output.txt (left from chekpoint50f_pre, ini_vel modif)
951    o Mods and bug fixes to pkg/cal, pkg/exf, etc., needed for computation
952      of tracer Green's fucntions for ocean inversion project.
953    
954    checkpoint51f_pre
955    o Added on-the-fly spatial interpolation capability
956        "USE_EXF_INTERPOLATION" to pkg/exf.
957      - This is a temporary Cartesian-grid hack until
958        the super-duper ESMF coupler becomes available.
959      - See verification/global_with_exf/README for usage example.
960      - Removed obsolete EXFwindOnBgrid and SEAICEwindOnCgrid
961        flags and modified pkg/seaice accordingly.
962    o Bug fix to pkg/ptracers, pkg/generic_advdiff/gad_calc_rhs.F,
963        and pkg/kpp/kpp_transport_ptr.F for dealing with tracer
964        non-local transport term.
965    
966    checkpoint51e_post
967    o pkg/mom_vecinv:
968      - changes related to hFac: use S/R from aim.5l_cs/code (coriolis & vort.advec)
969      - add time-ave diagnostic of vorticity advection.
970    o add diagnostic (instantaneous) of Shapiro Filter effect for T,S & UV.
971    o atmospheric geopotential: - include water vapor effect;
972                                - use p^kappa in p* scaling.
973    o land pkg: read initial state from files.
974    o AIM : add stratospheric drag in the upper level
975    
976    checkpoint51d_post
977    o change function ILNBLNK (=> last non-blank char.) to return zero
978      (instead of the string length) when the string. char is empty
979    o fix bug in dxV,dyU definition of cubed-sphere grid (ini_curvilinear_grid)
980    o modif's to restore TAMC compatibility
981      - avoid "_d" constructs in PARAMETER declarations
982      - avoid interrupting lines by comment lines
983    o Use cluster local disks for purely local I/O
984      vs. globally visible disks needed for ctrl stuff
985      (merged from ecco-branch)
986      - new active_file_loc... and mdsio_..._loc routines
987      - affected packages: autodiff, ctrl, grdchk, mdsio
988    
989    checkpoint51c_post
990    o introducing integer flag debugLevel
991      - debLevZero: suppress all output
992      - debLevA: standard
993      - debLevB: equivalent to current debugMode=.TRUE.
994    o introducing pathname variable mdsioLocalDir for mdsio
995      that can be specified at runtime
996      (relevant for cluster I/O to local disk)
997    `
998    >>>checkpoint51b_post
999    adjoint of ptracers
1000    o disentangled ALLOW_PTRACERS using new ALLOW_GCHEM
1001    o extended state in checkpoint_lev?, etc.
1002    o alternative ctrl/cost with tr1 or ptracer
1003    o new comlev1_bibj_ptracers
1004    o new ptracers.flow
1005    o made ptracers_forcing same as external_forcing_s
1006    o added verification for adjoint with ptracers
1007      - adm. grdchk fail so far
1008      - tlm. grdchk OK
1009      - checked tapelev/comlev recomputations: OK
1010    <<<checkpoint51b_pre
1011    
1012    checkpoint51a_post
1013    o added code for biogeochemistry package
1014      - new pkgs: dic, gchem
1015      - new subroutine in ptracers
1016    o modify code for biogeo packages
1017      - in model/src and pkg/ptracers
1018    
1019    checkpoint51
1020    o merged improved packages from ecco-branch (ecco_c51_e34) to MAIN
1021      - autodiff, ctrl, exf, grdchk, seaice
1022      kept separate packages
1023      - cost, ecco, obcs
1024    o updating verification/internal_wave, verification/lab_sea
1025      (all verif's pass on faulks.lcs.mit.edu RH7.3, g77)
1026    
1027    checkpoint50i_post
1028    o Preparing next differentiable checkpoint and sync
1029      of MAIN vs. ecco-branch
1030      - 1st step: this one is differentiable
1031      - 2nd step: next(! not this) checkpoint will have updated packages
1032                  from ecco-branch)
1033    
1034    checkpoint50h_post
1035    o new package "land": provide surface BC for AIM.
1036    o pkg/ptracers: apply exchange to all tracers after reading a pickup.
1037    o AIM: use true log-P extrapolation for near surface temp (= as in
1038        F.Molteni paper) ; update aim.5l_cs output.
1039    o New variable in PARM03 for more flexible pickups
1040    o somewhat cleaned package initialisation sequence for
1041      ctrl/ cost/ ecco/ in packages_... routines
1042    
1043    checkpoint50g_post
1044    o merged with release1_p17 (pkg/seaice and verification/lab_sea)
1045      - added SEAICE_MULTILEVEL for 8-category sea-ice thermodynamics
1046      - LSR sea-ice dynamic solver moved to SouthWest B-grid location and
1047        made the default because of faster convergence than ADI
1048    
1049    checkpoint50f_post
1050    o exf totally restructured
1051      - replaced all exf_set_ routines by one generic exf_set_gen.F
1052        and made sure it's still differentiable
1053      - split exf_getffields.F into new exf_bulkformulae.F
1054      - exf_inscal_/exf_outscal_ suffixes consistent with field names
1055      - updated adjoint/makefile and relevant verif. accordingly
1056    
1057    checkpoint50f_pre
1058     o AIM: near surface temp evaluated from Pot.Temp: fixed for Part Cell ;
1059          + change Evap over land. (update aim.5l_cs output)
1060     o added missing .cvsignores and made uniform across expts
1061     o changed configuration of tidal_basin_2d expt
1062     o added pkg/debug functions for tracing code in fatal crashes
1063     o tidied pkg/monitor to use MONITOR_OPTIONS.h
1064     o new fn in pkg/monitor to stop model if solution grows too big
1065     o removed lots of single quotes from comments
1066    
1067    checkpoint50e_post
1068    o make KPP work with PTRACERS
1069     - fix gad_calc_rhs to call new routine kpp_transport_ptr, which is
1070       nearly a copy of kpp_transport_s
1071     - there is no analogue to SurfaceTendencyS, so I have to use
1072       gPtr(of the surface layer) instead
1073    o add a new platform SunFire+mpi (SunFire 15000) to genmake
1074    checkpoint50e_pre
1075    
1076    checkpoint50d_post
1077    o change kpp output from multiple-record state files to single-record state
1078      files analogous to write_state.F
1079    o reduce the output frequency of cg3d-related stuff to the monitor frequency,
1080      analogous to the cg2d-related output.
1081    o fix small problem with in ptracers_write_checkpoint.F: len(suff)=512,
1082      so that writing to internal file fn (with length 512) fails.
1083    checkpoint50d_pre
1084    
1085    checkpoint50c_post
1086    o fix problem in ini_procs.F when using MPI (was there since checkpoint48f)
1087    o add monitor diagnostic of vorticity (mon_vort3.F) and potential energy.
1088    o add time-average diagnostic of U*V and vertical diffusive flux for theta.
1089    o bug fixed in convective adjustment diagnostic (multi-tile set-up).
1090    o 4th Order Adv scheme: return to previous (c40pre7) masking near boundaries.
1091    
1092    checkpoint50c_pre
1093    Merging from release1_p13:
1094    o bug fix for pkg/seaice dynamic solver
1095    o Added SEAICE_initialHEFF to pkg/seaice
1096    
1097    checkpoint50b_post
1098    o store u*,v* in gU,V instead of in guNm1,gvNm1
1099    o in order to put the momForcing out of the Adams-Bashforth:
1100      move forcing & CD-scheme calls from mom_fluxform & mom_vecinv
1101      to timestep.F
1102    o new flag "useCDscheme" (default=F); replace guCD,gvCD by local arrays
1103    o re-generate output for highly sensitive test-exp:
1104       global_ocean_pressure, ideal_2D_oce, lab_sea, natl_box
1105    
1106    checkpoint50b_pre
1107    o restore the use of momAdvection & useCoriolis flags (mom_vecinv)
1108    o corrected CPP option mismatch in exf_Bulk... functions for case
1109      #define ALLOW_ATM_WIND && #undef ALLOW_ATM_TEMP
1110    
1111    checkpoint50a_post
1112    o Bug fix for merging between c50 and KPP.
1113      ikey was passed from thermodynamics to kpp_calc via
1114      common block rather than being recomputed in kpp_calc,
1115      in contradiction with new key itdkey.
1116      New key ikppkey created, and tamc.h headers updated.
1117    
1118    checkpoint50
1119    - 2nd step of merge with ecco-branch:
1120      merge changes in ecco-branch back into main trunk
1121    - bug fix in find_alpha
1122    - more storing in gmredi_calc_tensor.F, kpp_routines.F
1123    - avoid iterative loop in ini_pressure for ALLOW_AUTODIFF_TAMC
1124    - merged some sliced AD support routines
1125    
1126    checkpoint49
1127    merged from ecco-branch:
1128    o exf:
1129      - Enable initialisation of forcing fields to constant
1130        (runtime) values.
1131      - in exf_getffields.F
1132        Reduce i-/j-loop to interior domain, discarding overlaps.
1133        That also fixes wrong TAF-key computations for key_1, key_2
1134        with bulf formulae.
1135      - exf_init.F modify #ifdef for exf_init_evap
1136      - exf_getffieldrec.F, ctrl_getrec.F
1137        The following INT-usages are not safe:
1138          fldsecs  = int(fldsecs/fldperiod)*fldperiod
1139          fldcount = int(fldsecs/fldperiod) + 1
1140        and were modified.
1141    o autodiff: checkpoint_lev...
1142      - updated storing for bulk formulae (some arrays were missing)
1143      - added state for seaice package
1144      - synchronized with main branch
1145    o DIVA:
1146      Modif.s in
1147      - the_main_loop.F
1148      - the_model_main.F
1149      and added cost_final_restore.F cost_final_store.F
1150      o With these changes, it is possible to fully separate
1151        the first forward run to compute the cost function (mdthe_main_loop)
1152        and adjoint runs over individual DIVA intervals (adthe_main_loop)
1153        into separate model executions.
1154        This enables better tuning of DIVA to given queue sizes.
1155      o Loss of cost function value in consecutive DIVA runs is
1156        fixed by storing to 'costfinal' file.
1157      o Appropriate call of ctrl_unpack/_pack,grdchk_main at
1158        beginning/end of adjoint integration is accounted for.
1159      The current changes apply to TAF-1.4.26.
1160      TAF has one remaining bug, requiring one manual change
1161      (see MITgcm manual).
1162    o cal: synchronized between MAIN and ecco-branch
1163    
1164    checkpoint48i_post
1165    o Changes to restore differentiability of code w.r.t. previous tag
1166      (mostly adding new routines to make list and replacing
1167      pressure by totPhiHyd).
1168    o Updated and merged grdchk package
1169      - has both ADM and TLM checks
1170      - works for single- and multi-proc.
1171      - output cleaned
1172      - worked successfully for parallel DIVA
1173    o genmake:
1174      - Adding -platform=SP4
1175      - Modif. for DEC Alpha (many don't have makedepend; use mkdep instead).
1176    o Modif. for DIVA:
1177      ctrl_unpack should not be called in intermediate DIVA interval.
1178      (similar thing would apply for active files such as
1179      tbar, sbar, psbar, which should not be reinitialised;
1180      only relevant for ecco-branch)
1181    
1182    checkpoint48h_post
1183    o improve "ini_p_ground" when using finite difference form for calc_phi_hyd
1184    o Added net flux to downward flux conversion to pkg/exf/exf_getffields.F
1185    o Added SEAICE_initialHEFF to pkg/seaice
1186    o ecco_the_model_main.F: SEAICE_WRITE_PICKUP must precede WRITE_CHECKPOINT
1187    
1188    checkpoint48g_post
1189    --- EOS:
1190    o compute locally the pressure for use in EOS: UNESCO, JMD95P, MDJWF
1191      store total Potential in totPhyHyd for diagnostics & EOS.
1192    o fix restart and overlap Pb when using Z-coord and EOS funct. of P
1193    --- Pressure/geopotential gradient:
1194    o use Ro_surf & R_low instead of hFac in cal_phi_hyd:
1195    o NLFS + p-coord.: eta*Alpha' is not longer lagging 1.time-step behind
1196      ( changes results of global_ocean_pressure )
1197    o NLFS + z-coord.: add eta*Rho' contribution.
1198    o accurate phiHyd when using interface-W at the middle between 2 centers
1199     ( changes results of ideal_2D_oce )
1200    o includes r* 2nd term in potential gradient.
1201    
1202    checkpoint48f_post
1203    Merging from release1_p12:
1204    o Modifications for using pkg/exf with pkg/seaice
1205      - improved description of the various forcing configurations
1206      - added basic radiation bulk formulae to pkg/exf
1207      - units/sign fix for evap computation in exf_getffields.F
1208      - updated verification/global_with_exf/results/output.txt
1209    o Added pkg/sbo for computing IERS Special Bureau for the Oceans
1210      (SBO) core products, including oceanic mass, center-of-mass,
1211      angular, and bottom pressure (see pkg/sbo/README.sbo).
1212    o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
1213      to avoid negative values in shallow regions.
1214      - updated verification/natl_box/results/output.txt
1215      - updated verification/lab_sea/results/output.txt
1216    o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
1217    o Added useSingleCpuIO option (see PARAMS.h).
1218    o Updated useSingleCpuIO option in mdsio_writefield.F to
1219      work with multi-field files, e.g., for single-file pickup.
1220    o pkg/seaice:
1221      - bug fix in growth.F: QNET for no shortwave case
1222      - added HeffFile for specifying initial sea-ice thickness
1223      - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
1224    o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
1225      kpp_transport_t.F, forward_step.F, and the_main_loop.F
1226    o pkg/seaice:
1227      - adjoint-friendly modifications
1228      - added a SEAICE_WRITE_PICKUP at end of the_model_main.F
1229    
1230    checkpoint48e_post
1231    o New S/R for diagnostic of bottom pressure (phi0surf was missing in c48d_post)
1232    o dynamics: change definition of computational domain & adapt mom_fluxform
1233      accordingly ; when viscA4=0, allows to run the dynamics with Olx=Oly=2.
1234    o following exp works with Olx=Oly=2 (and pass through checkbounds option):
1235        adjust_nlfs.cs-32x32x1 adjustment.128x64x1 adjustment.cs-32x32x1
1236        exp0 exp1 exp2 exp4 exp5 hs94.cs-32x32x5 hs94.128x64x5 hs94.1x64x5
1237        global_ocean.90x40x15 global_with_exf global_ocean_pressure
1238        inverted_barometer solid-body.cs-32x32x1
1239      (high order AdvScheme and/or multiDimAd works with Olx=Oly=2 ? not sure)
1240    
1241    checkpoint48d_post
1242    o in preparation for r*:
1243     a) use pre-computed gradient of hydrostatic potential:
1244        changes in timestep.F & mom_cdscheme.F affects results of ideal_2D_oce
1245     b) move phi0surf from calc_phi_hyd to calc_grad_phi_hyd:
1246        => affects results of glob_oce_pressure (different truncation error)  
1247      update output.txt of ideal_2D_oce & global_ocean_pressure
1248    
1249    checkpoint48d_pre
1250    o in preparation for r*:
1251      new S/R (calc_grad_phi_hyd.F) to compute Hydrostatic potential gradient.
1252      pass the 2 comp. of the grad. as arguments to momentum S/R.
1253      but for the moment, only used if it does not change the results.
1254    o add finite volume form of calc_phi_hyd for buoyancyRelation OCEANIC & OCEANICP
1255    
1256    checkpoint48c_post
1257    Modifications in treatment of initial flux forcing controls
1258    to avoid extra storing of flux fields.
1259    
1260    checkpoint48c_pre
1261    o Added tidal_basin_2d experiment (currently 1D!)
1262    o can use r* Coordinate with OBC (but Orlanski Rad. BC not yet implemented)
1263    
1264  checkpoint48b_post  checkpoint48b_post
1265  o r* coordinate added in #ifdef NONLIN_FRSURF block.  o r* coordinate added in #ifdef NONLIN_FRSURF block.
1266   (modification to pressure gradient not yet implemented)   (modification to pressure gradient not yet implemented)

Legend:
Removed from v.1.125  
changed lines
  Added in v.1.414

  ViewVC Help
Powered by ViewVC 1.1.22