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

Legend:
Removed from v.1.53.4.45  
changed lines
  Added in v.1.297

  ViewVC Help
Powered by ViewVC 1.1.22