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

  ViewVC Help
Powered by ViewVC 1.1.22