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

Diff of /MITgcm/doc/tag-index

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

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

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.242

  ViewVC Help
Powered by ViewVC 1.1.22