/[MITgcm]/MITgcm/doc/tag-index
ViewVC logotype

Diff of /MITgcm/doc/tag-index

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.125 by jmc, Mon Jan 27 21:42:19 2003 UTC revision 1.701 by gforget, Fri Jul 14 20:20:36 2006 UTC
# Line 1  Line 1 
1  $Header$  $Header$
2    $Name$
3    
4      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
5      ==============================      ==============================
6    
7    o profiles: now ok for mutli-threaded case
8    o seaice: add 4 parameters for different advection schemes for area,
9      (effective) seaice thickness, enthalphy, and snow height. Their default
10      is the standard parameter SEAICEadvScheme
11    o calc_gw:
12     - add cosFacU in zonal viscous flux (harmonic.visc.).
13     - put back side-drag (call new S/R MOM_W_SIDEDRAG) and output.txt.
14       of tutorial_plume_on_slope.
15    o obcs_calc.F : fix index Pb in OBSeta & OBNeta (Thanks to Gianmaria).
16    o calc_gw: true flux-form, account for horizontal grid spacing.
17      update rotating_tank results, but not plume_on_slope (affected at
18      truncation level, 11 digits).
19    
20    checkpoint58l_post
21    o calc_gw:
22     - take bi,bj loops outside calc_gw to fix Pb with local array KappaRU,V
23     - remove side-drag for now (need to fix it); update plume_on_slope results.
24     - fix for partial-cell & non-uniform dz; update plume_on_slope results.
25    o commit code to make SST/SSS weights spatially variable
26      (based on either variable in-situ or variable initial T/S weights)
27    o pkg/ecco:
28      * commit code to relax deviations of xx_theta, xx_salt to 5*sigma,
29        now based on horizontally varying weights wthetaLev, wsaltLev
30      * cost_averagesflags now returns year indices in addition to day, month
31      * sflux balance is performed on annual basis
32        (sflxumm, sfluxmm2, bal_sfluxmm)
33      * for SSH anomaly, separate more cleanly contrib from T/P, ERS, GFO,
34        including separate counting and multipliers
35    o pkg/rbcs
36      * add all necessary infrastructure for pkg/rbcs levN adjoint checkpointing
37    
38    checkpoint58k_post
39    o testreport:
40     - always build in dir. "build" (if not there, mkdir build instead of building
41       & running in input)
42     - run in dir run (if it exists), in build otherwise.
43     - call prepare_run (if input/prepare_run exists)
44     - run multi-threaded test (with new option: "-mth") if file input/eedata.mth exists.
45    o pkg/exf modifications to interpolation and rotation routines for more
46       reasonable treatment of North Pole singularity: for tracers North Pole
47       value is set to northernmost zonal-mean value, for zonal velocity it is
48       set to zero, and for meridional velocity it is set to northernmost value.
49    o pkg/exf/exf_check_range.F
50     - add tile index to diagnostics and move stop statement to the very
51       end of the routine.
52    o pkg/diagnostics: (diagnostics_main_init.F)
53      define title of isomorphic variables according to the current config.
54    o pkg/thsice with pkg/seaice dynamics:
55    - fix domain of computation (interior only, required for exf) and do exchanges
56    - seaice-dynamics forcing: add atmospheric and seaice loading to SSH gradient
57    o towards a standard way of dealing with multi-threading in MONITOR
58      and ${PKG}_MONITOR (all except ptracers_monitor) subroutines.
59    o Pass variable viscosities (vertical and horizontal, e.g., KPP or Leith)
60       to W momentum equation in nonhydrostatic and quasihydrostatic runs.  
61    o make exf_monitor & seaice_monitor independant of the main (dynamics) monitor.
62    o pkg/seaice: fix SEAICEuseEVPpickup parameter (put it in a commom block)
63    o generic_advdiff: DST advection S/R : use local copy of velocity to compute CFL
64       (problems ? with gradient check in bottom_ctrl_5x5 adjoint test)
65    o tracer advection:
66     - clean-up and simplify calc_common_factors.F
67     - make a local copy of velocity and pass it (as u,v,r_Trans) to DST tracer
68       advection subroutine (but still not used within DST advection S/R)
69    o rename pkg aim_ocn_coupler to atm_ocn_coupler (later on, will be used without aim)
70    
71    checkpoint58j_post
72    o new driver S/R: LOAD_FIELDS_DRIVER to load external forcing fields
73      from file (collects calls previously in FORWARD_STEP)
74    o move call to SEAICE_MODEL from FORWARD_STEP to DO_OCEANIC_PHYS
75    o adjoint store dir. adjusted accordingly
76    o genmake2
77      replace target "ad_taf" by $(EXE_AD) ; add $(EXE_AD) to the make CLEAN list.
78    
79    checkpoint58i_post
80    o pkg/seaice: add parameter that allows to scale/turn off effect of seaice
81      on wind stress (SEAICEstressFactor defaults to 1.)
82    o Total number of Timers is finite (<=40): comment out 2 non-essential one
83      in the_main_loop.F to avoid Pb (e.g., when running fizhi test)
84    o vector_invariant: fix highOrderVorticity(=4.th.Order) advection
85      on CS-grid: no longer loosing mass.
86    o exf & curvilinear-grid: no longer modify longitude xC & xG.
87    o pkg/ggl90: fix sloppy output and fix a bug
88    o pkg/seaice: added SEAICEuseEVPpickup parameter
89      - Set to false in order to start EVP solver with
90        non-EVP pickup files when using SEAICEuseEVP
91      - fix sign error in diffusion in seaice_calc_rhs
92    
93    checkpoint58h_post
94    * Modifications for bottom topography control
95      o replace hFacC by _hFacC at various places
96      o replace ALLOW_HFACC_CONTROL by ALLOW_DEPTH_CONTROL
97      o add non-self-adjoint cg2d_nsa
98      o update autodiff support routines
99      o re-initialise hfac after ctrl_depth_ini
100      o works for 5x5 box, doesnt work for global_ocean.90x40x15
101    * Adding verification for 5x5 box (4-layer) bottom topography control
102    
103    checkpoint58g_post
104    o pkg/diagnostics: implement "periodic averaging diagnostics" (e.g.,
105       used for mean seasonal cycle, mean diurnal cycle); add an example
106       in verification/global_ocean.cs32x15/input.thsice/data.diagnostics
107    o pkg/ggl90:
108      - add parameter (minimum surface kinetic energy)
109      - fix bug (avoiding division by zero)
110    o couple pkg/thsice to pkg/seaice:
111      - modify advection in seaice to accomodate new scalar fields to be advected
112      - only muliDimAdection scheme work with seaice/thsice
113      - mapping of thsice-variables to seaice-variables, back and forth
114      - does not break the verification experiments, but does not give the
115        desired results either
116    o pkg/seaice
117      - make (default) second order advection a bit less confusing?
118    
119    checkpoint58f_post
120    o couple pkg/thsice and pkg/exf (as a preparation for coupling pkg/thsice
121      to pkg/seaice):
122      - new routines thsice_map_exf and thsice_get_exf provide the interface
123      - add an additional formal parameter to thsice_solve4temp
124    o pkg/exf:
125      - add new fields wspeed, snowprecip (to be able to couple to thsice)
126      - correct Stefan-Boltzmann constant
127      - new parameter for longwave surface emittance
128      - separate some stuff from exf_bulkformulae into new routines  
129        exf_radiation, exf_wind
130      - add new parameters and constants: longwave emissivity for ocean, ice
131        and snow, evaporation parameters over ice
132      - decouple wind/stress computation from ALLOW_BULKFORMULA: always compute
133        either wind from stress or stress from wind
134    o pkg/thSIce:
135    - split thsice_step_fwd.F in 2 S/R: thsice_step_temp.F & thsice_step_fwd.F
136    - put i,j loops inside S/R: THSICE_ALBEDO, THSICE_SOLVE4TEMP, THSICE_EXTEND
137       and THSICE_CALC_THICKN
138    - for now, call to THSICE_GET_BULKF remains inside i,j loops.
139    - add CPP option: ALLOW_DBUG_THSICE and header file THSICE_DEBUG.h
140      to make debugging easier.
141    - affects results (@ truncation level) of global_ocean.cs32x15.thsice: update output
142    o pkg/bulk_force:
143      - clean-up comments and parameters ;
144      - add new Bulk-Formulae from Large and Yeager, 2004, NCAR/TN-460+STR ;
145    o fix bug in aim+thsice albedo: snow & ice thickness arguments were switched;
146      generate new output for test-experiment: aim.5l_cs.thSI
147    o results_ad : rename "output.txt_adm" to "output_adm.txt" and change
148      testreport accordingly
149    
150    checkpoint58e_post
151    o SEAICE_CGRID adjoint done
152    o R_STAR adjoint implemented.
153      * Seems to just work (based on global_ocean.90x40x15/code_ad_nlfs/ )
154      * need to sort out init. of h0facc, etc.
155    o Make pkg/profile fully independent of ecco,cost, etc. stuff
156      to be able to use it in pure forward.
157    
158    checkpoint58d_post
159    o upgrade simple test-experiment to tutorial example:
160     step.1: duplicate the experiment and (step.2) will remove the old copy.
161      tutorial_barotropic_gyre      <- copy of exp0     (R1:barotropic_gyre_in_a_box)
162      tutorial_baroclinic_gyre      <- copy of exp1     (R1:baroclinic_gyre_on_a_sphere)
163      tutorial_global_oce_latlon    <- empty for now    (R1:global_ocean_circulation)
164      tutorial_global_oce_biogeo    <- copy of dic_example
165      tutorial_deep_convection      <- almost like exp5 (R1:nonhydrostatic_deep_convection)
166      tutorial_plume_on_slope       <- copy of plume_on_slope
167      tutorial_tracer_adjsens       <- copy of carbon   (R1:tracer_adjoint_sensitivity)
168      tutorial_global_oce_optim     <- empty for now (David ?)
169      tutorial_global_oce_in_p      <- copy of global_ocean_pressure
170     some tutorials (R1) were already checked-in under tutorial_examples in release1_branch
171    o correct a sign problem in cost_scat.F
172    o obcs and ptracers: fix boundary conditions for advections schemes
173      with larger stencil
174    o thsice adjoint: start
175    o mom_vecinv: add ISOTROPIC_COS_SCALING flags to mom_vi_hdissip for
176      completeness
177    o mom_fluxform: fixing the mutual use of ISOTROPIC_COS_SCALING
178      and COSINEMETH_III, add comments in default CPP_OPTIONS.h
179    o ptracers adjoint:
180      * avoid extensive recomputatations
181      * fix missing re-init. of gptr (missed by TAF)
182    o obcs: add a flag (OBCSprintDiags, defaults is true) that allows
183      me to turn off the excessive output to STDOUT that this package produces
184    o move NH metric terms & 3.D Coriolis S/R to pkg/mom_common
185      and add those terms in Vector-Invariant formulation.
186    o in ctrl pkg, if ALLOW_CAL, use monthly mean controls
187      if the control period (xx_hfluxperiod etc) is 0
188    o in profiles pkg, clean routines and fix details
189    o in ecco pkg, reading ssh data:
190      fix problem in case the model does not start at iter0=0
191    o fix mnc-pickup/restart for ptracers
192    o new package prifiles:
193      code to compute profile-based cost by Gael Forget
194      (modifs in ecco, ctrl, autodiff)
195    o Benign bug fix in initialization (spotted by M. Mazloff) of
196      ctrl_set_globfld_xz.F ctrl_set_globfld_yz.F
197    
198    checkpoint58c_post
199    o adjoint: finish NLFS adjoint and provide reference output in
200      verification/global_ocean.90x40x15/results_ad_nlfs
201    o seaice: add an EVP solver following Hunke and Dukowicz (1997) and the
202      documentation of CICE. Turn on by defining SEAICE_ALLOW_EVP in
203      SEAICE_OPTIONS.h and SEAICEuseEVP=.true. in data.seaice. Works only
204      with SEAICE_CGRID defined.
205    o move calendarDumps from "data" to "data.cal" and clean-up the code
206      with a simple call to pkg/cal S/R: CAL_TIME2WRITE
207    o add useEXF & useCAL flags (for now, set in hard-coded way)
208    o add S/R to compute NH-metrics terms & Coriolis f' in vertical momentum
209      (were missing in NH mode, and wrong in quasihydrostatic mode).
210      waiting for Chris updated version of calc_gw to add those CALLs.
211    o fix bug in quasihydrostatic S/R ;
212      add a test for this option: global_ocean.90x40x15.qshyd
213    o new S/R "SET_PARMS": set parameters that might depend on the use of some pkgs.
214      (called from INITIALISE_FIXED, after INI_PARMS & PACKAGES_READPARAMS)
215    o add on/off flag useOffLine for package OFFLINE
216    o seaice:
217      - modify advection so that it works also on the C-grid
218      - extend loop ranges in seaice_lsr and seaice_dynsolver; fixes
219        problem in multi-tile runs with C-grid
220      - add flags for clipping ice velocities and/or masking solver forcing
221      - fix drag (ocean on ice) formulation and a bug that caused noise in the
222        C-grid solver
223      - added a few comments to seaice_diffusion.F
224      - separate C-grid and B-grid versions more cleanly (UVM and seaiceMaskU/V
225        are now exclusive)
226      - add a new ocean-ice stress coupling method (Hibler and Bryan, 1987) which
227        required re-ordering the code a little:
228       + make DAIRN global variable (defined in SEAICE)
229       + move computation of the viscosities eta and zeta into a new separate
230         routine (because I need to recompute them in seaice_ocean_stress.F)
231    
232    checkpoint58b_post
233    o AIM+thSIce: fix sign of Short-Wave through the Ice ;
234      update output.txt of exp. aim.5l_cs.thSI
235    o various mnc cleanups and improvements:
236      + shrink lookup tables by factor of ~4
237      + better error reporting when running out of lookup space
238      + able to handle longer path/file names (up to 500 chars)
239    o adjoint:
240      - Another overhaul of store dirs. for NLFS to eliminate  "hidden" recomputations.
241      - TBD: "hidden" mom_vecinv recomp. in dynamics
242    o change forcing_In_AB to affects both T,S forcing and Momentum forcing
243     (allow to differentiate between forcing components using new integer flags:
244      momForcingOutAB=1/0 & tracForcingOutAB=1/0)
245     and add new flag to put Dissipation tendency out of Adams-Bashforth.
246    o ecco
247      - enable trend removal from SSH anomaly obs.
248    o adjoint
249      - a fix for PmEpR when #undef EXACT_CONSERV
250      - fix of "hidden" recomp. in thermodynamics (no TAF warnings)
251      - try to fix "hidden" recomp. in forward_step for NLFS
252        (NLFS seems broken sometimes after I checked it in)
253    o seaice:
254     - add c-grid version of the dynamic solver:
255       + three new routines that are the c-grid substitute lsr, dynsolver
256         and ostres
257       + put a few fields that were local to dynsolver into global common
258         blocks, so that I can move the computation of stresses etc into
259         seaice_lsr (saves coding but may break the adjoint).
260     - replace more hardwired parameters by runtime parameters
261     - add ice masks that mask the rhs of the implicit solvers where there
262       is no ice (commented out in seaice_dynsolver, because i am not sure
263       if this works properly), eventually this should replace the clipping
264       of ice velocities in seaice_dynsolver to +/-40cm/s.
265    o remove the BUILD_INFO.h include from CPP_EEOPTIONS.h and explicitly
266      include it only where its needed
267    o move balancing of fluxes before the call of external_forcing_surf
268    o seaice:
269      - correct units of turning angles (now they are really in degrees)
270      - move computation of GWATX/Y out of main routine into dynsolver
271      - initialize GWATX/Y in seaice_init
272    o Apply mask on Fresh-Water flux (needed for SSH forcing).
273      update output.txt of exp. global_ocean_ebm & cpl_aim+ocn (affects cg2d residual)
274    o seaice: add runtime flags for turning angles (default to zero)
275    o Adding runtime parameter to exf/, ctrl/, to remove on-the-fly global mean
276      and trend from exf forcing and ctrl control adjustments
277    o fix variable aliasing in gad_calc_rhs that cannot be handled by TAF
278      (since checkpoint57x_post)
279    o change the default rotation period to 86164.s = the Earth rotation
280    o 1rst implementation of Implicit IGW using the 3-D solver (use3Dsolver=T)
281      and based on a reference stratification. Tested within hs94.cs-32x32x5.
282    o seaice advection: add code for choosing between the default (2nd order
283      central differences) and multiDim advection schemes provided by
284      pkg/generic_advdiff
285    o seaice:
286      - removed all references to SEAICE_GRID.h fields from
287        dynsolver, advect, diffus, lsr, without changing the results of lab_sea
288        (cubed-sphere configuration will change a little)
289      - grid computations in seaice_init are obsolete now.
290      - cleaned up code a little so that is easier to read (hopefully).
291      - added new (better?) discretizations of default advection and diffusion
292        (turn on with SEAICEuseFluxForm)
293      - replace 1 in 3d global fields by kSurface in growth.F
294      
295    checkpoint58a_post
296    o seaice:
297      - bug fix in advect.F
298    o shelfice:
299      - separate shelfice load anomaly from pload (breaks with time
300        dependent forcing), => introduce constant field shelficeLoadAnomaly.
301        Its default is 0., but it may be computed more cleverly from (unknown)
302        t- and s-profiles (tRef, sRef) and actual EOS. For now this has to be
303        done offline. A good approximation of the pressure load anomaly is
304        necessary to avoid large initial adjustment processes underneath
305        deep-reaching shelfice.
306      - small fix in ISOMIP shelfice_thermodynamics
307      - add more sophisticated thermodynamics of Hellmer (1989), this is
308        now the default
309      - give a few constants more intuitive names
310    o add code to balance EmPmP and Qnet at the end of do_ocean_physics. Useful
311      if bulk formulae are used in long integration (especially EmPmR). Turn
312      on with balanceEmPmR = .true. or balanceQnet = .true. in data, PARM01
313      if balancePrintMean, the imbalance that is substracted is printed to
314      STDOUT.
315    o fix bug (typo) in obcs_apply_eta.F
316    o add a new package shelfice which enables us to model the circulation
317      underneath shelf-ice with draughts of hundreds of meters.
318     - works
319     - to do: + include improved thermodynamics
320              + check whether kSurfC (from model/inc/SURFACE.h) can be used
321                instead of new field kTopC
322              + can we use topoFile, Ro_surf and existing code in ini_depth.F
323                instead of new field R_shelfIce and new code in ini_depth.F
324                and ini_mask_etc.F?
325              + adjust vertical mixing schemes?
326    o seaice pkg:
327     - add a cpp-flag to include a simple formula for a salinity dependent
328       freezing point of sea water at the surface
329     - change the contents of SEAICE_TEST_ICE_STRESS_1 so that zonal and
330       meridional stresses are now different (and hopefully correct)
331    o AIM pkg: change threshold on large-scale condensation to conserve Heat.
332       update results of aim.5l_LatLon test ; fix title & units of AIM diagnostics
333       and  change 3 diagnostics names (OSR,OSRCLR,KM -> TSR,TSRCLR,DRAG)
334    o pkg/diagnostics: add options and parameters for regional-statistics
335       diagnostics ; define regions by reading a region-mask from a file
336       (might add other options later)
337    o pkg/bulk_force:
338     - add option and parameters to use AIM surface-flux formulae.
339     - Change loading part: S/R BULKF_FIELDS_LOAD only take care of bulkf_fields ;
340       others forcing fields (defined in PARM05, parameter file "data") are loaded
341       from S/R EXTERNAL_FIELDS_LOAD, as usually (with useBulkforce = T or F).
342     - initialise all bulkf_fields in bulkf_init.F ; do in-lining of exf_bulkcdn.F
343     - use the right EXCH call for uwind,vwind (to work on CS-grid).
344     - re-arrange header files (move parameters from BULKF.h to BULKF_PARAMS.h)
345       and parameters (note: calcWindStress replaces .NOT.readwindstress).
346     - cleaner interface with pkg/thSIce (new S/R THSICE_GET_PRECIP).
347    
348    checkpoint58
349    o add "--embed-source" option to genmake2 which, when the supporting
350      tools can be compiled (as determined by genmake2) will turn on the
351      embed_files package which then embeds the entire MITgcm source code
352      (*.[fFhc] + Makefile) used for the build within the executable
353      - requested by CNH but off by default
354      - adds a paltry <9MB to the mitgcmuv executable in most cases
355      - only writes the output when useEMBEDSRC in eedata is true
356    o clean up 3-dim. relaxation codes:
357      * Fix I/O inconsistency in pkg/rbcs: replace precFloat32 by readBinaryPrec
358      * Remove 3-dim. relaxation code from pkg/exf (now use only pkg/rbcs)
359      * Thanks to Tom Haine for testing!
360    
361    checkpoint57z_post
362    o make CG3D solver compatible with Free-surface at k > 1 (p-coordinate):
363      affects output (@ truncation level) of exp. plume_on_slope ; updated.
364    o fix the pickup behavior for obcs in combination with ptracers
365    o fix a bug in ptracers_external_fields_load
366    o no AB-2 at the first iteration for Gw (consistent with Gu,Gv,Gt,Gs ...)
367      affects results of NH experiments (but all our NH tests have Gw[it=1]==0 !!)
368    o transfered surface NH pressure to eta field (if exactConserv).
369    o gmredi: fix bugs in slope tapering ldd97 (depthZ had the wrong sign)
370         and update lab_sea output.txt file.
371    o completing 3-dim. relaxation code: additional term
372         1/tau*( theta(i,j,k) - thetaStar(i,j,k) )
373      in S/R EXTERNAL_FORCING_T (file external_forcing.F)
374      * At compile time, in "EXF_OPTIONS.h" set
375          #define  ALLOW_CLIMTEMP_RELAXATION
376          #define  ALLOW_CLIMSALT_RELAXATION
377      * At runtime in "data", under &PARM03 set (e.g., units in seconds)
378          tauThetaClimRelax3Dim = 15552000.0,
379          tauSaltClimRelax3Dim  = 15552000.0,
380      * 3 cases:
381          1) Use a constant-in-time 3-dim. field
382          2) Provide 12 3-dim. fields corresponding to Jan., ... , Dec.
383          3) Real-time relax. to time-evolving prescribed field
384    o Adding Laplacian-type smoothness constraint on
385      initial and boundary (forcing) controls (ic, bc)
386      * enable at compile-time via
387        ALLOW_SMOOTH_IC_COST_CONTRIBUTION, ALLOW_SMOOTH_BC_COST_CONTRIBUTION
388      * enable at run-time via mult_smooth_ic = 1, mult_smooth_bc = 1
389      * Absolute scale somewhat unclear so far
390      * no area weighting was included since no other cost term does so far
391    
392    checkpoint57y_post
393    First step for a NLFS adjoint
394    o initially suppress rStar (new flag DISABLE_RSTAR_CODE)
395    o new init. routines for calc_r_star, calc_surf_dr
396    o still need to deal with ini_masks_etc
397    o testreport seemed happy
398    checkpoint57y_pre
399    
400    o obcs: always reset wVel & eta (to zero or prescribe it) at the OBs.
401    o add new package rbcs (for relaxing ptracers at boundaries/depth/surface etc)
402    o add new offset feature to offline pkg (plus minor cleanup)
403    o cfc fixes for final year of integration
404    o clean up GCHEM_OPTIONS.h/DIC_OPTIONS.h (all options should
405      be in GCHEM_OPTIONS).
406    
407    checkpoint57x_post
408    o fix testreport Pb in multiple test experiment.
409    o cleanup our namelist syntax in verification:
410      - make it more F95 standards compliant (some work still needed)
411      - allows the vast majority of our tests to work with gfortran
412    o Non-Hydrostatic:
413     - put all NH variables (formerly in DYNVARS.h & GW.h) in NH_VARS.h
414     - fix exchange calls for CS-grid using the new EXCH_S3D_RL.
415    o Allow to apply AB on T,S rather than on AB(gT,gS):
416     - implemented within #ifdef ALLOW_ADAMSBASHFORTH_3
417     - use the same arrays (gtNm,gsNm) to hold tracer field at previous
418       time-steps (if AB(T,S)) and tendencies (if AB(gT,gS)).
419     - need a "clever" read_pickup to restart from the other AB formulation
420    o move local commom bloc /GlobalLo/ (used for singleCpuIO) in EESUPPORT.h
421    o remove some unused variables (reduces number of compiler warnings)
422    o adjoint
423      * Disable useVariableViscosity for adjoint for time being
424        (there are a number of extensive recomputations)
425      * Initialize certain variables needed for adjoint
426    
427    checkpoint57w_post
428    o pkg/mdsio: use MAX_LEN_FNAM (instead of hard coded 80) for file-names
429                 fix the singleCpuIO RS version of MDSWRITEFIELD
430       and add a WARNING if using globalFiles=T with multi-processors.
431    o write grid-file(s) in only one format (MDS or MNC): default=MNC (if
432      using MNC); can force MDS output by setting writegrid_mnc=F in data.mnc
433    o tracer advection scheme:
434      add DST-2 (=Lax-Wendroff) & 1rst order upwind schemes (the way to get
435       those 2 schemes before, changing GAD_FLUX_LIMITER.h + to recompile,
436       was not very convenient).
437      add implicit version for DST-3 & DST3_Flux_Limit vertical advection;  
438       (further tests needed for the implicit DST & Flux-Limiter schemes).
439    o PTRACERS: added namelist parameter PTRACERS_ref in analogy to tRef
440      and sRef for convenience, handy, when you want to initialize
441      ptracers in a large domain with a constant non-zero value. Also,
442      untangle ptracers_init.F a little.
443    
444    checkpoint57v_post
445    o change dome exp. to use variable viscosity in side-drag terms.
446    o remove all the files from the cfc_offline test since they are now
447      incorporated into tutorial_cfc_offline which has been producing
448      identical results for a few days of testing
449    o add new parameter: sideDragFactor to enable half-slip-side BC
450      and change side-drag S/R to use viscosity from mom_calc_visc
451      (can switch back by setting sideDragFactor=0.); affects results at
452      truncation level; regenerate output for exp.: global_ocean.cs32x10(x3),
453       global_ocean_ebm, global_ocean_pressure, matrix_example & MLAdjust(x5).
454    o vorticity & strain are now computed without masking, to account for
455      no-slip-side BC in variable viscosity calculation ; mask is applied
456      anyway later on, before computing advection/coriolis terms.
457    o modify exp4 to test new obcs support for reading from external files
458      and for passive tracers
459    o fix behavior of ptracers_monitor when monitor output is written to a
460      netcdf-file; still not independent of monitor.F (writes in the same
461      file).
462    o change default value of tRef (put a uniform, meaningful value for ocean
463      & atmos) and initialize sRef (was missing, as Martin mentioned).
464    o Redefine viscC?Leith*.  Change the coefficients of Leith viscosity
465      to be proportional to enstrophy dissipation length.  Thus,
466       viscC?leith?_new=pi*(viscC?leith?_old)^(1/3)
467      This is now consistent with Smagorinsky and with the manual.
468    
469    checkpoint57u_post
470    o OBCS and PTRACERS: add open boundary support for passive tracers
471      - either use homogenous (pseudo) v.Neumann conditions or prescribe
472        OB-values from file; this is not different from the way theta and salinity
473        are treated
474      - however, Orlanski-radiation conditions are not supported, and the model
475        will stop if you use pTracers and Orlanski at the same time.
476      - beefed up the rountine obcs_external_fields_load: now only those open
477        boundary values are overwritten with values from files for which there
478        are really files, otherwise the OB-fields remain untouched. This makes
479        it possible to use different OBs at different ends of the domain (as
480        with EXF)
481    o reduce number of exch calls in shap_filt (s2).
482    o CS-grid: fix divergence contribution to Leith viscosity. Affects (@
483      truncation level) 4/5 MLAdjust test results (11&12 digits match).
484    
485    checkpoint57t_post
486    o test biharmonic viscosity + no-slip with exp: global_ocean.cs32x15.viscA4
487    o finish adding brackets (coriolis S/R, vecinv) in multi-terms sum to get
488      same truncation, independent of the face number: affects affects several
489      test. exp.: Update global_ocean.cs32x15 (+.thsice) & MLAdjust (all 5).
490    o fix bug in mom_v_sidedrag (biharmonic viscosity was counted 2 times);
491      note that biharmonic viscosity + no-slip was not tested in any experiment.
492    o fix bug in non-linear free-surf side-drag ; generate new output for
493      global_ocean.cs32x15(+.thsice) & global_ocean_pressure.
494    o make mnc honor the writeBinaryPrec flag for most kinds of output
495    o eesupp: split EEPARAMS into EESIZE/EEPARAMS and add a vector global sum
496    o minor change in averaging W (mom_vi_?_vertshear.F) that affects truncation
497      error; update output from global_ocean.cs32x15(+.thsice) & MLAdjust (all 5).
498    o add brackets in multi-terms sum to get same truncation, independent of
499      the face number (manage to get exactly same value of gU,gV at the cs-edge)
500      affects several test. exp. Update global_ocean.cs32x15 (+.thsice).
501    o Clean, new version of mom_calc_visc.  Adds a new feature, viscAhRemax
502      and viscA4Remax, which allow one to limit the minimum viscosity by specifying
503      a maximum grid-scale Reynolds number.  Also, changes all length calculations
504      in the case of grid anisotropy to geometric mean of dx**2 and dy**2.
505      Suggested values of viscosity parameters found in mom_calc_visc.
506      Many new viscosity diagnostics available.
507    
508    checkpoint57s_post
509    o Add clearing-house for viscosity calculations, mom_calc_visc and
510      correct numerous bugs in LeithD and Smagorinsky discretizations.  
511      mom_calc_visc now allows for Smagorinsky, Leith and LeithD to be
512      used simultaneously, and to be used in mom_vecinv and mom_fluxform.
513      Mom_vecinv can be used with standard viscous calculation (mom_vi_hdissip.F)
514      and with Strain-Tension viscous term calculation (mom_hdissip.F).  
515      The Strain-Tension form is now called with useStrainTensonVisc=.true.
516      ViscAhStrain and viscAhTension are now retired.
517    o diagnostics "VISCAHD" & "VISCA4D" replace "VISCAH" & "VISCA4".
518    o In response to JMC's bug report, genmake2 now ignores any soft-links
519      that it finds in the *current* directory when searching for files.
520      Soft-links found in any other source directories will still work as
521      they did before.
522    o add HAVE_SETRLSTK define and useSETRLSTK flag (eedata) which calls
523      a C routine to unlimit the stack size
524    o mnc-ify pkg/aim snapshot vars
525    o mnc-ify pkg/land as requested by Daniel
526    o various changes to mnc including:
527      - all files use the new "BASENAME[[.ITER].{t|f}NUM].nc" format
528      - output can now be grouped so that all files within a group
529          change the ITER portion of their names in lock-step together
530      - can now read ("global") PER-FACE (in addition to PER-TILE) files
531          and works with both EXCH1 and EXCH2 (but needs more testing)
532      - writing works for all verification test cases w/ g77 on Linux
533    
534    checkpoint57r_post
535    o make MNC variable initialization happen earlier
536    o add diagnostics for (almost) each term of the momentum Eq.
537    o remove SST,SSS,UVEL_k2,VVEL_k2 diagnostics.
538    o move pkg timeave out of pkg-groups "oceanic" & "atmospheric" (pkg/pkg_groups)
539    o remove MINIMAL_TAVE_OUTPUT option ;
540      add "dumpInitAndLast" to replace "nodumps" (and MINIMAL_TAVE_OUTPUT).
541    o move some basic S/R (used elsewhere in the code) from pkg/mdsio to eesupp/src
542      allows to compile without pkg/mdsio (& test successfully hs94.1x64x5)
543    o add MNC output for adjoint of EXF (adexf), SEAICE (adseaice)
544    o add time-dependent SST, SSS control
545    o cost terms in ecco/ modularized (new cost_generic.F)
546    o cost_averages routines are modularized (new cost_averagesgeneric.F)
547    o new infrastructure for seaice model vs. obs misfits in seaice/
548      * driver from the_main_loop.F is seaice_cost_driver.F
549      * first term is AREA vs. SMR observation misfit (ALLOW_SEAICE_COST_SMR_AREA)
550      * gradient check in Exp. 6a of natl_box_adjoint/
551    o natl_box_adjoint input_seaice for Lab. Sea now available online via wget
552      (see README file)
553    
554    checkpoint57q_post
555    o fix initialisation Pb in calc_gw (get NANs in exp5 with g77)
556    o fix annoying months-old bug in mnc/mdsio output for seaice pkg
557      - bug was reported by Jean-Michel and Ian Fenty
558    o fix initialization Pb in AIM-Ocean coupled model (aim_sice2aim.F)
559      update exp. cpl_aim+ocn output.
560    o Implement 4-level checkpointing: AUTODIFF_4_LEVEL_CHECKPOINT
561      Needed for high-res. runs with large global files
562      to be able to limit tapelev size
563    o Changed some tests for adjoint:
564      * carbon/ now tests AUTODIFF_2_LEVEL_CHECKPOINT
565      * natl_box_adjoint/code_bulk/ tests AUTODIFF_4_LEVEL_CHECKPOINT
566      * global_ocean.90x40x15/ back to default 3-level checkpointing
567    o Modifications to enable scripted COMMON to MODULE conversion
568      * verification/OpenAD/code/ has necessary scripts and description;
569      * converts, compiles and runs successfully;
570    
571    checkpoint57p_post
572    o reading of delXfile & delYfile moved from ini_parms.F to ini_grid.F
573    o move ${PKG}_MNC_INIT from ${PKG}_READ_PARAMS to ${PKG}_INIT_FIXED
574      (already the case for some pkgs, including recent MNC_init, e.g. thsice)
575    o call CALC_GW from DYNAMICS (instead of from FORWARD_STEP)
576    o Dissipation & phiHyd gradient are always added to gU,gV in timestep.F
577      (was already the case for dissipation with mom_vecinv,
578       and also the case for grad.PhiHyd when staggered-timeStep)
579      This will allow to put dissipation out-off the AB time-stepping.
580     Unfortunately, affects truncation error. Update output of exp. that "fails"
581      (cg2d matching number) and leave the others for later: front_relax(10),
582      global_ocean_pressure(10),ideal_2D_oce(10),internal_wave(9),lab_sea(12),
583      matrix_example(7!),natl_box(12),plume_on_slope(11),vermix(12x3,11x2).
584    
585    checkpoint57o_post
586    o fix MNC/MDSIO flags in PTRACERS so that (1) it works, and
587      (2) its ready to be documented during the 20050801 DocFest
588    o MNC-ify the gmredi package -- tested and works w/ and w/o mnc
589      for ideal_2D_oce and lab_sea on linux_ia32_g77
590    o set to #undef CTRL_SET_OLD_MAXCVARS_30
591      in global1x1_tot/code_seaice_adj to access indices 32, 33
592      (worth another tag)
593    
594    checkpoint57n_post
595    o adding precip control xx_precip 32
596    o adding swflux control xx_swflux 33
597    o Replacing 10 forcing penalty cost routines by 1 generic.
598    o Implementing partitioning in time-mean and variable adjustment
599      for atmos. state.
600    o Time-mean constant error is now read in data.ecco (instead of hard-coded)
601    o in natl_box_adjoint:
602      * updated exp 1 to 10
603        (but does not have time-mean vs. variable split results yet)
604    o updated global1x1/*_seaice_adj/
605      to incorporate latest changes
606    o enable useSingleCpuIO for mdsio vector routines
607      (applies in particular to tapelev I/O)
608    o removed inefficient K-loop in all active_file*control*.F
609    
610    checkpoint57m_post
611    o re-arrange exp. adjustment.cs-32x32x1 (adjust_nlfs.cs-32x32x1 merge into)
612      and advect_cs (use EXCH-2 and standard cs-32 grid files).
613    o pkg/exch2: filling of face-corner halo regions is optional
614      (ifdef W2_FILL_NULL_REGIONS) and is turned off by default.
615    
616    checkpoint57l_post
617     tag before updating tutorials (pre-release-2)
618    o add cos & sin of grid-direction orientation angle (curvilinear grid only,
619       for output and interpolation of input fields onto model grid)
620    o fix radius in mom_v_metric_cylinder.F (wrong by dy/2).
621       Affects results of exp. rotating_tank ; update output.txt.
622    o pkg/diagnostics: 2 new S/R to fill a diagnostics using a scaling factor
623          and taking the square quantity and/or using a fraction-weight field.
624    o fix aim_diagnostics_init.F mate numbers.
625    o add mnc output capability to diagnostics/diagstat and update
626      our cvsignore files for the ACSII output generated
627    
628    checkpoint57k_post
629    o lab_sea now uses diagnostics package and provides a suite of
630      new EXF diagnostics output.
631    
632    checkpoint57j_post
633    o exf
634      * bug fix in exf_bulkformulae for psimh (spotted by Eliyahu Biton):
635        Bracket missing in eqn. for psimh (eqn. 7 of Large & Pond, 1982);
636        terms -2*ATAN(x) + pi/2 were added to both stable and unstable case.
637      * extended diagnostics output
638        - now includes all EXF variables
639        - hs, hl moved to common block
640        - separate S/R for diagnostics, called after ctrl vector is added
641        - name changed for EXFsw -> EXFswnet, EXFlw -> EXFlwnet
642        - EXFqnet contains true Qnet (i.e. includes qsw)
643      * updated verif. lab_sea, global_with_exf
644      * Rearranging hflux (exf_mapfields -> exf_getforcing)
645        to ensure that diagnostics sees a true EXFqnet
646    o add matlab scripts for CS-grid vectors (in utils/cs_grid)
647    o diagnostics pkg: change pointers so that 1 diagnostic can be used
648      several times with different frequencies.
649    o mnc-ify the thsice package as requested by Daniel Enderton
650      - the monitor--MNC output needs work
651      - many attributes need to be added (most are currently blank)
652    o mnc-ify theaim_v23 package as requested by Daniel Enderton
653      - many attributes need to be added (most are currently blank)
654    o remove "groundAtK1" & "rkFac" (replaced by usingPCoords & -rkSign)
655    o add Sadourny like discretization to the 4th.O vorticity advection scheme
656    o fix bug in rStar code (calc_r_star.F) when used with topo/bathy.
657      update output.txt from: aim.5l_cs (& .thSI), cpl_aim+ocn,
658         fizhi-gridalt-hs and global_ocean.cs32x15 (& .thsice).
659    o fix few little things to avoid floating error with -ftrapuv (ifort v9)
660     (ini_spherical_polar_grid.F, calc_r_star.F, monitor/mon_surfcor.F)
661    
662    checkpoint57i_post
663    o Diagnostics package was changed: diagnostic allocation is now deactivated
664      by setting an empty file name in the namelist (used to be by setting 0 frequency)
665    o momentum advection (VI form) options: activate 4th.O vorticity Coriolis ;
666      add 1rst Order upwind vertical Shear.
667    o add a quick fix for A/B checkpointing in OFFLINE mode
668    o add IGNORE_TIME define and -ignore_time option to genmake2 as an
669      end-run around the C/Fortran linking horror in eesup/src/timers.F
670    o added pkg/runclock: allows user to terminate run based on wall clock
671    o added non-hydrostatic scaling parameter: nh_am2
672    o pkg/my82: futile attempt to make results compiler-independent by adding
673      some "_d 0", etc. no effect.
674    o for mnc output, fill the 'T' coordinate var with myTime and create a
675      separate 'iter' variable for iteration count
676    o pkg/diagnostics:
677      add new capability: output of Global/Regional & per-level statistics ;
678      tested against monitor output (including land & thSIce) on various exp.
679    o make seaice-pkg I/O type flags (MNC/MDS) more standard.
680    
681    checkpoint57h_done
682      tag after changing user customized files (DIAGNOSTICS_SIZE.h,
683      data.diagnostics, data.gchem, data.ptracers) is done.
684    
685    o pkg/diagnostics: prepare for Global/Regional statistics.
686      add 2nd namelist in data.diagnostics and update DIAGNOSTICS_SIZE.h
687    o remove "baseTime" (no used) from arg. list of DIFF_BASE_MULTIPLE
688      and rename it: DIFFERENT_MULTIPLE
689    
690    checkpoint57h_post
691    o move tIter0 from data.gchem to PTRACERS_Iter0 in data.ptracers
692    o pkg/diagnostics: change output frequency, now in seconds (instead
693      of Nb of iterations). This requires to change data.diagnostics.
694    checkpoint57h_pre
695    
696    o in mnc, let the user create the output dir if both mnc_outdir_date
697      and mnc_outdir_num are false
698    o add fflags() to pkg/diagnostics which allows one to specify, on a
699      per-file basis, the file precision [default behavior is unchanged]
700    o added diagnostics to pkg/kpp, including computation of mixed layer
701      depth based on a temperature/density criterion
702    o updated verification/natl_box to test the new pkg/kpp diagnostics
703    o bugs fixed (with useAbsVorticity=T & with useJamartMomAdv=T)
704    o test AB-3 code with 4th.Order advection scheme (advect_xy/input.ab3_c4)
705    o fix mnc flags in pkg/seaice so that they are "owned" by seaice,
706      not mnc -- this mistake was found by JMC and is now corrected
707    
708    checkpoint57g_post
709    o add Adams-Bashforth 3rd Order time stepping:
710      - default remains AB-2 (#undef ALLOW_ADAMSBASHFORTH_3)
711      - not yet implemented with NH, CD_Scheme, pTracers, MNC_pickup ...
712    checkpoint57g_pre
713    
714    o make lambda[Theta,Salt]ClimRelax spatially varying
715      (default remains spatially uniform constant based on tau)
716    o added new control variables
717      * init. uVel, vVel, etanN
718      * lambda[Theta,Salt]ClimRelax
719    o separate masks used for ctrl_pack/unpack 'from write_grid' output
720      (suggested by G. Forget)
721    
722    checkpoint57f_post
723    o add parameter "baseTime" = model base time = time at iteration zero
724      new function DIFF_BASE_MULTIPLE (replace DIFFERENT_MULTIPLE) to
725      account for baseTime shift
726    o move Coriolis arrays from PARAMS.h to GRID.h
727    checkpoint57f_pre
728    
729    o mnc-ifying the seaice package
730    o introduced an alternative length scale calculation for use in the limiting
731      maximum viscosity (off by default, see mom_vi_hdissip.F for details)
732    o S/R ptracers_calc_diff: argument list bug for CALL KPP_CALC_DIFF_S
733    o added modified Leith scheme with viscosity proportional to grad(Hdiv)
734      as well as grad(vort3).  Made it compatible with both approximate form
735      for the cubed sphere and full form of these gradients.  Added flag
736      useFullLeith to select between approximate and full form.  
737    o add "d0" in getcon.F to reduce differences between compilers/platforms
738      update output.txt of exp. fizhi-gridalt-hs
739    o change port_rand funtion to allow to set the seed.
740    o fix obscure MNC bug involving conversion between reals and integers
741      - it caused no problems with certain (eg. gcc, ifc) compilers but the
742        new version is now more standards-compliant
743    o adjoint-related modifications
744      * gad_dst3_adv_?: to be able to use advscheme=30 in adjoint
745      * gad_calc_rhs: fool adjoint, revert to advscheme=30 in reverse when using 33
746      * mom_vi_hdissip: to be able to use Leith scheme in adjoint
747    
748    checkpoint57e_post
749    o Adding eddy stress controls a la Ferreira et al.
750    checkpoint57e_pre (actually was tagged: eckpoint57e_pre)
751    
752    o fizhi pkg: fix AtoC and CtoA when called with same input & output array
753      update output.txt of exp. fizhi-gridalt-hs
754    o add more "Z" dimensions and associated coordinate vars to MNC
755    o pkg/exf: added twoDigitYear capability for option useExfYearlyFields
756    o parameter calendarDumps: when set, approximate months (30-31 days) and years
757      (360-372 days) for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
758      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact calendar
759      months and years.  Requires pkg/cal.
760    o diagnostics: add pickup functionality
761      - off by default for backwards compatibility
762      - current version only uses MDSIO -- MNC will be added
763    o allow to use pkg diagnostics for LAND pkg output & Shapiro Tendencies.
764    o pkg/shap_filt: fix for multi-tiles per face (CS-grid with EXCH2)
765    
766    checkpoint57d_post
767    o pkg/thsice used in the ocean: fix tile Pb related to sIceLoad forcing
768    o modify verification/ideal_2D_oce so that it tests the creation of mnc
769      output from the diagnostics package
770    o temporary fix in EXCH2_UV: add a 3rd call to fix the 24.tiles CS-grid set-up
771    o make genmake2 more portable by using ".$FS" instead of ".f" for more
772      of the test compilations (eg. IBM xlf on Mac OSX w/HFS filesys)
773    o add coordinate variables to the MNC output from the diagnostics package
774    o change MNC-flags default value: true when useMNC=TRUE
775    o add a "readgrid_mnc" flag to MNC and give model/src/ini_curvilinear_grid.F
776      the ability (off by default) to read the grid information using MNC
777    o lab_sea: use LSR_ERROR=1.E-12 for testing ; update output.txt
778    o diagnostics: fix a bug (sub-set of levels); keep full precision when averaging
779    o do snap-shot diagnostics at the middle of the time-interval (instead of
780      at the end).
781    o update exp. aim.5l_cs (use default LAND_OPTIONS.h file) and add
782      new test for AIM with thSIce + slab-ocean
783    o cpl_aim+ocn test: update output (optfile & default GMREDI_OPTIONS.h)
784    o move state variable diagnostics to the beginning of the time step ;
785      (note: still needs some work specially for snap-shot diagnostics)
786      duplicate & replace UVELVVEL diagnostics with UV_VEL_C & UV_VEL_Z
787    
788    checkpoint57c_post
789    o Change testing option (-ieee) to get closer agreement between g77 & ifort
790    o generate new output.txt files on faulks with g77 & the new -ieee option
791    checkpoint57c_pre
792    
793    o add "_d 0" in freeze ; change some "FLOAT" to "DFLOAT" and went back (TAF);
794      update output.txt of exp. global_ocean.90x40x15
795    o fix in ini_eos.F (one "_d 0" was missing): now g77 & ifc give much closer
796      results; update global_ocean_pressure & global_ocean.cs32x15 output.txt
797    o add saltFlux(+File) forcing capability with periodicExternalForcing
798    o allow to use pkg diagnostics for GM-Redi & ThSIce output
799    o diagnostics_fill: fill in up to sNx+1 or sNy+1 (if U,V or Z pt) for mnc.
800    o improvements for the MNC output from DIAGNOSTICS:
801      - correct handling of the unlimitied dimension
802      - all dims now have associated coordinate variables
803      - variables located at U, V, and Corner ("Z") points are now written
804        with the correct horzontal dimensions (eg. 'Xp1', 'Yp1') so that
805        *all* data points are output
806    o added seaice_summary.F and removed obsolete ALLOW_SEAICE's from pkg/seaice
807    o added pkg/seaice/seaice_monitor.F
808    o mdsio_readfield.F can now read files visible only to master MPI process.
809    o pkg/seaice: some test code for ice-modified ocean stress
810    o exf_getffields interpolation defaults to bilinear for all scalar forcing
811      fields (remains bicubic for wind velocity and stress).  This avoids, e.g.,
812      spurious negative numbers for precipitation and humidity.  Will cause
813      some small numerical differences for integrations using pkg/exf/exf_interp.F.
814    o pkg/ctrl/
815      * Add ctrlvec diagnostics in pack/unpack for nondimensional I/O
816        May be enabled via doPackDiag
817      *  introduce z-scaling of
818         + gradient (doZscalePack) and
819         + control (doZscaleUnpack)
820    o pkg/mdsio/
821      * enable useSingleCpuIO for state estimation (ctrl_pack/unpack) mdsio_gl.F
822      * N.B.: leave tiled I/O for tapelev (i.e. mds...vector)
823    
824    checkpoint57b_post
825    o simplify options in diagnostics_fill arguments (remove weird combinations)
826    o fix MNC coordinate variables so that they now contain per-face index
827      values (instead of xC,xG,yC,yG values) when run with EXCH2 since, in
828      general, EXCH2 grids are only aligned to a "local" coordinate system
829    o test diagnostics pkg in dic_example (no output) and ideal_2D_oce (with ouput)
830    o Implement instantaneous output within pkg diagnostics:
831      setting a negative frequency in data.diagnostics produces
832     "snap-shot" output (as opposed to time-average if freq > 0)
833    o move out off EQUIVALENCE all diagnostics that fizhi does not use ;
834      NOTE: change ptracer diagnostics name: use 2 characters to work with
835            more than 9 tracers. Add also diagnostics of advect & diffus flux.
836    o more CF compliance: convert all MNC 'iter' variables to 'T' so that it
837      becomes the coordinate variable for the 'T' dimension
838    o add CF-style coordinate variables to MNC
839      - just a first cut:  numbers are meaningless on the cubesphere and
840        missing along the T axis but otherwise it works!
841    o add surface flux diagnostics: TAUX, TAUY, TFLUX, TRELAX, TICE, SFLUX, SRELAX
842    o pkg/thSIce: read initial state from 6 files ; allow monitor to use MNC.
843    o add diagnostics of advective & diffusive flux for T & S (pTracers coming soon)
844      this is based directly on what the model compute, so that the content of
845      each diagnostics might be affected by switching options (e.g., implicitDiffusion)
846    o small changes for diagnostics (gad_biharm_?.F, arguments of S/R impldiff.F)
847    o clean up build options files for SunOS, in particular
848      - remove -traditional from xmakedepend
849      - change -xarch=v9 to -xarch=native for f77
850      - restore use of make (not gmake)
851      - add CC=gcc if using g77
852    o changes per discussion of AM, JMC, & EH3 today:
853      - move redundant "grid" variables out of "state" -- in preparation of
854        creating proper CF-style coordinate variables and in recognition
855        that any/all grid variables can be easily copied (eg. w/NCO) from
856        the grid files into any of the other NetCDF files
857      - *always* output grid variables with MDSIO (this will eventually be
858        changed)
859      - output MNC grid file if useMNC is true
860    o every instance of _END_MASTER() has been found and replaced with
861      _END_MASTER( myThid ) in order to satisfy certain picky Sun
862      preprocessors
863    o re-arrange diagnostics pkg initialisation:
864     - allow each package to extend the available diagnostics list
865     - add some checking and fix small problems (multi-threaded, ...)
866     - new S/R diagnostics_fill (replace fill_diagnostics):
867       look through the short list of active diag. (instead of the long list)
868       create function DIAGNOSTICS_IS_ON to tell if a diagnostics is active
869    
870    checkpoint57a_post
871    o this set of changes restores TAMC compatibility
872      tested for global_ocean.90x40x15 adjoint on trough
873      (what a pain)
874    
875    checkpoint57a_pre
876    o some modifs in tools/build_options for sunos
877    o call ctrl_pack for ctrl at end for optimcycle=0
878    
879    checkpoint57
880    o add horizontal bi-harmonic viscosity for vertical velocity
881      - new parameter viscA4W (defaults to viscA4)
882      - affects only non-hydrostatic code
883      - to be done: no-slip lateral boundary conditions
884    o switch back to "sflux = sflux - runoff" in exf_getforcing.F
885    o implement Implicit Vertical advection for pTracers
886    o depth convergence accelerator: replace deltaTtracer by dTtracerLev(k)
887      (implemented also for implicit vertical diffusion & advection)
888    o OBCS: extend application of tracer open boundary conditions
889      to a strip beyond the boundary of width Olx/Oly
890    o add call monitor to TAF set of required calls (flow directives)
891      and include in natl_box_adjoint
892    o untangle a few ifdefs related to cost, ctrl, autodiff
893      untangel a few ALLOW_ECCO_OPTIMIZATION
894    o Apply Cooper & Haines representative estimates also at sub-surface (k=Nr)
895      (theta2, salt2 in ecco_cost_weights)
896    
897    checkpoint56c_post
898    o OBCS as control variables
899      - update ctrl_ad_diff.list, obcs_ad_diff.list
900      - remove balance of obcs controls from default
901      - fix index bug nobcs in ctrl_init
902      - fix dummy fields filen in ctrl_pack
903      - add dummy weights for obcs
904    o lsopt: comment out fort.94 output
905    o optim:
906      - remove unnecessary header files
907      - adjusted namelists
908      - add xerbla.F to Makefile
909    o exf:
910      - multiple modifications of exf_check_range
911      - unit change in exf_init_runoff from [m/year] to [m/s]
912    o mdsio:
913      - i/o-vector change debugLevel from debLevA to debLevB
914    
915    checkpoint56b_post
916    o collect all ptracers output in an new routine (PTRACERS_OUTPUT) that
917      is called from DO_THE_MODEL_IO
918      - rename PTRACERS_STATV_WRITE to PTRACERS_WRITE_TIMEAVE
919      - introduce new parameter PTRACERS_dumpFreq (defaults to dumpFreq)
920      - clean up PTRACERS_WRITE_TIMEAVE a little
921    o add another verification experiment that tests both the cfc-pkg and
922      the gchem-pkg with GCHEM_SEPARATE_FORCING undefined, that is with
923      reactive tendencies treated inline with regular timestepping
924    o testreport previously did a lousy job of comparing small numbers, so
925      we (Ed and Martin) changed the  way the cut-off of 1.e-12 is
926      implemented in the little c-progam tmp_cmpnum.c which is embedded in
927      testreport.
928    o ptracers_monitor: bug fix for MPI
929    
930    checkpoint56a_post
931    o GCHEM: finish reorganizating the package
932      - forward_step calls GCHEM_CALC_TENDENDY, which computes gchemTendency
933        (introduces another 3D-array for each passive tracer, but only if
934        GCHEM_SEPARATE_FORCING is undefined. For GCHEM_SEPARATE_FORCING
935        gchemTendency is not needed because the timestep is done separately)
936      - gchemTendency is added to gPtr in GCHEM_ADD_TENDENCY
937      - GCHEM is now---more or less cleanly---separate from PTRACERS
938      - to bo done: handling of surfaceForcingPtr that is needed for KPP not
939        so clear to me how that should be done in a general way.
940    o CFC: improve formatting of output in CFC_ATMOS
941    o PTRACERS:
942      - rename GCHEM_MONITOR to PTRACERS_MONITOR and call it from MONITOR, so
943        that ALL experiments with ptracers enable can be checked. This makes
944        GCHEM_MONITOR obsolete.
945      - include a runtime parameter PTRACERS_monitorFreq that defaults to
946        monitorFreq
947      - set default PTRACERS_write_mdsio to false if PTRACERS_write_mnc is true
948    o add PTRACERS (PTR0[1-5]) to testreport output
949    o exf_check_range:
950      * default changed to .TRUE.
951      * will check values for niter0 if debLevA, every timestep if debLevB
952      * STOP in exf_check_range if 'out of range'
953      * range chosen generous to allow for potential extema
954      TBD: a version with stricter range
955           permitted range would be runtime parameters
956    o GMredi:
957      - fix ldd97 slope limit ; extend valid domain of Psi-Bolus ;
958      - change S/R GRAD_SIGMA to be valid in the overlap on CS-grid.
959      - change the default GMREDI_OPTIONS.h: compile everything except Visbeck
960    o GCHEM:
961      - move call to GCHEM_FORCING_SEP, so that it is now called before
962        the blocking exchanges to avoid computing halos in GCHEM_FORCING_SEP
963      - introduced a useGCHEM runtime flag and applied it everywhere.
964      - renamed PTRACERS_SEPARATE_FORCING to GCHEM_SEPARATE_FORCING;
965        this flag is now only visible within GCHEM-pkg routines.
966      - moved gchem_forcing_int temporarily into ptracers_forcing, this will
967        be replaced by a 3D array that is computed before thermodynamics; for
968        this, the tracer ID iTracer had to be included into the parameter list
969        of ptracers_forcing
970      - set up forward_step to call gchem_forcing, that will replace
971        gchem_forcing_int in ptracers_forcing
972      - cleaning up
973    o small cleaning of exch2: remove files that are also in eesupp/src
974    
975    checkpoint56
976    o AIM: read land-Fraction earlier (from ini-fixed) and monitor land at nIter0
977    o mnc: cleanup "full" files--fixes out-of-memory problem
978    o ECCO-GODAE
979      * model/, pkg/, code/, input/ now complete w.r.t. ECCO-GODAE production setup
980      * fully merged and updated from SIO code
981        windstress sign change affects
982        - exf_inscal_[u/v]stress
983        - sign of xx_tau[u/v] adjustments
984        - signs in cost_scat
985      * ctrl_get_gen: avoid update of tau[u/v] for first few days
986      * natl_box_adjoint updated and compressed
987      * 2-level checkpoint switch added
988        (tested in EXP. 1 of natl_box_adjoint)
989      * new switch doInitXX to avoid init. of xx_... in optimcycle=0
990    o SVD
991      * first complete, non-hacked version for SVD calculations
992      * all interfaces clean w.r.t to handling of xx_..., adxx_..., g_xx_...
993        performed via direct access files admtlm_vector.it????
994        (via ctrl_[un]pack)
995      * optimcycle is used for ARPACK iteration counter
996        (note: adxx_... is iterated, rather than xx_...; latter is constant!)
997      * EV problem ok w.r.t. L2-norm in tangent space; need to check other norms
998        and add linear transforms where necessary
999      * controls are initial/final SST, SSS (can be extended; need to check
1000        ctrl_set_[un]pack_xyz.F according to ctrl_set_[un]pack_xy.F
1001    o mdsio: filename info to both stderr, stdout
1002    o exf: exf_inscal_runoff: separated default conversion [m/year] -> [m/sec]
1003      from sign change
1004    
1005    checkpoint55j_post
1006    o isolate dissipation tendency (allow to keep it out off AB) in V.I form.
1007      affects (truncation level) output.txt of global_ocean.cs32x15(&.thsice)
1008    o add consistent build directories and .cvsignore files to verification
1009    o added viscA4GridMin and viscA4GridMax for more control on biharmonic viscosity
1010    o make all subroutines 30 or less characters in length for certain older
1011      compilers to work (a thorough search only turns up two routines in
1012      pkg/ptracers)
1013    o allow (vecinv only) a different horiz. viscosity for Divergence and Vorticity;
1014      affects (truncation level) output.txt of global_ocean.cs32x15(&.thsice)
1015    
1016    checkpoint55i_post
1017    o change arrays for total vertical diffusivity (2.D if explicit,
1018      3.D if implicit) ; each ptracer uses its own background value.
1019    o added mnc/NetCDF output capability to ocn_compon_interf
1020      - added bits to verification/cpl_aim+ocn so that it can run on
1021        ITRDA and other clusters without the mpirun "-wd" option
1022    o fixed wayward endif in mom_fluxform.F that messed up cyclindrical
1023      configuration
1024    o give MNC the ability to create additional files rather than
1025      exceeding a specified file size limit "MNC_MAX_FILESIZE"
1026      - the default is just less than 2GB which is a practical limit
1027        on many systems
1028    o Compute the non-local term using either KPP vertical diffusivity (=default)
1029       or the total vertical diffusivity (when KPP_ghatUseTotalDiffus=T)
1030    
1031    checkpoint55h_post
1032    o add verification test "vermix"
1033    o remove all the *_ioinc flags and replace with the single global
1034      outputTypesInclusive flag
1035    o allow to set a vertical profile of vertical diffusivity for T & S
1036    o call PACKAGE_BOOT & PACKAGES_READPARMS just after INI_PARMS
1037    o useMNC moved from data.mnc to data.pkg
1038    
1039    checkpoint55g_post
1040    o Renaming carbon AD experiments to comply with testreport conventions
1041    o Updating adjoint of Held-Suarez hs94.1x64x5
1042    o Fixing directives for non-ECCO forward_step, after ECCO directives
1043      have been fixed to avoid recomp. of do_oceanic_phys
1044      Works well for global_ocean.90x40x15,
1045      but recomp. issue remains for carbon
1046    o Updating adjoint output for natl_box_adjoint after
1047      pkg/ecco has been modified (see taga c55d_post)
1048    
1049    checkpoint55f_post
1050    o rename to timeave_init_fixed
1051    
1052    checkpoint55e_post
1053    o some delicate re-shuffle of store directives to avoid one
1054      extra call of do_oceanic_physics
1055      affects ecco_the_main_loop.F, do_oceanic_physics.F
1056      checkpoint_lev1_directives.h
1057    o NB: this may break global_ocean adjoint temporarily,
1058      but it is clear how to fix it. Will do later, need this now.
1059    
1060    checkpoint55d_post
1061    o ECCO specific cost function terms (up-to-date with 1x1 runs)
1062    o ecco_cost_weights is modified to 1x1 runs
1063    o modifs to allow observations to be read in as
1064      single file or yearly files
1065    o enable to read exf forcing fields as either
1066      single file or yearly files (flag useExfYearlyFields)
1067    checkpoint55d_pre
1068    
1069    o switch between 2-level and 3-level checkpointing
1070    o add ability of MNC to write local and "partial" (eg. 2D slices where
1071      the full 3D field is never actually stored) arrays to NetCDF files
1072      with the correct (that is, the complete multi-dimensional) set of
1073      array indicies
1074      - used in mom_vecinv() to write the diagFreq output
1075      - tested (demonstrated) in verification/aim.5l_cs
1076    o further mnc-ification
1077      - add verification/lab_sea to the list with mnc setups
1078      - fix undefined mnc v-names in cd_code
1079      - add kpp to mnc output (both snapshot and timeave)
1080    o non-hydrostatic code
1081      - added horizontal viscosity parameter viscAhW for w, that replaces viscAh
1082        in calc_gw.F
1083      - defaults to viscAh
1084      - this is useful, when I want to use viscAh=0 (e.g., only biharmonic
1085        friction or Leith) in non-hydrostatic mode, as long as there is
1086        no biharmonic friction and/or Leigth or equivalent for vertical velocity.
1087    o pkg/cost
1088      extend simple cost functions to treat time mean quantities
1089      (T,U,V) via cost_accumulate_state from cost_tile
1090    o multidimAdvection on CS-grid: implement the full 3 pass ; overlap needs to
1091        be 2 times larger than the minimum size the advection scheme requires.
1092        now get a perfect conservation of salt in advect_cs test-exp (updated)
1093    o GGL90 (Gaspar's TKE mixed layer)
1094      - add horizontal diffusion of TKE, requires exchanges in
1095        do_fields_blocking_exchanges, horizontal diffusivity is zero by
1096        default. In OPA there is no horizontal diffusion of TKE but the
1097        mixing coefficients are computed from a horizontal average of TKE of
1098        6 points or so. I think that diffusion has a little more physical
1099        justification.
1100      - clean up ggl90_calc in the hope of reducing memory usage (this hope
1101        was in vain)
1102      - mask tke-variable in ggl90_init
1103    o fix mask Pb in multidimAdvection on CS-grid (still a small Pb with ipass)
1104    o fix biharmonic diffusion on CS-grid.
1105    o more obcs stuff
1106      - added obcs_external_fields_load as an alternative to the EXF-pkg option
1107        for reading boundary values. This routine is called from
1108        obcs_prescribe_read
1109      - updated obcs_check
1110      - changed sponge layer relaxation parameter units for days to seconds
1111      - turned off sponge layer by default
1112      - changed argument list of OBCS_CALC to myTime+deltaTclock
1113      - fixed about 35 bugs in obcs_external_fields_load
1114    
1115    checkpoint55c_post
1116    o obcs stuff
1117      - new runtime flags useOBCSprescribe, useOBCSbalance
1118      - re-arranged obcs_calc
1119      - moved exf_getobcs to obcs_prescibe_read
1120        obcs_prescibe_read is called after ORLANSKI stuff
1121        and independent of it (executable can contain all).
1122      - updated obcs_check
1123      - added exchanges for U,V,gU,gV for useOBCSprescribe=.TRUE.
1124        These may be necessary only if tangential velocities are
1125        prescribed at OB, not sure, needs testing.
1126    o make the MNC_CW_ADD_VATTR_* subroutines all take scalar arguments
1127      which simplifies the calls and passes the ifc check-bounds test
1128    
1129    checkpoint55b_post
1130    o add a 2D scalar, Z location, exchange_2 routine.
1131    o EXCH_UV for CS-grid: add one u,v in the corner-halo region, allows
1132      to compute vorticity on a wider stencil [e.g., vort3(0,1)&(1,0)]
1133      affects advect_cs results (for the wrong reason): update output.txt
1134    o use a more standard discretization for biharmonic viscosity ;
1135     (original version still available with #define MOM_VI_ORIGINAL_VISCA4 )
1136      affects results of dome set-up: update output.txt
1137    o fix gad_advection.F (CubedSphere part), back to version 1.23
1138    o fix bug in mom_vi_del2uv.F (CubedSphere part).
1139    
1140    checkpoint55a_post
1141    o merged code to
1142      * prescribe/read time-dependent open boundaries
1143        (works in conjunction with exf, cal)
1144      * sponge layer code for open boundaries
1145      * each boundary N/S/E/W now has its own CPP option
1146        (healthy for the adjoint)
1147    
1148    checkpoint55
1149    o up-to-date adjoint of previous breaks
1150      - natl_box_adjoint: problem for exp 12, 13: cost = 0. needs fix
1151      - global_ocean_ebm: adjoint still needs fix (TLM ok)
1152      - global_ocean.90x40x15: extended GMREDI_OPTIONS.h
1153      - carbon: * remove tr1-related adjoint verification
1154                * add ptracer as control variable
1155    o remove all tr1-related code (ALLOW_PASSIVE_TRACER)
1156      (adjoint stuff still has some tr1 'names', but all use ptracer arrays)
1157    
1158    checkpoint54f_post
1159    o in verification/carbin/ remove experiment related to
1160      ALLOW_PASSIVE_TRACER (array tr1 etc)
1161      code_ad/ input_ad/ results_ad
1162    
1163    o add two new packages
1164      - ggl90, TKE-model of Gaspar et al. (1990), Blanke+Delecluse (1993)
1165        + subject to optimization (memory)
1166      - opps, OPPS (ocean penetrative plume scheme) of Paluszkiewicz+Romea (1997)
1167        + subject to reordering (many GOTOs in the original code)
1168        + so far opps is called for every (i,j) point, and then operates in
1169          the vertical; one may want to reorder the scheme in order operate in
1170          horizontal slabs at the cost of (a lot of) memory, at least ten new 3D
1171          fields)
1172    o overhaul of IO so that we now have flags for MDSIO and/or MNC
1173      - all verification tests compile and run with linux_ia32_g77
1174      - defaults are compatible with current input files--nothing
1175        should change if you were not previously using MNC
1176      - MNC output has been added in numerous places (eg. timeave)
1177        but there are still a few writes not yet do-able with MNC
1178        (this is in progress)
1179      - flags now allow for either/or/both use of MDSIO and MNC and
1180        documentation will soon follow
1181      - numerous small formatting cleanups for ProTeX
1182    o add version info (via BUILD_INFO.h) to MNC and stdout
1183    
1184    checkpoint54e_post
1185    o add two new packages
1186      - pp81 (Packanowski and Philander, 1981), Richardson number and
1187        stratification dependent mixing
1188      - my82 (Mellor and Yamada, 1982) level 2 turbulence closure scheme
1189      - these scheme operate in a similar manner as KPP (without ghat, of
1190        course), however there is only one diffusivity that is used for both
1191        temperature and salinity (and passive tracers)ç
1192    o add offline package
1193    o add "verification/dic_example" which contains a dic-gchem-ptracer setup
1194      provided by Stephanie Dutkiewicz
1195    o genmake2: add ability to search for C compilers and cleanup test output
1196      - fixes recent SX-6 problems and should help with others (eg. HP-UX)
1197    
1198    checkpoint54d_post
1199    o data.diagnostics: if levels() is unspecified then ALL levels are diagnosed
1200    o bug fix in pkg/cal/cal_addtime.F for TheCalendar='model' day count is wrong,
1201      leading to additional shift by 5 days each year of integration
1202       (i.e. leading to considerable offset over the years)
1203    o update global_ocean.cs32x15/thsice: use z* + RealFW + staggerTimeStep
1204    o start with no AB and no initial filtering (staggerTimeStep):
1205      change the results of test-exp: hs94.128x64x5, hs94.1x64x5 & hs94.cs-32x32x5
1206    o move ocean specific S/R calls from forward_step.F to do_oceanic_phys.F
1207      (external loading & cpl import/export stay in forward_step.F)
1208    o update coupling interface to work with new staggerTimeStep
1209    o change MDSIO ptracers_pickup.
1210    o fix a bug in Flux deriv. vs Ts (pkg/aim_v23/phy_suflux_sice.F);
1211    o genmake2 fixes so netcdf now works on halem ("osf1_alpha_*")
1212    o bugs fixed in kpp_calc.F (ustarY) and external_forcing.F (Qsw & Partial-cell)
1213    
1214    checkpoint54c_post
1215    o replace surfaceTendency U,V,S,T,Tice,Ptr by surfaceForcing U,V,S,T,Tice,Ptr
1216      this affects (truncation error) output.txt of test-exp:
1217       global_ocean_ebm,_pressure,.cs32x15(&.thsice), lab_sea & natl_box
1218    o pkg/kpp: replace pMask by maskC to reduce memory size (one 3.D array)
1219    o change Qnet to always be the net heat flux, (+upward).
1220      affects (truncation error) output of natl_box exp.: updated
1221    o define the max number of passive tracers in PTRACERS_SIZE.h
1222    o start to test mnc routinely in exp0
1223    o add sea-ice loading (sIceLoad) as a new forcing field.
1224    
1225    checkpoint54b_post
1226    o add testreport "-j JOBS" option for parallel builds (tested and pretty
1227       impressive on Altix and Opteron systems)
1228    o diagnostics can now write NetCDF files through the mnc package
1229    o staggerTimeStep & NLFS: update pkg aim_v23 & thsice; update aim.5l_cs output
1230    o staggerTimeStep & multi-Dim-Advec: Exch(U,V) added
1231    o staggerTimeStep & NLFS: rescale T & S surface tendencies.
1232      affects (truncation error) output of lab_sea & natl_box exp.: updated
1233    o change pickup _cd & _ptracers (old pickup restart: usePickupBeforeC54=.T.)
1234    
1235    checkpoint54a_post
1236    o re-write staggerTimeStep: step fwd U,V and then T,S (reverse the order).
1237    o change pickup file (to restart from old pickup, set usePickupBeforeC54=.T.)
1238    o get a perfect restart when using RealFreshWaterFlux + NLFS (not finished)
1239    o update output of all exp. that use staggerTimeStep (except hs94.cs & 2D)
1240      + internal_wave (shift in writing cg2d_ini_res)
1241    checkpoint54a_pre
1242    
1243    o require forcing_In_AB=.FALSE. and remove surfaceTendencyTice from pkg/seaice
1244      - modified verification/lab_sea and natl_box_adjoint accordingly
1245    
1246    checkpoint54
1247    checkpoint53g_post
1248    o prepare splitting of thermodynamics: store convect.counter in common block
1249    o store d.etaH/dt (instead of Div.hV) in common ; affects (truncation error)
1250      output of: global_ocean.cs32x15, global_ocean_pressure & internal_wave
1251    o cnh's modifs to gad_advection.F for cube-sphere multi-dim advection
1252    o new parameter "nShapS": allow to treat differently S from T (nShapT)
1253    o separate Vert.Advec.Scheme from horizontal Advec.Scheme (T & S)
1254    o restore adjointability
1255    
1256    checkpoint53f_post
1257    o modifications that affect AIM experiment results (update output.txt):
1258      - no advection of S at top interface Nr (pkg/generic_advdiff)
1259      - air surf. temp: use lower value between T0 & T1 (phy_suflux_prep.F)
1260    o AIM pkg:
1261      - include stability function into surf.Flux derivative relative to Tsurf
1262      - calculate clear-sky radiation & surface temp. change (for diagnostics)
1263    
1264    checkpoint53e_post
1265    o merged cylindrical coord configuration
1266    o added rotating_tank experiment
1267    checkpoint53e_pre
1268    
1269    checkpoint53d_post
1270    o faulks upgraded: re-generate output.txt that have changed:
1271       global_ocean.cs32x15(.thsice), global_ocean_ebm, lab_sea, natl_box
1272    o Added Bryan and Lewis, 1979, vertical diffusivity profile
1273    o pkg/land: fix problem in land_impl_temp.F when Ts arround freezing.
1274    o added Sadourny discretization of Coriolis
1275      - moved some PARAMETERS from mom_*_coriolis.F to PARAMS.h
1276      - re-enabled use of omega3 (useAbsVorticity)
1277    o added Leith (Phys. Fluids, 1968, 10, 1409-1416) variable viscosity for
1278      vector-invariant equations
1279      - note: does *NOT* yet use same variable visc. for no-slip BC's.
1280    o recoded the lateral boundary conditions for non-hydrostatic w, this time
1281      hopefully without new bugs
1282      - still to do: biharmonic friction for non-hydrostatic w
1283    o bug fix for mom_*_sidedrag: rA -> rAs,rAw
1284    o regenerated output for global_ocean_ebm (using -ieee)
1285    o fix mom_common/mom_*_sidedrag.F to recover numeric output prior to creation
1286      of mom_common/
1287      - simple re-arrangement of instructions within computing loop
1288    checkpoint53d_pre
1289    
1290    checkpoint53c_post
1291    o new version of coupler for AIM+thSIce and Ocean models
1292     - new fields (SSS,h_MixLayer ...) are exchanged through the coupler
1293     - land: change Evaporation of snow
1294     - aim with thSIce: fix bug in snow-precip.
1295    o changes to calc_gw.F
1296     - bug fix for w^2 term near the bottom boundary
1297     - (hopefully) improve the lateral slip boundary condtions for use with
1298        partial/looped cells
1299      - because the bug fix changes two verification experiments anyway (exp5
1300        and plume on slope), change the lateral boundary condition from half slip
1301        to the value of no_slip_sides
1302    o ebm package wasnt quite up to the parallel task. Fixed that.
1303    o Adjoint of EBM package + verification
1304      * TLM OK
1305      * ADM not sufficient accuracy yet (needs further testing)
1306    
1307    checkpoint53b_post
1308    o Commiting new energy balance model to repository
1309      * package is pkg/ebm
1310      * verif. is verification/global_ocean_ebm
1311      * references are in ebm_driver.F
1312    C      * X. Wang, P. Stone and J. Marotzke, 1999:
1313    C        Global thermohaline circulation. Part I:
1314    C        Sensitivity to atmospheric moisture transport.
1315    C        J. Climate 12(1), 71-82
1316    C      * X. Wang, P. Stone and J. Marotzke, 1999:
1317    C        Global thermohaline circulation. Part II:
1318    C        Sensitivity with interactive transport.
1319    C        J. Climate 12(1), 83-91
1320    C      * M. Nakamura, P. Stone and J. Marotzke, 1994:
1321    C        Destabilization of the thermohaline circulation
1322    C        by atmospheric eddy transports.
1323    C        J. Climate 7(12), 1870-1882
1324    o Will need long integration testing.
1325    checkpoint53b_pre
1326    
1327    o created pkg/mom_common in preparation for variable viscosity code
1328    o renamed and split ini_mnc_io
1329    o pkg/land: only liquid water can diffuse or run-off
1330    o AIM using land: soil wetness availability account for snow
1331    o added printMapIncludesZeros to EEPARMS namelist
1332    
1333    checkpoint53a_post
1334    o restore TAMC compatiility for exf_constants.h
1335      (no usage of _d in .h)
1336    o Additional storing in KPP in an attempt to fix
1337      TAMC problem with adjoint of KPP code.
1338      (no success...)
1339      Identical code works fine with TAF.
1340    o Fixed verification/natl_box_adjoint experiments.
1341      Initial conditions for Experiments 4 and 5 are now
1342      set to "SEAICE_initialHEFF=0", which is more reasonable,
1343      and hence gives results closer to that of Experiment 2.
1344      Experiment 6 requires "SEAICE_initialHEFF=1" and is working once again.
1345    
1346    checkpoint53
1347    o stable checkpoint with up to date adjoint
1348      TLM tests only run for 1st grdchk at the moment. Its unclear if
1349      this is a code problem or a problem with resetting code for g_
1350      variables that is being autogenerated wrong.
1351      Otherwise:
1352       o code is testing well on Linux (P4 and AMD), SGI Alitix and Irix.
1353       o IBM and HPQ tests could not be run because NCAR (IBM) and NCCS (HPQ)
1354         are both still in chaos following their security messes.
1355    
1356    checkpoint52n_post
1357    o various build (mostly genmake2) changes including:
1358      - ability to build/run more easily within Cygwin and MacOS X
1359      - more complicated Makefiles with a stronger dependence on Gnu Make
1360    o pkg/seaice modifications
1361      - added SEAICE_deltaTtherm and SEAICE_deltaTdyn in order to reduce cost
1362        of pkg/seaice.  For time being, SEAICE_deltaTtherm = deltaTtracer
1363        and SEAICE_deltaTdyn must be integer multiple of SEAICE_deltaTtherm
1364      - changed proxy for geostrophic velocity and updated
1365        verification/lab_sea/results/* accordingly
1366      - removed ADI dynamic solver from pkg/seaice
1367      - replaced all occurrences of 1/CSTICE or 1/CSUICE
1368        they caused a segmentation fault under certain circumstances
1369      - removed unused field WATR
1370    o bug fix in exf-package:
1371      -  u/vwind are defined at tracer/pressure points. The values of u/vwindmask
1372         now reflect that.
1373    o small fixes in the cal-package:
1374      - set reference date to first of January for the 'model'-calendar
1375      - failing of cal_CheckDate in cal_FullDate now actually results in a
1376        warning
1377    o small modifications in exf-package to increase flexibility:
1378      - change climtempfreeze from a constant to a runtime parameter that
1379        is specified in data.exf_clim (default = -1.9)
1380      - introduce runtime parameter windstressmax (default = 2.0) that is
1381        specified in data.exf
1382    o fix in pkg/thsice:
1383      - update Evap (Tsf changes) to be consistent with Latent heat flux
1384      - maintain snow precipitation unchanged (even if Tsf >=0).
1385     both affect global_ocean.cs32x15/(.thsice) results ; update output.txt.thsice
1386    
1387    checkpoint52m_post
1388    o commented out call to cal_GetMonthsRec in swfrac.F and added some comments;
1389      this does not change any of the results, because myIter=0 in swfrac always
1390      lead to jwtype=2 (the default anyway), but the call makes little sense
1391      as a default
1392    o no SHORTWAVE HEATING lost at the bottom; affects lab_sea output; updated
1393    o re-work pkg/thsice interface with ocean & bulk_force pkg to allow
1394      atmospheric model (AIM) to use it ; add a "slab ocean" component.
1395    o pkg/aim_v23 : add interface to call thermodynamic sea-ice (thsice)
1396    o update global_ocean.cs32x15/output (.thsice) after changes in pkg/thsice
1397    o extending useSingleCpuIO option to work with new exch2 I/O format
1398      - old-style, missing-tile I/O is still accessible by defining CPP
1399        option MISSING_TILE_IO in pkg/mdsio/MDSIO_OPTIONS.h
1400    o monitor package can write to NetCDF files and/or STDOUT
1401    o fix re-definition bug in MNC_GRID_INIT_ALL()
1402    o doc/api_reference added
1403      - a framework for building an API Reference Manual using all
1404        the "protex" comments embedded in the code
1405      - see pkg/generic_advdiff, pkg/mnc for examples
1406    o MNC:
1407      - make myThid the last argument for all subroutines
1408      - new default for the grid files: NO halos
1409      - add useMNC and other run-time flags
1410      - separate per-file-group handling of the unlimited dimension
1411      - early initialization of MNC w/ flags read at the eeboot stage
1412        and lookup tables set in initialize_fixed
1413      - write all MNC output to a freshly-created directory
1414    o thermodynamics sea-ice (thsice) is now tested with testreport.
1415    o test exp. advect_cs: use the standard cs32 grid ; update output.
1416    o Added functionality to grdchk:
1417      pick global i,j,k position (or nearest wet) where to perform check.
1418    
1419    checkpoint52l_post
1420    o new land formulation:
1421      a) use ground enthalpy as prognostic variable to ensure exact
1422         energy conservation.
1423      b) account for water temperature and for latent heat of freezing
1424         in all processes (rain, run-off, ground storage)
1425      c) compute surface and ground temperature implicitly.
1426    o aim_v23 modification for new land model:
1427      a) Treat separately land / ocean / sea-ice surface fluxes
1428         to allow implicit computation of land & sea-ice surface temp.
1429      b) add snow precipitation.
1430    checkpoint52l_pre
1431    
1432    o fix problem (when 1 tile is empty) in min/max monitor.
1433    o fix bug in timeAve (u,vZetatave in common block)
1434    o no restoring terms under ice for pkg/seaice
1435    o moved SEAICE_DO_DIAGS to S/R do_the_model_io
1436    o bug fix for pkg/seaice pickups
1437    o change MNC call locations and add coordinate attributes
1438    o mask vorticity at the corner ; affects global_ocean.cs output
1439    o fix ini_curvilinear_grid ; test CS experiments with mpi
1440    o aim.5l_cs: modify sea-ice fraction input file ; update output
1441    o exf: Adding simple range check routine for exf fields after read
1442    
1443    checkpoint52k_post
1444    o removed top-level directory "diags"
1445      - we migrated these functions to pkg/timeave a long time ago
1446    o fixed bug introduced in pkg/monitor
1447    o accuracy ctrlprec = 32 insuffient for gradient checks using
1448      averaged fields (I/O via cost_averages)
1449      -> use ctrl.h in active_file*.F to control I/O precision.
1450    o paramter list of CALL ADTHE_MAIN_LOOP
1451    o added initial do_the_model_io to ecco
1452    o set all ...Freq to zero after cost_final
1453      taveFreq, dumpFreq, pChkptFreq
1454    o MAIN and ECCO differentiability restored
1455    
1456    checkpoint52j_post
1457    o fix nchklev in tamc.h for global_ocean...
1458    o Bringing flow and store directives up-to-date
1459    o Really weird thing!
1460      call do_the_model_io from the_main_loop with parameters
1461      starttime, niter0, instead of mytime, myiter, screws up the adjoint:
1462      TAF places a faulty re-call of initialise_varia
1463      after cost_final call which should not be there!
1464    checkpoint52j_pre
1465    
1466    o tweaked pkg/mdsio/mdsio_readfield.F to have more useful logic and
1467      error messages
1468    o fix errorMessageUnit problem. remove old version of mdsio from eesup/src
1469    o modified pkg/mdsio/mdsio_readfield.F -- commented out diskspace-eating
1470      debug output
1471    o modfied mdsio_writefield.F to handle non-global files under exch2
1472    o update AIM Cubed-Sphere exp (aim.5l_cs):
1473      use land, p*, and Franco.M forcing fields with fractional land-sea mask.
1474    o update AIM Equatorial Channel exp:
1475      use standard aim_v23 pkg and change the SST fields to be more realistic.
1476    o globalFile now works with exch2
1477    o merged mom_vi_calc_relvort3.F, mom_vi_del2uv.F and
1478      mon_vort3.F to make exch2 friendly with >1 tile per cube face
1479    o limit timeave output for hi-res integrations
1480    
1481    checkpoint52i_post
1482    o removed CPP_EEOPTIONS.h from verification/*/code
1483    o updated the tiling for global_ocean_pressure
1484    checkpoint52i_pre
1485    
1486    o update aim.5l_LatLon using the standard aim_v23 pkg (instead of
1487      the old pkg/aim).
1488    
1489    checkpoint52h_pre
1490    o shortened offending lines in exch2_send_rx?.template
1491    o modified W2_EXCH2_TOPOLOGY.h to reflect current topology generator
1492    o genmake2: add build & execute test for NetCDF code
1493    o modded aim.5l_cs and global_ocean.cs32x15 to use exch2, removed
1494      old grid files, moved CPP_EEMACROS.h to pkg/exch2
1495    o added useSingleCPUIO flag to monitor.F and mon_out.F
1496    o added temporary hack for sea-ice dynamics on the cube:
1497      metric terms are ignored and it is assumed that
1498      there is no sea-ice on cube faces 1, 2, 4, and 5.
1499    
1500    checkpoint52f_post
1501    o added exch2 cube routines to pkg/exch2
1502    o modified hs94.cs-32x32x5 to use it
1503    o added new grid files to hs94.cs-32x32x5
1504    checkpoint52f_pre
1505    
1506    checkpoint52e_post
1507    o first attempt to solve vertical advection (momemtum & T,S) Implicitly
1508      for now, only implemented with Lax-Wendroff (tracer) and VectInv (mom)
1509    o step.1 : rewrite (as in MultiDimAdvec) explicit tracer stepping (gad_calc_rhs.F)
1510      to work with implicit vertical advection and AB ;
1511    o Implic. vert. advect. implemented with flux-limiter, c2, u3 and c4 scheme.
1512    o update output (gad_calc_rhs.F changes affect truncation error) of exp:
1513     front_relax, global_ocean .cs32x15 & _pressure, internal_wave, lab_sea, natl_box
1514    checkpoint52e_pre
1515    
1516    o fix bug in impldiff when Nr=1 or Nr=2.
1517    o change the albedo in pkg/thsice (as GISS model); update output_thsice.txt
1518    o little changes (fftpack, aim/phy_suflux ...) to pass the "checkbounds" test.
1519    o fix deltaTfreesurf in update_cg2d.F (left from c45d_post): affects 2
1520      ocean exp. that use NLFS: global_ocean.cs32x15 & global_ocean_pressure
1521    o added exf_offset_atemp for Celsius to Kelvin conversion of atemp
1522    o eesupp/inc/EEPARAMS.h: MAX_NO_PROCS=1024
1523    o pkg/cal/cal_toseconds.F fix for long (>60 years) integrations
1524    
1525    checkpoint52d_post
1526    o re-tiled many expts to allow comparison in multi-processor mode
1527      - updated output accordingly
1528      - changed hs94.128x64x5 to use intial T from file rather than use the
1529        random number generator
1530    o add infrastructure in model routines for fizhi and gridalt packages
1531    o change global_ocean.cs32x15 because of Pb with GM on CS-grid.
1532    o changes to permit hi-res, cubed-sphere, configuration
1533      - added useSingleCpuIO capability to mdsio_readfield.F and exf_interp.F
1534      - added "#undef ALLOW_USE_MPI" support to eesupp/src/scatter_2d.F
1535      - added pkg/exf/exf_set_uv.F for on-the-fly interpolation and rotation
1536        of surface winds for the cube
1537      (A verification experiment, based on global_ocean.cs32x15, but with
1538       pkg/seaice turned on and with on-the-fly interpolation from the NCEP
1539       Gaussian grid is described in MITgcm_contrib/high_res_cube/README_ice,
1540       complete with example surface forcing files and matlab scripts to look
1541       at the output and compare it with that of global_ocean.cs32x15.)
1542    o packages pickup: $PKG_write_pickup called from packages_write_pickup ;
1543       but call to $PKG_read_pickup remains in $PKG_ini_vars: change CD_code
1544       to conform to the common rule.
1545    o check-in the first version of the coupler + interfaces for multi-components
1546       set-up (Chris's version, adapted to work on cubed-sphere grid); use MPI.
1547       - imply modification in eesupp (MPI_COMM_MODEL < MPI_COMM_WORLD).
1548       - atmosphere: use pkg aim_v23 ; no sea-ice for now.
1549       - ocean and atmos. share the same horizontal grid (no interpolation).
1550       - exchanges between component and coupler is done in forward_step
1551    o new verification experiment, cpl_aim+ocn:
1552       coupled ocean - AIM atmosphere on cs32 grid.
1553    
1554    checkpoint52d_pre
1555    o surface flux time-av diagnostic modified for NLFS & RealFreshWater
1556    o add call to AIM pendant S/R in external_forcing & external_fields_load.F
1557    
1558    checkpoint52c_post
1559    o Fixing OPTIONS files for use of exf:
1560      - ALLOW_ECCO not needed
1561      - ECCO_CPPOPTIONS.h should not be included from
1562        EXF_OPTIONS.h/CAL_OPTIONS.h, but from CPP_OPTIONS.h
1563        as has been the case in the past
1564      - All cal/exf related options are currently set in
1565        single header file. Should remain so until we
1566        agree on a consistent new policy.
1567    o Removed all CPP options for cal package.
1568      cal has no more CPP options.
1569    o modified STOREs in GAD_ADVECTION
1570    o corrected key comp. for passkey
1571    
1572    checkpoint52b_post
1573    o new version: "thsice" of thermodynamic sea-ice pkg:
1574     - only 1 call from "forward_step"; conserve energy, fresh-water & salt.
1575     - modify fluxes but do not change theta directly;
1576     - light cleaning of bulk_force pkg (still needed with thsice).
1577     - add forcing fields + data files in global_ocean.cs32x15/inp_thsice
1578       + output_thsice.txt to test thsice & bulk_force pkgs.
1579    o put back grid & coriolis monitor output.
1580    checkpoint52b_pre
1581    
1582    o call "do_the_model_io" at the beginning (=> dump initial state)
1583    o use rhoConstFresh to define convertEmP2rUnit (was done only in ocean-P)
1584    o sort out interplay between tamc.h and PTRACERS_OPTIONS.h
1585      (need info on NUMBER_OF_PTRACERS)
1586    o missing PTRACERS headers in some routines
1587    o default tamc.h in pkg/autodiff supposed to crash
1588      to ensure proper customization
1589    
1590    checkpoint52a_post
1591    o modifications to make FREEZE (_SURFACE) flux visible to pkg/kpp
1592      - moved surfaceTendencyTice from pkg/seaice to main code
1593      - subroutine FREEZE_SURFACE now limits only surface temperature
1594        and is called in FORWARD_STEP (if allowFreezing=.TRUE.)
1595        => new output.txt for global_ocean.cs32x15 & global_with_exf
1596      - keep the old version of FREEZE for backward compatibility;
1597        global_ocean.90x40x15 left unchanged using useOldFreezing=.TRUE.
1598      - corresponding modifs for TAF directives
1599    o added surface flux output variables to TIMEAVE_STATVARS
1600    o time-averaged output for pkg/ptracers
1601    o fix problem with ECCO-related divided adjoint
1602      snapshot file was missing some ad-variables,
1603      but no warning issued by TAF
1604    
1605    checkpoint52a_pre
1606    o some bug fixes for #undef REAL4_IS_SLOW
1607    
1608    checkpoint52 = ecco_c52_e35
1609    o after testing adjoints of checkpoint51u_post
1610    
1611    checkpoint51u_post
1612    o this is the post-merge tag of the ecco-branch
1613      (needs another clean checkout and re-testing)
1614    o various natl_box_adjoint configs and results
1615      but no input fields
1616    o obcs adjoint not yet merged!
1617    o adding ECCO global 1x1 and 2x2 degree configs
1618    o updated/extended some store directives for seaice
1619    o pkg/ecco now containes ecco-specific part of cost function
1620    o top level routines the_main_loop, forward_step
1621      supersede those in model/src/
1622      previous input data.cost now in data.ecco
1623      (new namelist ecco_cost_nml)
1624    o in ctrl/ cleaned some cross-dependencies and updated CPP options
1625    
1626    checkpoint51t_post
1627    o this is the pre-merge tag of the ecco-branch
1628    
1629    checkpoint51s_post
1630    o cleanup: removed various obsolete #define-s
1631    o pkg/grdchk
1632      - renamed 'ph-grd 3' to 'grad-res'
1633      - merged from ecco-branch
1634        (remaining bug fixes for obcs gradient checks)
1635      - additional high-precision output for testreport
1636        (grep for 'precision_grdchk_result')
1637    
1638    checkpoint51r_post
1639    o cleaned up or removed CPP_OPTIONS.h files
1640    o updated results for some of the tests to reflect the new
1641      optfiles (-ieee: -O0 instead of -O3)
1642    
1643    checkpoint51q_post
1644    o cd_code:
1645      - moved cd_scheme.F -> cd_code_scheme.F
1646      - separate read_checkpoint from cd_code_ini_vars.F
1647      - separated cd_code part from write_checkpoint
1648      - updated AD_SOURCE, generated .flow
1649      - added CD_CODE_VARS.h to the_main_loop
1650      - Moving cd_code specific store dir.s to pkg/cd_code
1651    o ctrl package totally restructured
1652      - pack/unpack now optional and decoupled from
1653        xx_/adxx_ I/O
1654      - ctrl_pack/unpack cleaned
1655        (new routines ctrl_init_ctrlvar.F, pkg/ctrl/ctrl_init_wet.F)
1656      - confined inclusion of AD_CONFIG.h to where necessary.
1657    o genmake2: changed AD dependencies from SRCFILES to AD_FILES
1658    
1659    checkpoint51p_post
1660    o create initial cd_code package
1661      - WARNING: the initialization of fields within packages
1662        is broken because INI_FIELDS (where READ_CHECKPOINT is
1663        called) is called *before* PACKAGES_INIT_VARIABLES.
1664        This seems to be backwards since
1665        1) its important to initially zero the entire field including
1666           the "halo" region
1667        2) zeroing needs to be done *before* reading pickup info
1668           and the pickup call might or might not happen in any
1669           particular run
1670      - this needs an overhaul for R2
1671    o cleanup verification/*/code/GMREDI_OPTIONS.h
1672    o cleanup testreport
1673    
1674    checkpoint51o_post
1675    o bringing AD-related verif's up to date with genmake2
1676      - carbon/
1677      - global_ocean.90x40x15/
1678      - hs.94.1x64x5/
1679      - (front_relax/ )
1680    o (more) consistent directory structure for AD-related verif.'s
1681    o cleaning ALLOW_GRADIENT_CHECK -> ALLOW_GRDCHK
1682    o cleaning some ALLOW_TANGENTLINEAR_RUN -> ALLOW_AUTODIFF
1683    o bug fix in find_alpha.F for MDJWF:
1684      - modif. to alpha = 1/D*( dN/dT - rho*dD/Dt) to account for
1685        change rho -> rho-rhoConst
1686      - replace call find_rho to find_rhonum
1687    o initialisation of rFlx extended to full array (required by TAF)
1688      and shifted to thermodynamics
1689    o removed PTRACERS.h in ptracers routine
1690    o added surfacetendencyPtr to S/R parameter list pracers_forcing
1691    o Correcting initialisations for fVerU, fVerV.
1692    o helping TAF to recognize dependency on kUp for
1693      fVerU, fVerV
1694    o Replacing delZ by delR in pkg/ctrl/
1695    checkpoint51o_pre
1696    
1697    o undid all of cp51 pending some cleanups and discussion
1698    o added the [#include "AD_CONFIG.h"] statement to all files that need
1699       it for adjoint/tl #defines
1700     o re-worked the build logic in genmake2 to support AD_CONFIG.h
1701     o removed tools/genmake since it no longer works
1702    
1703    checkpoint51n_post
1704    o modifications to make FREEZE flux visible to pkg/kpp
1705      - moved surfaceTendencyTice from pkg/seaice to main code
1706      - FREEZE & EXTERNAL_FORCING_SURF moved to FORWARD_STEP
1707      - subroutine FREEZE now limits only surface temperature
1708        (this means new output.txt for global_ocean.90x40x15,
1709         global_ocean.cs32x15, and global_with_exf)
1710    o added surface flux output variables to TIMEAVE_STATVARS
1711    
1712    checkpoint51n_pre
1713    o added "#undef ALLOW_USE_MPI" support to eesupp/src/gather_2d.F
1714    o added [#include "AD_CONFIG.h"] to all files that use the following
1715      defines:
1716      - ALLOW_ADJOINT_RUN
1717      - ALLOW_TANGENTLINEAR_RUN
1718      - ALLOW_ECCO_OPTIMIZATION
1719    
1720    checkpoint51m_post
1721    o incorporating changes to get TAMC/TAF working in genmake2
1722      - added new TAMC/TAF targets to the Makefile
1723      - various cleanups related to package handling
1724      - these changes should have no impact on the forward model
1725    
1726    checkpoint51l_post
1727    o changes to pkg/cal and pkg/exf that allow and speed-up long integrations
1728     - faster algorithm for cal_addtime.F
1729     - higher precision arithmetic, where needed
1730     - pkg/exf *startdate variables changed from calendar date to
1731       model integration time
1732    
1733    checkpoint51l_pre
1734    o add salt flux to forcing fields (used when salty sea-ice forms or melts)
1735    o enable to apply restoring on S & T only in a latitude band.
1736    o update output (external_forcing_surf modif. change truncation errors)
1737       global_ocean.cs32x15, global_ocean_pressure, lab_sea, natl_box
1738    
1739    checkpoint51k_post
1740    o change default to: useNHMTerms=.FALSE.
1741     - new output.txt for atmos. exp (NHMTerms were wrong but now turned off):
1742       adjustment.128x64x1, aim.5l_Eq_Ch, aim.5l_LatLon, hs94.128x64x5, hs94.1x64x5
1743     - new output.txt for idealized oceanic exp (NHMTerms are now turned off):
1744        exp1, ideal_2D_oce
1745     - change data file of oceanic exp (leave the results unchanged for now)
1746       exp2, global_ocean[90x40x15,pressure,with_exf], lab_sea, natl_box
1747    o set gravitySign automatically according to the vertical coordinate used
1748      (and change sign: back to "logical" value: +1 when R increases downward)
1749    o added an include barrier to the default CPP_OPTIONS.h and
1750      removed the #include "PACKAGES_CONFIG.h" from it
1751    o fix a bug in mom_fluxform (from chk51j_post)
1752    
1753    checkpoint51j_post
1754    o Added some AD-related initialisations in mom_vecinv/ mom_fluxform/
1755    o adjusted some flow directives (dynamics, thermodynamics)
1756    o added cubed-sphere case to test cost function
1757    o heckpoint_lev?_directives.h now include
1758      pkg-specific directives, whenever those are enabled.
1759    o Moving pkg-specific flow directives to corresponding pkg
1760      Moving pkg-specific differentiation list to corresponding pkg
1761      Moving pkg-specific checkpoint-lev storing to corresponding pkg
1762      ---> conventions are
1763           - pkg_ad.flow
1764           - pkg_ad_diff.list
1765           - pkg_ad_check_lev?_dir.h
1766    
1767    checkpoint51i_post
1768    o merge of the branch-genmake2
1769      - knowingly breaks the older genmake
1770      - automatic generation of all ALLOW_${PKG_NAME} defines
1771      - new testreport supersedes older testscript
1772    o large number of package inclusion and header cleanups
1773    checkpoint51i_pre
1774    
1775    o new output for adjoin of global ocean vector invariant
1776    o fix for checkpoint of thermodynamic seaice and bulk_force
1777    o Steph gchem various cleanups
1778    
1779    checkpoint 51h_pre
1780    o fixed some single quotes
1781    o modify gchem pkg to be more versatile
1782    o modifications to clean up dic pkg
1783    o add pkg/cfc
1784    
1785    checkpoint51g_post
1786    o provide links for ARPACK and ADM*TLM
1787    o start removing verification/vero/
1788    o update AD-related stuff
1789      (in particular some IF-statements in model/src/ routines)
1790    o adding to verification/global_ocean.90x40x15/ adjoint of
1791      vector invariant setup
1792    
1793    checkpoint51f_post
1794    o update advect_xz/output.txt (left from chekpoint50f_pre, ini_vel modif)
1795    o Mods and bug fixes to pkg/cal, pkg/exf, etc., needed for computation
1796      of tracer Green's fucntions for ocean inversion project.
1797    
1798    checkpoint51f_pre
1799    o Added on-the-fly spatial interpolation capability
1800        "USE_EXF_INTERPOLATION" to pkg/exf.
1801      - This is a temporary Cartesian-grid hack until
1802        the super-duper ESMF coupler becomes available.
1803      - See verification/global_with_exf/README for usage example.
1804      - Removed obsolete EXFwindOnBgrid and SEAICEwindOnCgrid
1805        flags and modified pkg/seaice accordingly.
1806    o Bug fix to pkg/ptracers, pkg/generic_advdiff/gad_calc_rhs.F,
1807        and pkg/kpp/kpp_transport_ptr.F for dealing with tracer
1808        non-local transport term.
1809    
1810    checkpoint51e_post
1811    o pkg/mom_vecinv:
1812      - changes related to hFac: use S/R from aim.5l_cs/code (coriolis & vort.advec)
1813      - add time-ave diagnostic of vorticity advection.
1814    o add diagnostic (instantaneous) of Shapiro Filter effect for T,S & UV.
1815    o atmospheric geopotential: - include water vapor effect;
1816                                - use p^kappa in p* scaling.
1817    o land pkg: read initial state from files.
1818    o AIM : add stratospheric drag in the upper level
1819    
1820    checkpoint51d_post
1821    o change function ILNBLNK (=> last non-blank char.) to return zero
1822      (instead of the string length) when the string. char is empty
1823    o fix bug in dxV,dyU definition of cubed-sphere grid (ini_curvilinear_grid)
1824    o modif's to restore TAMC compatibility
1825      - avoid "_d" constructs in PARAMETER declarations
1826      - avoid interrupting lines by comment lines
1827    o Use cluster local disks for purely local I/O
1828      vs. globally visible disks needed for ctrl stuff
1829      (merged from ecco-branch)
1830      - new active_file_loc... and mdsio_..._loc routines
1831      - affected packages: autodiff, ctrl, grdchk, mdsio
1832    
1833    checkpoint51c_post
1834    o introducing integer flag debugLevel
1835      - debLevZero: suppress all output
1836      - debLevA: standard
1837      - debLevB: equivalent to current debugMode=.TRUE.
1838    o introducing pathname variable mdsioLocalDir for mdsio
1839      that can be specified at runtime
1840      (relevant for cluster I/O to local disk)
1841    `
1842    >>>checkpoint51b_post
1843    adjoint of ptracers
1844    o disentangled ALLOW_PTRACERS using new ALLOW_GCHEM
1845    o extended state in checkpoint_lev?, etc.
1846    o alternative ctrl/cost with tr1 or ptracer
1847    o new comlev1_bibj_ptracers
1848    o new ptracers.flow
1849    o made ptracers_forcing same as external_forcing_s
1850    o added verification for adjoint with ptracers
1851      - adm. grdchk fail so far
1852      - tlm. grdchk OK
1853      - checked tapelev/comlev recomputations: OK
1854    <<<checkpoint51b_pre
1855    
1856    checkpoint51a_post
1857    o added code for biogeochemistry package
1858      - new pkgs: dic, gchem
1859      - new subroutine in ptracers
1860    o modify code for biogeo packages
1861      - in model/src and pkg/ptracers
1862    
1863    checkpoint51
1864    o merged improved packages from ecco-branch (ecco_c51_e34) to MAIN
1865      - autodiff, ctrl, exf, grdchk, seaice
1866      kept separate packages
1867      - cost, ecco, obcs
1868    o updating verification/internal_wave, verification/lab_sea
1869      (all verif's pass on faulks.lcs.mit.edu RH7.3, g77)
1870    
1871    checkpoint50i_post
1872    o Preparing next differentiable checkpoint and sync
1873      of MAIN vs. ecco-branch
1874      - 1st step: this one is differentiable
1875      - 2nd step: next(! not this) checkpoint will have updated packages
1876                  from ecco-branch)
1877    
1878    checkpoint50h_post
1879    o new package "land": provide surface BC for AIM.
1880    o pkg/ptracers: apply exchange to all tracers after reading a pickup.
1881    o AIM: use true log-P extrapolation for near surface temp (= as in
1882        F.Molteni paper) ; update aim.5l_cs output.
1883    o New variable in PARM03 for more flexible pickups
1884    o somewhat cleaned package initialisation sequence for
1885      ctrl/ cost/ ecco/ in packages_... routines
1886    
1887    checkpoint50g_post
1888    o merged with release1_p17 (pkg/seaice and verification/lab_sea)
1889      - added SEAICE_MULTILEVEL for 8-category sea-ice thermodynamics
1890      - LSR sea-ice dynamic solver moved to SouthWest B-grid location and
1891        made the default because of faster convergence than ADI
1892    
1893    checkpoint50f_post
1894    o exf totally restructured
1895      - replaced all exf_set_ routines by one generic exf_set_gen.F
1896        and made sure it's still differentiable
1897      - split exf_getffields.F into new exf_bulkformulae.F
1898      - exf_inscal_/exf_outscal_ suffixes consistent with field names
1899      - updated adjoint/makefile and relevant verif. accordingly
1900    
1901    checkpoint50f_pre
1902     o AIM: near surface temp evaluated from Pot.Temp: fixed for Part Cell ;
1903          + change Evap over land. (update aim.5l_cs output)
1904     o added missing .cvsignores and made uniform across expts
1905     o changed configuration of tidal_basin_2d expt
1906     o added pkg/debug functions for tracing code in fatal crashes
1907     o tidied pkg/monitor to use MONITOR_OPTIONS.h
1908     o new fn in pkg/monitor to stop model if solution grows too big
1909     o removed lots of single quotes from comments
1910    
1911    checkpoint50e_post
1912    o make KPP work with PTRACERS
1913     - fix gad_calc_rhs to call new routine kpp_transport_ptr, which is
1914       nearly a copy of kpp_transport_s
1915     - there is no analogue to SurfaceTendencyS, so I have to use
1916       gPtr(of the surface layer) instead
1917    o add a new platform SunFire+mpi (SunFire 15000) to genmake
1918    checkpoint50e_pre
1919    
1920    checkpoint50d_post
1921    o change kpp output from multiple-record state files to single-record state
1922      files analogous to write_state.F
1923    o reduce the output frequency of cg3d-related stuff to the monitor frequency,
1924      analogous to the cg2d-related output.
1925    o fix small problem with in ptracers_write_checkpoint.F: len(suff)=512,
1926      so that writing to internal file fn (with length 512) fails.
1927    checkpoint50d_pre
1928    
1929    checkpoint50c_post
1930    o fix problem in ini_procs.F when using MPI (was there since checkpoint48f)
1931    o add monitor diagnostic of vorticity (mon_vort3.F) and potential energy.
1932    o add time-average diagnostic of U*V and vertical diffusive flux for theta.
1933    o bug fixed in convective adjustment diagnostic (multi-tile set-up).
1934    o 4th Order Adv scheme: return to previous (c40pre7) masking near boundaries.
1935    
1936    checkpoint50c_pre
1937    Merging from release1_p13:
1938    o bug fix for pkg/seaice dynamic solver
1939    o Added SEAICE_initialHEFF to pkg/seaice
1940    
1941    checkpoint50b_post
1942    o store u*,v* in gU,V instead of in guNm1,gvNm1
1943    o in order to put the momForcing out of the Adams-Bashforth:
1944      move forcing & CD-scheme calls from mom_fluxform & mom_vecinv
1945      to timestep.F
1946    o new flag "useCDscheme" (default=F); replace guCD,gvCD by local arrays
1947    o re-generate output for highly sensitive test-exp:
1948       global_ocean_pressure, ideal_2D_oce, lab_sea, natl_box
1949    
1950    checkpoint50b_pre
1951    o restore the use of momAdvection & useCoriolis flags (mom_vecinv)
1952    o corrected CPP option mismatch in exf_Bulk... functions for case
1953      #define ALLOW_ATM_WIND && #undef ALLOW_ATM_TEMP
1954    
1955    checkpoint50a_post
1956    o Bug fix for merging between c50 and KPP.
1957      ikey was passed from thermodynamics to kpp_calc via
1958      common block rather than being recomputed in kpp_calc,
1959      in contradiction with new key itdkey.
1960      New key ikppkey created, and tamc.h headers updated.
1961    
1962    checkpoint50
1963    - 2nd step of merge with ecco-branch:
1964      merge changes in ecco-branch back into main trunk
1965    - bug fix in find_alpha
1966    - more storing in gmredi_calc_tensor.F, kpp_routines.F
1967    - avoid iterative loop in ini_pressure for ALLOW_AUTODIFF_TAMC
1968    - merged some sliced AD support routines
1969    
1970    checkpoint49
1971    merged from ecco-branch:
1972    o exf:
1973      - Enable initialisation of forcing fields to constant
1974        (runtime) values.
1975      - in exf_getffields.F
1976        Reduce i-/j-loop to interior domain, discarding overlaps.
1977        That also fixes wrong TAF-key computations for key_1, key_2
1978        with bulf formulae.
1979      - exf_init.F modify #ifdef for exf_init_evap
1980      - exf_getffieldrec.F, ctrl_getrec.F
1981        The following INT-usages are not safe:
1982          fldsecs  = int(fldsecs/fldperiod)*fldperiod
1983          fldcount = int(fldsecs/fldperiod) + 1
1984        and were modified.
1985    o autodiff: checkpoint_lev...
1986      - updated storing for bulk formulae (some arrays were missing)
1987      - added state for seaice package
1988      - synchronized with main branch
1989    o DIVA:
1990      Modif.s in
1991      - the_main_loop.F
1992      - the_model_main.F
1993      and added cost_final_restore.F cost_final_store.F
1994      o With these changes, it is possible to fully separate
1995        the first forward run to compute the cost function (mdthe_main_loop)
1996        and adjoint runs over individual DIVA intervals (adthe_main_loop)
1997        into separate model executions.
1998        This enables better tuning of DIVA to given queue sizes.
1999      o Loss of cost function value in consecutive DIVA runs is
2000        fixed by storing to 'costfinal' file.
2001      o Appropriate call of ctrl_unpack/_pack,grdchk_main at
2002        beginning/end of adjoint integration is accounted for.
2003      The current changes apply to TAF-1.4.26.
2004      TAF has one remaining bug, requiring one manual change
2005      (see MITgcm manual).
2006    o cal: synchronized between MAIN and ecco-branch
2007    
2008    checkpoint48i_post
2009    o Changes to restore differentiability of code w.r.t. previous tag
2010      (mostly adding new routines to make list and replacing
2011      pressure by totPhiHyd).
2012    o Updated and merged grdchk package
2013      - has both ADM and TLM checks
2014      - works for single- and multi-proc.
2015      - output cleaned
2016      - worked successfully for parallel DIVA
2017    o genmake:
2018      - Adding -platform=SP4
2019      - Modif. for DEC Alpha (many don't have makedepend; use mkdep instead).
2020    o Modif. for DIVA:
2021      ctrl_unpack should not be called in intermediate DIVA interval.
2022      (similar thing would apply for active files such as
2023      tbar, sbar, psbar, which should not be reinitialised;
2024      only relevant for ecco-branch)
2025    
2026    checkpoint48h_post
2027    o improve "ini_p_ground" when using finite difference form for calc_phi_hyd
2028    o Added net flux to downward flux conversion to pkg/exf/exf_getffields.F
2029    o Added SEAICE_initialHEFF to pkg/seaice
2030    o ecco_the_model_main.F: SEAICE_WRITE_PICKUP must precede WRITE_CHECKPOINT
2031    
2032    checkpoint48g_post
2033    --- EOS:
2034    o compute locally the pressure for use in EOS: UNESCO, JMD95P, MDJWF
2035      store total Potential in totPhyHyd for diagnostics & EOS.
2036    o fix restart and overlap Pb when using Z-coord and EOS funct. of P
2037    --- Pressure/geopotential gradient:
2038    o use Ro_surf & R_low instead of hFac in cal_phi_hyd:
2039    o NLFS + p-coord.: eta*Alpha' is not longer lagging 1.time-step behind
2040      ( changes results of global_ocean_pressure )
2041    o NLFS + z-coord.: add eta*Rho' contribution.
2042    o accurate phiHyd when using interface-W at the middle between 2 centers
2043     ( changes results of ideal_2D_oce )
2044    o includes r* 2nd term in potential gradient.
2045    
2046    checkpoint48f_post
2047    Merging from release1_p12:
2048    o Modifications for using pkg/exf with pkg/seaice
2049      - improved description of the various forcing configurations
2050      - added basic radiation bulk formulae to pkg/exf
2051      - units/sign fix for evap computation in exf_getffields.F
2052      - updated verification/global_with_exf/results/output.txt
2053    o Added pkg/sbo for computing IERS Special Bureau for the Oceans
2054      (SBO) core products, including oceanic mass, center-of-mass,
2055      angular, and bottom pressure (see pkg/sbo/README.sbo).
2056    o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
2057      to avoid negative values in shallow regions.
2058      - updated verification/natl_box/results/output.txt
2059      - updated verification/lab_sea/results/output.txt
2060    o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
2061    o Added useSingleCpuIO option (see PARAMS.h).
2062    o Updated useSingleCpuIO option in mdsio_writefield.F to
2063      work with multi-field files, e.g., for single-file pickup.
2064    o pkg/seaice:
2065      - bug fix in growth.F: QNET for no shortwave case
2066      - added HeffFile for specifying initial sea-ice thickness
2067      - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
2068    o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
2069      kpp_transport_t.F, forward_step.F, and the_main_loop.F
2070    o pkg/seaice:
2071      - adjoint-friendly modifications
2072      - added a SEAICE_WRITE_PICKUP at end of the_model_main.F
2073    
2074    checkpoint48e_post
2075    o New S/R for diagnostic of bottom pressure (phi0surf was missing in c48d_post)
2076    o dynamics: change definition of computational domain & adapt mom_fluxform
2077      accordingly ; when viscA4=0, allows to run the dynamics with Olx=Oly=2.
2078    o following exp works with Olx=Oly=2 (and pass through checkbounds option):
2079        adjust_nlfs.cs-32x32x1 adjustment.128x64x1 adjustment.cs-32x32x1
2080        exp0 exp1 exp2 exp4 exp5 hs94.cs-32x32x5 hs94.128x64x5 hs94.1x64x5
2081        global_ocean.90x40x15 global_with_exf global_ocean_pressure
2082        inverted_barometer solid-body.cs-32x32x1
2083      (high order AdvScheme and/or multiDimAd works with Olx=Oly=2 ? not sure)
2084    
2085    checkpoint48d_post
2086    o in preparation for r*:
2087     a) use pre-computed gradient of hydrostatic potential:
2088        changes in timestep.F & mom_cdscheme.F affects results of ideal_2D_oce
2089     b) move phi0surf from calc_phi_hyd to calc_grad_phi_hyd:
2090        => affects results of glob_oce_pressure (different truncation error)  
2091      update output.txt of ideal_2D_oce & global_ocean_pressure
2092    
2093    checkpoint48d_pre
2094    o in preparation for r*:
2095      new S/R (calc_grad_phi_hyd.F) to compute Hydrostatic potential gradient.
2096      pass the 2 comp. of the grad. as arguments to momentum S/R.
2097      but for the moment, only used if it does not change the results.
2098    o add finite volume form of calc_phi_hyd for buoyancyRelation OCEANIC & OCEANICP
2099    
2100    checkpoint48c_post
2101    Modifications in treatment of initial flux forcing controls
2102    to avoid extra storing of flux fields.
2103    
2104    checkpoint48c_pre
2105    o Added tidal_basin_2d experiment (currently 1D!)
2106    o can use r* Coordinate with OBC (but Orlanski Rad. BC not yet implemented)
2107    
2108  checkpoint48b_post  checkpoint48b_post
2109  o r* coordinate added in #ifdef NONLIN_FRSURF block.  o r* coordinate added in #ifdef NONLIN_FRSURF block.
2110   (modification to pressure gradient not yet implemented)   (modification to pressure gradient not yet implemented)

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

  ViewVC Help
Powered by ViewVC 1.1.22