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

Annotation of /MITgcm/doc/tag-index

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


Revision 1.316 - (hide annotations) (download)
Tue Jun 29 23:24:26 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.315: +3 -1 lines
o store d.etaH/dt (instead of Div.hV) in common ; affects (truncation error)
  output of: global_ocean.cs32x15, global_ocean_pressure & internal_wave

1 jmc 1.316 $Header: /u/gcmpack/MITgcm/doc/tag-index,v 1.315 2004/06/28 21:10:55 dimitri Exp $
2 cnh 1.1
3     Notes on tags used in MITgcmUV
4     ==============================
5 jmc 1.309
6 jmc 1.316 o store d.etaH/dt (instead of Div.hV) in common ; affects (truncation error)
7     output of: global_ocean.cs32x15, global_ocean_pressure & internal_wave
8 dimitri 1.315 o cnh's modifs to gad_advection.F for cube-sphere multi-dim advection
9 jmc 1.314 o new parameter "nShapS": allow to treat differently S from T (nShapT)
10     o separate Vert.Advec.Scheme from horizontal Advec.Scheme (T & S)
11    
12 jmc 1.313 checkpoint53f_post
13     o modifications that affect AIM experiment results (update output.txt):
14     - no advection of S at top interface Nr (pkg/generic_advdiff)
15     - air surf. temp: use lower value between T0 & T1 (phy_suflux_prep.F)
16 jmc 1.312 o AIM pkg:
17     - include stability function into surf.Flux derivative relative to Tsurf
18     - calculate clear-sky radiation & surface temp. change (for diagnostics)
19 jmc 1.313
20 afe 1.311 checkpoint53e_post
21     o merged cylindrical coord configuration
22     o added rotating_tank experiment
23 afe 1.310 checkpoint53e_pre
24    
25 jmc 1.309 checkpoint53d_post
26 jmc 1.308 o faulks upgraded: re-generate output.txt that have changed:
27     global_ocean.cs32x15(.thsice), global_ocean_ebm, lab_sea, natl_box
28 adcroft 1.307 o Added Bryan and Lewis, 1979, vertical diffusivity profile
29 jmc 1.306 o pkg/land: fix problem in land_impl_temp.F when Ts arround freezing.
30 adcroft 1.305 o added Sadourny discretization of Coriolis
31     - moved some PARAMETERS from mom_*_coriolis.F to PARAMS.h
32     - re-enabled use of omega3 (useAbsVorticity)
33 adcroft 1.304 o added Leith (Phys. Fluids, 1968, 10, 1409-1416) variable viscosity for
34 jmc 1.309 vector-invariant equations
35 adcroft 1.304 - note: does *NOT* yet use same variable visc. for no-slip BC's.
36 mlosch 1.303 o recoded the lateral boundary conditions for non-hydrostatic w, this time
37     hopefully without new bugs
38     - still to do: biharmonic friction for non-hydrostatic w
39 adcroft 1.302 o bug fix for mom_*_sidedrag: rA -> rAs,rAw
40     o regenerated output for global_ocean_ebm (using -ieee)
41 adcroft 1.301 o fix mom_common/mom_*_sidedrag.F to recover numeric output prior to creation
42     of mom_common/
43     - simple re-arrangement of instructions within computing loop
44     checkpoint53d_pre
45 mlosch 1.297
46 heimbach 1.300 checkpoint53c_post
47 jmc 1.299 o new version of coupler for AIM+thSIce and Ocean models
48     - new fields (SSS,h_MixLayer ...) are exchanged through the coupler
49     - land: change Evaporation of snow
50     - aim with thSIce: fix bug in snow-precip.
51 mlosch 1.297 o changes to calc_gw.F
52     - bug fix for w^2 term near the bottom boundary
53     - (hopefully) improve the lateral slip boundary condtions for use with
54     partial/looped cells
55     - because the bug fix changes two verification experiments anyway (exp5
56     and plume on slope), change the lateral boundary condition from half slip
57     to the value of no_slip_sides
58 heimbach 1.298 o ebm package wasnt quite up to the parallel task. Fixed that.
59 heimbach 1.300 o Adjoint of EBM package + verification
60     * TLM OK
61     * ADM not sufficient accuracy yet (needs further testing)
62 heimbach 1.295
63 heimbach 1.296 checkpoint53b_post
64     o Commiting new energy balance model to repository
65     * package is pkg/ebm
66     * verif. is verification/global_ocean_ebm
67     * references are in ebm_driver.F
68     C * X. Wang, P. Stone and J. Marotzke, 1999:
69     C Global thermohaline circulation. Part I:
70     C Sensitivity to atmospheric moisture transport.
71     C J. Climate 12(1), 71-82
72     C * X. Wang, P. Stone and J. Marotzke, 1999:
73     C Global thermohaline circulation. Part II:
74     C Sensitivity with interactive transport.
75     C J. Climate 12(1), 83-91
76     C * M. Nakamura, P. Stone and J. Marotzke, 1994:
77     C Destabilization of the thermohaline circulation
78     C by atmospheric eddy transports.
79     C J. Climate 7(12), 1870-1882
80     o Will need long integration testing.
81 heimbach 1.295 checkpoint53b_pre
82 dimitri 1.292
83 adcroft 1.294 o created pkg/mom_common in preparation for variable viscosity code
84     o renamed and split ini_mnc_io
85 jmc 1.293 o pkg/land: only liquid water can diffuse or run-off
86     o AIM using land: soil wetness availability account for snow
87 dimitri 1.292 o added printMapIncludesZeros to EEPARMS namelist
88 heimbach 1.290
89     checkpoint53a_post
90     o restore TAMC compatiility for exf_constants.h
91     (no usage of _d in .h)
92     o Additional storing in KPP in an attempt to fix
93     TAMC problem with adjoint of KPP code.
94     (no success...)
95     Identical code works fine with TAF.
96 dimitri 1.291 o Fixed verification/natl_box_adjoint experiments.
97     Initial conditions for Experiments 4 and 5 are now
98     set to "SEAICE_initialHEFF=0", which is more reasonable,
99     and hence gives results closer to that of Experiment 2.
100     Experiment 6 requires "SEAICE_initialHEFF=1" and is working once again.
101 cnh 1.289
102     checkpoint53
103     o stable checkpoint with up to date adjoint
104     TLM tests only run for 1st grdchk at the moment. Its unclear if
105     this is a code problem or a problem with resetting code for g_
106     variables that is being autogenerated wrong.
107     Otherwise:
108     o code is testing well on Linux (P4 and AMD), SGI Alitix and Irix.
109     o IBM and HPQ tests could not be run because NCAR (IBM) and NCCS (HPQ)
110     are both still in chaos following their security messes.
111 jmc 1.279
112 edhill 1.288 checkpoint52n_post
113     o various build (mostly genmake2) changes including:
114     - ability to build/run more easily within Cygwin and MacOS X
115     - more complicated Makefiles with a stronger dependence on Gnu Make
116 dimitri 1.285 o pkg/seaice modifications
117 dimitri 1.287 - added SEAICE_deltaTtherm and SEAICE_deltaTdyn in order to reduce cost
118     of pkg/seaice. For time being, SEAICE_deltaTtherm = deltaTtracer
119     and SEAICE_deltaTdyn must be integer multiple of SEAICE_deltaTtherm
120 dimitri 1.285 - changed proxy for geostrophic velocity and updated
121 dimitri 1.286 verification/lab_sea/results/* accordingly
122 dimitri 1.285 - removed ADI dynamic solver from pkg/seaice
123     - replaced all occurrences of 1/CSTICE or 1/CSUICE
124     they caused a segmentation fault under certain circumstances
125 mlosch 1.283 - removed unused field WATR
126 mlosch 1.282 o bug fix in exf-package:
127     - u/vwind are defined at tracer/pressure points. The values of u/vwindmask
128     now reflect that.
129 mlosch 1.281 o small fixes in the cal-package:
130     - set reference date to first of January for the 'model'-calendar
131     - failing of cal_CheckDate in cal_FullDate now actually results in a
132     warning
133 mlosch 1.280 o small modifications in exf-package to increase flexibility:
134     - change climtempfreeze from a constant to a runtime parameter that
135     is specified in data.exf_clim (default = -1.9)
136     - introduce runtime parameter windstressmax (default = 2.0) that is
137     specified in data.exf
138 jmc 1.279 o fix in pkg/thsice:
139     - update Evap (Tsf changes) to be consistent with Latent heat flux
140     - maintain snow precipitation unchanged (even if Tsf >=0).
141     both affect global_ocean.cs32x15/(.thsice) results ; update output.txt.thsice
142 edhill 1.272
143 jmc 1.278 checkpoint52m_post
144 mlosch 1.277 o commented out call to cal_GetMonthsRec in swfrac.F and added some comments;
145     this does not change any of the results, because myIter=0 in swfrac always
146     lead to jwtype=2 (the default anyway), but the call makes little sense
147     as a default
148 jmc 1.276 o no SHORTWAVE HEATING lost at the bottom; affects lab_sea output; updated
149 jmc 1.275 o re-work pkg/thsice interface with ocean & bulk_force pkg to allow
150     atmospheric model (AIM) to use it ; add a "slab ocean" component.
151     o pkg/aim_v23 : add interface to call thermodynamic sea-ice (thsice)
152     o update global_ocean.cs32x15/output (.thsice) after changes in pkg/thsice
153 dimitri 1.274 o extending useSingleCpuIO option to work with new exch2 I/O format
154     - old-style, missing-tile I/O is still accessible by defining CPP
155     option MISSING_TILE_IO in pkg/mdsio/MDSIO_OPTIONS.h
156 edhill 1.273 o monitor package can write to NetCDF files and/or STDOUT
157     o fix re-definition bug in MNC_GRID_INIT_ALL()
158 edhill 1.272 o doc/api_reference added
159     - a framework for building an API Reference Manual using all
160     the "protex" comments embedded in the code
161     - see pkg/generic_advdiff, pkg/mnc for examples
162 edhill 1.269 o MNC:
163     - make myThid the last argument for all subroutines
164     - new default for the grid files: NO halos
165 edhill 1.270 - add useMNC and other run-time flags
166     - separate per-file-group handling of the unlimited dimension
167     - early initialization of MNC w/ flags read at the eeboot stage
168     and lookup tables set in initialize_fixed
169     - write all MNC output to a freshly-created directory
170 jmc 1.268 o thermodynamics sea-ice (thsice) is now tested with testreport.
171     o test exp. advect_cs: use the standard cs32 grid ; update output.
172 heimbach 1.271 o Added functionality to grdchk:
173     pick global i,j,k position (or nearest wet) where to perform check.
174 jmc 1.266
175 jmc 1.267 checkpoint52l_post
176     o new land formulation:
177     a) use ground enthalpy as prognostic variable to ensure exact
178     energy conservation.
179     b) account for water temperature and for latent heat of freezing
180     in all processes (rain, run-off, ground storage)
181     c) compute surface and ground temperature implicitly.
182     o aim_v23 modification for new land model:
183     a) Treat separately land / ocean / sea-ice surface fluxes
184     to allow implicit computation of land & sea-ice surface temp.
185     b) add snow precipitation.
186 jmc 1.266 checkpoint52l_pre
187    
188 jmc 1.265 o fix problem (when 1 tile is empty) in min/max monitor.
189     o fix bug in timeAve (u,vZetatave in common block)
190 dimitri 1.264 o no restoring terms under ice for pkg/seaice
191 dimitri 1.263 o moved SEAICE_DO_DIAGS to S/R do_the_model_io
192     o bug fix for pkg/seaice pickups
193 edhill 1.262 o change MNC call locations and add coordinate attributes
194 jmc 1.260 o mask vorticity at the corner ; affects global_ocean.cs output
195     o fix ini_curvilinear_grid ; test CS experiments with mpi
196 jmc 1.259 o aim.5l_cs: modify sea-ice fraction input file ; update output
197 heimbach 1.261 o exf: Adding simple range check routine for exf fields after read
198 adcroft 1.256
199 heimbach 1.257 checkpoint52k_post
200 adcroft 1.256 o removed top-level directory "diags"
201     - we migrated these functions to pkg/timeave a long time ago
202     o fixed bug introduced in pkg/monitor
203 heimbach 1.257 o accuracy ctrlprec = 32 insuffient for gradient checks using
204     averaged fields (I/O via cost_averages)
205     -> use ctrl.h in active_file*.F to control I/O precision.
206     o paramter list of CALL ADTHE_MAIN_LOOP
207     o added initial do_the_model_io to ecco
208     o set all ...Freq to zero after cost_final
209     taveFreq, dumpFreq, pChkptFreq
210 heimbach 1.258 o MAIN and ECCO differentiability restored
211 heimbach 1.255
212     checkpoint52j_post
213     o fix nchklev in tamc.h for global_ocean...
214     o Bringing flow and store directives up-to-date
215     o Really weird thing!
216     call do_the_model_io from the_main_loop with parameters
217     starttime, niter0, instead of mytime, myiter, screws up the adjoint:
218     TAF places a faulty re-call of initialise_varia
219     after cost_final call which should not be there!
220     checkpoint52j_pre
221 jmc 1.253
222 afe 1.254 o tweaked pkg/mdsio/mdsio_readfield.F to have more useful logic and
223     error messages
224 jmc 1.253 o fix errorMessageUnit problem. remove old version of mdsio from eesup/src
225 afe 1.252 o modified pkg/mdsio/mdsio_readfield.F -- commented out diskspace-eating
226     debug output
227 afe 1.251 o modfied mdsio_writefield.F to handle non-global files under exch2
228 jmc 1.250 o update AIM Cubed-Sphere exp (aim.5l_cs):
229     use land, p*, and Franco.M forcing fields with fractional land-sea mask.
230     o update AIM Equatorial Channel exp:
231     use standard aim_v23 pkg and change the SST fields to be more realistic.
232 afe 1.248 o globalFile now works with exch2
233 afe 1.247 o merged mom_vi_calc_relvort3.F, mom_vi_del2uv.F and
234 jmc 1.253 mon_vort3.F to make exch2 friendly with >1 tile per cube face
235 dimitri 1.249 o limit timeave output for hi-res integrations
236 adcroft 1.245
237     checkpoint52i_post
238     o removed CPP_EEOPTIONS.h from verification/*/code
239     o updated the tiling for global_ocean_pressure
240     checkpoint52i_pre
241 jmc 1.246
242     o update aim.5l_LatLon using the standard aim_v23 pkg (instead of
243     the old pkg/aim).
244 afe 1.239
245 dimitri 1.244 checkpoint52h_pre
246 afe 1.243 o shortened offending lines in exch2_send_rx?.template
247 afe 1.242 o modified W2_EXCH2_TOPOLOGY.h to reflect current topology generator
248 edhill 1.240 o genmake2: add build & execute test for NetCDF code
249 afe 1.239 o modded aim.5l_cs and global_ocean.cs32x15 to use exch2, removed
250     old grid files, moved CPP_EEMACROS.h to pkg/exch2
251 dimitri 1.238 o added useSingleCPUIO flag to monitor.F and mon_out.F
252 dimitri 1.241 o added temporary hack for sea-ice dynamics on the cube:
253     metric terms are ignored and it is assumed that
254     there is no sea-ice on cube faces 1, 2, 4, and 5.
255 dimitri 1.238
256     checkpoint52f_post
257 afe 1.236 o added exch2 cube routines to pkg/exch2
258     o modified hs94.cs-32x32x5 to use it
259     o added new grid files to hs94.cs-32x32x5
260 dimitri 1.238 checkpoint52f_pre
261 dimitri 1.228
262 jmc 1.235 checkpoint52e_post
263 jmc 1.234 o first attempt to solve vertical advection (momemtum & T,S) Implicitly
264     for now, only implemented with Lax-Wendroff (tracer) and VectInv (mom)
265 jmc 1.235 o step.1 : rewrite (as in MultiDimAdvec) explicit tracer stepping (gad_calc_rhs.F)
266     to work with implicit vertical advection and AB ;
267     o Implic. vert. advect. implemented with flux-limiter, c2, u3 and c4 scheme.
268     o update output (gad_calc_rhs.F changes affect truncation error) of exp:
269     front_relax, global_ocean .cs32x15 & _pressure, internal_wave, lab_sea, natl_box
270 jmc 1.233 checkpoint52e_pre
271    
272     o fix bug in impldiff when Nr=1 or Nr=2.
273 jmc 1.232 o change the albedo in pkg/thsice (as GISS model); update output_thsice.txt
274     o little changes (fftpack, aim/phy_suflux ...) to pass the "checkbounds" test.
275 jmc 1.229 o fix deltaTfreesurf in update_cg2d.F (left from c45d_post): affects 2
276     ocean exp. that use NLFS: global_ocean.cs32x15 & global_ocean_pressure
277 dimitri 1.228 o added exf_offset_atemp for Celsius to Kelvin conversion of atemp
278 dimitri 1.231 o eesupp/inc/EEPARAMS.h: MAX_NO_PROCS=1024
279     o pkg/cal/cal_toseconds.F fix for long (>60 years) integrations
280 jmc 1.220
281 jmc 1.226 checkpoint52d_post
282 adcroft 1.230 o re-tiled many expts to allow comparison in multi-processor mode
283     - updated output accordingly
284     - changed hs94.128x64x5 to use intial T from file rather than use the
285     random number generator
286 molod 1.227 o add infrastructure in model routines for fizhi and gridalt packages
287 jmc 1.220 o change global_ocean.cs32x15 because of Pb with GM on CS-grid.
288 dimitri 1.222 o changes to permit hi-res, cubed-sphere, configuration
289     - added useSingleCpuIO capability to mdsio_readfield.F and exf_interp.F
290     - added "#undef ALLOW_USE_MPI" support to eesupp/src/scatter_2d.F
291     - added pkg/exf/exf_set_uv.F for on-the-fly interpolation and rotation
292     of surface winds for the cube
293     (A verification experiment, based on global_ocean.cs32x15, but with
294     pkg/seaice turned on and with on-the-fly interpolation from the NCEP
295     Gaussian grid is described in MITgcm_contrib/high_res_cube/README_ice,
296     complete with example surface forcing files and matlab scripts to look
297     at the output and compare it with that of global_ocean.cs32x15.)
298 jmc 1.223 o packages pickup: $PKG_write_pickup called from packages_write_pickup ;
299     but call to $PKG_read_pickup remains in $PKG_ini_vars: change CD_code
300     to conform to the common rule.
301 jmc 1.224 o check-in the first version of the coupler + interfaces for multi-components
302     set-up (Chris's version, adapted to work on cubed-sphere grid); use MPI.
303     - imply modification in eesupp (MPI_COMM_MODEL < MPI_COMM_WORLD).
304     - atmosphere: use pkg aim_v23 ; no sea-ice for now.
305     - ocean and atmos. share the same horizontal grid (no interpolation).
306     - exchanges between component and coupler is done in forward_step
307 jmc 1.225 o new verification experiment, cpl_aim+ocn:
308     coupled ocean - AIM atmosphere on cs32 grid.
309 jmc 1.217
310 dimitri 1.219 checkpoint52d_pre
311 jmc 1.217 o surface flux time-av diagnostic modified for NLFS & RealFreshWater
312 jmc 1.218 o add call to AIM pendant S/R in external_forcing & external_fields_load.F
313 heimbach 1.213
314 heimbach 1.216 checkpoint52c_post
315 heimbach 1.213 o Fixing OPTIONS files for use of exf:
316     - ALLOW_ECCO not needed
317     - ECCO_CPPOPTIONS.h should not be included from
318     EXF_OPTIONS.h/CAL_OPTIONS.h, but from CPP_OPTIONS.h
319     as has been the case in the past
320     - All cal/exf related options are currently set in
321     single header file. Should remain so until we
322     agree on a consistent new policy.
323 heimbach 1.214 o Removed all CPP options for cal package.
324     cal has no more CPP options.
325 heimbach 1.215 o modified STOREs in GAD_ADVECTION
326     o corrected key comp. for passkey
327 heimbach 1.210
328 jmc 1.212 checkpoint52b_post
329     o new version: "thsice" of thermodynamic sea-ice pkg:
330     - only 1 call from "forward_step"; conserve energy, fresh-water & salt.
331     - modify fluxes but do not change theta directly;
332     - light cleaning of bulk_force pkg (still needed with thsice).
333     - add forcing fields + data files in global_ocean.cs32x15/inp_thsice
334     + output_thsice.txt to test thsice & bulk_force pkgs.
335     o put back grid & coriolis monitor output.
336 jmc 1.211 checkpoint52b_pre
337    
338     o call "do_the_model_io" at the beginning (=> dump initial state)
339     o use rhoConstFresh to define convertEmP2rUnit (was done only in ocean-P)
340 heimbach 1.210 o sort out interplay between tamc.h and PTRACERS_OPTIONS.h
341     (need info on NUMBER_OF_PTRACERS)
342     o missing PTRACERS headers in some routines
343     o default tamc.h in pkg/autodiff supposed to crash
344     to ensure proper customization
345 dimitri 1.206
346 heimbach 1.209 checkpoint52a_post
347 jmc 1.208 o modifications to make FREEZE (_SURFACE) flux visible to pkg/kpp
348 dimitri 1.207 - moved surfaceTendencyTice from pkg/seaice to main code
349 jmc 1.208 - subroutine FREEZE_SURFACE now limits only surface temperature
350     and is called in FORWARD_STEP (if allowFreezing=.TRUE.)
351     => new output.txt for global_ocean.cs32x15 & global_with_exf
352     - keep the old version of FREEZE for backward compatibility;
353     global_ocean.90x40x15 left unchanged using useOldFreezing=.TRUE.
354 heimbach 1.209 - corresponding modifs for TAF directives
355 dimitri 1.207 o added surface flux output variables to TIMEAVE_STATVARS
356     o time-averaged output for pkg/ptracers
357 heimbach 1.209 o fix problem with ECCO-related divided adjoint
358     snapshot file was missing some ad-variables,
359     but no warning issued by TAF
360 dimitri 1.206
361 dimitri 1.207 checkpoint52a_pre
362 dimitri 1.206 o some bug fixes for #undef REAL4_IS_SLOW
363 heimbach 1.205
364     checkpoint52 = ecco_c52_e35
365     o after testing adjoints of checkpoint51u_post
366 edhill 1.203
367 heimbach 1.204 checkpoint51u_post
368     o this is the post-merge tag of the ecco-branch
369     (needs another clean checkout and re-testing)
370     o various natl_box_adjoint configs and results
371     but no input fields
372     o obcs adjoint not yet merged!
373     o adding ECCO global 1x1 and 2x2 degree configs
374     o updated/extended some store directives for seaice
375     o pkg/ecco now containes ecco-specific part of cost function
376     o top level routines the_main_loop, forward_step
377     supersede those in model/src/
378     previous input data.cost now in data.ecco
379     (new namelist ecco_cost_nml)
380     o in ctrl/ cleaned some cross-dependencies and updated CPP options
381    
382     checkpoint51t_post
383     o this is the pre-merge tag of the ecco-branch
384    
385 edhill 1.203 checkpoint51s_post
386     o cleanup: removed various obsolete #define-s
387 heimbach 1.204 o pkg/grdchk
388     - renamed 'ph-grd 3' to 'grad-res'
389     - merged from ecco-branch
390     (remaining bug fixes for obcs gradient checks)
391     - additional high-precision output for testreport
392     (grep for 'precision_grdchk_result')
393 edhill 1.202
394     checkpoint51r_post
395     o cleaned up or removed CPP_OPTIONS.h files
396     o updated results for some of the tests to reflect the new
397     optfiles (-ieee: -O0 instead of -O3)
398 heimbach 1.201
399     checkpoint51q_post
400     o cd_code:
401     - moved cd_scheme.F -> cd_code_scheme.F
402     - separate read_checkpoint from cd_code_ini_vars.F
403     - separated cd_code part from write_checkpoint
404     - updated AD_SOURCE, generated .flow
405     - added CD_CODE_VARS.h to the_main_loop
406     - Moving cd_code specific store dir.s to pkg/cd_code
407     o ctrl package totally restructured
408     - pack/unpack now optional and decoupled from
409     xx_/adxx_ I/O
410     - ctrl_pack/unpack cleaned
411     (new routines ctrl_init_ctrlvar.F, pkg/ctrl/ctrl_init_wet.F)
412     - confined inclusion of AD_CONFIG.h to where necessary.
413     o genmake2: changed AD dependencies from SRCFILES to AD_FILES
414 edhill 1.198
415 edhill 1.200 checkpoint51p_post
416 edhill 1.198 o create initial cd_code package
417 edhill 1.199 - WARNING: the initialization of fields within packages
418     is broken because INI_FIELDS (where READ_CHECKPOINT is
419     called) is called *before* PACKAGES_INIT_VARIABLES.
420     This seems to be backwards since
421     1) its important to initially zero the entire field including
422     the "halo" region
423     2) zeroing needs to be done *before* reading pickup info
424     and the pickup call might or might not happen in any
425     particular run
426     - this needs an overhaul for R2
427 edhill 1.198 o cleanup verification/*/code/GMREDI_OPTIONS.h
428     o cleanup testreport
429 heimbach 1.196
430     checkpoint51o_post
431     o bringing AD-related verif's up to date with genmake2
432     - carbon/
433     - global_ocean.90x40x15/
434     - hs.94.1x64x5/
435     - (front_relax/ )
436     o (more) consistent directory structure for AD-related verif.'s
437     o cleaning ALLOW_GRADIENT_CHECK -> ALLOW_GRDCHK
438     o cleaning some ALLOW_TANGENTLINEAR_RUN -> ALLOW_AUTODIFF
439     o bug fix in find_alpha.F for MDJWF:
440     - modif. to alpha = 1/D*( dN/dT - rho*dD/Dt) to account for
441     change rho -> rho-rhoConst
442     - replace call find_rho to find_rhonum
443     o initialisation of rFlx extended to full array (required by TAF)
444     and shifted to thermodynamics
445     o removed PTRACERS.h in ptracers routine
446     o added surfacetendencyPtr to S/R parameter list pracers_forcing
447     o Correcting initialisations for fVerU, fVerV.
448     o helping TAF to recognize dependency on kUp for
449     fVerU, fVerV
450     o Replacing delZ by delR in pkg/ctrl/
451     checkpoint51o_pre
452 dimitri 1.192
453 edhill 1.195 o undid all of cp51 pending some cleanups and discussion
454 heimbach 1.197 o added the [#include "AD_CONFIG.h"] statement to all files that need
455     it for adjoint/tl #defines
456     o re-worked the build logic in genmake2 to support AD_CONFIG.h
457     o removed tools/genmake since it no longer works
458 dimitri 1.194
459     checkpoint51n_post
460     o modifications to make FREEZE flux visible to pkg/kpp
461     - moved surfaceTendencyTice from pkg/seaice to main code
462     - FREEZE & EXTERNAL_FORCING_SURF moved to FORWARD_STEP
463     - subroutine FREEZE now limits only surface temperature
464     (this means new output.txt for global_ocean.90x40x15,
465     global_ocean.cs32x15, and global_with_exf)
466     o added surface flux output variables to TIMEAVE_STATVARS
467    
468     checkpoint51n_pre
469 dimitri 1.192 o added "#undef ALLOW_USE_MPI" support to eesupp/src/gather_2d.F
470 edhill 1.193 o added [#include "AD_CONFIG.h"] to all files that use the following
471     defines:
472     - ALLOW_ADJOINT_RUN
473     - ALLOW_TANGENTLINEAR_RUN
474     - ALLOW_ECCO_OPTIMIZATION
475 edhill 1.190
476 edhill 1.191 checkpoint51m_post
477 edhill 1.190 o incorporating changes to get TAMC/TAF working in genmake2
478     - added new TAMC/TAF targets to the Makefile
479     - various cleanups related to package handling
480 edhill 1.191 - these changes should have no impact on the forward model
481 dimitri 1.189
482     checkpoint51l_post
483     o changes to pkg/cal and pkg/exf that allow and speed-up long integrations
484     - faster algorithm for cal_addtime.F
485     - higher precision arithmetic, where needed
486     - pkg/exf *startdate variables changed from calendar date to
487     model integration time
488    
489     checkpoint51l_pre
490 jmc 1.188 o add salt flux to forcing fields (used when salty sea-ice forms or melts)
491     o enable to apply restoring on S & T only in a latitude band.
492     o update output (external_forcing_surf modif. change truncation errors)
493     global_ocean.cs32x15, global_ocean_pressure, lab_sea, natl_box
494 edhill 1.186
495 jmc 1.187 checkpoint51k_post
496     o change default to: useNHMTerms=.FALSE.
497     - new output.txt for atmos. exp (NHMTerms were wrong but now turned off):
498     adjustment.128x64x1, aim.5l_Eq_Ch, aim.5l_LatLon, hs94.128x64x5, hs94.1x64x5
499     - new output.txt for idealized oceanic exp (NHMTerms are now turned off):
500     exp1, ideal_2D_oce
501     - change data file of oceanic exp (leave the results unchanged for now)
502     exp2, global_ocean[90x40x15,pressure,with_exf], lab_sea, natl_box
503     o set gravitySign automatically according to the vertical coordinate used
504     (and change sign: back to "logical" value: +1 when R increases downward)
505 edhill 1.186 o added an include barrier to the default CPP_OPTIONS.h and
506     removed the #include "PACKAGES_CONFIG.h" from it
507 jmc 1.187 o fix a bug in mom_fluxform (from chk51j_post)
508 heimbach 1.185
509     checkpoint51j_post
510     o Added some AD-related initialisations in mom_vecinv/ mom_fluxform/
511     o adjusted some flow directives (dynamics, thermodynamics)
512     o added cubed-sphere case to test cost function
513     o heckpoint_lev?_directives.h now include
514     pkg-specific directives, whenever those are enabled.
515     o Moving pkg-specific flow directives to corresponding pkg
516     Moving pkg-specific differentiation list to corresponding pkg
517     Moving pkg-specific checkpoint-lev storing to corresponding pkg
518     ---> conventions are
519     - pkg_ad.flow
520     - pkg_ad_diff.list
521     - pkg_ad_check_lev?_dir.h
522 stephd 1.181
523 edhill 1.184 checkpoint51i_post
524     o merge of the branch-genmake2
525     - knowingly breaks the older genmake
526     - automatic generation of all ALLOW_${PKG_NAME} defines
527     - new testreport supersedes older testscript
528     o large number of package inclusion and header cleanups
529     checkpoint51i_pre
530    
531 edhill 1.183 o new output for adjoin of global ocean vector invariant
532     o fix for checkpoint of thermodynamic seaice and bulk_force
533     o Steph gchem various cleanups
534    
535 stephd 1.181 checkpoint 51h_pre
536 edhill 1.183 o fixed some single quotes
537 stephd 1.181 o modify gchem pkg to be more versatile
538     o modifications to clean up dic pkg
539     o add pkg/cfc
540 heimbach 1.182
541     checkpoint51g_post
542     o provide links for ARPACK and ADM*TLM
543     o start removing verification/vero/
544     o update AD-related stuff
545     (in particular some IF-statements in model/src/ routines)
546     o adding to verification/global_ocean.90x40x15/ adjoint of
547     vector invariant setup
548 dimitri 1.177
549 heimbach 1.180 checkpoint51f_post
550 jmc 1.179 o update advect_xz/output.txt (left from chekpoint50f_pre, ini_vel modif)
551 dimitri 1.178 o Mods and bug fixes to pkg/cal, pkg/exf, etc., needed for computation
552 dimitri 1.177 of tracer Green's fucntions for ocean inversion project.
553 dimitri 1.175
554 dimitri 1.176 checkpoint51f_pre
555 dimitri 1.175 o Added on-the-fly spatial interpolation capability
556     "USE_EXF_INTERPOLATION" to pkg/exf.
557 dimitri 1.176 - This is a temporary Cartesian-grid hack until
558 dimitri 1.175 the super-duper ESMF coupler becomes available.
559 dimitri 1.176 - See verification/global_with_exf/README for usage example.
560     - Removed obsolete EXFwindOnBgrid and SEAICEwindOnCgrid
561     flags and modified pkg/seaice accordingly.
562 dimitri 1.175 o Bug fix to pkg/ptracers, pkg/generic_advdiff/gad_calc_rhs.F,
563     and pkg/kpp/kpp_transport_ptr.F for dealing with tracer
564     non-local transport term.
565 heimbach 1.172
566 jmc 1.174 checkpoint51e_post
567     o pkg/mom_vecinv:
568     - changes related to hFac: use S/R from aim.5l_cs/code (coriolis & vort.advec)
569     - add time-ave diagnostic of vorticity advection.
570     o add diagnostic (instantaneous) of Shapiro Filter effect for T,S & UV.
571     o atmospheric geopotential: - include water vapor effect;
572     - use p^kappa in p* scaling.
573 jmc 1.173 o land pkg: read initial state from files.
574     o AIM : add stratospheric drag in the upper level
575    
576 heimbach 1.172 checkpoint51d_post
577 jmc 1.173 o change function ILNBLNK (=> last non-blank char.) to return zero
578     (instead of the string length) when the string. char is empty
579 jmc 1.171 o fix bug in dxV,dyU definition of cubed-sphere grid (ini_curvilinear_grid)
580 heimbach 1.172 o modif's to restore TAMC compatibility
581     - avoid "_d" constructs in PARAMETER declarations
582     - avoid interrupting lines by comment lines
583     o Use cluster local disks for purely local I/O
584     vs. globally visible disks needed for ctrl stuff
585     (merged from ecco-branch)
586     - new active_file_loc... and mdsio_..._loc routines
587     - affected packages: autodiff, ctrl, grdchk, mdsio
588 heimbach 1.169
589 heimbach 1.170 checkpoint51c_post
590     o introducing integer flag debugLevel
591     - debLevZero: suppress all output
592     - debLevA: standard
593     - debLevB: equivalent to current debugMode=.TRUE.
594     o introducing pathname variable mdsioLocalDir for mdsio
595     that can be specified at runtime
596     (relevant for cluster I/O to local disk)
597     `
598 heimbach 1.169 >>>checkpoint51b_post
599     adjoint of ptracers
600     o disentangled ALLOW_PTRACERS using new ALLOW_GCHEM
601     o extended state in checkpoint_lev?, etc.
602     o alternative ctrl/cost with tr1 or ptracer
603     o new comlev1_bibj_ptracers
604     o new ptracers.flow
605     o made ptracers_forcing same as external_forcing_s
606     o added verification for adjoint with ptracers
607     - adm. grdchk fail so far
608     - tlm. grdchk OK
609     - checked tapelev/comlev recomputations: OK
610     <<<checkpoint51b_pre
611 stephd 1.168
612     checkpoint51a_post
613     o added code for biogeochemistry package
614     - new pkgs: dic, gchem
615     - new subroutine in ptracers
616     o modify code for biogeo packages
617     - in model/src and pkg/ptracers
618 heimbach 1.166
619     checkpoint51
620     o merged improved packages from ecco-branch (ecco_c51_e34) to MAIN
621     - autodiff, ctrl, exf, grdchk, seaice
622     kept separate packages
623     - cost, ecco, obcs
624 heimbach 1.167 o updating verification/internal_wave, verification/lab_sea
625     (all verif's pass on faulks.lcs.mit.edu RH7.3, g77)
626 heimbach 1.165
627     checkpoint50i_post
628     o Preparing next differentiable checkpoint and sync
629     of MAIN vs. ecco-branch
630     - 1st step: this one is differentiable
631     - 2nd step: next(! not this) checkpoint will have updated packages
632     from ecco-branch)
633 jmc 1.161
634 heimbach 1.164 checkpoint50h_post
635 jmc 1.163 o new package "land": provide surface BC for AIM.
636     o pkg/ptracers: apply exchange to all tracers after reading a pickup.
637 jmc 1.161 o AIM: use true log-P extrapolation for near surface temp (= as in
638     F.Molteni paper) ; update aim.5l_cs output.
639 adcroft 1.162 o New variable in PARM03 for more flexible pickups
640 heimbach 1.164 o somewhat cleaned package initialisation sequence for
641     ctrl/ cost/ ecco/ in packages_... routines
642 dimitri 1.160
643     checkpoint50g_post
644     o merged with release1_p17 (pkg/seaice and verification/lab_sea)
645     - added SEAICE_MULTILEVEL for 8-category sea-ice thermodynamics
646     - LSR sea-ice dynamic solver moved to SouthWest B-grid location and
647     made the default because of faster convergence than ADI
648 heimbach 1.159
649     checkpoint50f_post
650     o exf totally restructured
651     - replaced all exf_set_ routines by one generic exf_set_gen.F
652     and made sure it's still differentiable
653     - split exf_getffields.F into new exf_bulkformulae.F
654     - exf_inscal_/exf_outscal_ suffixes consistent with field names
655     - updated adjoint/makefile and relevant verif. accordingly
656 adcroft 1.156
657 heimbach 1.158 checkpoint50f_pre
658 jmc 1.157 o AIM: near surface temp evaluated from Pot.Temp: fixed for Part Cell ;
659     + change Evap over land. (update aim.5l_cs output)
660 adcroft 1.156 o added missing .cvsignores and made uniform across expts
661     o changed configuration of tidal_basin_2d expt
662     o added pkg/debug functions for tracing code in fatal crashes
663     o tidied pkg/monitor to use MONITOR_OPTIONS.h
664     o new fn in pkg/monitor to stop model if solution grows too big
665     o removed lots of single quotes from comments
666    
667 mlosch 1.155 checkpoint50e_post
668     o make KPP work with PTRACERS
669     - fix gad_calc_rhs to call new routine kpp_transport_ptr, which is
670     nearly a copy of kpp_transport_s
671     - there is no analogue to SurfaceTendencyS, so I have to use
672     gPtr(of the surface layer) instead
673     o add a new platform SunFire+mpi (SunFire 15000) to genmake
674     checkpoint50e_pre
675    
676     checkpoint50d_post
677 mlosch 1.154 o change kpp output from multiple-record state files to single-record state
678     files analogous to write_state.F
679     o reduce the output frequency of cg3d-related stuff to the monitor frequency,
680     analogous to the cg2d-related output.
681 mlosch 1.155 o fix small problem with in ptracers_write_checkpoint.F: len(suff)=512,
682     so that writing to internal file fn (with length 512) fails.
683 mlosch 1.154 checkpoint50d_pre
684 jmc 1.151
685 jmc 1.153 checkpoint50c_post
686     o fix problem in ini_procs.F when using MPI (was there since checkpoint48f)
687 jmc 1.152 o add monitor diagnostic of vorticity (mon_vort3.F) and potential energy.
688 jmc 1.151 o add time-average diagnostic of U*V and vertical diffusive flux for theta.
689     o bug fixed in convective adjustment diagnostic (multi-tile set-up).
690     o 4th Order Adv scheme: return to previous (c40pre7) masking near boundaries.
691 dimitri 1.150
692     checkpoint50c_pre
693     Merging from release1_p13:
694     o bug fix for pkg/seaice dynamic solver
695     o Added SEAICE_initialHEFF to pkg/seaice
696 jmc 1.149
697     checkpoint50b_post
698     o store u*,v* in gU,V instead of in guNm1,gvNm1
699     o in order to put the momForcing out of the Adams-Bashforth:
700     move forcing & CD-scheme calls from mom_fluxform & mom_vecinv
701     to timestep.F
702     o new flag "useCDscheme" (default=F); replace guCD,gvCD by local arrays
703     o re-generate output for highly sensitive test-exp:
704     global_ocean_pressure, ideal_2D_oce, lab_sea, natl_box
705 heimbach 1.146
706 jmc 1.148 checkpoint50b_pre
707 jmc 1.147 o restore the use of momAdvection & useCoriolis flags (mom_vecinv)
708 heimbach 1.146 o corrected CPP option mismatch in exf_Bulk... functions for case
709     #define ALLOW_ATM_WIND && #undef ALLOW_ATM_TEMP
710 heimbach 1.145
711     checkpoint50a_post
712     o Bug fix for merging between c50 and KPP.
713     ikey was passed from thermodynamics to kpp_calc via
714     common block rather than being recomputed in kpp_calc,
715     in contradiction with new key itdkey.
716     New key ikppkey created, and tamc.h headers updated.
717 heimbach 1.143
718 heimbach 1.144 checkpoint50
719     - 2nd step of merge with ecco-branch:
720     merge changes in ecco-branch back into main trunk
721     - bug fix in find_alpha
722     - more storing in gmredi_calc_tensor.F, kpp_routines.F
723     - avoid iterative loop in ini_pressure for ALLOW_AUTODIFF_TAMC
724     - merged some sliced AD support routines
725    
726 heimbach 1.143 checkpoint49
727     merged from ecco-branch:
728     o exf:
729     - Enable initialisation of forcing fields to constant
730     (runtime) values.
731     - in exf_getffields.F
732     Reduce i-/j-loop to interior domain, discarding overlaps.
733     That also fixes wrong TAF-key computations for key_1, key_2
734     with bulf formulae.
735     - exf_init.F modify #ifdef for exf_init_evap
736     - exf_getffieldrec.F, ctrl_getrec.F
737     The following INT-usages are not safe:
738     fldsecs = int(fldsecs/fldperiod)*fldperiod
739     fldcount = int(fldsecs/fldperiod) + 1
740     and were modified.
741     o autodiff: checkpoint_lev...
742     - updated storing for bulk formulae (some arrays were missing)
743     - added state for seaice package
744     - synchronized with main branch
745     o DIVA:
746     Modif.s in
747 heimbach 1.144 - the_main_loop.F
748     - the_model_main.F
749 heimbach 1.143 and added cost_final_restore.F cost_final_store.F
750     o With these changes, it is possible to fully separate
751     the first forward run to compute the cost function (mdthe_main_loop)
752     and adjoint runs over individual DIVA intervals (adthe_main_loop)
753     into separate model executions.
754     This enables better tuning of DIVA to given queue sizes.
755     o Loss of cost function value in consecutive DIVA runs is
756     fixed by storing to 'costfinal' file.
757     o Appropriate call of ctrl_unpack/_pack,grdchk_main at
758     beginning/end of adjoint integration is accounted for.
759     The current changes apply to TAF-1.4.26.
760     TAF has one remaining bug, requiring one manual change
761     (see MITgcm manual).
762     o cal: synchronized between MAIN and ecco-branch
763 heimbach 1.141
764 heimbach 1.142 checkpoint48i_post
765 heimbach 1.141 o Changes to restore differentiability of code w.r.t. previous tag
766     (mostly adding new routines to make list and replacing
767     pressure by totPhiHyd).
768     o Updated and merged grdchk package
769     - has both ADM and TLM checks
770     - works for single- and multi-proc.
771     - output cleaned
772     - worked successfully for parallel DIVA
773     o genmake:
774     - Adding -platform=SP4
775     - Modif. for DEC Alpha (many don't have makedepend; use mkdep instead).
776     o Modif. for DIVA:
777     ctrl_unpack should not be called in intermediate DIVA interval.
778     (similar thing would apply for active files such as
779     tbar, sbar, psbar, which should not be reinitialised;
780     only relevant for ecco-branch)
781 dimitri 1.136
782 heimbach 1.140 checkpoint48h_post
783 jmc 1.137 o improve "ini_p_ground" when using finite difference form for calc_phi_hyd
784 dimitri 1.136 o Added net flux to downward flux conversion to pkg/exf/exf_getffields.F
785     o Added SEAICE_initialHEFF to pkg/seaice
786 dimitri 1.139 o ecco_the_model_main.F: SEAICE_WRITE_PICKUP must precede WRITE_CHECKPOINT
787 jmc 1.135
788     checkpoint48g_post
789     --- EOS:
790     o compute locally the pressure for use in EOS: UNESCO, JMD95P, MDJWF
791     store total Potential in totPhyHyd for diagnostics & EOS.
792     o fix restart and overlap Pb when using Z-coord and EOS funct. of P
793     --- Pressure/geopotential gradient:
794     o use Ro_surf & R_low instead of hFac in cal_phi_hyd:
795     o NLFS + p-coord.: eta*Alpha' is not longer lagging 1.time-step behind
796     ( changes results of global_ocean_pressure )
797     o NLFS + z-coord.: add eta*Rho' contribution.
798     o accurate phiHyd when using interface-W at the middle between 2 centers
799     ( changes results of ideal_2D_oce )
800     o includes r* 2nd term in potential gradient.
801 dimitri 1.134
802     checkpoint48f_post
803     Merging from release1_p12:
804     o Modifications for using pkg/exf with pkg/seaice
805     - improved description of the various forcing configurations
806     - added basic radiation bulk formulae to pkg/exf
807     - units/sign fix for evap computation in exf_getffields.F
808     - updated verification/global_with_exf/results/output.txt
809     o Added pkg/sbo for computing IERS Special Bureau for the Oceans
810     (SBO) core products, including oceanic mass, center-of-mass,
811     angular, and bottom pressure (see pkg/sbo/README.sbo).
812     o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
813     to avoid negative values in shallow regions.
814     - updated verification/natl_box/results/output.txt
815     - updated verification/lab_sea/results/output.txt
816     o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
817     o Added useSingleCpuIO option (see PARAMS.h).
818     o Updated useSingleCpuIO option in mdsio_writefield.F to
819     work with multi-field files, e.g., for single-file pickup.
820     o pkg/seaice:
821     - bug fix in growth.F: QNET for no shortwave case
822     - added HeffFile for specifying initial sea-ice thickness
823     - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
824     o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
825     kpp_transport_t.F, forward_step.F, and the_main_loop.F
826     o pkg/seaice:
827     - adjoint-friendly modifications
828     - added a SEAICE_WRITE_PICKUP at end of the_model_main.F
829 jmc 1.131
830 jmc 1.133 checkpoint48e_post
831 jmc 1.131 o New S/R for diagnostic of bottom pressure (phi0surf was missing in c48d_post)
832 jmc 1.132 o dynamics: change definition of computational domain & adapt mom_fluxform
833     accordingly ; when viscA4=0, allows to run the dynamics with Olx=Oly=2.
834     o following exp works with Olx=Oly=2 (and pass through checkbounds option):
835     adjust_nlfs.cs-32x32x1 adjustment.128x64x1 adjustment.cs-32x32x1
836 jmc 1.133 exp0 exp1 exp2 exp4 exp5 hs94.cs-32x32x5 hs94.128x64x5 hs94.1x64x5
837 jmc 1.132 global_ocean.90x40x15 global_with_exf global_ocean_pressure
838     inverted_barometer solid-body.cs-32x32x1
839     (high order AdvScheme and/or multiDimAd works with Olx=Oly=2 ? not sure)
840 jmc 1.130
841     checkpoint48d_post
842     o in preparation for r*:
843     a) use pre-computed gradient of hydrostatic potential:
844     changes in timestep.F & mom_cdscheme.F affects results of ideal_2D_oce
845     b) move phi0surf from calc_phi_hyd to calc_grad_phi_hyd:
846     => affects results of glob_oce_pressure (different truncation error)
847     update output.txt of ideal_2D_oce & global_ocean_pressure
848 jmc 1.129
849     checkpoint48d_pre
850     o in preparation for r*:
851     new S/R (calc_grad_phi_hyd.F) to compute Hydrostatic potential gradient.
852     pass the 2 comp. of the grad. as arguments to momentum S/R.
853     but for the moment, only used if it does not change the results.
854     o add finite volume form of calc_phi_hyd for buoyancyRelation OCEANIC & OCEANICP
855 jmc 1.126
856 heimbach 1.128 checkpoint48c_post
857     Modifications in treatment of initial flux forcing controls
858     to avoid extra storing of flux fields.
859    
860     checkpoint48c_pre
861 adcroft 1.127 o Added tidal_basin_2d experiment (currently 1D!)
862 jmc 1.126 o can use r* Coordinate with OBC (but Orlanski Rad. BC not yet implemented)
863 jmc 1.124
864 jmc 1.125 checkpoint48b_post
865 jmc 1.124 o r* coordinate added in #ifdef NONLIN_FRSURF block.
866     (modification to pressure gradient not yet implemented)
867     o mom_fluxform: new S/R mom_calc_rtrans.F computes vertical transports
868     (for U & V) that are used for vertical advection of momentum.
869 jmc 1.123
870     checkpoint48a_post
871     o In preparation for r*, use temp. array to compute vertical transport
872     in flux-form momentum pkg. => change results of few test-exp.
873     Update output of: exp4, exp5, front_relax, global_ocean_pressure,
874     lab_sea, natl_box & plume_on_slope
875 jmc 1.122
876     checkpoint48
877     o fix small bug that was causing lot of warning (TIMER_STOP 'UPDATE_CG2D')
878 heimbach 1.121
879     checkpoint47j_post
880 jmc 1.120 o add new exp. (ideal_2D_oce) to test "exotic" parameters and options.
881 heimbach 1.121 o moved adexch from forward_step to addummy_in_stepping
882     o added exch in ctrl_map_...
883     o aveFreq.=0. at end of cost_final to avoid overwrite in
884     reverse checkpointing loop
885     o Yet more changes in gmredi:
886     * adgmredi_calc_tensor
887     avoiding all recomputation of gmredi_slope_limit
888     * adgmredi_x/y/rtransport
889     added flag for excessive storing to avoid recomp. of
890     u/v/rtans, dTdx/y/z
891     -> this is not really necessary and very memory-consuming
892     * adgmredi_slope_psi:
893     consistency with gmredi_slope_limit in treatment of GM_slopeSqCutoff
894     * gmredi_slope_limit
895     re-activated full calculation of taperfct for case 'ac02'
896     o updating verification/ adjoints of carbon, global_ocean.90x40x15
897 heimbach 1.116
898 jmc 1.119 checkpoint47i_post
899     o GM_EXCLUDE_() replace GM_TAPER_(): by default, all the code is compiled.
900     o add GM_Small_Number & GM_slopeSqCutoff as run-time parameters (data.gmredi)
901     default values = 1.D-12 & 1.D+48 (=> give same results as checkpoint47f_post)
902     o cg2dTargetResWunit: define tolerance using deltaTmom (and not deltaTfreesurf)
903     o gmredi: fix few bugs.
904    
905 adcroft 1.118 checkpoint47h_post (duplicate tag for PH's c48 tag, in order to move c48)
906 heimbach 1.116 This will be a good checkpoint to plug into the ecco-branch.
907     o few modif.'s to get latest version adjointed
908     (mainly kick out code in ini_linear_phisurf)
909     o modif's to run adjoint with exactConserv
910     o case GM_BOLUS_ADVEC should be cleaned
911     S/R gmredi_slope_psi should be cleaned
912     o verification/carbon now has exactConserv=.TRUE.
913 jmc 1.114
914 heimbach 1.115 checkpoint47g_post
915 jmc 1.114 o time-average AIM output: becomes independent from statvars time-average
916     (can be used with #undef ALLOW_TIMEAVE) ; add new variables (e.g., RH)
917 heimbach 1.115 o After TAF bug fix:
918     Tested adjoint of gmredi package.
919     Tests were done with checkpoint47 rather than with latest
920     checkpoint47f_post since the latter is broken for the adjoint
921     verification/carbon/ contains both ADM and TLM gradient checks.
922     Here they are, before they get changed/lost/stolen.
923     Mostly modif.'s to fix numerical sensitivities.
924     Gradient checks OK for
925     - GM_taper_scheme:
926     * clipping
927     * ac02
928     * linear
929     * glw91
930     * dm95
931     * ldd97
932     - GMREDI_OPTIONS:
933     * GM_VISBECK_VARIABLE_K
934     * GM_NON_UNITY_DIAGONAL
935     * GM_EXTRA_DIAGONAL
936     * GM_BOLUS_ADVEC
937     in conjunction with data.gmredi parameters to be checked in
938     in a few minutes under verification/carbon/code/
939 cheisey 1.112
940 dimitri 1.113 checkpoint47f_post
941     Merging from release1_p10:
942     o modifications for using pkg/exf with pkg/seaice
943     - pkg/seaice CPP options SEAICE_EXTERNAL_FORCING
944     and SEAICE_EXTERNAL_FLUXES
945     - pkg/exf CPP options EXF_READ_EVAP and
946     EXF_NO_BULK_COMPUTATIONS
947     - usage examples are Experiments 8 and 9 in
948     verification/lab_sea/README
949     - verification/lab_sea default experiment now uses
950     pkg/gmredi, pkg/kpp, pkg/seaice, and pkg/exf
951    
952 cheisey 1.112 checkpoint47e_post
953     o created a tag prior to creating a branch
954    
955 mlosch 1.111 checkpoint47d_post
956     o fixed bug in the oceanic pressure coordinates code: vertical viscosity
957     at the bottom boundary had an erroneous half slip boundary condition
958     o added bottom drag and no slip boundary condition capabilities to
959     oceanic pressure coordinates code
960     o added new verification experiment global_ocean_pressure, this experiment is
961     also described in the tutorial section of the manual
962     checkpoint47d_pre
963 cheisey 1.110
964     checkpoint47c_post
965     o Added a verification experiment for a global cubed-sphere ocean run
966     - verification/global_ocean.cubed32x32x30
967     - uses pkg/therm_seaice and pkg/bulk_forcing
968 jmc 1.109
969     o allow to run AIM physics with SPEEDY input files (from Franco Molteni)
970     o allow a more accurate definition of Ro_Surf (selectFindRoSurf=1)
971     when using P-coordinate; only implemented for atmospheric config.
972     o OCEANICP & realFreshWater: include P-E direct effect on wVel ;
973     NOTES: requires option NONLIN_FRSURF to be "#define".
974     o update advect_xz/results/output.txt (left from checkpoint44g_post)
975 dimitri 1.108
976     checkpoint47b_post
977     Merging from release1_p9:
978     o pkg/seaice
979     - removed GOTO's and added taf directives
980     - double precision constants to reduce the g77 (Linux)
981     to F77 (SGI) differences reported in release1_p8
982     o tools/genmake
983     - added SGI options
984     o verification/testscript
985     - updated to that of checkpoint47a_post
986     o verification/global_ocean.90x40x15/input/eedata
987     - modified for SGI f77 compatibility
988     o verification/lab_sea
989     - added description of sea-ice model
990     - added missing matlab routines
991     - added test of thermodynamics parallelization
992 jmc 1.105
993 jmc 1.106 checkpoint47a_post
994 jmc 1.105 o new pkg: aim_v23
995     = F. Molteni atmos.physics (SPEEDY, ver23) adapted to MITgcm.
996     for now, keep the same surface forcing as before.
997     - Part-Cell implemented into AIM; check that Heat & Water are conserved
998     - aim.5l_cs: use new aim pkg (run 10yr & get better results than before)
999     - aim.5l_LatLon & aim.5l_Equatorial_Channel are still using old aim pkg
1000     o add diagnostic of surface correction term in monitor output
1001 jmc 1.106
1002     o bulk_force and therm_seaice
1003 cheisey 1.107 - Two packages: bulk_force (Bulk forcing)
1004     and therm_seaice (thermodynamic_seaice) - adopted from LANL CICE.v2.0.2
1005     - Earlier integration from Stephaine Dutkiewicz
1006     and Patrick Heimbach.
1007     - Two ifdef statements for compile time,
1008     ALLOW_THERM_SEAICE and ALLOW_BULK_FORCE
1009 heimbach 1.104
1010     checkpoint47
1011     differentiable version of checkpoint46n_post
1012     o bug fix in quasihydrostaticterms
1013     o * "clean" adjoint code (in terms of extensive recomputations)
1014     can now be obtained for all GMREDI options (i.e. for
1015     - GM_VISBECK_VARIABLE_K
1016     - GM_NON_UNITY_DIAGONAL
1017     - GM_EXTRA_DIAGONAL
1018     - GM_BOLUS_ADVEC )
1019     * However, wrong gradient check problem remains unsolved.
1020     * New CPP options have been introduced for different
1021     tapering schemes
1022     o external_fields_load now part of differentiation list
1023     o pressure needs multiple storing;
1024     would be nice to have store_pressure at beginning or
1025     end of forward_step, e.g. by having phiHyd global (5-dim.)
1026     (NB: pressure is needed for certain cases in find_rho,
1027     which is also invoked through convective_adjustment).
1028     o recomputations in find_rho for cases
1029     'JMD95'/'UNESCO' or 'MDJWF' are OK.
1030     o #define ATMOSPHERIC_LOADING should be differentiable
1031     o ini_forcing shifted to begining of initialise_varia
1032     o Incorporating QNVS line search routines into MITgcm
1033     (this is separate code, and therefore not under pkg)
1034     lsopt/, optim/
1035     o Updated verification/carbon/
1036     - #define GM_VISBECK_VARIABLE_K
1037     - GM_taper_scheme = 'ldd97'
1038 heimbach 1.103
1039     checkpoint46n_post
1040     Merging from release1_p8:
1041     o verification/natl_box:
1042     updating new external_fields_load routine
1043     o New package: pkg/seaice
1044     Sea ice model by D. Menemenlis (JPL) and Jinlun Zhang (Seattle).
1045     The sea-ice code is based on Hibler (1979-1980).
1046     Two sea-ice dynamic solvers, ADI and LSR, are included.
1047     In addition to computing prognostic sea-ice variables and diagnosing
1048     the forcing/external data fields that drive the ocean model,
1049     SEAICE_MODEL also sets theta to the freezing point under sea-ice.
1050     The implied surface heat flux is then stored in variable
1051     surfaceTendencyTice, which is needed by KPP package (kpp_calc.F and
1052     kpp_transport_t.F) to diagnose surface buoyancy fluxes and for the
1053     non-local transport term. Because this call precedes model
1054     thermodynamics, temperature under sea-ice may not be "exactly" at
1055     the freezing point by the time theta is dumped or time-averaged.
1056     N.B.: fairly large differences in accuracy occur across
1057     different platforms/compilers; comparison between
1058     g77 (Linux) and F77 (SGI Origin 2000/MIPSpro)
1059     generated output gives:
1060     T S U V
1061     C D M c m s m s m s m s
1062     n p a R g m m e . m m e . m m e . m m e .
1063     f n k u 2 i a a d i a a d i a a d i a a d
1064     g d e n d n x n . n x n . n x n . n x n .
1065    
1066     Y Y Y Y 5 5 7 7 7 8 10 9 6 6 6 6 7 5 7 5 7 FAIL lab_sea
1067     o GAD:
1068     - generated new common blocks to account for call of
1069     same gad routines with differing traceridentities
1070     (needed to modify tracerIdentity indices in GAD.h)
1071     - generated separate common blocks for case useCubedSphereExchange
1072     (Department of Futurology)
1073     - parameter lists to gmredi_?transport: added tracerIdentity
1074     - added new key indices to tamc.h
1075     o external_fields_load:
1076     - added this routine to TAF list
1077     - needed to make some common blocks global and additional storing
1078     along the same lines as exf package (checkpoint_lev?_directives.h)
1079     o exf:
1080     updated external forcing package
1081     - bug fixes carried over from ecco-branch
1082     (missing OBCS_OPTIONS.h in two routines)
1083     - enable easy to use "no forcing".
1084     - added exf I/O for atmospheric loading
1085     - added exf I/O for runoff data
1086     - transfered scaling between exf <-> MITgcm to exf namelist
1087     o Adding new verification experiment global_with_exf.
1088     This verification experiment is almost identical to the
1089     global_ocean.90x40x15 experiment, except that it uses
1090     the exf (and cal) package instead of the
1091     external_fields_load routine (cf README file).
1092 adcroft 1.94
1093 adcroft 1.102 checkpoint46m_post
1094 adcroft 1.101 o modified testscript to return -- when there are no lines of "%MON" output
1095 adcroft 1.100 o added new flag "quasiHydrostatic" for QH mode
1096     and new routine quasihydrostaticterms()
1097 adcroft 1.99 o added 2*Omega*Cos(phi)*W to u equations (non-hydrostatic Coriolis term)
1098     New routine: mom_u_coriolis_nh()
1099 adcroft 1.98 o fixed sign of non-hydrostatic metric terms in u and v equations.
1100     Depend on correct sign of gravitySign.
1101 adcroft 1.97 o added work.pc* to .cvsignore in aim directories using ifc
1102 adcroft 1.96 o introduced flag for controllin non-hydrostatic metric terms
1103 adcroft 1.95 o removed gravitySign from PARM04
1104 adcroft 1.94 o switched to g77/ifc from pgf77 in aim experiments
1105 mlosch 1.93
1106     checkpoint46l_post
1107     o made convective adjustment work with pressure coordinates:
1108     - changed the direction of k-loop in convective_adjustment.F for the
1109     case of pressure coordinates (OCEANICP,ATMOSPHERIC buoyancyRelation)
1110     - adjusted the reference pressure k-index in convective_adjustment.F
1111     - adjusted the convection condition in convect.F (in analogy to
1112     calc_ivdc.F)
1113     - convective_adjustment no longer computes anything on the halos
1114     - removed the warnings about negative salinity from find_rho.F and
1115     find_alpha.F; instead the new routine look_for_neg_salinity, called
1116     at the beginning of find_rho, find_alpha, and find_beta, does a
1117     check of the entire slice, if CPP-option
1118     CHECK_SALINITY_FOR_NEGATIVE_VALUES is defined
1119     checkpoint46l_pre
1120 mlosch 1.91
1121 mlosch 1.92 checkpoint46k_post
1122 mlosch 1.91 o fixed the verification/global_ocean.90x40x15 experiment:
1123     - new bathymetry (the world according to A., JMC, and M.)
1124     - new initial fields and forcing fields (*.bin files)
1125     - new POLY3.COEFFS (for the next release one should switch to a full
1126     equation of state: JMD95P or MDJWF)
1127     - fixed several errors and redundancies in the data file
1128     - experiment uses looped cells
1129     - added matlab directory with diagnostic scripts for plotting of output
1130 jmc 1.90
1131     o S/R aim_initialise.F replace S/R aim_init from file aim_do_inphys.F:
1132     - read AIM physics parameters from a file (data.aimphys)
1133     - set defaults values = F.Molteni paper (Clim.Dyn., 2002)
1134 jmc 1.89
1135     checkpoint46j_post
1136     o split calc_exact_eta in 2 S/R : integr_continuity & update_etaH
1137     o move wVel computation at the end of the time step, in S/R integr_continuity
1138     o create specific S/R to exchange T,S before DYNAMICS (for stagger time step)
1139     o update timeave pkg for wVel diagnostic.
1140     checkpoint46j_pre
1141 mlosch 1.87
1142 jmc 1.88 checkpoint46i_post
1143     o Clean up AIM package (and keep the results unchanged):
1144     include CPP_OPTION and use IMPLICT NONE in all routines ;
1145     declare all the variables _RL ; use _d 0 for all numerical constants.
1146     use ifdef ALLOW_AIM everywhere. And now AIM can be used with g77 !
1147 mlosch 1.87
1148     checkpoint46h_post
1149     o cleaned up the use of rhoNil and rhoConst.
1150     - rhoNil should only appear in the LINEAR equation of state, everywhere
1151     else rhoNil is replaced by rhoConst, e.g. find_rho computes rho-rhoConst
1152     and the dynamical equations are all divided by rhoConst
1153     o introduced new parameter rhoConstFresh, a reference density of fresh
1154     water, to remove the fresh water flux's dependence on rhoNil. The default
1155     value is 999.8 kg/m^3
1156     o cleanup up external_forcing.F and external_forcing_surf.F
1157     - can now be used by both OCEANIC and OCEANICP
1158     checkpoint46h_pre
1159    
1160     Added code to convert surface volume flux (fresh water) into
1161     a mass flux when using P coordinates in the ocean (OCEANICP).
1162     Note: It assumes you have set rho0=rhoConst=density of fresh water.
1163 mlosch 1.86
1164     checkpoint46g_post
1165     o Include a new diagnostic variable phiHydLow for the ocean model
1166     - in z-coordinates, it is the bottom pressure anomaly
1167     - in p-coordinates, it is the sea surface elevation
1168     - in both cases, these variable have global drift, reflecting the mass
1169     drift in z-coordinates and the volume drift in p-coordinates
1170     - included time averaging for phiHydLow, be aware of the drift!
1171     o depth-dependent computation of Bo_surf for pressure coordinates
1172     in the ocean (buoyancyRelation='OCEANICP')
1173     - requires a new routine (FIND_RHO_SCALAR) to compute density with only
1174     Theta, Salinity, and Pressure in the parameter list. This routine is
1175     presently contained in find_rho.F. This routine does not give the
1176     correct density for 'POLY3', which would be a z-dependent reference
1177     density.
1178     o cleaned up find_rho
1179     - removed obsolete 'eqn' from the parameter list.
1180     o added two new verification experiments: gop and goz
1181     (4x4 degree global ocean, 15 layers in pressure and height coordinates)
1182     checkpoint46g_pre
1183 heimbach 1.85
1184     checkpoint46f_post
1185     o Enable tangent linear (forward mode) gradient checks:
1186     - extended active file handling to g_... files
1187     - added TANGENT_SIMULATION to theSimulationMode
1188     - extended grdchk package accordingly
1189     o added tangent linear setup in verification/carbon/code_ftl
1190     o added adjoint setup in verification/front_relax/code_ad
1191 mlosch 1.82
1192 cnh 1.84 checkpoint46e_post
1193 mlosch 1.83 o Added new equation of state -> MDJWF
1194     - EOS of McDougall et al., 2002, JAOT, submitted
1195     - caveat: the equation of state is only valid for a smaller (more
1196     realistic?) range of values than JMD95P/Z and UNESCO
1197     - added masks to the calculation of pressure in store_pressure
1198     - added more check values for density in check_eos (ini_eos.F), some of
1199     the old check values are out of the range of the MDJWF-eos, so don't
1200     expect perfect matches for those
1201 cnh 1.84 checkpoint46e_pre
1202 mlosch 1.83
1203 mlosch 1.82 checkpoint46d_post
1204     o fixed store_pressure to work with both buoyancy relation = 'OCEANIC' and
1205     'OCEANICP', also initialised field pressure correctly in ini_eos in the
1206     case of pressure coordinates. eosType='JMD95Z' in
1207     combination with buoyancyRelation='OCEANICP' now causes an error.
1208     o Changed p = pressure(i,j,k,bi,bj) to p = pressure(i,j,kRef,bi,bj)
1209     in find_alpha/beta.
1210     checkpoint46d_pre
1211    
1212     o Changed p = pressure(i,j,k,bi,bj) to p = pressure(i,j,kRef,bi,bj)
1213     so that JMD95Z and JMD95P give approptiate static stability in find_rho.
1214 adcroft 1.81
1215     checkpoint46c_post
1216     o Changes necessary for ocean in p-coordinates
1217     - Added new buoyancy relation = 'OCEANICP'
1218     - Added new parameters = gravitySign (this used to be contained inside
1219     the factor dRdZ which I added when we first switched to R coordinates).
1220     X GM/Redi is not compatible (yet)
1221     X bottom drag and no-slip need to be debugged.
1222     checkpoint46c_pre
1223 mlosch 1.80
1224     checkpoint46b_post
1225     o Added new equation of state -> JMD95Z and JMD95P
1226 mlosch 1.83 - EOS of Jackett and McDougall, 1995, JAOT
1227 mlosch 1.80 - moved all EOS parameters into EOS.h
1228     - new routines ini_eos.F, store_pressure.F
1229     o Added UNESCO EOS, but not recommended because it requires
1230     in-situ temperature (see JMD95)
1231     o Modified formatting for knudsen2.f in utils/knudsen2 and added
1232     unesco.f to be used with POLY3
1233     checkpoint46b_pre
1234 mlosch 1.79
1235     checkpoint46a_post
1236     o Added (atmospheric) pressure loading
1237     - new field in FFIELDS.h, etc...
1238     - new cpp flag ATMOSPHERIC_LOADING
1239     o Changed hFacC to _hFacC in calc_phi_hyd.F
1240     o Added SHORTWAVE_HEATING to some files for consistency
1241     checkpoint46a_pre
1242 heimbach 1.78
1243     checkpoint46
1244     further merges from release1_p5
1245     o new ctrl package
1246     - adopted from ECCO environment to enable optimization
1247     - added Eliassen Palm fluxes to controls
1248     o added Eliassen Palm flux controls to gradient check package
1249     o cost package
1250     - Compatible with new ctrl package
1251     - added Eliassen Palm cost hooks
1252     - modif's of existing cost functions
1253     o Adjoint-related bug fixes in kpp:
1254     - kpp_calc: sore of kpphbl avoids recomputation/call to S/R kppmix
1255     - kpp_routines: store of Rib avoids partial recomputation bug of TAF.
1256     o autodiff package
1257     - flow directives:
1258     + new for S/R do_the_model_io
1259     + enhanced for S/R checkpoint
1260     + new gmredi.flow
1261     - Introduced CPP option ALLOW_AUTODIFF_MONITOR to
1262     disable adcommon.h/g_common.h by default.
1263     - fixed problem for adjoint of global_max
1264     o modified verification/carbon/
1265     o New setup for adjoint of global_ocean
1266     o added hooks for Eliassen Palm fluxes (dynamics.F, ini_fields.F)
1267     o cleaned TAF keys iikey, idkey (dynamics.F, thermodynamics.F)
1268     o incorporated hooks for sponge layer code (external_forcing.F)
1269    
1270 jmc 1.77 checkpoint45d_post
1271     o import 2 fixes from release1_p5 (CG2D.h & packages_readparms.F)
1272 jmc 1.76 o use recip_dx*,recip_dy* instead of /dx*,/dy* in orlanski_E,W,N,S
1273     (affects plume_on_slope "cg2d" output)
1274 jmc 1.77 o add new parameter deltaTfreesurf for free-surface time stepping
1275     o exchange gT,gS when using staggerTimeStep & GM & Oly<4
1276 jmc 1.75 o NONLIN_FRSURF: rescale gNm1 to get a better conservation with A-B
1277 jmc 1.74 o change phiMin in exp1 (to agree with documentation)
1278     o add new flags:
1279     - T,S forcing inside/outside Adams-Bashforth
1280     - turn off temp,salt advection and/or forcing
1281     - for each tracer, define internal flag for multiDimAdvection & A-B
1282     o monitor: change definition of KE to check conservation of Energy
1283 heimbach 1.73
1284     checkpoint45c_post
1285     o Removed f90 comments ("!")
1286     o Modified initialisations to enable exf package for MITgcm
1287     (without invoking ECCO_PACKAGE).
1288     o modifications to gradient check package (Martin Losch)
1289     - enable centered differences
1290     - modified format of standard output
1291 heimbach 1.72
1292     checkpoint45b_post
1293     o cleaned exchange calls in cg2d
1294     o Included CPP option ALLOW_AUTODIFF_MONITOR in forward_step
1295     o included CPP option SINGLE_LAYER_MODE in thermodynamics
1296     to configure barotropic setup (Martin Losch)
1297     o moved some initialisations within bi,bj loop in dynamics
1298     (TAF flow dependency)
1299     o in initialise_varia, moved call packages_init_variables
1300     before convective_adjustment_init
1301     (corresponding adjustment of TAF tape initialisation).
1302     o in calc_diffusivity/calc_viscosity extended domain to full overlap.
1303 jmc 1.70
1304 jmc 1.71 checkpoint45a_post
1305     o compute Rho over the whole domain (extend iMin,jMin indices)
1306     o specific exchange for X-slice domain (case Ny=1)
1307 jmc 1.70 o argument futureIter of S/R obcs_calc missing in exp4 & internal_wave /code
1308     o solve_for_pressure : set cg2d_x to zero where OBCS are applied
1309 jmc 1.67
1310 heimbach 1.69 checkpoint44h_post = checkpoint45
1311     o Fix to restore differentiability:
1312     place at which packages_init_variables is called in
1313     initialise_varia is crucial for reverse control flow.
1314     o modifications in GMRedi to enable stable adjoint
1315     (corresponding modif's in thermodynamics, dynamics)
1316     o added missing hook for sponge layer code in external_forcing
1317     o modified test cost functions
1318     o storing in gad_advection (plus removal of write(0,*)!
1319     o missing headers TR1.h added in convective_adjustment routines
1320     o errorMessageUnit set non-equal zero in eeboot
1321     (conflict on some platforms, e.g. IBM SP3)
1322     o modified carbon verif.
1323    
1324     checkpoint44h_pre
1325 jmc 1.68 o vertical grid option: allow to put the Interface at the middle between
1326     2 cell-centers ; replace delZ in pkg/kpp by drF.
1327 jmc 1.67 o GM Advective form: Tracers are advected using the residual transport (=
1328     Euler+GM-bolus); set param GM_AdvSeparate=T to return to previous form.
1329 jmc 1.66
1330     checkpoint44g_post
1331     o fix surface correction term in multiDimAdvection (affects plume_on_slope
1332     results) ; ifdef missing in thermodynamics.F
1333 adcroft 1.65
1334     checkpoint44f_pre,checkpoint44f_post
1335     o added PTRACERS package
1336     This allows an arbitrary number of passive tracers to be integrated
1337     forward simultaneously with the dynamicaly model.
1338     + Implemented so far:
1339     - basic forward algorithm (time-stepping, advection, diffusion, convection)
1340     - I/O and checkpointing
1341     - GM/Redi *but* using the GM/Redi coefficient of Salt
1342     + Not implemented so far:
1343     - KPP
1344     - OBCS
1345     + No specific example supplied (yet) but global_ocean.90x40x15 has the
1346     necessary data.ptracer file. Simply use -enable=ptracers and uncomment
1347     line in data.pkg.
1348     + This package is disabled by default since it increases storage.
1349    
1350 jmc 1.60
1351 adcroft 1.64 o testscript: added -cleanup option
1352 jmc 1.63 o Shap_filt: a) new shap_filt S/R to use no-slip BC with S2 filter
1353     b) enable to filter 2D fields.
1354 adcroft 1.62
1355     checkpoint44e_pre,post
1356     o re-wrote convective adjustment to use pre-calculated weights
1357     Affects: model/src/convective_adjustment.F, convective_adjustment_ini.F
1358     Adds: model/src/convective_weights.F, convectively_mixtracer.F
1359     Original calls to convect() still in place.
1360 heimbach 1.61
1361     chkpt44d_pre,post
1362     o added missing EXCLUDE_MONITOR flags
1363     o changed "e" to "_d" in gmredi_slope_limit, gmredi_slope_psi
1364     (incompatible typ in MIN/MAX expressions caused problems
1365     on IBM SP3)
1366     o in genmake added variable MAKEDEPEND
1367     plus resetting for case SunOS
1368     o added timer_stats.c routine for IBM SP3
1369     o removed variables in dynamics
1370     !!! I forgot to create tag chkpt44d_pre !!!
1371     !!! But chkpt44d_pre = chkpt44c_post !!!
1372 jmc 1.63
1373     o real fresh water flux implemented with non-linear free-surface.
1374 heimbach 1.58
1375 jmc 1.59 chkpt44c_pre,post
1376     o few fix (mask in shap_s2, EmPmR in external_field_load,
1377     USE_NATURAL_BCS in solve_for_P);
1378     o add arguments myIter & myTime to S/R obcs_calc & solve_for_P
1379    
1380 heimbach 1.58 checkpoint44b_pre/_post
1381     o merge of relevant stuff from the ecco-branch:
1382     - genmake: removed $S64 overwrite for case SunOS
1383     - pkg/exf: update and corrections for field swapping and obcs
1384     - pkg/ecco: parameter lists for the_model_main, the_main_loop
1385     harmonized between ECCO and MITgcm
1386     - pkg/autodiff: added flow directives for obcs, mdsio_gl_slice
1387     updated checkpointing_lev... lists for obcs
1388     - model/src: minor changes in forward_step, plot_field
1389     added directive for divided adjoint in the_main_loop
1390     - pkg/mdsio: added mdsio_gl_slice
1391 jmc 1.57
1392     o check parameters & config (chkpt44a_pre,post)
1393 jmc 1.56 o OBC and NonLin_FrSurf.
1394    
1395 heimbach 1.55 checkpoint44
1396 jmc 1.54 o fix bug in mom_vi_del2uv
1397 jmc 1.56 o select when filters are applied ; add options to zonal_filter (data.zonfilt)
1398     o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
1399     o update AIM experiments (NCEP input files)
1400     o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
1401 heimbach 1.55 o added some stuff for AD
1402 adcroft 1.53
1403     checkpoint43
1404     o added two new advection tests
1405     o added global 4x4 degree ocean test
1406     o added test of H&S94 with free surface on cube
1407     o some final mods for gradient check, adjoint,...
1408 heimbach 1.52
1409     checkpoint42
1410     Fixed AD-related problems:
1411     o Store directives up-to-date with re-arranged Adams-Bashforth
1412     (mainly thermodynamics.F)
1413     o New store directives for multi-dim. advection schemes
1414     * new CPP flag ALLOW_MULTI_DIM_ADVECTION
1415     * new common block and key passkey
1416     (mainly gad_advection.F)
1417     o Modified store directives for split of dynamics/thermodynamics
1418     for the case ALLOW_KPP
1419     o Cleaned argument list for timestep_tracer.F
1420 adcroft 1.51
1421     checkpoint41
1422     o re-formatted/added comments in prologues of key subroutines
1423     to work with protex
1424 heimbach 1.47
1425 adcroft 1.50 checkpoint40
1426     o moved calc_gs, calc_gt and calc_tr1 back to model/src
1427     o added FLT (floats) package from Arne along with demo. experiment
1428     o re-arranged Adams-Bashforth scheme for tracers to allow easier
1429     implementation of forward-in-time forcing terms
1430     o more mods for non-linear free-surface including new variable
1431     o modified multi-dim method to work on cube
1432     o bug fix in KPP (from DM)
1433    
1434 adcroft 1.49 checkpoint40pre9
1435     o added DST advection schemes
1436     o fix MPI bug on SGI's
1437     o modifications for non-linear free-surface
1438     o fixed conditionals for fixed flow/passive tracer only mode
1439     o added tension/strain form of stress tensor
1440     o changes to commenting of arguments for TAF/TAMC
1441     o added/updated many matlab scripts
1442 adcroft 1.50 o added multi-dimensional advection method for tracers
1443 adcroft 1.49
1444 adcroft 1.48 checkpoint40pre8
1445 heimbach 1.47 o new package rw/
1446     Added method for dumping intermediate local arrays:
1447     mdsio_writetile - same as mdsio_writefield except works from inside
1448     bi,bj loop
1449     mdsio_writelocal - same as mdsio_writetile except works for local
1450     arrays
1451     write_local_r? - higher-level wrapper for mdsio_writelocal
1452     Controlled by diagFreq. Defaults to zero (ie. no dumps)
1453     Example given at end of mom_vecinv.F that dumps some local arrays.
1454     o replaced calc_mom_rhs.F by mom_fluxform.F/mom_vecinc.F to
1455     control flux-form versus vector invariant code.
1456     Switch is runtime flag vectorInvariantMomentum (defaults to false)
1457     or genmake -DISABLE ...
1458     o TAMC-related update to cope with mom_fluxform.F/mom_vecinc.F
1459     (additional storing is now needed for case vecinv;
1460     currently nothing implemented to switch this storing off
1461     in case fluxform is used since no CPP flag available).
1462 heimbach 1.46
1463     checkpoint40pre7
1464     o bug fix in dynamics.F
1465     calc_viscosity called before k=1,Nr loop.
1466     o added some #ifdef's ALLOW_PASSIVE_TRACER
1467     o cleaned initialisations in ctrl_map_ini
1468     related to TAF
1469 heimbach 1.45
1470     checkpoint40pre6
1471     o split dynamics into thermodynamics & dynamics
1472     o corresponding split of calc_diffusivity into
1473     calc_diffusivity, calc_viscosity
1474     (kpp_calc_diff, kpp_calc_visc).
1475     o Added diffkr, kapgm to control variables
1476     o bug fix in gmredi_slope_limit for ldd97
1477 adcroft 1.44
1478     checkpoint40pre5
1479     o proper initialization of Adams-Bashforth time stepping
1480     + uses forward step for very first step of model (iter=0)
1481     o re-generated *all* output since almost all output is modified by this
1482     change (sorry but we've been putting this one off for about 2 years)
1483     + natl_box, aim.5l_Equatorial_Channel and aim.5l_zon-ave were
1484     *not* regenerated since they are already out of date and I don't
1485     want to create the impression that they are suddenly working.
1486     o removed KAP stuff for DEC's
1487     o modified/added many .cvsignore files in */code and */input
1488     o added new expt "solid-body.cs-32x32x1"
1489     + this uses an alternative form of ini_curvilinear_grid.F which
1490     is not necessarily any better than the current one...
1491 heimbach 1.43
1492     checkpoint40pre4
1493     o added re-initialisations of utrans,vtrans,rtrans in
1494     calc_common_factors which are crucial for TAF.
1495     o extended iMin,jMin range for calc_common_factors,
1496     calc_diffusivity
1497     o added option ALLOW_PASSIVE_TRACER
1498     o a few minor updates and fixes
1499    
1500 heimbach 1.42 checkpoint40pre3
1501     o created calc_gtr1.F for gad package
1502     o split the_main_loop and re-introduced forward_step
1503     o some recomputations of nIter0 for TAMC
1504    
1505 heimbach 1.41 checkpoint40pre2
1506     o Updated to latest branch of AJA, JMC
1507     o Added gradient check package
1508     o Added routines for passive tracer handling
1509     o Added carbon sequestration sensitivity experiment
1510    
1511 heimbach 1.39 checkpoint39
1512     o Modifications and fixes to support TAMC
1513     (mainly missing or wrong directives)
1514     o Corrected common blocks when fooling TAMC to produce adjoint I/O
1515     in addummy_in_stepping
1516     o Updated verification/vero/ (bug fixes in code/, correct pickups in input/)
1517     o Enabled "sliced" (xz-,yz-) exchanges, needed for obcs.
1518     o Included following packages:
1519     cal: calendar
1520     exf: external forcing
1521     ecco: essential routines to control use of cal, exf
1522     (NB: this is not the full ECCO environment)
1523 heimbach 1.40 o disabled some packages by default in genmake
1524 heimbach 1.39
1525 heimbach 1.38 checkpoint38
1526     o see notes_c37_adj.txt
1527     o corrected wrong layer index in external_forcing_t
1528     o replaced the_main_loop/forward_step by the_main_loop
1529     o removed forceoutput from write_state
1530     (replaced criteria for initial/final state)
1531     o added runtime flag for pre-C35 pickups: usePickupBeforeC35
1532 jmc 1.36
1533 jmc 1.37 checkpoint37
1534     o mdsio.F routine split and packaged in pkg/mdsio
1535     (mdsio.F and mdsio_gl.F still exist in eesupp/src but are not
1536     used unless genmake -disable=mdsio)
1537     o allow a more precise surface-geopotential gradient for the atmosphere
1538     taking into account the change in space of Alpha (=1/rho) at the surface.
1539     o variable "etaN" (replace cg2d_x) is the surface R-anomaly [r unit]
1540     (ocean: sea surface height [m] / atmos: surface pressure anomaly [Pa])
1541     o Change units: Phi_Hydrostatic (=phiHyd), Phi_Surface(=cg2d_x) and
1542     Phi_NonHydrostatic (=cg3d_x), all have now the dimension of a potential
1543     [m2/s2] (pressure/rhoConst in the ocean ; Geo-Potential in the atmosphere).
1544     o Time-Average diagnostics defined as a pseudo package "timeave".
1545     o pickup files : old pickup (before c35) did not work with new code (c35
1546     and after) unless activating 2 commented lines in initialise-varia.
1547     o Non-Hydrostatic pickup file Pb fixed.
1548     o bug with Rigid-lid version (since c35) fixed.
1549    
1550 jmc 1.36 checkpoint36
1551 jmc 1.37 o implement Crank-Nickelson barotropic time-stepping
1552 jmc 1.36 o recover Time-Average diagnostics
1553     o fix Pb in checkpoint (PR#19)
1554     o AIM become a standard package ; clean unused CPP_kees
1555 jmc 1.35
1556     checkpoint35
1557     o subtantial rewrite of dynamics.f
1558     o allows staggered time-stepping
1559     o packaged obcs, aim (Atmospheric Physics), zonal_filt, shap_filt
1560     o added bottom drag (linear + quadratic)
1561 heimbach 1.33
1562     checkpoint34
1563     o Modified exchange routines for correct reverse simulation.
1564     o Added verification output to comply with bug fix in impldiff.F
1565     as of c33 (exp2, natl_box).
1566     o Corrected store directives in dynamics.F
1567     o Corrected array boundaries in impldiff.F
1568     o Corrected array dimensions in gmredi.
1569     Added temporary scalars to avoid storage by TAMC (gmredi, kpp).
1570 heimbach 1.34 o Added routine GLOBAL_SUM_INT to global_sum.F
1571 heimbach 1.33 o Added mdsio_gl.F for ECCO purposes.
1572 adcroft 1.32
1573     checkpoint33
1574     o Fixed bug in lower BC in impldiff.F
1575     o Fixed confusion about units of forcing arrays in FFIELDS.h
1576     namely Fu,Fv,Qnet,Qsw,EmPmR:
1577     - Removed verification/natl_box/code/external_fields_scale.F
1578     (did not differ from that in model/src)
1579     - Changed units of fu,fv,Qnet,Qsw,EmPmR back to proper units
1580     (see FFIELDS.h for description)
1581     - Scale fu,fv,Qnet,Qsw,EmPmR when used in external_forcing_surf.F,
1582     kpp_calc.F and kpp_transport_t.F
1583     - Removed model/src/external_fields_scale.F and calls to it
1584     - verification/natl_box uses flux data with "atmospheric" sign so
1585     a special version of external_fields_load.F is used to
1586     change the data as it's read in. This way, the arrays
1587     have the right units and signs at all times tha a user could
1588     possibly use them.
1589     o Corrected genmake to delete a temporary file during configuration
1590 heimbach 1.31
1591     checkpoint32
1592     o Scaling of forcing fields moved from external_forcing.F to
1593     external_fields_scale.F, called directly after loading fields.
1594     o Surface relaxation terms added to surface tendency fields in
1595     extra subroutine.
1596     o impldiff.F changed to avoid storing by TAMC of huge intermediate
1597     fields.
1598     o Changes in GMRedi to comply with packaging structure.
1599     o Modifications and bug fixes in KPP package.
1600     o Verification experiment for KPP added (verification/nat_box/)
1601 heimbach 1.30
1602     checkpoint31
1603     o Packages interface brought in line with defined standard
1604     -> new routines packages_...F
1605     -> changes in initialise_fixed.F, initialise_varia.F
1606     -> enables initialisation interface for ECCO package
1607     o Rescaling of external forcing fields immediately after read
1608     (removed from external_forcing.F)
1609     -> new: surface_fields_scale.F
1610     -> affects ini_foorcing.F, external_fields_load.F
1611     o Computation of surface tendencies before tendency updates.
1612     -> new: external_forcing_surf.F
1613     o Change of variable names useGMRedi, useKPP, useECCO
1614     o Further changes in dynamics.F, impldiff.F for TAMC
1615     o Tested for experiments 0, 2, 4.
1616     - not yet tested for GMRedi.
1617     - not yet tested for KPP.
1618 adcroft 1.29
1619     checkpoint30
1620     o Updates for OBCs
1621     o New experiment for test OBCs (internal_wave)
1622     o New output.txt in verification/exp4/results/
1623     o Updates for KPP: calculation of viscosity corrected, new variables
1624     kpp_dumpFreq and kpp_taveFreq
1625     o CPP'd calls to system routines for TARGET_CRAY_VECTOR (P.H.)
1626     and entry for T90 in genmake
1627 adcroft 1.28
1628     checkpoint29
1629     o packaged KPP and GM/Redi
1630 heimbach 1.27
1631     checkpoint28
1632     o Corrected initialization of hFacMin for difference vertical coordinates
1633     o Modified calculation of partial cell thickness to more robust algorithm
1634     o config_summary.F: replaced write_1D_... by write_0D_...
1635     read_write.F: added subroutines write_0D_...
1636     o routines calc_common_factors, calc_gs, calc_gt, calc_phi_hyd, find_rho:
1637     included some initialisations required for TAMC.
1638     o routine calc_isoslopes: modified sqrt computation to make it
1639     differentiable for zero argument.
1640     o routines dynamics, impldiff:
1641     included store directives and tape key computations required for TAMC.
1642     o ALL TAMC related changes are between ifdef ALLOW_AUTODIFF_TAMC
1643 adcroft 1.26
1644     checkpoint27
1645     o fixed calc_isoslopes() to so that cancellation of terms in tensor
1646     formulation works properly with variable resolution.
1647     o restructured the calling tree between the_model_main() and dynamics()
1648     o split initialise() into initialise_fixed() and initialise_varia()
1649     o introduced initialization file pSurfInitFile for free surface (cg2d_x)
1650     in new routine ini_psurf()
1651 adcroft 1.25
1652     checkpoint26
1653     o moved some #ifdef in optional routines to encompass everything
1654     except the argument declarations. This was using up some memory.
1655     o fixed macros like _ADT to work with both versions of Linux cpp
1656     o cleaned up some unused and uninitialized variables
1657     (helps when debugging with strict compile options)
1658     o split up CPP_EEOPTIONS.h into options and macros
1659     (macros are now in eesupp/inc/CPP_EEMACROS.h)
1660     o patch for 2 processor JAM mode
1661 adcroft 1.24
1662     checkpoint25
1663     o updates for OBCs and NH
1664     o dramatically reduced memory usage
1665     o added "JAM" routines for use on Artic network
1666     o parameterization of convection by implicit vertical diffusion
1667     o added a diagnostic of convective index
1668     o moved call to calc_divg_hat() from dynamics() to solve_for_pressure()
1669     (this is was partly for OBCs and NH but also in anticipation of
1670     an explicit free-surface option)
1671     o initial state input files for U and V
1672 adcroft 1.23
1673     checkpoint24
1674     o Removed some spurious "REAL"s
1675     o Updated KPP to latest version from JPL
1676     o Added a COS(latitude) in horizontal viscosity
1677 adcroft 1.22
1678     checkpoint23
1679     o Added del^4 diffusion for salt and temperature
1680     o Multiple minor fixes (implicit none's, arguments to global_sum, etc.)
1681 adcroft 1.21
1682     checkpoint22
1683     o Made many small changes: implicit none, format(i5), etc...
1684     o Introduced KPP mixing scheme (compiles and runs but *not* tested)
1685 adcroft 1.20
1686     checkpoint21
1687     o Introduced new I/O package that supports direct-access records (mdsio.F)
1688     o Split-up mid-level I/O routines
1689     o Updated input data for experiments 0,1,2,4 and 5
1690     o Finally removed the genmake.* scripts (everyone seems happy with genmake)
1691 adcroft 1.18
1692 adcroft 1.19 checkpoint20
1693     o Tidied up open-boundaries some more
1694     o Added non-hydrostatic code
1695     o Fixed some input data
1696     o Modified MPI start-up to work in "coupled" context.
1697    
1698 adcroft 1.18 checkpoint19
1699     o Tidied up directory structure for verification experiments.
1700     o Added new code for open boundaries.
1701     o Corrected advective terms near boundaries.
1702     o Added CPP flag for "old UV" geometry and corrected spherical geometry.
1703     o Implemented free-slip/no-slip BCs and del^4 dissipation.
1704 adcroft 1.19 o Split default parameters out of ini_parms.F into set_defaults.F.
1705 cnh 1.17
1706     checkpoint18
1707     o Further changes for optional code generation with
1708     CPP - ugh!
1709 cnh 1.16
1710     checkpoint17
1711     o Beginning to incorporating modularity
1712     for supporting atmos. and ocean configs.
1713     o Small changes for TAMC complinace
1714     o New ultra simple test case. Barotropic box
1715     configuration "exp0".
1716 cnh 1.15
1717     checkpoint16
1718     o Minor changes to exchange routines to support
1719     accumulation in reverse mode. Adjoint of an
1720     assignment is an addition.
1721     o Changes to support compilation by TAMC (LR(1)
1722     syntax) and by g77 under Linux ( 72 character
1723     limit ).
1724 cnh 1.14
1725     checkpoint15
1726     Rewrote exchange routines to allow
1727     o General tile <-> tile connectivity.
1728     o TAMC reverse mode flag ( is this really needed? )
1729     o Variable width overlap and exchange region widths.
1730     o Hooks for sharing data via DMA, Arctic, Memory Channel,
1731     shmput/shmget, VIA, SYSV shmem and every other cool
1732     communication method.
1733 cnh 1.13
1734     checkpoint14
1735     Consistent isomorphism chages made. These allow dynamical core
1736     to support both pressure and meters as a vertical coordinate.
1737 cnh 1.12
1738     checkpoint13
1739     Release which corrects global_max problem and a couple
1740     of KGM time-averaging diagnostic errors. Also contains
1741     a double-gyre experiment setup as well as the baseline
1742     4 degree global template. The double gyre template is
1743     organised to allow it to be applied automatically to
1744     the baseline configuration.
1745 adcroft 1.11
1746     branch-point-rdot
1747     A few tidy-ups have been made bt the real point of this
1748     check-point (excuse the pun) is to allow a branch to be
1749     made for the purposes of adding the rDot alterations.
1750     I don't want to commit the rDot to the main-trunk until
1751     we've actually tested it...
1752 cnh 1.10
1753     checkpoint12
1754     Tidy up and added generic genmake script (formerly
1755     configure script).
1756     Released to testers.
1757 adcroft 1.9
1758     checkpoint11
1759     Re-arranged initialise() and introduced ini_vertical_grid()
1760     and ini_masks_etc().
1761 adcroft 1.8
1762     checkpoint10
1763     Introduced the configure script.
1764     Separated out the diags package.
1765     Added template for writing time-averages of tile/intermediate quantities.
1766     Updated SIZE.h in exp2 and made the data big-endian.
1767 adcroft 1.7
1768     checkpoint9
1769     MPI fix. Filename changes (meta/data). salbin*y stuff.
1770     General tidy-up.
1771     SST.bin SSS.bin added to verification/exp2
1772 adcroft 1.6
1773     checkpoint8
1774     Inludes time-dependant forcing and time-averaging.
1775     Works at 4x4 and 2.8125x2.8125 global
1776    
1777     checkpoint7-4degree-ref
1778     Branch from checkpoint7. Released for application to
1779     global modeling and general modeling - process studies, regional
1780     model etc..
1781     Configured for verification/exp2 - 4 degree global, two process.
1782 cnh 1.5
1783     checkpoint7
1784     Created by cnh
1785     Simple 4 degree global simulation
1786     configuration.
1787     Includes climatological wind,
1788     hydrography, bathymetry etc
1789     Does not include Heat Flux and E-P
1790 cnh 1.4
1791     checkpoint6
1792     Created by cnh
1793     merged checkpoint5 with CD and
1794     spherical polar code.
1795     Still some problems with GM Redi
1796     abd full topography.
1797 cnh 1.3
1798     checkpoint5
1799     Created by AJA
1800     contains updates to GM Redi
1801     and reordered timestepping loop
1802     for Implicit Diffusion.
1803 cnh 1.2
1804     checkpoint4
1805     Created by cnh
1806     Contains memory saving macros ( _rdxc etc..) for when
1807     grid variations are limited.
1808     Contains polynomial coeffs for EOS and knudsen program
1809     for generation.
1810    
1811 cnh 1.1 checkpoint3
1812     Created by cnh
1813     Added extra flags for runtime options
1814     Added this file
1815     Added implicit free-surface
1816     Added pre-conditioner
1817     Put compare01 into repository ( compare01/... )
1818     Put data and eedata into repository ( verification/exp1 )
1819    
1820     checkpoint2
1821     Created by AJA
1822     Added GM/Redi
1823    
1824     checkpoint1
1825     Created by AJA
1826     Restructured kloop in dynamics.F
1827     Added non-linear EOS
1828    
1829 cnh 1.2 baseline
1830     Original checked in code
1831 cnh 1.1

  ViewVC Help
Powered by ViewVC 1.1.22