/[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.410 - (hide annotations) (download)
Fri Dec 10 20:17:38 2004 UTC (19 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57a_post
Changes since 1.409: +6 -1 lines
close bracket

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

  ViewVC Help
Powered by ViewVC 1.1.22