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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.204

  ViewVC Help
Powered by ViewVC 1.1.22