/[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.59 by jmc, Fri Feb 8 22:41:59 2002 UTC revision 1.326 by edhill, Thu Jul 8 16:27:31 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 diagnostics can now write NetCDF files through the mnc package
7    o staggerTimeStep & NLFS: update pkg aim_v23 & thsice; update aim.5l_cs output
8    o staggerTimeStep & multi-Dim-Advec: Exch(U,V) added
9    o staggerTimeStep & NLFS: rescale T & S surface tendencies.
10      affects (truncation error) output of lab_sea & natl_box exp.: updated
11    o change pickup _cd & _ptracers (old pickup restart: usePickupBeforeC54=.T.)
12    
13    checkpoint54a_post
14    o re-write staggerTimeStep: step fwd U,V and then T,S (reverse the order).
15    o change pickup file (to restart from old pickup, set usePickupBeforeC54=.T.)
16    o get a perfect restart when using RealFreshWaterFlux + NLFS (not finished)
17    o update output of all exp. that use staggerTimeStep (except hs94.cs & 2D)
18      + internal_wave (shift in writing cg2d_ini_res)
19    checkpoint54a_pre
20    
21    o require forcing_In_AB=.FALSE. and remove surfaceTendencyTice from pkg/seaice
22      - modified verification/lab_sea and natl_box_adjoint accordingly
23    
24    checkpoint54
25    checkpoint53g_post
26    o prepare splitting of thermodynamics: store convect.counter in common block
27    o store d.etaH/dt (instead of Div.hV) in common ; affects (truncation error)
28      output of: global_ocean.cs32x15, global_ocean_pressure & internal_wave
29    o cnh's modifs to gad_advection.F for cube-sphere multi-dim advection
30    o new parameter "nShapS": allow to treat differently S from T (nShapT)
31    o separate Vert.Advec.Scheme from horizontal Advec.Scheme (T & S)
32    o restore adjointability
33    
34    checkpoint53f_post
35    o modifications that affect AIM experiment results (update output.txt):
36      - no advection of S at top interface Nr (pkg/generic_advdiff)
37      - air surf. temp: use lower value between T0 & T1 (phy_suflux_prep.F)
38    o AIM pkg:
39      - include stability function into surf.Flux derivative relative to Tsurf
40      - calculate clear-sky radiation & surface temp. change (for diagnostics)
41    
42    checkpoint53e_post
43    o merged cylindrical coord configuration
44    o added rotating_tank experiment
45    checkpoint53e_pre
46    
47    checkpoint53d_post
48    o faulks upgraded: re-generate output.txt that have changed:
49       global_ocean.cs32x15(.thsice), global_ocean_ebm, lab_sea, natl_box
50    o Added Bryan and Lewis, 1979, vertical diffusivity profile
51    o pkg/land: fix problem in land_impl_temp.F when Ts arround freezing.
52    o added Sadourny discretization of Coriolis
53      - moved some PARAMETERS from mom_*_coriolis.F to PARAMS.h
54      - re-enabled use of omega3 (useAbsVorticity)
55    o added Leith (Phys. Fluids, 1968, 10, 1409-1416) variable viscosity for
56      vector-invariant equations
57      - note: does *NOT* yet use same variable visc. for no-slip BC's.
58    o recoded the lateral boundary conditions for non-hydrostatic w, this time
59      hopefully without new bugs
60      - still to do: biharmonic friction for non-hydrostatic w
61    o bug fix for mom_*_sidedrag: rA -> rAs,rAw
62    o regenerated output for global_ocean_ebm (using -ieee)
63    o fix mom_common/mom_*_sidedrag.F to recover numeric output prior to creation
64      of mom_common/
65      - simple re-arrangement of instructions within computing loop
66    checkpoint53d_pre
67    
68    checkpoint53c_post
69    o new version of coupler for AIM+thSIce and Ocean models
70     - new fields (SSS,h_MixLayer ...) are exchanged through the coupler
71     - land: change Evaporation of snow
72     - aim with thSIce: fix bug in snow-precip.
73    o changes to calc_gw.F
74     - bug fix for w^2 term near the bottom boundary
75     - (hopefully) improve the lateral slip boundary condtions for use with
76        partial/looped cells
77      - because the bug fix changes two verification experiments anyway (exp5
78        and plume on slope), change the lateral boundary condition from half slip
79        to the value of no_slip_sides
80    o ebm package wasnt quite up to the parallel task. Fixed that.
81    o Adjoint of EBM package + verification
82      * TLM OK
83      * ADM not sufficient accuracy yet (needs further testing)
84    
85    checkpoint53b_post
86    o Commiting new energy balance model to repository
87      * package is pkg/ebm
88      * verif. is verification/global_ocean_ebm
89      * references are in ebm_driver.F
90    C      * X. Wang, P. Stone and J. Marotzke, 1999:
91    C        Global thermohaline circulation. Part I:
92    C        Sensitivity to atmospheric moisture transport.
93    C        J. Climate 12(1), 71-82
94    C      * X. Wang, P. Stone and J. Marotzke, 1999:
95    C        Global thermohaline circulation. Part II:
96    C        Sensitivity with interactive transport.
97    C        J. Climate 12(1), 83-91
98    C      * M. Nakamura, P. Stone and J. Marotzke, 1994:
99    C        Destabilization of the thermohaline circulation
100    C        by atmospheric eddy transports.
101    C        J. Climate 7(12), 1870-1882
102    o Will need long integration testing.
103    checkpoint53b_pre
104    
105    o created pkg/mom_common in preparation for variable viscosity code
106    o renamed and split ini_mnc_io
107    o pkg/land: only liquid water can diffuse or run-off
108    o AIM using land: soil wetness availability account for snow
109    o added printMapIncludesZeros to EEPARMS namelist
110    
111    checkpoint53a_post
112    o restore TAMC compatiility for exf_constants.h
113      (no usage of _d in .h)
114    o Additional storing in KPP in an attempt to fix
115      TAMC problem with adjoint of KPP code.
116      (no success...)
117      Identical code works fine with TAF.
118    o Fixed verification/natl_box_adjoint experiments.
119      Initial conditions for Experiments 4 and 5 are now
120      set to "SEAICE_initialHEFF=0", which is more reasonable,
121      and hence gives results closer to that of Experiment 2.
122      Experiment 6 requires "SEAICE_initialHEFF=1" and is working once again.
123    
124    checkpoint53
125    o stable checkpoint with up to date adjoint
126      TLM tests only run for 1st grdchk at the moment. Its unclear if
127      this is a code problem or a problem with resetting code for g_
128      variables that is being autogenerated wrong.
129      Otherwise:
130       o code is testing well on Linux (P4 and AMD), SGI Alitix and Irix.
131       o IBM and HPQ tests could not be run because NCAR (IBM) and NCCS (HPQ)
132         are both still in chaos following their security messes.
133    
134    checkpoint52n_post
135    o various build (mostly genmake2) changes including:
136      - ability to build/run more easily within Cygwin and MacOS X
137      - more complicated Makefiles with a stronger dependence on Gnu Make
138    o pkg/seaice modifications
139      - added SEAICE_deltaTtherm and SEAICE_deltaTdyn in order to reduce cost
140        of pkg/seaice.  For time being, SEAICE_deltaTtherm = deltaTtracer
141        and SEAICE_deltaTdyn must be integer multiple of SEAICE_deltaTtherm
142      - changed proxy for geostrophic velocity and updated
143        verification/lab_sea/results/* accordingly
144      - removed ADI dynamic solver from pkg/seaice
145      - replaced all occurrences of 1/CSTICE or 1/CSUICE
146        they caused a segmentation fault under certain circumstances
147      - removed unused field WATR
148    o bug fix in exf-package:
149      -  u/vwind are defined at tracer/pressure points. The values of u/vwindmask
150         now reflect that.
151    o small fixes in the cal-package:
152      - set reference date to first of January for the 'model'-calendar
153      - failing of cal_CheckDate in cal_FullDate now actually results in a
154        warning
155    o small modifications in exf-package to increase flexibility:
156      - change climtempfreeze from a constant to a runtime parameter that
157        is specified in data.exf_clim (default = -1.9)
158      - introduce runtime parameter windstressmax (default = 2.0) that is
159        specified in data.exf
160    o fix in pkg/thsice:
161      - update Evap (Tsf changes) to be consistent with Latent heat flux
162      - maintain snow precipitation unchanged (even if Tsf >=0).
163     both affect global_ocean.cs32x15/(.thsice) results ; update output.txt.thsice
164    
165    checkpoint52m_post
166    o commented out call to cal_GetMonthsRec in swfrac.F and added some comments;
167      this does not change any of the results, because myIter=0 in swfrac always
168      lead to jwtype=2 (the default anyway), but the call makes little sense
169      as a default
170    o no SHORTWAVE HEATING lost at the bottom; affects lab_sea output; updated
171    o re-work pkg/thsice interface with ocean & bulk_force pkg to allow
172      atmospheric model (AIM) to use it ; add a "slab ocean" component.
173    o pkg/aim_v23 : add interface to call thermodynamic sea-ice (thsice)
174    o update global_ocean.cs32x15/output (.thsice) after changes in pkg/thsice
175    o extending useSingleCpuIO option to work with new exch2 I/O format
176      - old-style, missing-tile I/O is still accessible by defining CPP
177        option MISSING_TILE_IO in pkg/mdsio/MDSIO_OPTIONS.h
178    o monitor package can write to NetCDF files and/or STDOUT
179    o fix re-definition bug in MNC_GRID_INIT_ALL()
180    o doc/api_reference added
181      - a framework for building an API Reference Manual using all
182        the "protex" comments embedded in the code
183      - see pkg/generic_advdiff, pkg/mnc for examples
184    o MNC:
185      - make myThid the last argument for all subroutines
186      - new default for the grid files: NO halos
187      - add useMNC and other run-time flags
188      - separate per-file-group handling of the unlimited dimension
189      - early initialization of MNC w/ flags read at the eeboot stage
190        and lookup tables set in initialize_fixed
191      - write all MNC output to a freshly-created directory
192    o thermodynamics sea-ice (thsice) is now tested with testreport.
193    o test exp. advect_cs: use the standard cs32 grid ; update output.
194    o Added functionality to grdchk:
195      pick global i,j,k position (or nearest wet) where to perform check.
196    
197    checkpoint52l_post
198    o new land formulation:
199      a) use ground enthalpy as prognostic variable to ensure exact
200         energy conservation.
201      b) account for water temperature and for latent heat of freezing
202         in all processes (rain, run-off, ground storage)
203      c) compute surface and ground temperature implicitly.
204    o aim_v23 modification for new land model:
205      a) Treat separately land / ocean / sea-ice surface fluxes
206         to allow implicit computation of land & sea-ice surface temp.
207      b) add snow precipitation.
208    checkpoint52l_pre
209    
210    o fix problem (when 1 tile is empty) in min/max monitor.
211    o fix bug in timeAve (u,vZetatave in common block)
212    o no restoring terms under ice for pkg/seaice
213    o moved SEAICE_DO_DIAGS to S/R do_the_model_io
214    o bug fix for pkg/seaice pickups
215    o change MNC call locations and add coordinate attributes
216    o mask vorticity at the corner ; affects global_ocean.cs output
217    o fix ini_curvilinear_grid ; test CS experiments with mpi
218    o aim.5l_cs: modify sea-ice fraction input file ; update output
219    o exf: Adding simple range check routine for exf fields after read
220    
221    checkpoint52k_post
222    o removed top-level directory "diags"
223      - we migrated these functions to pkg/timeave a long time ago
224    o fixed bug introduced in pkg/monitor
225    o accuracy ctrlprec = 32 insuffient for gradient checks using
226      averaged fields (I/O via cost_averages)
227      -> use ctrl.h in active_file*.F to control I/O precision.
228    o paramter list of CALL ADTHE_MAIN_LOOP
229    o added initial do_the_model_io to ecco
230    o set all ...Freq to zero after cost_final
231      taveFreq, dumpFreq, pChkptFreq
232    o MAIN and ECCO differentiability restored
233    
234    checkpoint52j_post
235    o fix nchklev in tamc.h for global_ocean...
236    o Bringing flow and store directives up-to-date
237    o Really weird thing!
238      call do_the_model_io from the_main_loop with parameters
239      starttime, niter0, instead of mytime, myiter, screws up the adjoint:
240      TAF places a faulty re-call of initialise_varia
241      after cost_final call which should not be there!
242    checkpoint52j_pre
243    
244    o tweaked pkg/mdsio/mdsio_readfield.F to have more useful logic and
245      error messages
246    o fix errorMessageUnit problem. remove old version of mdsio from eesup/src
247    o modified pkg/mdsio/mdsio_readfield.F -- commented out diskspace-eating
248      debug output
249    o modfied mdsio_writefield.F to handle non-global files under exch2
250    o update AIM Cubed-Sphere exp (aim.5l_cs):
251      use land, p*, and Franco.M forcing fields with fractional land-sea mask.
252    o update AIM Equatorial Channel exp:
253      use standard aim_v23 pkg and change the SST fields to be more realistic.
254    o globalFile now works with exch2
255    o merged mom_vi_calc_relvort3.F, mom_vi_del2uv.F and
256      mon_vort3.F to make exch2 friendly with >1 tile per cube face
257    o limit timeave output for hi-res integrations
258    
259    checkpoint52i_post
260    o removed CPP_EEOPTIONS.h from verification/*/code
261    o updated the tiling for global_ocean_pressure
262    checkpoint52i_pre
263    
264    o update aim.5l_LatLon using the standard aim_v23 pkg (instead of
265      the old pkg/aim).
266    
267    checkpoint52h_pre
268    o shortened offending lines in exch2_send_rx?.template
269    o modified W2_EXCH2_TOPOLOGY.h to reflect current topology generator
270    o genmake2: add build & execute test for NetCDF code
271    o modded aim.5l_cs and global_ocean.cs32x15 to use exch2, removed
272      old grid files, moved CPP_EEMACROS.h to pkg/exch2
273    o added useSingleCPUIO flag to monitor.F and mon_out.F
274    o added temporary hack for sea-ice dynamics on the cube:
275      metric terms are ignored and it is assumed that
276      there is no sea-ice on cube faces 1, 2, 4, and 5.
277    
278    checkpoint52f_post
279    o added exch2 cube routines to pkg/exch2
280    o modified hs94.cs-32x32x5 to use it
281    o added new grid files to hs94.cs-32x32x5
282    checkpoint52f_pre
283    
284    checkpoint52e_post
285    o first attempt to solve vertical advection (momemtum & T,S) Implicitly
286      for now, only implemented with Lax-Wendroff (tracer) and VectInv (mom)
287    o step.1 : rewrite (as in MultiDimAdvec) explicit tracer stepping (gad_calc_rhs.F)
288      to work with implicit vertical advection and AB ;
289    o Implic. vert. advect. implemented with flux-limiter, c2, u3 and c4 scheme.
290    o update output (gad_calc_rhs.F changes affect truncation error) of exp:
291     front_relax, global_ocean .cs32x15 & _pressure, internal_wave, lab_sea, natl_box
292    checkpoint52e_pre
293    
294    o fix bug in impldiff when Nr=1 or Nr=2.
295    o change the albedo in pkg/thsice (as GISS model); update output_thsice.txt
296    o little changes (fftpack, aim/phy_suflux ...) to pass the "checkbounds" test.
297    o fix deltaTfreesurf in update_cg2d.F (left from c45d_post): affects 2
298      ocean exp. that use NLFS: global_ocean.cs32x15 & global_ocean_pressure
299    o added exf_offset_atemp for Celsius to Kelvin conversion of atemp
300    o eesupp/inc/EEPARAMS.h: MAX_NO_PROCS=1024
301    o pkg/cal/cal_toseconds.F fix for long (>60 years) integrations
302    
303    checkpoint52d_post
304    o re-tiled many expts to allow comparison in multi-processor mode
305      - updated output accordingly
306      - changed hs94.128x64x5 to use intial T from file rather than use the
307        random number generator
308    o add infrastructure in model routines for fizhi and gridalt packages
309    o change global_ocean.cs32x15 because of Pb with GM on CS-grid.
310    o changes to permit hi-res, cubed-sphere, configuration
311      - added useSingleCpuIO capability to mdsio_readfield.F and exf_interp.F
312      - added "#undef ALLOW_USE_MPI" support to eesupp/src/scatter_2d.F
313      - added pkg/exf/exf_set_uv.F for on-the-fly interpolation and rotation
314        of surface winds for the cube
315      (A verification experiment, based on global_ocean.cs32x15, but with
316       pkg/seaice turned on and with on-the-fly interpolation from the NCEP
317       Gaussian grid is described in MITgcm_contrib/high_res_cube/README_ice,
318       complete with example surface forcing files and matlab scripts to look
319       at the output and compare it with that of global_ocean.cs32x15.)
320    o packages pickup: $PKG_write_pickup called from packages_write_pickup ;
321       but call to $PKG_read_pickup remains in $PKG_ini_vars: change CD_code
322       to conform to the common rule.
323    o check-in the first version of the coupler + interfaces for multi-components
324       set-up (Chris's version, adapted to work on cubed-sphere grid); use MPI.
325       - imply modification in eesupp (MPI_COMM_MODEL < MPI_COMM_WORLD).
326       - atmosphere: use pkg aim_v23 ; no sea-ice for now.
327       - ocean and atmos. share the same horizontal grid (no interpolation).
328       - exchanges between component and coupler is done in forward_step
329    o new verification experiment, cpl_aim+ocn:
330       coupled ocean - AIM atmosphere on cs32 grid.
331    
332    checkpoint52d_pre
333    o surface flux time-av diagnostic modified for NLFS & RealFreshWater
334    o add call to AIM pendant S/R in external_forcing & external_fields_load.F
335    
336    checkpoint52c_post
337    o Fixing OPTIONS files for use of exf:
338      - ALLOW_ECCO not needed
339      - ECCO_CPPOPTIONS.h should not be included from
340        EXF_OPTIONS.h/CAL_OPTIONS.h, but from CPP_OPTIONS.h
341        as has been the case in the past
342      - All cal/exf related options are currently set in
343        single header file. Should remain so until we
344        agree on a consistent new policy.
345    o Removed all CPP options for cal package.
346      cal has no more CPP options.
347    o modified STOREs in GAD_ADVECTION
348    o corrected key comp. for passkey
349    
350    checkpoint52b_post
351    o new version: "thsice" of thermodynamic sea-ice pkg:
352     - only 1 call from "forward_step"; conserve energy, fresh-water & salt.
353     - modify fluxes but do not change theta directly;
354     - light cleaning of bulk_force pkg (still needed with thsice).
355     - add forcing fields + data files in global_ocean.cs32x15/inp_thsice
356       + output_thsice.txt to test thsice & bulk_force pkgs.
357    o put back grid & coriolis monitor output.
358    checkpoint52b_pre
359    
360    o call "do_the_model_io" at the beginning (=> dump initial state)
361    o use rhoConstFresh to define convertEmP2rUnit (was done only in ocean-P)
362    o sort out interplay between tamc.h and PTRACERS_OPTIONS.h
363      (need info on NUMBER_OF_PTRACERS)
364    o missing PTRACERS headers in some routines
365    o default tamc.h in pkg/autodiff supposed to crash
366      to ensure proper customization
367    
368    checkpoint52a_post
369    o modifications to make FREEZE (_SURFACE) flux visible to pkg/kpp
370      - moved surfaceTendencyTice from pkg/seaice to main code
371      - subroutine FREEZE_SURFACE now limits only surface temperature
372        and is called in FORWARD_STEP (if allowFreezing=.TRUE.)
373        => new output.txt for global_ocean.cs32x15 & global_with_exf
374      - keep the old version of FREEZE for backward compatibility;
375        global_ocean.90x40x15 left unchanged using useOldFreezing=.TRUE.
376      - corresponding modifs for TAF directives
377    o added surface flux output variables to TIMEAVE_STATVARS
378    o time-averaged output for pkg/ptracers
379    o fix problem with ECCO-related divided adjoint
380      snapshot file was missing some ad-variables,
381      but no warning issued by TAF
382    
383    checkpoint52a_pre
384    o some bug fixes for #undef REAL4_IS_SLOW
385    
386    checkpoint52 = ecco_c52_e35
387    o after testing adjoints of checkpoint51u_post
388    
389    checkpoint51u_post
390    o this is the post-merge tag of the ecco-branch
391      (needs another clean checkout and re-testing)
392    o various natl_box_adjoint configs and results
393      but no input fields
394    o obcs adjoint not yet merged!
395    o adding ECCO global 1x1 and 2x2 degree configs
396    o updated/extended some store directives for seaice
397    o pkg/ecco now containes ecco-specific part of cost function
398    o top level routines the_main_loop, forward_step
399      supersede those in model/src/
400      previous input data.cost now in data.ecco
401      (new namelist ecco_cost_nml)
402    o in ctrl/ cleaned some cross-dependencies and updated CPP options
403    
404    checkpoint51t_post
405    o this is the pre-merge tag of the ecco-branch
406    
407    checkpoint51s_post
408    o cleanup: removed various obsolete #define-s
409    o pkg/grdchk
410      - renamed 'ph-grd 3' to 'grad-res'
411      - merged from ecco-branch
412        (remaining bug fixes for obcs gradient checks)
413      - additional high-precision output for testreport
414        (grep for 'precision_grdchk_result')
415    
416    checkpoint51r_post
417    o cleaned up or removed CPP_OPTIONS.h files
418    o updated results for some of the tests to reflect the new
419      optfiles (-ieee: -O0 instead of -O3)
420    
421    checkpoint51q_post
422    o cd_code:
423      - moved cd_scheme.F -> cd_code_scheme.F
424      - separate read_checkpoint from cd_code_ini_vars.F
425      - separated cd_code part from write_checkpoint
426      - updated AD_SOURCE, generated .flow
427      - added CD_CODE_VARS.h to the_main_loop
428      - Moving cd_code specific store dir.s to pkg/cd_code
429    o ctrl package totally restructured
430      - pack/unpack now optional and decoupled from
431        xx_/adxx_ I/O
432      - ctrl_pack/unpack cleaned
433        (new routines ctrl_init_ctrlvar.F, pkg/ctrl/ctrl_init_wet.F)
434      - confined inclusion of AD_CONFIG.h to where necessary.
435    o genmake2: changed AD dependencies from SRCFILES to AD_FILES
436    
437    checkpoint51p_post
438    o create initial cd_code package
439      - WARNING: the initialization of fields within packages
440        is broken because INI_FIELDS (where READ_CHECKPOINT is
441        called) is called *before* PACKAGES_INIT_VARIABLES.
442        This seems to be backwards since
443        1) its important to initially zero the entire field including
444           the "halo" region
445        2) zeroing needs to be done *before* reading pickup info
446           and the pickup call might or might not happen in any
447           particular run
448      - this needs an overhaul for R2
449    o cleanup verification/*/code/GMREDI_OPTIONS.h
450    o cleanup testreport
451    
452    checkpoint51o_post
453    o bringing AD-related verif's up to date with genmake2
454      - carbon/
455      - global_ocean.90x40x15/
456      - hs.94.1x64x5/
457      - (front_relax/ )
458    o (more) consistent directory structure for AD-related verif.'s
459    o cleaning ALLOW_GRADIENT_CHECK -> ALLOW_GRDCHK
460    o cleaning some ALLOW_TANGENTLINEAR_RUN -> ALLOW_AUTODIFF
461    o bug fix in find_alpha.F for MDJWF:
462      - modif. to alpha = 1/D*( dN/dT - rho*dD/Dt) to account for
463        change rho -> rho-rhoConst
464      - replace call find_rho to find_rhonum
465    o initialisation of rFlx extended to full array (required by TAF)
466      and shifted to thermodynamics
467    o removed PTRACERS.h in ptracers routine
468    o added surfacetendencyPtr to S/R parameter list pracers_forcing
469    o Correcting initialisations for fVerU, fVerV.
470    o helping TAF to recognize dependency on kUp for
471      fVerU, fVerV
472    o Replacing delZ by delR in pkg/ctrl/
473    checkpoint51o_pre
474    
475    o undid all of cp51 pending some cleanups and discussion
476    o added the [#include "AD_CONFIG.h"] statement to all files that need
477       it for adjoint/tl #defines
478     o re-worked the build logic in genmake2 to support AD_CONFIG.h
479     o removed tools/genmake since it no longer works
480    
481    checkpoint51n_post
482    o modifications to make FREEZE flux visible to pkg/kpp
483      - moved surfaceTendencyTice from pkg/seaice to main code
484      - FREEZE & EXTERNAL_FORCING_SURF moved to FORWARD_STEP
485      - subroutine FREEZE now limits only surface temperature
486        (this means new output.txt for global_ocean.90x40x15,
487         global_ocean.cs32x15, and global_with_exf)
488    o added surface flux output variables to TIMEAVE_STATVARS
489    
490    checkpoint51n_pre
491    o added "#undef ALLOW_USE_MPI" support to eesupp/src/gather_2d.F
492    o added [#include "AD_CONFIG.h"] to all files that use the following
493      defines:
494      - ALLOW_ADJOINT_RUN
495      - ALLOW_TANGENTLINEAR_RUN
496      - ALLOW_ECCO_OPTIMIZATION
497    
498    checkpoint51m_post
499    o incorporating changes to get TAMC/TAF working in genmake2
500      - added new TAMC/TAF targets to the Makefile
501      - various cleanups related to package handling
502      - these changes should have no impact on the forward model
503    
504    checkpoint51l_post
505    o changes to pkg/cal and pkg/exf that allow and speed-up long integrations
506     - faster algorithm for cal_addtime.F
507     - higher precision arithmetic, where needed
508     - pkg/exf *startdate variables changed from calendar date to
509       model integration time
510    
511    checkpoint51l_pre
512    o add salt flux to forcing fields (used when salty sea-ice forms or melts)
513    o enable to apply restoring on S & T only in a latitude band.
514    o update output (external_forcing_surf modif. change truncation errors)
515       global_ocean.cs32x15, global_ocean_pressure, lab_sea, natl_box
516    
517    checkpoint51k_post
518    o change default to: useNHMTerms=.FALSE.
519     - new output.txt for atmos. exp (NHMTerms were wrong but now turned off):
520       adjustment.128x64x1, aim.5l_Eq_Ch, aim.5l_LatLon, hs94.128x64x5, hs94.1x64x5
521     - new output.txt for idealized oceanic exp (NHMTerms are now turned off):
522        exp1, ideal_2D_oce
523     - change data file of oceanic exp (leave the results unchanged for now)
524       exp2, global_ocean[90x40x15,pressure,with_exf], lab_sea, natl_box
525    o set gravitySign automatically according to the vertical coordinate used
526      (and change sign: back to "logical" value: +1 when R increases downward)
527    o added an include barrier to the default CPP_OPTIONS.h and
528      removed the #include "PACKAGES_CONFIG.h" from it
529    o fix a bug in mom_fluxform (from chk51j_post)
530    
531    checkpoint51j_post
532    o Added some AD-related initialisations in mom_vecinv/ mom_fluxform/
533    o adjusted some flow directives (dynamics, thermodynamics)
534    o added cubed-sphere case to test cost function
535    o heckpoint_lev?_directives.h now include
536      pkg-specific directives, whenever those are enabled.
537    o Moving pkg-specific flow directives to corresponding pkg
538      Moving pkg-specific differentiation list to corresponding pkg
539      Moving pkg-specific checkpoint-lev storing to corresponding pkg
540      ---> conventions are
541           - pkg_ad.flow
542           - pkg_ad_diff.list
543           - pkg_ad_check_lev?_dir.h
544    
545    checkpoint51i_post
546    o merge of the branch-genmake2
547      - knowingly breaks the older genmake
548      - automatic generation of all ALLOW_${PKG_NAME} defines
549      - new testreport supersedes older testscript
550    o large number of package inclusion and header cleanups
551    checkpoint51i_pre
552    
553    o new output for adjoin of global ocean vector invariant
554    o fix for checkpoint of thermodynamic seaice and bulk_force
555    o Steph gchem various cleanups
556    
557    checkpoint 51h_pre
558    o fixed some single quotes
559    o modify gchem pkg to be more versatile
560    o modifications to clean up dic pkg
561    o add pkg/cfc
562    
563    checkpoint51g_post
564    o provide links for ARPACK and ADM*TLM
565    o start removing verification/vero/
566    o update AD-related stuff
567      (in particular some IF-statements in model/src/ routines)
568    o adding to verification/global_ocean.90x40x15/ adjoint of
569      vector invariant setup
570    
571    checkpoint51f_post
572    o update advect_xz/output.txt (left from chekpoint50f_pre, ini_vel modif)
573    o Mods and bug fixes to pkg/cal, pkg/exf, etc., needed for computation
574      of tracer Green's fucntions for ocean inversion project.
575    
576    checkpoint51f_pre
577    o Added on-the-fly spatial interpolation capability
578        "USE_EXF_INTERPOLATION" to pkg/exf.
579      - This is a temporary Cartesian-grid hack until
580        the super-duper ESMF coupler becomes available.
581      - See verification/global_with_exf/README for usage example.
582      - Removed obsolete EXFwindOnBgrid and SEAICEwindOnCgrid
583        flags and modified pkg/seaice accordingly.
584    o Bug fix to pkg/ptracers, pkg/generic_advdiff/gad_calc_rhs.F,
585        and pkg/kpp/kpp_transport_ptr.F for dealing with tracer
586        non-local transport term.
587    
588    checkpoint51e_post
589    o pkg/mom_vecinv:
590      - changes related to hFac: use S/R from aim.5l_cs/code (coriolis & vort.advec)
591      - add time-ave diagnostic of vorticity advection.
592    o add diagnostic (instantaneous) of Shapiro Filter effect for T,S & UV.
593    o atmospheric geopotential: - include water vapor effect;
594                                - use p^kappa in p* scaling.
595    o land pkg: read initial state from files.
596    o AIM : add stratospheric drag in the upper level
597    
598    checkpoint51d_post
599    o change function ILNBLNK (=> last non-blank char.) to return zero
600      (instead of the string length) when the string. char is empty
601    o fix bug in dxV,dyU definition of cubed-sphere grid (ini_curvilinear_grid)
602    o modif's to restore TAMC compatibility
603      - avoid "_d" constructs in PARAMETER declarations
604      - avoid interrupting lines by comment lines
605    o Use cluster local disks for purely local I/O
606      vs. globally visible disks needed for ctrl stuff
607      (merged from ecco-branch)
608      - new active_file_loc... and mdsio_..._loc routines
609      - affected packages: autodiff, ctrl, grdchk, mdsio
610    
611    checkpoint51c_post
612    o introducing integer flag debugLevel
613      - debLevZero: suppress all output
614      - debLevA: standard
615      - debLevB: equivalent to current debugMode=.TRUE.
616    o introducing pathname variable mdsioLocalDir for mdsio
617      that can be specified at runtime
618      (relevant for cluster I/O to local disk)
619    `
620    >>>checkpoint51b_post
621    adjoint of ptracers
622    o disentangled ALLOW_PTRACERS using new ALLOW_GCHEM
623    o extended state in checkpoint_lev?, etc.
624    o alternative ctrl/cost with tr1 or ptracer
625    o new comlev1_bibj_ptracers
626    o new ptracers.flow
627    o made ptracers_forcing same as external_forcing_s
628    o added verification for adjoint with ptracers
629      - adm. grdchk fail so far
630      - tlm. grdchk OK
631      - checked tapelev/comlev recomputations: OK
632    <<<checkpoint51b_pre
633    
634    checkpoint51a_post
635    o added code for biogeochemistry package
636      - new pkgs: dic, gchem
637      - new subroutine in ptracers
638    o modify code for biogeo packages
639      - in model/src and pkg/ptracers
640    
641    checkpoint51
642    o merged improved packages from ecco-branch (ecco_c51_e34) to MAIN
643      - autodiff, ctrl, exf, grdchk, seaice
644      kept separate packages
645      - cost, ecco, obcs
646    o updating verification/internal_wave, verification/lab_sea
647      (all verif's pass on faulks.lcs.mit.edu RH7.3, g77)
648    
649    checkpoint50i_post
650    o Preparing next differentiable checkpoint and sync
651      of MAIN vs. ecco-branch
652      - 1st step: this one is differentiable
653      - 2nd step: next(! not this) checkpoint will have updated packages
654                  from ecco-branch)
655    
656    checkpoint50h_post
657    o new package "land": provide surface BC for AIM.
658    o pkg/ptracers: apply exchange to all tracers after reading a pickup.
659    o AIM: use true log-P extrapolation for near surface temp (= as in
660        F.Molteni paper) ; update aim.5l_cs output.
661    o New variable in PARM03 for more flexible pickups
662    o somewhat cleaned package initialisation sequence for
663      ctrl/ cost/ ecco/ in packages_... routines
664    
665    checkpoint50g_post
666    o merged with release1_p17 (pkg/seaice and verification/lab_sea)
667      - added SEAICE_MULTILEVEL for 8-category sea-ice thermodynamics
668      - LSR sea-ice dynamic solver moved to SouthWest B-grid location and
669        made the default because of faster convergence than ADI
670    
671    checkpoint50f_post
672    o exf totally restructured
673      - replaced all exf_set_ routines by one generic exf_set_gen.F
674        and made sure it's still differentiable
675      - split exf_getffields.F into new exf_bulkformulae.F
676      - exf_inscal_/exf_outscal_ suffixes consistent with field names
677      - updated adjoint/makefile and relevant verif. accordingly
678    
679    checkpoint50f_pre
680     o AIM: near surface temp evaluated from Pot.Temp: fixed for Part Cell ;
681          + change Evap over land. (update aim.5l_cs output)
682     o added missing .cvsignores and made uniform across expts
683     o changed configuration of tidal_basin_2d expt
684     o added pkg/debug functions for tracing code in fatal crashes
685     o tidied pkg/monitor to use MONITOR_OPTIONS.h
686     o new fn in pkg/monitor to stop model if solution grows too big
687     o removed lots of single quotes from comments
688    
689    checkpoint50e_post
690    o make KPP work with PTRACERS
691     - fix gad_calc_rhs to call new routine kpp_transport_ptr, which is
692       nearly a copy of kpp_transport_s
693     - there is no analogue to SurfaceTendencyS, so I have to use
694       gPtr(of the surface layer) instead
695    o add a new platform SunFire+mpi (SunFire 15000) to genmake
696    checkpoint50e_pre
697    
698    checkpoint50d_post
699    o change kpp output from multiple-record state files to single-record state
700      files analogous to write_state.F
701    o reduce the output frequency of cg3d-related stuff to the monitor frequency,
702      analogous to the cg2d-related output.
703    o fix small problem with in ptracers_write_checkpoint.F: len(suff)=512,
704      so that writing to internal file fn (with length 512) fails.
705    checkpoint50d_pre
706    
707    checkpoint50c_post
708    o fix problem in ini_procs.F when using MPI (was there since checkpoint48f)
709    o add monitor diagnostic of vorticity (mon_vort3.F) and potential energy.
710    o add time-average diagnostic of U*V and vertical diffusive flux for theta.
711    o bug fixed in convective adjustment diagnostic (multi-tile set-up).
712    o 4th Order Adv scheme: return to previous (c40pre7) masking near boundaries.
713    
714    checkpoint50c_pre
715    Merging from release1_p13:
716    o bug fix for pkg/seaice dynamic solver
717    o Added SEAICE_initialHEFF to pkg/seaice
718    
719    checkpoint50b_post
720    o store u*,v* in gU,V instead of in guNm1,gvNm1
721    o in order to put the momForcing out of the Adams-Bashforth:
722      move forcing & CD-scheme calls from mom_fluxform & mom_vecinv
723      to timestep.F
724    o new flag "useCDscheme" (default=F); replace guCD,gvCD by local arrays
725    o re-generate output for highly sensitive test-exp:
726       global_ocean_pressure, ideal_2D_oce, lab_sea, natl_box
727    
728    checkpoint50b_pre
729    o restore the use of momAdvection & useCoriolis flags (mom_vecinv)
730    o corrected CPP option mismatch in exf_Bulk... functions for case
731      #define ALLOW_ATM_WIND && #undef ALLOW_ATM_TEMP
732    
733    checkpoint50a_post
734    o Bug fix for merging between c50 and KPP.
735      ikey was passed from thermodynamics to kpp_calc via
736      common block rather than being recomputed in kpp_calc,
737      in contradiction with new key itdkey.
738      New key ikppkey created, and tamc.h headers updated.
739    
740    checkpoint50
741    - 2nd step of merge with ecco-branch:
742      merge changes in ecco-branch back into main trunk
743    - bug fix in find_alpha
744    - more storing in gmredi_calc_tensor.F, kpp_routines.F
745    - avoid iterative loop in ini_pressure for ALLOW_AUTODIFF_TAMC
746    - merged some sliced AD support routines
747    
748    checkpoint49
749    merged from ecco-branch:
750    o exf:
751      - Enable initialisation of forcing fields to constant
752        (runtime) values.
753      - in exf_getffields.F
754        Reduce i-/j-loop to interior domain, discarding overlaps.
755        That also fixes wrong TAF-key computations for key_1, key_2
756        with bulf formulae.
757      - exf_init.F modify #ifdef for exf_init_evap
758      - exf_getffieldrec.F, ctrl_getrec.F
759        The following INT-usages are not safe:
760          fldsecs  = int(fldsecs/fldperiod)*fldperiod
761          fldcount = int(fldsecs/fldperiod) + 1
762        and were modified.
763    o autodiff: checkpoint_lev...
764      - updated storing for bulk formulae (some arrays were missing)
765      - added state for seaice package
766      - synchronized with main branch
767    o DIVA:
768      Modif.s in
769      - the_main_loop.F
770      - the_model_main.F
771      and added cost_final_restore.F cost_final_store.F
772      o With these changes, it is possible to fully separate
773        the first forward run to compute the cost function (mdthe_main_loop)
774        and adjoint runs over individual DIVA intervals (adthe_main_loop)
775        into separate model executions.
776        This enables better tuning of DIVA to given queue sizes.
777      o Loss of cost function value in consecutive DIVA runs is
778        fixed by storing to 'costfinal' file.
779      o Appropriate call of ctrl_unpack/_pack,grdchk_main at
780        beginning/end of adjoint integration is accounted for.
781      The current changes apply to TAF-1.4.26.
782      TAF has one remaining bug, requiring one manual change
783      (see MITgcm manual).
784    o cal: synchronized between MAIN and ecco-branch
785    
786    checkpoint48i_post
787    o Changes to restore differentiability of code w.r.t. previous tag
788      (mostly adding new routines to make list and replacing
789      pressure by totPhiHyd).
790    o Updated and merged grdchk package
791      - has both ADM and TLM checks
792      - works for single- and multi-proc.
793      - output cleaned
794      - worked successfully for parallel DIVA
795    o genmake:
796      - Adding -platform=SP4
797      - Modif. for DEC Alpha (many don't have makedepend; use mkdep instead).
798    o Modif. for DIVA:
799      ctrl_unpack should not be called in intermediate DIVA interval.
800      (similar thing would apply for active files such as
801      tbar, sbar, psbar, which should not be reinitialised;
802      only relevant for ecco-branch)
803    
804    checkpoint48h_post
805    o improve "ini_p_ground" when using finite difference form for calc_phi_hyd
806    o Added net flux to downward flux conversion to pkg/exf/exf_getffields.F
807    o Added SEAICE_initialHEFF to pkg/seaice
808    o ecco_the_model_main.F: SEAICE_WRITE_PICKUP must precede WRITE_CHECKPOINT
809    
810    checkpoint48g_post
811    --- EOS:
812    o compute locally the pressure for use in EOS: UNESCO, JMD95P, MDJWF
813      store total Potential in totPhyHyd for diagnostics & EOS.
814    o fix restart and overlap Pb when using Z-coord and EOS funct. of P
815    --- Pressure/geopotential gradient:
816    o use Ro_surf & R_low instead of hFac in cal_phi_hyd:
817    o NLFS + p-coord.: eta*Alpha' is not longer lagging 1.time-step behind
818      ( changes results of global_ocean_pressure )
819    o NLFS + z-coord.: add eta*Rho' contribution.
820    o accurate phiHyd when using interface-W at the middle between 2 centers
821     ( changes results of ideal_2D_oce )
822    o includes r* 2nd term in potential gradient.
823    
824    checkpoint48f_post
825    Merging from release1_p12:
826    o Modifications for using pkg/exf with pkg/seaice
827      - improved description of the various forcing configurations
828      - added basic radiation bulk formulae to pkg/exf
829      - units/sign fix for evap computation in exf_getffields.F
830      - updated verification/global_with_exf/results/output.txt
831    o Added pkg/sbo for computing IERS Special Bureau for the Oceans
832      (SBO) core products, including oceanic mass, center-of-mass,
833      angular, and bottom pressure (see pkg/sbo/README.sbo).
834    o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
835      to avoid negative values in shallow regions.
836      - updated verification/natl_box/results/output.txt
837      - updated verification/lab_sea/results/output.txt
838    o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
839    o Added useSingleCpuIO option (see PARAMS.h).
840    o Updated useSingleCpuIO option in mdsio_writefield.F to
841      work with multi-field files, e.g., for single-file pickup.
842    o pkg/seaice:
843      - bug fix in growth.F: QNET for no shortwave case
844      - added HeffFile for specifying initial sea-ice thickness
845      - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
846    o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
847      kpp_transport_t.F, forward_step.F, and the_main_loop.F
848    o pkg/seaice:
849      - adjoint-friendly modifications
850      - added a SEAICE_WRITE_PICKUP at end of the_model_main.F
851    
852    checkpoint48e_post
853    o New S/R for diagnostic of bottom pressure (phi0surf was missing in c48d_post)
854    o dynamics: change definition of computational domain & adapt mom_fluxform
855      accordingly ; when viscA4=0, allows to run the dynamics with Olx=Oly=2.
856    o following exp works with Olx=Oly=2 (and pass through checkbounds option):
857        adjust_nlfs.cs-32x32x1 adjustment.128x64x1 adjustment.cs-32x32x1
858        exp0 exp1 exp2 exp4 exp5 hs94.cs-32x32x5 hs94.128x64x5 hs94.1x64x5
859        global_ocean.90x40x15 global_with_exf global_ocean_pressure
860        inverted_barometer solid-body.cs-32x32x1
861      (high order AdvScheme and/or multiDimAd works with Olx=Oly=2 ? not sure)
862    
863    checkpoint48d_post
864    o in preparation for r*:
865     a) use pre-computed gradient of hydrostatic potential:
866        changes in timestep.F & mom_cdscheme.F affects results of ideal_2D_oce
867     b) move phi0surf from calc_phi_hyd to calc_grad_phi_hyd:
868        => affects results of glob_oce_pressure (different truncation error)  
869      update output.txt of ideal_2D_oce & global_ocean_pressure
870    
871    checkpoint48d_pre
872    o in preparation for r*:
873      new S/R (calc_grad_phi_hyd.F) to compute Hydrostatic potential gradient.
874      pass the 2 comp. of the grad. as arguments to momentum S/R.
875      but for the moment, only used if it does not change the results.
876    o add finite volume form of calc_phi_hyd for buoyancyRelation OCEANIC & OCEANICP
877    
878    checkpoint48c_post
879    Modifications in treatment of initial flux forcing controls
880    to avoid extra storing of flux fields.
881    
882    checkpoint48c_pre
883    o Added tidal_basin_2d experiment (currently 1D!)
884    o can use r* Coordinate with OBC (but Orlanski Rad. BC not yet implemented)
885    
886    checkpoint48b_post
887    o r* coordinate added in #ifdef NONLIN_FRSURF block.
888     (modification to pressure gradient not yet implemented)
889    o mom_fluxform: new S/R mom_calc_rtrans.F computes vertical transports
890      (for U & V) that are used for vertical advection of momentum.
891    
892    checkpoint48a_post
893    o In preparation for r*, use temp. array to compute vertical transport
894       in flux-form momentum pkg. => change results of few test-exp.
895      Update output of: exp4, exp5, front_relax, global_ocean_pressure,
896                        lab_sea, natl_box & plume_on_slope
897    
898    checkpoint48
899    o fix small bug that was causing lot of warning (TIMER_STOP 'UPDATE_CG2D')
900    
901    checkpoint47j_post
902    o add new exp. (ideal_2D_oce) to test "exotic" parameters and options.
903    o moved adexch from forward_step to addummy_in_stepping
904    o added exch in ctrl_map_...
905    o aveFreq.=0. at end of cost_final to avoid overwrite in
906      reverse checkpointing loop
907    o Yet more changes in gmredi:
908      * adgmredi_calc_tensor
909        avoiding all recomputation of gmredi_slope_limit
910      * adgmredi_x/y/rtransport
911        added flag for excessive storing to avoid recomp. of
912        u/v/rtans, dTdx/y/z
913        -> this is not really necessary and very memory-consuming
914      * adgmredi_slope_psi:
915        consistency with gmredi_slope_limit in treatment of GM_slopeSqCutoff
916      * gmredi_slope_limit
917        re-activated full calculation of taperfct for case 'ac02'
918    o updating verification/ adjoints of carbon, global_ocean.90x40x15
919    
920    checkpoint47i_post
921    o GM_EXCLUDE_() replace GM_TAPER_(): by default, all the code is compiled.
922    o add GM_Small_Number & GM_slopeSqCutoff as run-time parameters (data.gmredi)
923      default values = 1.D-12 & 1.D+48 (=> give same results as checkpoint47f_post)
924    o cg2dTargetResWunit: define tolerance using deltaTmom (and not deltaTfreesurf)
925    o gmredi: fix few bugs.
926    
927    checkpoint47h_post (duplicate tag for PH's c48 tag, in order to move c48)
928    This will be a good checkpoint to plug into the ecco-branch.
929    o few modif.'s to get latest version adjointed
930      (mainly kick out code in ini_linear_phisurf)
931    o modif's to run adjoint with exactConserv
932    o case GM_BOLUS_ADVEC should be cleaned
933      S/R gmredi_slope_psi should be cleaned
934    o verification/carbon now has exactConserv=.TRUE.
935    
936    checkpoint47g_post
937    o time-average AIM output: becomes independent from statvars time-average
938      (can be used with #undef ALLOW_TIMEAVE) ; add new variables (e.g., RH)
939    o After TAF bug fix:
940      Tested adjoint of gmredi package.
941      Tests were done with checkpoint47 rather than with latest
942      checkpoint47f_post since the latter is broken for the adjoint
943      verification/carbon/ contains both ADM and TLM gradient checks.
944    Here they are, before they get changed/lost/stolen.
945    Mostly modif.'s to fix numerical sensitivities.
946    Gradient checks OK for
947    - GM_taper_scheme:
948      * clipping
949      * ac02
950      * linear
951      * glw91
952      * dm95
953      * ldd97
954    - GMREDI_OPTIONS:
955      * GM_VISBECK_VARIABLE_K
956      * GM_NON_UNITY_DIAGONAL
957      * GM_EXTRA_DIAGONAL
958      * GM_BOLUS_ADVEC
959    in conjunction with data.gmredi parameters to be checked in
960    in a few minutes under verification/carbon/code/
961    
962    checkpoint47f_post
963    Merging from release1_p10:
964    o modifications for using pkg/exf with pkg/seaice
965      - pkg/seaice CPP options SEAICE_EXTERNAL_FORCING
966        and SEAICE_EXTERNAL_FLUXES
967      - pkg/exf CPP options EXF_READ_EVAP and
968        EXF_NO_BULK_COMPUTATIONS
969      - usage examples are Experiments 8 and 9 in
970        verification/lab_sea/README
971      - verification/lab_sea default experiment now uses
972        pkg/gmredi, pkg/kpp, pkg/seaice, and pkg/exf
973    
974    checkpoint47e_post
975    o created a tag prior to creating a branch
976    
977    checkpoint47d_post
978    o fixed bug in the oceanic pressure coordinates code: vertical viscosity
979      at the bottom boundary had an erroneous half slip boundary condition
980    o added bottom drag and no slip boundary condition capabilities to
981      oceanic pressure coordinates code
982    o added new verification experiment global_ocean_pressure, this experiment is
983      also described in the tutorial section of the manual
984    checkpoint47d_pre
985    
986    checkpoint47c_post
987    o Added a verification experiment for a global cubed-sphere ocean run
988      -  verification/global_ocean.cubed32x32x30
989      -  uses pkg/therm_seaice and pkg/bulk_forcing
990    
991    o allow to run AIM physics with SPEEDY input files (from Franco Molteni)
992    o allow a more accurate definition of Ro_Surf (selectFindRoSurf=1)
993      when using P-coordinate; only implemented for atmospheric config.
994    o OCEANICP & realFreshWater: include P-E direct effect on wVel ;
995      NOTES: requires option NONLIN_FRSURF to be "#define".
996    o update advect_xz/results/output.txt (left from checkpoint44g_post)
997    
998    checkpoint47b_post
999    Merging from release1_p9:
1000    o pkg/seaice
1001      - removed GOTO's and added taf directives
1002      - double precision constants to reduce the g77 (Linux)
1003        to F77 (SGI) differences reported in release1_p8
1004    o tools/genmake
1005      - added SGI options
1006    o verification/testscript
1007      - updated to that of checkpoint47a_post
1008    o verification/global_ocean.90x40x15/input/eedata
1009      - modified for SGI f77 compatibility
1010    o verification/lab_sea
1011      - added description of sea-ice model
1012      - added missing matlab routines
1013      - added test of thermodynamics parallelization
1014    
1015    checkpoint47a_post
1016    o new pkg: aim_v23
1017     = F. Molteni atmos.physics (SPEEDY, ver23) adapted to MITgcm.
1018       for now, keep the same surface forcing as before.
1019     - Part-Cell implemented into AIM; check that Heat & Water are conserved
1020     - aim.5l_cs: use new aim pkg (run 10yr & get better results than before)
1021     - aim.5l_LatLon & aim.5l_Equatorial_Channel are still using old aim pkg
1022    o add diagnostic of surface correction term in monitor output
1023    
1024    o bulk_force and therm_seaice
1025    - Two packages:  bulk_force (Bulk forcing)
1026      and therm_seaice (thermodynamic_seaice) - adopted from LANL CICE.v2.0.2
1027    - Earlier integration from Stephaine Dutkiewicz
1028      and Patrick Heimbach.
1029    - Two ifdef statements for compile time,
1030       ALLOW_THERM_SEAICE and ALLOW_BULK_FORCE
1031    
1032    checkpoint47
1033    differentiable version of checkpoint46n_post
1034    o bug fix in quasihydrostaticterms
1035    o * "clean" adjoint code (in terms of extensive recomputations)
1036        can now be obtained for all GMREDI options (i.e. for
1037        - GM_VISBECK_VARIABLE_K
1038        - GM_NON_UNITY_DIAGONAL
1039        - GM_EXTRA_DIAGONAL
1040        - GM_BOLUS_ADVEC )
1041      * However, wrong gradient check problem remains unsolved.
1042      * New CPP options have been introduced for different
1043        tapering schemes
1044    o external_fields_load now part of differentiation list
1045    o pressure needs multiple storing;
1046      would be nice to have store_pressure at beginning or
1047      end of forward_step, e.g. by having phiHyd global (5-dim.)
1048      (NB: pressure is needed for certain cases in find_rho,
1049      which is also invoked through convective_adjustment).
1050    o recomputations in find_rho for cases
1051     'JMD95'/'UNESCO' or 'MDJWF' are OK.
1052    o #define ATMOSPHERIC_LOADING should be differentiable
1053    o ini_forcing shifted to begining of initialise_varia
1054    o Incorporating QNVS line search routines into MITgcm
1055      (this is separate code, and therefore not under pkg)
1056      lsopt/, optim/
1057    o Updated verification/carbon/
1058      - #define GM_VISBECK_VARIABLE_K
1059      - GM_taper_scheme    = 'ldd97'    
1060    
1061    checkpoint46n_post
1062    Merging from release1_p8:
1063    o verification/natl_box:
1064      updating new external_fields_load routine
1065    o New package: pkg/seaice
1066      Sea ice model by D. Menemenlis (JPL) and Jinlun Zhang (Seattle).
1067      The sea-ice code is based on Hibler (1979-1980).
1068      Two sea-ice dynamic solvers, ADI and LSR, are included.
1069      In addition to computing prognostic sea-ice variables and diagnosing
1070      the forcing/external data fields that drive the ocean model,
1071      SEAICE_MODEL also sets theta to the freezing point under sea-ice.
1072      The implied surface heat flux is then stored in variable
1073      surfaceTendencyTice, which is needed by KPP package (kpp_calc.F and
1074      kpp_transport_t.F) to diagnose surface buoyancy fluxes and for the
1075      non-local transport term.  Because this call precedes model
1076      thermodynamics, temperature under sea-ice may not be "exactly" at
1077      the freezing point by the time theta is dumped or time-averaged.
1078      N.B.: fairly large differences in accuracy occur across
1079            different platforms/compilers; comparison between
1080            g77 (Linux) and F77 (SGI Origin 2000/MIPSpro)
1081            generated output gives:
1082       T           S           U           V
1083      C D M    c        m  s        m  s        m  s        m  s
1084      n p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
1085      f n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
1086      g d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .
1087    
1088      Y Y Y Y  5  5  7  7  7  8 10  9  6  6  6  6  7  5  7  5  7 FAIL  lab_sea
1089    o GAD:
1090      - generated new common blocks to account for call of
1091        same gad routines with differing traceridentities
1092        (needed to modify tracerIdentity indices in GAD.h)
1093      - generated separate common blocks for case useCubedSphereExchange
1094        (Department of Futurology)
1095      - parameter lists to gmredi_?transport: added tracerIdentity
1096      - added new key indices to tamc.h
1097    o external_fields_load:
1098      - added this routine to TAF list
1099      - needed to make some common blocks global and additional storing
1100        along the same lines as exf package (checkpoint_lev?_directives.h)
1101    o exf:
1102      updated external forcing package
1103      - bug fixes carried over from ecco-branch
1104        (missing OBCS_OPTIONS.h in two routines)
1105      - enable easy to use "no forcing".
1106      - added exf I/O for atmospheric loading
1107      - added exf I/O for runoff data
1108      - transfered scaling between exf <-> MITgcm to exf namelist
1109    o Adding new verification experiment global_with_exf.
1110      This verification experiment is almost identical to the
1111      global_ocean.90x40x15 experiment, except that it uses
1112      the exf (and cal) package instead of the
1113      external_fields_load routine (cf README file).
1114    
1115    checkpoint46m_post
1116    o modified testscript to return -- when there are no lines of "%MON" output
1117    o added new flag "quasiHydrostatic" for QH mode
1118      and new routine quasihydrostaticterms()
1119    o added 2*Omega*Cos(phi)*W to u equations (non-hydrostatic Coriolis term)
1120      New routine: mom_u_coriolis_nh()
1121    o fixed sign of non-hydrostatic metric terms in u and v equations.
1122      Depend on correct sign of gravitySign.
1123    o added work.pc* to .cvsignore in aim directories using ifc
1124    o introduced flag for controllin non-hydrostatic metric terms
1125    o removed gravitySign from PARM04
1126    o switched to g77/ifc from pgf77 in aim experiments
1127    
1128    checkpoint46l_post
1129    o made convective adjustment work with pressure coordinates:
1130     - changed the direction of k-loop in convective_adjustment.F for the
1131       case of pressure coordinates (OCEANICP,ATMOSPHERIC buoyancyRelation)
1132     - adjusted the reference pressure k-index in convective_adjustment.F
1133     - adjusted the convection condition in convect.F (in analogy to
1134       calc_ivdc.F)
1135     - convective_adjustment no longer computes anything on the halos
1136     - removed the warnings about negative salinity from find_rho.F and
1137       find_alpha.F; instead the new routine look_for_neg_salinity, called
1138       at the beginning of find_rho, find_alpha, and find_beta, does a
1139       check of the entire slice, if CPP-option
1140       CHECK_SALINITY_FOR_NEGATIVE_VALUES is defined
1141    checkpoint46l_pre
1142    
1143    checkpoint46k_post
1144    o fixed the verification/global_ocean.90x40x15 experiment:
1145     - new bathymetry (the world according to A., JMC, and M.)
1146     - new initial fields and forcing fields (*.bin files)
1147     - new POLY3.COEFFS (for the next release one should switch to a full
1148       equation of state: JMD95P or MDJWF)
1149     - fixed several errors and redundancies in the data file
1150     - experiment uses looped cells
1151     - added matlab directory with diagnostic scripts for plotting of output
1152    
1153    o S/R aim_initialise.F replace S/R aim_init from file aim_do_inphys.F:
1154     - read AIM physics parameters from a file (data.aimphys)
1155     - set defaults values = F.Molteni paper (Clim.Dyn., 2002)
1156    
1157    checkpoint46j_post
1158    o split calc_exact_eta in 2 S/R : integr_continuity & update_etaH
1159    o move wVel computation at the end of the time step, in S/R integr_continuity
1160    o create specific S/R to exchange T,S before DYNAMICS (for stagger time step)
1161    o update timeave pkg for wVel diagnostic.
1162    checkpoint46j_pre
1163    
1164    checkpoint46i_post
1165    o Clean up AIM package (and keep the results unchanged):
1166      include CPP_OPTION and use IMPLICT NONE in all routines ;
1167      declare all the variables _RL ; use _d 0 for all numerical constants.
1168      use ifdef ALLOW_AIM everywhere. And now AIM can be used with g77 !
1169    
1170    checkpoint46h_post
1171    o cleaned up the use of rhoNil and rhoConst.
1172      - rhoNil should only appear in the LINEAR equation of state, everywhere
1173        else rhoNil is replaced by rhoConst, e.g. find_rho computes rho-rhoConst
1174        and the dynamical equations are all divided by rhoConst
1175    o introduced new parameter rhoConstFresh, a reference density of fresh
1176      water, to remove the fresh water flux's dependence on rhoNil. The default
1177      value is 999.8 kg/m^3
1178    o cleanup up external_forcing.F and external_forcing_surf.F
1179      - can now be used by both OCEANIC and OCEANICP
1180    checkpoint46h_pre
1181    
1182     Added code to convert surface volume flux (fresh water) into
1183     a mass flux when using P coordinates in the ocean (OCEANICP).
1184     Note: It assumes you have set rho0=rhoConst=density of fresh water.
1185    
1186    checkpoint46g_post
1187    o Include a new diagnostic variable phiHydLow for the ocean model
1188      - in z-coordinates, it is the bottom pressure anomaly
1189      - in p-coordinates, it is the sea surface elevation
1190      - in both cases, these variable have global drift, reflecting the mass
1191        drift in z-coordinates and the volume drift in p-coordinates
1192      - included time averaging for phiHydLow, be aware of the drift!
1193    o depth-dependent computation of Bo_surf for pressure coordinates
1194      in the ocean (buoyancyRelation='OCEANICP')
1195      - requires a new routine (FIND_RHO_SCALAR) to compute density with only
1196        Theta, Salinity, and Pressure in the parameter list. This routine is
1197        presently contained in find_rho.F. This routine does not give the
1198        correct density for 'POLY3', which would be a z-dependent reference
1199        density.
1200    o cleaned up find_rho
1201      - removed obsolete 'eqn' from the parameter list.
1202    o added two new verification experiments: gop and goz
1203      (4x4 degree global ocean, 15 layers in pressure and height coordinates)
1204    checkpoint46g_pre
1205    
1206    checkpoint46f_post
1207    o Enable tangent linear (forward mode) gradient checks:
1208      - extended active file handling to g_... files
1209      - added TANGENT_SIMULATION to theSimulationMode
1210      - extended grdchk package accordingly
1211    o added tangent linear setup in verification/carbon/code_ftl
1212    o added adjoint setup in verification/front_relax/code_ad
1213    
1214    checkpoint46e_post
1215    o Added new equation of state -> MDJWF
1216      - EOS of McDougall et al., 2002, JAOT, submitted
1217      - caveat: the equation of state is only valid for a smaller (more
1218        realistic?) range of values than JMD95P/Z and UNESCO
1219      - added masks to the calculation of pressure in store_pressure
1220      - added more check values for density in check_eos (ini_eos.F), some of
1221        the old check values are out of the range of the MDJWF-eos, so don't
1222        expect perfect matches for those
1223    checkpoint46e_pre
1224    
1225    checkpoint46d_post
1226    o fixed store_pressure to work with both buoyancy relation = 'OCEANIC' and
1227      'OCEANICP', also initialised field pressure correctly in ini_eos in the
1228      case of pressure coordinates. eosType='JMD95Z' in
1229      combination with buoyancyRelation='OCEANICP' now causes an error.
1230    o Changed p = pressure(i,j,k,bi,bj)  to  p = pressure(i,j,kRef,bi,bj)
1231      in find_alpha/beta.
1232    checkpoint46d_pre
1233    
1234    o Changed p = pressure(i,j,k,bi,bj)  to  p = pressure(i,j,kRef,bi,bj)
1235      so that JMD95Z and JMD95P give approptiate static stability in find_rho.
1236    
1237    checkpoint46c_post
1238    o Changes necessary for ocean in p-coordinates
1239     -  Added new buoyancy relation = 'OCEANICP'
1240     -  Added new parameters = gravitySign (this used to be contained inside
1241        the factor dRdZ which I added when we first switched to R coordinates).
1242     X GM/Redi is not compatible (yet)
1243     X bottom drag and no-slip need to be debugged.
1244    checkpoint46c_pre
1245    
1246    checkpoint46b_post
1247    o Added new equation of state -> JMD95Z and JMD95P
1248      - EOS of Jackett and McDougall, 1995, JAOT
1249      - moved all EOS parameters into EOS.h
1250      - new routines ini_eos.F, store_pressure.F
1251    o Added UNESCO EOS, but not recommended because it requires
1252      in-situ temperature (see JMD95)
1253    o Modified formatting for knudsen2.f in utils/knudsen2 and added
1254      unesco.f to be used with POLY3
1255    checkpoint46b_pre
1256    
1257    checkpoint46a_post
1258    o Added (atmospheric) pressure loading
1259      - new field in FFIELDS.h, etc...
1260      - new cpp flag ATMOSPHERIC_LOADING
1261    o Changed hFacC to _hFacC in calc_phi_hyd.F
1262    o Added SHORTWAVE_HEATING to some files for consistency
1263    checkpoint46a_pre
1264    
1265    checkpoint46
1266    further merges from release1_p5
1267    o new ctrl package
1268      - adopted from ECCO environment to enable optimization
1269      - added Eliassen Palm fluxes to controls
1270    o added Eliassen Palm flux controls to gradient check package
1271    o cost package
1272      - Compatible with new ctrl package
1273      - added Eliassen Palm cost hooks
1274      - modif's of existing cost functions
1275    o Adjoint-related bug fixes in kpp:
1276      - kpp_calc: sore of kpphbl avoids recomputation/call to S/R kppmix
1277      - kpp_routines: store of Rib avoids partial recomputation bug of TAF.
1278    o autodiff package
1279      - flow directives:
1280        + new for S/R do_the_model_io
1281        + enhanced for S/R checkpoint
1282        + new gmredi.flow
1283      - Introduced CPP option ALLOW_AUTODIFF_MONITOR to
1284        disable adcommon.h/g_common.h by default.
1285      - fixed problem for adjoint of global_max
1286    o modified verification/carbon/
1287    o New setup for adjoint of global_ocean
1288    o added hooks for Eliassen Palm fluxes (dynamics.F, ini_fields.F)
1289    o cleaned TAF keys iikey, idkey (dynamics.F, thermodynamics.F)
1290    o incorporated hooks for sponge layer code (external_forcing.F)
1291    
1292    checkpoint45d_post
1293    o import 2 fixes from release1_p5 (CG2D.h & packages_readparms.F)
1294    o use recip_dx*,recip_dy* instead of /dx*,/dy* in orlanski_E,W,N,S
1295      (affects plume_on_slope "cg2d" output)
1296    o add new parameter deltaTfreesurf for free-surface time stepping
1297    o exchange gT,gS when using staggerTimeStep & GM & Oly<4
1298    o NONLIN_FRSURF: rescale gNm1 to get a better conservation with A-B
1299    o change phiMin in exp1 (to agree with documentation)
1300    o add new flags:
1301     - T,S forcing inside/outside Adams-Bashforth
1302     - turn off temp,salt advection and/or forcing
1303     - for each tracer, define internal flag for multiDimAdvection & A-B
1304    o monitor: change definition of KE to check conservation of Energy
1305    
1306    checkpoint45c_post
1307    o Removed f90 comments ("!")
1308    o Modified initialisations to enable exf package for MITgcm
1309      (without invoking ECCO_PACKAGE).
1310    o modifications to gradient check package (Martin Losch)
1311      - enable centered differences
1312      - modified format of standard output
1313    
1314    checkpoint45b_post
1315    o cleaned exchange calls in cg2d
1316    o Included CPP option ALLOW_AUTODIFF_MONITOR in forward_step
1317    o included CPP option SINGLE_LAYER_MODE in thermodynamics
1318      to configure barotropic setup (Martin Losch)
1319    o moved some initialisations within bi,bj loop in dynamics
1320      (TAF flow dependency)
1321    o in initialise_varia, moved call packages_init_variables
1322      before convective_adjustment_init
1323      (corresponding adjustment of TAF tape initialisation).
1324    o in calc_diffusivity/calc_viscosity extended domain to full overlap.
1325    
1326    checkpoint45a_post
1327    o compute Rho over the whole domain (extend iMin,jMin indices)
1328    o specific exchange for X-slice domain (case Ny=1)
1329    o argument futureIter of S/R obcs_calc missing in exp4 & internal_wave /code
1330    o solve_for_pressure : set cg2d_x to zero where OBCS are applied
1331    
1332    checkpoint44h_post = checkpoint45
1333    o Fix to restore differentiability:
1334      place at which packages_init_variables is called in
1335      initialise_varia is crucial for reverse control flow.
1336    o modifications in GMRedi to enable stable adjoint
1337      (corresponding modif's in thermodynamics, dynamics)
1338    o added missing hook for sponge layer code in external_forcing
1339    o modified test cost functions
1340    o storing in gad_advection (plus removal of write(0,*)!
1341    o missing headers TR1.h added in convective_adjustment routines
1342    o errorMessageUnit set non-equal zero in eeboot
1343      (conflict on some platforms, e.g. IBM SP3)
1344    o modified carbon verif.
1345    
1346    checkpoint44h_pre
1347    o vertical grid option: allow to put the Interface at the middle between
1348      2 cell-centers ; replace delZ in pkg/kpp by drF.
1349    o GM Advective form: Tracers are advected using the residual transport (=
1350      Euler+GM-bolus); set param GM_AdvSeparate=T to return to previous form.
1351    
1352    checkpoint44g_post
1353    o fix surface correction term in multiDimAdvection (affects plume_on_slope
1354      results) ; ifdef missing in thermodynamics.F
1355    
1356    checkpoint44f_pre,checkpoint44f_post
1357    o added PTRACERS package
1358      This allows an arbitrary number of passive tracers to be integrated
1359      forward simultaneously with the dynamicaly model.
1360      + Implemented so far:
1361        - basic forward algorithm (time-stepping, advection, diffusion, convection)
1362        - I/O and checkpointing
1363        - GM/Redi  *but*  using the GM/Redi coefficient of Salt
1364      + Not implemented so far:
1365        - KPP
1366        - OBCS
1367      + No specific example supplied (yet) but global_ocean.90x40x15 has the
1368        necessary data.ptracer file. Simply use -enable=ptracers and uncomment
1369        line in data.pkg.
1370      + This package is disabled by default since it increases storage.
1371    
1372    
1373    o testscript: added -cleanup option
1374    o Shap_filt: a) new shap_filt S/R to use no-slip BC with S2 filter
1375                 b) enable to filter 2D fields.
1376    
1377    checkpoint44e_pre,post
1378    o re-wrote convective adjustment to use pre-calculated weights
1379      Affects: model/src/convective_adjustment.F, convective_adjustment_ini.F
1380      Adds:    model/src/convective_weights.F, convectively_mixtracer.F
1381      Original calls to convect() still in place.
1382    
1383    chkpt44d_pre,post
1384    o added missing EXCLUDE_MONITOR flags
1385    o changed "e" to "_d" in gmredi_slope_limit, gmredi_slope_psi
1386      (incompatible typ in MIN/MAX expressions caused problems
1387      on IBM SP3)
1388    o in genmake added variable MAKEDEPEND
1389      plus resetting for case SunOS
1390    o added timer_stats.c routine for IBM SP3
1391    o removed variables in dynamics
1392    !!! I forgot to create tag chkpt44d_pre !!!
1393    !!! But chkpt44d_pre = chkpt44c_post    !!!
1394    
1395    o real fresh water flux implemented with non-linear free-surface.
1396    
1397  chkpt44c_pre,post  chkpt44c_pre,post
1398  o few fix (mask in shap_s2, EmPmR in external_field_load,  o few fix (mask in shap_s2, EmPmR in external_field_load,
1399    USE_NATURAL_BCS in solve_for_P);    USE_NATURAL_BCS in solve_for_P);

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.326

  ViewVC Help
Powered by ViewVC 1.1.22