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

Contents of /MITgcm/doc/tag-index

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


Revision 1.1696 - (show annotations) (download)
Fri Jul 27 18:29:17 2012 UTC (11 years, 10 months ago) by heimbach
Branch: MAIN
Changes since 1.1695: +7 -1 lines
Update

1 $Header: /u/gcmpack/MITgcm/doc/tag-index,v 1.1695 2012/07/24 22:28:02 jmc Exp $
2 $Name: $
3
4 Notes on tags used in MITgcmUV
5 ==============================
6
7 o pkg/ctrl:
8 enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of
9 generic control variables via
10 #define ALLOW_GENARR2D_CONTROL and/or #define ALLOW_GENARR3D_CONTROL
11 Only required customization should be S/R ctrl_map_ini_genarr.F
12 (routine in repository contains example)
13 o pkg/exf:
14 - fix and refine checking of surface-relaxation setting when using EXF
15 o verification (adjoint exp):
16 - reduce length of simulation by half for experiment global_ocean.cs32x15
17 (std, seaice & seaice_dynmix) and exp tutorial_dic_adjoffline; update output.
18 o pkg/mom_common (mom_u/v_bottomdrag), pkg/shelfice (shelfice_u/v_drag)
19 - replace if statements KE.ne.0 with KE.gt.0 to avoid sqrt of negative numbers
20 of KE that can occur with aggressive optimization
21 + put quadratic bottom drag calculation in separated loops (only done if
22 using bottomDragQuadratic)
23 o model/src: CG2D_NSA
24 - clean-up: stop if cg2dNormaliseRHS=T and AUTODIFF
25 and replace GLOBAL_SUM calls with GLOBAL_SUM_TILE.
26 - in test-exp that uses CG2D_NSA (bottom_ctrl & tutorial_tracer_adjsens),
27 change cg2d residual target to be expressed in Wunits (=> do not normalise
28 RHS ; this fix global_max Pb with TAF); update output.
29 o verification/tutorial_tracer_adjsens:
30 improve parameter consistency (and get rid of warnings):
31 - use deltaTFreeSurf=deltaTtracer (better with NonLin FreeSurf);
32 - switch Temp Adv Scheme from 81 to 80 (no limiter since theta < 0 is physical)
33 - use staggerTimeStep (for stability) in som81; use default rotation period.
34 o pkg/exch2:
35 - with empty facet: fix compact-format (W2_mapIO=1) definition (was previously
36 reset to 0 = 1 long line in X)
37 o pkg/mdsio:
38 - fix reading of dimensions from meta file for large-size domain
39 o model/src:
40 - fix saltIsActiveTr setting for IdealGas eosType (eosType is 6 character long);
41 - to refine CS-grid check, add logical flag "hasWetCSCorners": true if using
42 Cubed-Sphere Exch with CS-corners inside the domain;
43 make new S/R INI_GLOBAL_DOMAIN from code in ini_linear_phisurf.F to calculate
44 globalArea and to set hasWetCSCorners.
45 - add warning if usingCurvilinearGrid and momAdvection in flux-form (missing
46 metric terms); stop if hasWetCSCorners=T and momAdvection in flux-form.
47 - re-activate the stop if useCDscheme and hasWetCSCorners=T (previously if
48 useCDscheme and useCubedSphereExchange).
49 o pkg/seaice/seaice_growth.F :
50 - compute the SEAICE_DISABLE_HEATCONSFIX term accordingly
51 for the (.NOT.useRealFreshWaterFlux).OR.(nonlinFreeSurf.EQ.0)
52 when the previous code was not correct.
53 - in all cases diagnoze the boundary condition mismatch to SIaaflux
54 - in the case of useRealFreshWaterFlux.AND.(nonlinFreeSurf.GT.0) add
55 that term to QNET (essentially to set the melt/freeze water to 0degC).
56 when SEAICEheatConsFix is true, so that the ocean+ice budget heat is closed.
57 o verification/global_ocean.cs32x15/input.seaice :
58 - add SEAICEheatConsFix in data.seaice, ensuring closed ocean+ice heat budget.
59 - add diagnostics (commented out) for budget test using my matlab codes (gcmfaces).
60 - update results (output.seaice.txt) accordingly.
61 o verification/lab_sea/input/data.seaice :
62 - remove SEAICEheatConsFix, which is now be tested
63 in global_ocean.cs32x15. The presently coded fix
64 is only consistent with real fresh water + nlfs.
65 - update results (output.txt) accordingly.
66 o pkg/salt_plume: added diagnotic for salt tendency (oceSPtnd).
67 o AD_CONFIG.h file:
68 - in genmake2: remove "#undef ALLOW_ECCO_OPTIMIZATION" from AD_CONFIG.h;
69 - remove #include "AD_CONFIG.h" from all included OPTIONS files and
70 add it explicitly in each fortran src file where it is needed.
71 motivation: header file AD_CONFIG.h is generated/modified after "make depend"
72 thus introducing potentially wrong dependency; therefore, better to include
73 it only where it's really needed, and after any other included OPTIONS file
74 (less tempting to bring conditional includes according to ALLOW_ADJOINT_RUN
75 or ALLOW_TANGENTLINEAR_RUN).
76
77 checkpoint63p (2012/07/06)
78 o pkg/autodiff:
79 - rename S/R INI_AUTODIFF to AUTODIFF_INIT_VARIA ;
80 - create new header file "AUTODIFF_PARAMS.h" for pkg/autodiff parameters
81 which are now read from new parameter file "data.autodiff" (inAdExact
82 previously in "data", use{KPP/GMRedi/SEAICE}inAdMode previously in data.pkg)
83 - add file "data.autodiff" in all verification/*/input_ad/ directories.
84 - add run-time parameter to turn On/Off SEAICEuseFREEDRIFT in adjoint/forward
85 mode (used in global_ocean.cs32x15.seaice_dynmix test exp.)
86 o verification/tutorial_tracer_adjsens/
87 - add extra sub-verification which uses "SOM" advection scheme
88 (2nd Order-Moment Advection Scheme, Prather Limiter) with
89 #define GAD_ALLOW_TS_SOM_ADV in GAD_OPTIONS.h
90 and in data:
91 multiDimAdvection=.TRUE.,
92 tempAdvScheme=81,
93 saltAdvScheme=81,
94 o model/src:
95 - introduce ALLOW_BALANCE_RELAX which allow the removal
96 of the global mean of relaxation terms by setting
97 balanceThetaClimRelax and balanceSaltClimRelax
98 - disable balanceEmPmR and balanceQnet in the case when useSeaice.
99 This case is now treated appropriately in seaice_growth.F
100 o pkg/seaice:
101 - do balanceEmPmR and balanceQnet based on the net fluxes
102 (SItflux) that enter the ocean+ice system rather than QNET
103 and EMPMR. Works best in real fresh water.
104 - SIatmFW, SIatmQnet, and SItflux computations had to be moved
105 out of the diagnotics bloc, and stored in global arrays.
106
107 checkpoint63o (2012/06/29)
108 o vertical mixing schemes:
109 - remove unused S/R CALC_BUOYANCY (left from branch-atmos merging)
110 - replace computation of density (in Function STATE1, opps_calc.F) by a call
111 to S/R FIND_RHO_SCALAR
112 - pass sigmaR to S/R PP81_CALC, MY82_CALC (but not yet used) and to GGL90_CALC
113 and use it for N^2 calculation in ggl90_calc.F (save 2 density computations);
114 affects output (vermix.ggl90) at truncation level.
115 o testreport:
116 - change adjustment of SIZE.h for mpi+mth testing: preserve enough tiles
117 (nSx,nSy) for the number of threads (from eedata.mth)
118 o model/src:
119 - remove 2nd set of calls at the top of initialise_varia.F (Adjoint part)
120 related to Non_Lin Free-Surf or Bottom-Control (but not longer necessary).
121 o verification/tutorial_tracer_adjsens/
122 - compile with ALLOW_CG2D_NSA
123 - run with nonlinFreeSurf=3
124 - update reference output_adm.txt
125 o tools/genmake2:
126 - add "-DHAVE_NETCDF" to the DEFINES list when NetCDF is available ;
127 refine usePROFILES switching off (only when NetCDF is not available).
128 o verification (atmospheric set-up):
129 - change eosType='IDEALGAS' to eosType='IDEALG' to match variable declaration
130 o pkg/profiles : refine profiles and files handling.
131 o model/src and pkg/ecco : introduce run-time switch usePROFILES.
132 o model/src/the_main_loop.F, forward_step.F and pkg/exf/EXF_OPTIONS.h :
133 - changes to use model/src/the_main_loop.F rather than the ecco version
134 in ecco type adjoint runs.
135 o model/src:
136 - move computation of recip of grid distance & area from INI_MASKS_ETC to INI_GRID
137 - move setting of h0Fac[C,W,S] from INI_LINEAR_PHISURF to INI_MASKS_ETC
138 - update_masks_etc.F: rename SMOOTH*_R4,R8 function to the corresponding type (RS,RL)
139 o model/src:
140 - fix S/R UPDATE_CG2D for ALLOW_DEPTH_CONTROL case (was empty before);
141 update output of test experiment bottom_ctrl_5x5.
142 o pkg/generic_advdiff:
143 - implement vertical bi-harmonic diffusion (for now, only for T & S and
144 only explicitly).
145 o verification/bottom_ctrl_5x5/
146 update reference output (results changed quite some time ago,
147 not sure when; but new reference results look ok in terms of grdchk)
148 o verification/1D_ocean_ice_column/
149 For verification purposes, the exact adjoint rather than an approx.
150 should be used (e.g., to comare against F.D. or TLM).
151 removed autodiff_inadmode*_ad.F routines in code_ad/
152 Update results/ accordingly.
153 o pkg/cal:
154 - change cal_getdate.F so that output date is function of input time only
155 (less ambiguous, not mixed up with input iteration number).
156 - fix calendarDumps for non-zero phase-lag (S/R CAL_TIME2DUMP).
157 o pkg/diagnostics:
158 - implement calendarDumps also for stats-diags
159 - implement calendarDumps also for snap-shot output (negative freq)
160 - for now, ignores calendarDumps if non-zero phase-lag.
161
162 checkpoint63n (2012/06/04)
163 o model/src:
164 - recompute rSurfW & S to ensure consistent column thickness (needed for rStar)
165 between Sum_k(hFac*drF) and rSurf-rLow, for now only when using pkg/shelfice;
166 - use h0FacC, W & S to compute hFac_surfC, W & S in calc_surf_dr.F (more
167 similar to calc_r_star.F); update results of experiment internal_wave and
168 tutorial_global_oce_in_p (affected @ truncation level).
169 o pkg/shelfice:
170 - add parameterisation of advective-diffusive flux into the ice shelf
171 according to Holland and Jenkins (1999), eq.22-33, as suggested by Jan De Ryd
172 - simply eps3/3a computation
173 o eesupp:
174 - add new CPP option (DISCONNECTED_TILES) to disconnect tiles (no exchange
175 between tiles, just fill-in edges assuming locally periodic subdomain) and
176 add corresponding exchange subroutines (EXCH0);
177 - new CG-solver version (_EX0) for disconnected-tiles special case.
178 o model/src (CG-solvers):
179 - modify Single-Reduction version (CG2D_SR) in case cg2dMaxIters is reached
180 (similar final residual output and max-Iter number as with standard version);
181 - allows to store and use lowest-residual solution (standard & _SR versions);
182 - cleaning up (remove old, commented out code, LETS_MAKE_JAM ...).
183 - by default, also compile CG2D_SR version (define ALLOW_SRCG in CPP_OPTIONS.h)
184 o eesup/src:
185 - global_vec_sum.F cleaning: add a BARRIER ; update comments ; remove ndef
186 ALWAYS_USE_MPI (no longer needed after fixing usingMPI settings - March 2012)
187 o pkg/salt_plume added to lab_sea/input_ad.noseaicedyn
188
189 checkpoint63m (2012/04/27)
190 o pkg/shelfice:
191 - account for partical cells in surface level below ice-shelf for hydrostatic
192 pressure calculion (set uniformFreeSurfLev to F); update isomip experiments.
193 o ad test experiments:
194 - update and rename to "ad_optfile.local" local AD-optfile specific to a
195 particular adjoint verification experiment (in verification/*/code_ad/)
196 o pkg/seaice & pkg/exf:
197 - Part two of ECCO-CLIVAR code merges.
198 Completes merge of seaice area relax. code.
199 Requires unified CPP option EXF_ALLOW_SEAICE_RELAX
200 to be set in EXF_OPTIONS.h since this pkg controls its I/O
201 (and avoids second CPP option in SEAICE_OPTIONS.h)
202 - change default value of costIceStart & costIceEnd to a valid date.
203 - add snowPrecip to HSNOW in seaice_growth
204 o pkg/ptracers:
205 - move ptracers summary and setup check into separated S/R ; add a check for
206 valid PTRACERS_Iter0 value (error+stop or just warning).
207 o pkg/cal (+ pkg/ecco):
208 - avoid calling a S/R with 2 times the same arg (FWD: unless both are only used
209 as input; and for AD, unless both are not differentiable (e.g., k index)).
210 o model/src:
211 - define internal flag "uniformFreeSurfLev" (=T when free-surface level-index
212 is everywhere k=1) to speed-up some calculations (by pass kSurf reference);
213 temporary set to usingZCoords value (to be changed to F when using shelfice).
214 - hydrostatic pressure: implement partial cell near the surface also for
215 Z-coordinates (for the case where uniformFreeSurfLev=F); replace test on
216 usingZCoords with test on uniformFreeSurfLev where needed (in NonHyd code).
217 o pkg/ctrl/ctrl_init.F:
218 - add a formal parameter to s/r ctrl_init_rec to print
219 xx_$(ctrl_valiable)_file for easier debugging
220 - move call of cal_* routines into the if-block where they are really
221 needed so that xx_$(ctrl_variable)_period can be 0 or -12 without having
222 to specify a startdate
223 o pkg/seaice:
224 - update comments in SEAICE_OPTIONS.h (+ similar update of lab_sea/code and
225 global_ocean.cs32x15/code versions).
226 - turn on seaice Multi-category (in data.seaice, SEAICE_multDim=7) for
227 verification experiment global_ocean.cs32x15.seaice and update results.
228 o pkg/exf:
229 - new S/R EXF_GETFIELD_START to return starting-time of a forcing field
230 (according to useExfYearlyFields).
231 o pkg/cal:
232 - move calendar setting & summary (previously in cal_readparams.F) into new
233 S/R CAL_INIT_FIXED to be called later in the initialisation process, once
234 length of the simulation is set (after SET_PARMS call); This is an attempt
235 to fix Pb when, e.g.: pkg/longstep, modifies the length of the run.
236 - For safety: keep a record of pkg/cal parameter settings status
237 to allow to STOP if one pkg/cal S/R is called too early.
238 - add a stop in all basic pkg/cal subroutines if called before setting is done.
239 - modify cal_getdate.F: stop when nothing was returned;
240 if called with myIter=-1, simply retrun modelBaseDate (1,2 = startDate_1,_2);
241 this allows to remove "cal.h" from seaice_read_parms.F & init_mnc_vars.F.
242
243 checkpoint63l (2012/04/04)
244 o pkg/bbl:
245 - fix call to FIND_RHO_2D in bbl_calc_rho.F (case multi-tiles per proc);
246 update global_with_exf output.yearly.txt file.
247 o pkg/cal:
248 - start to clean-up cal_set.F ; fix for the case where baseTime is non-zero.
249 - remove 2 unsused and very short (1 line only) functions ;
250 - remove unsused subroutines from AD-Diff list.
251 o model/src:
252 - start to implement clean wait to stop in initialization S/R (config_check.F,
253 packages_check.F, ini_parms.F and pkg/obcs/obcs_check.F + pkg/mypackage)
254 o folowing PRINT_MESSAGE changes:
255 - remove reminder multiple print to the same file (STDOUT) when multi-threads.
256 o pkg/bbl:
257 - modification so it can work with z*
258 - replace deltaT with dTtracerLev(k) for asynchronous time stepping
259 - global_with_exf/input.yearly verification; changes output.yearly.txt
260 o eesupp/src:
261 - PRINT_MESSAGE: use OpenMP critical instruction (similar to PRINT_ERROR);
262 writing to unit 0 (if unit=errorMessageUnit) extended to the case myThid=1
263 - CHECK_THREADS: specific code if using OpenMP threading: improve checking of
264 # of threads across processors (e.g., different env OMP_NUM_THREADS setting)
265 - improve special preliminary call to EESET_PARMS (if eedata is read 2 times).
266 - when using MPI, always set usingMPI=T ; set default accordingly and stop
267 if not consistent.
268 - ALL_PROC_DIE: add a BARRIER after MPI_FINALIZE call ; skip this when thread
269 argument is zero (in case called within single-thread section).
270 o pkg/fizhi:
271 clean-up turbulence cold-start switch: decided in fizhi_init_vars.F, stored
272 in common bloc (fizhi_coms.h) and then passed as argument up to S/R TURBIO.
273 o pkg/exch2:
274 - add argument "updateCorners" to S/R exch2_get_uv_bounds (enable to
275 activate EXCH_IGNORE_CORNERS in vector EXCH S/R).
276 - switch 1rst EXCH call to IGNORE_CORNERS (instead of UPDATE_CORNERS)
277 but keep the 2nd with UPDATE_CORNERS: this prevents overwriting good data
278 with bad ones coming from a not-yet-updated halo.
279 This should fix the problem when sNx <> sNy and GCD(sNx,sNy) < 2*Olx.
280 o pkg/frazil:
281 move FrzForcT diag from frazil_diagnostics_state.F to frazil_calc_rhs.F
282 http://mitgcm.org/pipermail/mitgcm-devel/2012-March/005384.html
283 o model/src/config_check.F: add a check for OLx>sNx/OLy>sNy
284 o verification/lab_sea
285 * #undef SEAICE_EXCLUDE_FOR_EXACT_AD_TESTING
286 * #define ALLOW_SST_CONTROL & ALLOW_SST_CONTROL
287 * nTimeSteps 3 -> 4
288 * changed reference output accordingly
289 o pkg/ctrl:
290 * fix ctrl_get_gen for xx_sst, xx_sss
291 o pkg/fizhi:
292 - fix 2 calls to S/R GRD2MSC (argument igrd) in update_earth_exports.F
293 update results of exp. fizhi-cs-32x32x40 (fail with only 6 digits for cg2d)
294 - by default, use new version of S/R GETPWHERE (#define TRY_NEW_GETPWHERE);
295 fix few out-of-bounds indices in referencing vars (initialise igrd to 1);
296 clean-up fizhi_turb.F (remove unused & uninitialised qdiaglsm array).
297 o pkg/gmredi:
298 - add diagnostic of Redi (main diagnonal) vertical diffusive flux of Temp
299 o pkg/fizhi:
300 - fix few initialisation and multi-tile Pb: aqualev & gridalt now pass the
301 (old)aces open64 tuv test.
302 o pkg/icefront: fix bug and reorder loop in icefront_init_varia.F
303 o pkg/mom_vecinv:
304 - fix 1 loop range in mom_vecinv.F to be like all the other loops which
305 set/update gu,gv/Diss (fix Pb of uninitialised fVerUkp in admom_vecinv
306 with non-lin free-surf).
307 o model/src: move k-loop outside of i/j-loops when (re-)computing R_low
308 in ini/update_masks_etc.F in order to avoid -O3 optimization problems with
309 some compilers (gfortran 4.6.0 on MacOS)
310 o momentum:
311 - separate fVer?(:,:,kUp) & fVer?(:,:,kDown) in argument list of MOM_FLUXFORM
312 & MOM_VECINV subroutines (to help TAF). This fixes Pb of uninitialised
313 fVer?(kUp) in admom_fluxform with non-lin free-surf or bottom control.
314
315 checkpoint63k (2012/03/17)
316 o model/src:
317 - selectAddFluid (ALLOW_ADDFLUID): add missing term in horizontal momentum
318 flux-form (mom_fluxform.F) and vertical momentum (calc_gw.F) equations.
319 - SOLVE_DIAGONAL: switch default to use adjoinable & vectorized version
320 (#undef SOLVE_DIAGONAL_LOWMEMORY); update output of exp. front_relax.bvp.
321 o model/src: solve_*diagonal.F
322 - replace division with multiplication by inverse (similar to original version)
323 update output of AD exp. global_ocean.90x40x15.
324 - fix pkg/gmredi/gmredi_calc_psi_bvp.F & pkg/ggl90/ggl90_calc.F
325 to enable the use of the vectorized & differentiable solve_tridiagonal.F
326 - test exp. global_ocean.90x40x15/input_ad: switch to advection scheme 20 for
327 vertical advection (to get solve_tridiagonal tested in AD mode).
328 o pkg/seaice: ECCO-CLIVAR merge:
329 1. seaice AREA relaxation
330 * CPP option: SEAICE_ALLOW_AREA_RELAXATION
331 * runtime flag: SEAICE_tauAreaObsRelax
332 2. modified global mean cost imbalance code: CPP option
333 ALLOW_SSH_GLOBMEAN_COST_CONTRIBUTION
334 o another iteration on solve_*diagonal.F
335 Make choices independent of AUTODIFF
336 Default will be the adjoinable vectorized version.
337 Alternative choices are:
338 * non-adjoinable original version with low memory footprint:
339 #define SOLVE_DIAGONAL_LOWMEMORY
340 * still adjoinable but does not vectorize (k as inner-most loop):
341 #define SOLVE_DIAGONAL_KINNER (keeping SOLVE_DIAGONAL_LOWMEMORY undef)
342 o testreport
343 - add option to use a home made wrapper around "make"
344 - remove MITGCM_IEEE env. variable (no longer active)
345 o pkg/shelfice
346 - improve computation of friction velocity for velocity dependent
347 exchange coefficients: include velocities into SHELFICEBoundaryLayer
348 block to average velocities vertically
349 - add TAF store directives for SHI_ALLOW_GAMMAFRICT
350 o Modify diagonal solvers, now three versions (upon request):
351 #ifndef SOLVE_DIAGONAL_AUTODIFF
352 1. default version (dating back a while ago)
353 #else /* def SOLVE_DIAGONAL_AUTODIFF */
354 # ifdef SOLVE_DIAGONAL_KINNER
355 2. adjoinable version with k-innermost loop (G. Forget)
356 # else
357 3. adjoinable vectorized version of 2.
358 # endif
359 #endif /* SOLVE_DIAGONAL_AUTODIFF */
360 All flags are currently set within routines, but could/should be moved to CPP-options.
361 Array bounds for 1. are as before, for 2.,3. cover the entire domain
362 (could be changed for 1. too).
363 o verification/lab_sea (fwd):
364 - update the 4 fwd lab_sea test experiment: no longer SEAICE_GROWTH_LEGACY,
365 use 7 categories (except hb87), new solve4temp params (except salt_plume),
366 constant salinity (=4) or variable salinity (salt_plume) done through
367 SItracer.
368 o pkg/seaice:
369 - rename parameters: SIsalFrac to SEAICE_saltFrac & SIsal0 to SEAICE_salt0;
370 - remove old parameters ( SEAICE_freeze, SEAICEturbFluxFormula, SEAICE_gamma_t,
371 SEAICE_gamma_t_frz, SEAICE_availHeatTaper & SEAICE_availHeatFracFrz)
372 from SEAICE_PARMS.h ; still need to fix seaice_cost_sst.F (broken when
373 SEAICE_freeze got retired) but already better than previously with
374 SEAICE_freeze=123456.7 deg.C;
375 - move setting of facOpenGrow/Melt from SEAICE_INIT_FIXED to SEAICE_READPARMS
376 (safer multi-threaded setting); always set SEAICEuseEVP;
377 - setting of ocean-ice turb. flux coeff: moved from SEAICE_CHECK to
378 SEAICE_READPARMS & SEAICE_INIT_FIXED (this fixes wrong summary report);
379 stop if multiple specifications for the same coeff; make sure default
380 SEAICE_mcPheePiston is compatible with drF(1) & deltaT.
381 o pkg/obcs:
382 - allow to switch to upwind 1rst order advection scheme for the advective
383 flux computation at the open-boundary; disabled for adjoint built.
384 o pkg/ptracers:
385 - rename PTRACERS_RESTART.h -> PTRACERS_START.h
386 - rename ptracers_fields_blocking_exchanges.F -> ptracers_fields_blocking_exch.F
387 - add parameter to decide when to start a tracer; use internal flag to
388 know which tracer to step-forward; switch this internal flag at the top
389 of forward_step.F (new S/R PTRACERS_SWITCH_ONOFF); for now, not enabled
390 for adjoint built.
391 o pkg/seaice:
392 - add SEAICE_SIZE.h anywhere in the code where SEAICE.h is included ;
393 - move MULTDIM declaration and setting from SEAICE.h to SEAICE_SIZE.h ;
394 - keep experiment offline_exf_seaice truly single category (set MULTDIM=1).
395 o pkg/ecco:
396 - fix writing of output file DiagnosCost_ClimSalt/Theta
397 and DiagnosCost_DriftSalt/Theta (if multi-tiles per proc).
398 o pkg/seaice:
399 - add missing initialisation of COR_ICE array in dynsolver.F
400 - merging SEAICE_MULTICATEGORY define and undef cases. Now the same code is
401 compiled either way, and is tested in all exps (multidim was only tested
402 in lab_sea ad before).
403 - cosmetic change to prepare for future addition of ITD. no change to results.
404 no defaults change.
405 - added run time param SEAICE_multDim (7 for SEAICE_MULTICATEGORY, 1 otherwise).
406 - by lack of adequate verification experiments, I further used custom versions
407 of global_ocean.cs32x15 to test multicat or not, with pickup or not. All
408 should be correct.
409 - avoid recomputations in ad.
410 o array initialisation in adjoint mode:
411 1) pkg/mom_common/mom_calc_ke.F:
412 add full array initialisation of KE inside mom_calc_ke.F (ALLOW_AUTODIFF_TAMC):
413 The S/R which calls MOM_CALC_KE initialises KE but in some recomputation
414 part this initialisation is gone, resulting in Floating Point Exception
415 (caught by open64 compiler with debug option).
416 2) model/src/convective_weights.F
417 set output convectCount over the full array range (instead of doing
418 an update): this fix a similar issue when called within recomputation (adjoint)
419 which could by-pass the initialisation (normally done in the caller S/R).
420 o pkg/seaice:
421 - final version of turbulent flux params, as agreed at MIT ice meet:
422 SEAICE_mcPheePiston (default is ~ 0.000875)
423 SEAICE_mcPheeTaper (default is 0.)
424 SEAICE_frazilFrac (defualt is 1.)
425 SEAICE_mcPheeStepFunc (default is false)
426 - changes results at trunction error level
427 - ifdef SEAICE_EXTERNAL_FLUXES, disallow SEAICE_waterAlbedo
428 o added pkg/frazil:
429 - see frazil_description.tex for details
430 - verification experiment is global_with_exf/input.yearly; changes output.yearly.txt
431 o pkg/shelfice/shelfice_thermodynamics.F
432 - fix exponents for velocity dependent exchange coefficients: change
433 from 2/3(=0) to 0.66666666666666667
434 - move computation of velocity dependent exchange coefficients into
435 separate loop, so that it applies to both thermodynamics
436 - move some divisions by constants out of loops
437
438 checkpoint63j (2012/02/16)
439 o pkg/seaice:
440 - overhaul of seaice_summary.F after feb 2012 clean-up of seaice_growth.F etc.
441 - SItracer: added run time params, and allow coupling to ocn salinity.
442 o pkg/seaice: remove (almost) all divisions by constants within loops
443 in seaice_growth.F and seaice_solve4temp.F, this changes (only) the cg2d
444 results of global_ocean.cs32x15.seaice from 16 to 11 digits (but only
445 those, caused by 1/QI -> recip_QI) -> update output.seaice.txt,
446 output_adm.seaice_dynmix.txt and also lab_sea: output_adm.evp.txt
447 o pkg/seaice :
448 - simplify McPhee tapering, and allow to use it with SEAICEturbFluxFormula
449 = 1 or 2, using newly added run time parameter SEAICE_availHeatTaper.
450 - fix d_AREAbyATM, d_AREAbyOCN, d_AREAbyICE diags I broke in r1.148.
451 - add permanent SItflux diag that corresponds to TFLUX but includes
452 ice+snow. Hence SItflux-TFLUX should match the ice+snow heat budget.
453 - allow activation/testing of a fix for suspected missing term in
454 ocn-ice heat budget (to be confirmed). To test this, you want to
455 undef SEAICE_DISABLE_HEATCONSFIX, and then set the run time param
456 SEAICEheatConsFix to .TRUE. that also allows the 'SIaaflux' diagnostic.
457 - no change in results, fwd or ad.
458 o global_ocean.cs32x15/results: 3 changes following from the pkg/seaice commit below:
459 - switch to variable freezing point.
460 Results change : cg2d -> 1 digits; ad -> 3-6-6 digits.
461 - bug fix : the sublimation term that was missing is now activated.
462 Results change : cg2d -> 2 digits; ad -> 8-6-6 digits.
463 - bug fix : flooding sign term for SIsal0.NE.0.
464 Result change : cg2d -> 8 digits; ad -> 11-12-9 digits.
465 o pkg/seaice:
466 - unified freezing point treatment : the old SEAICE_VARIABLE_FREEZING_POINT
467 is now the default, and the old default constant freezing point is recovered
468 with SEAICE_tempFrz0 = -1.96,
469 SEAICE_dTempFrz_dS = 0.,
470 - retire SEAICE_freeze (= the old way of specifycing the constant freezing point)
471 - remove ALLOW_SEAICE_FLOODING brackets; run time switch is already there.
472 - bug fix (thanks to M. Losch) : the sublimation term that was missing is now
473 activated. To reproduce old results with this bug define SEAICE_DISABLE_SUBLIM.
474 - bug fix (silly me) : flooding sign term (seaice_growth.F r 1.149line 1211)
475 was wrong for SIsal0.NE.0. Changes cs32x15 results (see above item for detail).
476 - bug fix (thanks to O. Jahn) : area loss for melting got messed up in
477 seaice_growth r149 for legacy branch (no results change).
478 - introduce SEAICE_CAP_SUBLIM : caps sublimation heat flux in solve4temp (code
479 from I. Fenty).
480 - results did not change except for global_ocean.cs32x15, mostly due to the
481 switch to variable freezing point (see above item for detail).
482 o pkg/thsice:
483 - fix and simplify interface to salt_plume pkg ; diagnose directly amount of
484 seawater freezing in thsice_calc_thickn (not used).
485 o pkg/seaice: turbulent flux term specification via run time params.
486 - replace CPP switches with run time switches to facilitate testing
487 - retired CPPs : MCPHEE_OCEAN_ICE_HEAT_FLUX,
488 GRADIENT_MIXED_LAYER_TURBULENCE_FACTOR
489 - added runtime parameter : SEAICEturbFluxFormula
490 - move Mcphee constants to SEAICE_PARAMS.h
491 - seaice_readparms.F : read turbulent flux term params (SEAICEturbFluxFormula;
492 SEAICE_availHeatFrac/Frz, or SEAICE_gamma_t/_frz if apply);
493 remove seaice_summary call (moved to seaice_init_fixed)
494 - seaice_init_fixed.F : set SEAICE_availHeatFrac/Frz depending on
495 SEAICEturbFluxFormula, and seaice_summary call (moved from seaice_readparms)
496 - seaice_summary.F : add missing report of read turbulent flux term set up
497 and SITRACER.
498 - seaice_check.F : check range; inform and stop if retired CPPs are used
499 (incl. SEAICE_AGE).
500 - seaice_growth.F : unified use of SEAICE_availHeatFrac/Frz, without
501 CPP switch, same computation as before for the different options.
502 - change results at the truncation level.
503 o pkg/seaice:
504 - remove un-used parameters LAD & MAX_TICE ; add new run-time parameters:
505 useMaykutSatVapPoly (default=F), postSolvTempIter (default=2) and
506 SEAICE_wetAlbTemp (default=-1e-3). Remove option SEAICE_SOLVE4TEMP_LEGACY.
507 - update verification/*/input*/data.seaice:
508 to reproduce previous results with former #defined SEAICE_SOLVE4TEMP_LEGACY
509 code, set useMaykutSatVapPoly=T & postSolvTempIter=0 ;
510 and to reproduce previous results with former non-SOLVE4TEMP_LEGACY code,
511 set SEAICE_wetAlbTemp=0 & SEAICE_snowThick=0.
512 o pkg/seaice/seaice_solve4temp.F (SOLVE4TEMP_LEGACY):
513 - remove LEGACY code for solving for tsurf (A1,A2,A3) but maintain the same
514 algorithm (same choice: useMaykutPolySatVap=T, postSolvTempIter=0);
515 difference in results only due to machine truncation.
516 - remove MAX_TICE (tsurf is always =< TMELT anyway); keep MIN_TICE if using
517 MaykutPolySatVap; keep MIN_LWDOWN.
518 - adapt SEAICE_MODIFY_GROWTH_ADJ code (untested) to non-legacy formulation.
519 - update output of verification exp. lab_sea (4 fwd: 11 cg2d digits except hb87,
520 + 3 AD: 6 digits except evp) and offline_exf_seaice.seaice (12 digits).
521 o pkg/salt_plume:
522 - isolate saltPlumeFlux array exch into a specific S/R called from
523 do_oceanic_phys.F
524 - add interface to pkg/salt_plume (filling of saltPlumeFlux) in pkg/thsice.
525 o verification:
526 - move untested set-up to MITgcm_contrib/verification_other.
527 o pkg/seaice:
528 - retire old way of SEAICE_AGE. Now replaced with ALLOW_SITRACER.
529 o pkg/seaice:
530 - seaice_solve4temp.F (keeping results unchanged):
531 * add 2 future run-time params to select which saturation vapor pressure
532 formula is used and how post-iteration fluxes are set.
533 Temporary set these 2 params according to option SOLVE4TEMP_LEGACY;
534 * New piece of code (not used) to update surf. atmos. heat flux F_ia using
535 the linearized expression to stay consistent with tsurf finding.
536 - seaice_freedrift.F avoid floating exception in sqrt(y) since y=sqrt(x*x)-x
537 can be < 0.
538 o pkg/seaice/seaice_solve4temp.F (SOLVE4TEMP_LEGACY undef):
539 - remove from F_ia (and from it's derivative dFiDTs1) the contribution of
540 conductive heat flux F_c , and add it explicitly when updating tsurf as
541 solution of: Fc = Fia + d/dT(Fia - Fc) *delta.tsurf
542 so that now F_ia has a consistent meaning through the entire routine.
543 This causes differences at truncation level: update output of fwd exp.
544 global_ocean.cs32x15.seaice.
545 o pkg/seaice:
546 - lots of editing/cleaning in seaice_solve4temp.F + better documentation
547 of arrays, sign/direction of fluxes; no effect on results.
548 - replace hard coded 273.16 (=previous value of celsius2K) by celsius2K
549 in seaice_budget_ocean.F & seaice_solve4temp.F (SOLVE4TEMP_LEGACY part);
550 note: this should have been done before changing celsius2K default.
551 - to keep results unchanged, add back old value of celsius2K in verification
552 exp. input*/data : lab_sea (AD), offline_exf_seaice (fwd+AD) & seaice_obcs
553 - replace hard coded seawater freezing temp in seaice_solve4temp.F (part
554 SOLVE4TEMP_LEGACY) of 271.20 (=previous value of celsius2K + default
555 value of SEAICE_freeze) by celsius2K+SEAICE_freeze so that seawater
556 freezing temp is consistent with value in seaice_growth.F ; this causes
557 differences at machine truncation level: update lab_sea AD output (3/4).
558 o pkg/seaice:
559 - mask (in exf_init_fixed.F) atemp,aqh,evap,precip,runoff,lwflx,areamask
560 and climsst/sss even when using seaice (to prevent calculation that might
561 use SST on land); does not affect any verification exp.
562 - apply mask to taux,tauy (in seaice_get_dynforcing.F); update output
563 of lab_sea.fd & lab_sea.hb87 and global_ocean.cs32x15.seaice_dynmix.
564 o pkg/seaice/seaice_growth.F: add mask to avoid non-zero ice thickness
565 over land (non-legacy code)
566 o vectorize salt_plume package:
567 - add extra code to salt_plume_frac and salt_plume_tendency_apply_s
568 - this code computes plumebk everywhere (also over land), thus requires
569 code to avoid divisions by zero and catch the case of kLev=Nr.
570 - efficiency of salt_plume_frac is still sub-optimal
571 o tools (genmake2):
572 - fix makefile NAME specification (option: -makefile NAME) by adding
573 "-f $MAKEFILE" in few places where it was missing including makedepend
574 command (contribution from Paul).
575
576 checkpoint63i (2012/01/24)
577 o model/src:
578 - add factorized versions of some EOS code to find_rho.F,
579 define USE_FACTORIZED_EOS to turn it on (default for TARGET_NEC_SX)
580 o model/src:
581 - add celsius2K to namelist PARM01; remove unused recip_rhoNil from PARAMS.h;
582 - change default celsius2K from 273.16 to 273.15
583 - to keep results unchanged, add back old value of celsius2K in verification
584 exp. input*/data : aim.5l_cs, 1D_ocean_ice_column, lab_sea (fwd),
585 global_ocean.cs32x15(seaice) & cpl_aim+ocn(input_atm).
586 o model/src: add a little initialisation trick to find_rho.F and find_alpha.F
587 to make TAF generate vectorizable code
588 o pkg/seaice/seaice_evp.F: add code (copied from CICE) that avoids underflows.
589 Turn on by defining SEAICE_EVP_ELIMINATE_UNDERFLOWS. Most compilers
590 have flags that do this more efficiently.
591 o pkg/diagnostics/diagstats_calc.F
592 - for TARGET_NEC_SX fix the treatment of the scaling factor tmpFac=scaleFact
593 o pkg/obcs (with exch2):
594 - derive OB indices in overlap region from OB-InsideMask (in obcs_init_fixed.F)
595 and remove code (in obcs_readparms.F) which was based on EXCH of indices
596 (through buffer) and did not account for exch2 (e.g., CS-grid) topology.
597 o pkg/exf and seaice exp:
598 - change offline_exf_seaice.seaicetd test exp. to use default DIFF1 value (=0)
599 so that switching off area & heff advection flags does not affect results.
600 - change default EXF_LWDOWN_WITH_EMISSIVITY to #define in EXF_OPTIONS.h
601 - keep exp. seaice_obcs & 1D_ocean_ice_column(ad) unchanged (using #undef
602 EXF_LWDOWN_WITH_EMISSIVITY) and, using pkg/exf default emissivities, update
603 results of verification experiments: 1D_ocean_ice_column(fwd),
604 global_ocean.cs32x15.seaice(fwd+ad) & seaice_dynmix(ad), lab_sea (all 8)
605 and offline_exf_seaice (all 4).
606 o pkg/seaice:
607 - remove array YNEG, RIVER, TMIX (replaced by local var) from common block;
608 remove also areaNm1 & hEffNm1 when SEAICE_GROWTH_LEGACY is undef.
609 - fix bug: areaNm1 & hEffNm1 are needed in seaice_growth (SEAICE_GROWTH_LEGACY)
610 but were not filled when resp. SEAICEadvArea=F & SEAICEadvHeff=F and
611 not multi-dim advection;
612 - fix seaice_growth.F to compile with both SEAICE_GROWTH_LEGACY and
613 SHORTWAVE_HEATING #undef.
614 o optim: make Makefile more robust (?)
615 o pkg/obcs:
616 * fix treatment of obcs_read_pickup for TAF
617 o pkg/shelfice:
618 * add missing initialisation of num_shifwflx
619 * new adjoint verification exp. for isomip
620 * change Prandtl and Schmidt numbers from generic formulations
621 (in terms of model diffus. and visc.) to separate runtime
622 parameters, with Holland and Jenkins (1999) default values.
623 o pkg/exf (interpolation):
624 - extended input field (2 rows) near the N & S poles:
625 * fill in with the symetric value (when even Nb of data in longitude)
626 * add average value at the poles only for scalar quantities ; for vector
627 component interpolation, skip the averaging and keep duplicated values,
628 unless the 2 components have same location (uvInterp=T) in which case
629 interpolate the 2 components together using S/R EXF_INTERP_UV.
630 - new S/R EXF_INTERP_UV to interpolate the 2 components of a vector field
631 together: this allows to account properly for local orientation when
632 averaging at N & S pole.
633 - add CPP option EXF_USE_OLD_INTERP_POLE to recover old results regarding
634 exf-interpolation near N & S poles. Undef by default.
635 - add debug check/print on 1rst iter if debugLevel >=2.
636 o pkg/exf:
637 - change masking flags definition (no longer "parameter"), put them in
638 common block and set them in S/R EXF_INIT_FIXED.
639 - change recognized masking flag from s,u,v to c,w,s since the mask
640 to use (maskC,W,S) depends on position on model grid and has little to
641 do with scalar/vector difference; fix masking if using P-coordinates.
642 - fix masking of wind-stress (was wrong if interpolated or read on A-grid)
643 and update results of exp. global_with_exf (x2).
644 - fix setting of zenith-angle table when SHORTWAVE_HEATING is undef.
645 o pkg/obcs
646 - S/R obcs_calc_stevens: fix a small bug (gammat -> gammas where appropriate)
647 o pkg/exf (interpolation):
648 - assume periodicity in X only if input field cover full longitude range.
649 - improve search for lat. index (supposed to be faster, in ~log2(ny) steps,
650 and should vectorise).
651 - fix input lat of the 2 added row (in case we provide N.pole data).
652
653 checkpoint63h (2011/12/30)
654 o pkg/seaice:
655 - change declaration of UVM from _RL to _RS in order to get B-grid
656 uIce,vIce monitor when _RS = real*4
657 o pkg/offline:
658 - new S/R OFFLINE_RESET_PARMS for resetting main-model params (switch off flags);
659 - compute vertical velocity if not read from file (switch on exactConserv
660 & staggerTimeStep);
661 - fix output of ptracer monitor iter & time for default PTRACERS_monitorFreq.
662 o verification:
663 - update grid-files (in tutorial_held_suarez_cs/input and fizhi-cs-32x32x40/input)
664 with grid-angle generated using "utils/matlab/cs_grid/cubeCalcAngle.m":
665 fix Pb in yG definition @ 2 missing corners (previously yG was averaged);
666 - update output of exp. global_ocean.cs32x15.viscA4 after changing
667 grid-file angles (used here for coriolis-3d);
668 - remove (or gzip) few files not needed to run fizhi-cs experiments.
669 o pkg/exf (vector interpolation):
670 - rotate vector component toward local grid-axis orientation using grid-angles
671 (stored in GRID.h) instead of locally computed rotation angle; keep old code
672 available with exf option EXF_USE_OLD_VEC_ROTATION (undef by default).
673 o pkg/seaice:
674 - allow to compile with exf options ALLOW_ATM_TEMP or ALLOW_DOWNWARD_RADIATION
675 undefined. Fix and remove the stop when ALLOW_RUNOFF is undefined.
676 o pkg/PKG_OPTIONS.h files:
677 - move #include "CPP_OPTIONS.h" just after #include "PACKAGES_CONFIG.h",
678 outside of the #ifdef ALLOW_THISPKG / #endif block.
679 - update verification/*/code/PKG_OPTIONS.h files.
680 o add a verification experiment (offline_exf_seaice/input.seaice) that test
681 the B-grid LSOR solver
682 o pkg/seaice: sort out emissivity and long wave radiation step 2:
683 - add emissivity for snow and ice as new run-time parameters
684 (unfortunately) that default to the corresponding exf values; this
685 changes results in most verification experiments so that for backward
686 compatibility these parameter have to be set explicitly to inconsistent
687 values (ugly);
688 - the exf-flag EXF_LWDOWN_WITH_EMISSIVITY then gets rid off the hard-wired
689 emissivities of 0.97 associated with lwdownloc in S/R seaice_solve4temp
690 until we agree how to handle this bug properly
691 o pkg/exf (interpolation):
692 - add a set of run-time param ({inputfield}_interpMethod), one for
693 each interpolated input field, to select the interpolation method
694 with a value of zero switching off the interpolation;
695 - print interpolation parameters to standard output;
696 - refine exf_check.F accordingly ; stop if USE_NO_INTERP_RUNOFF is defined
697 (to use instead runoff_interpMethod=0 in data.exf).
698 - simplify default setting of interpolation parameters (for all fields,
699 set position to match model grid cell-center position, leading to trivial
700 interpolation in case of regular Lat-Lon grid) and fix for the case of
701 non-uniform delY.
702 o pkg/exf/exf_radiation.F: add the factor ocean_emissivity to lwdown, for
703 within #ifdef EXF_LWDOWN_WITH_EMISSIVITY/#endif. Unless ocean_emissivity=1.
704 this factor is absolutely required, because the lw exitance (= out-going
705 long wave radiation) is emissivity*stefanBoltzmann*T^4 + rho*lwdown,
706 where the reflectivity rho = 1-emissivity for conservation reasons. Once
707 this is established, we can remove the CPP-Flag (if we want to).
708 o pkg/seaice:
709 - qualify a stop statement in S/R seaice_check: EXF_READ_EVAP and
710 ALLOW_BULKFORMULAE are only required if SEAICE_EXTERNAL_FLUXES is defined
711 - sort out emissivity and long wave radiation, step 1: make SEAICE_emissivity
712 what the name implies (and not emissivity*BoltzmannConstant), this means
713 the old default value of 5.5e-8 now means
714 5.5e-8/5.670e-8 = 0.97001763668430343479 as ocean_emissivity in
715 S/R exf_readparms
716 - FV-discretization of the B-grid LSOR solver, turn on with
717 SEAICE_LSRBNEW. This new solver also involves a slight re-organization
718 of the calling routine dynsolver, so that B and C-grid code look a
719 little more alike.
720 - fix index bugs in ostres.F (B-grid code)
721 o pkg/seaice/seaice_ocean_budget.F: change (unused) code to make it look better
722 o pkg/seaice/seaice_readparms.F: make ocean_emissivity*stefanBoltzmann the
723 default for SEAICE_emissivity, if useEXF; requires setting a wrong
724 parameter value in global_ocean.cs32x15/input.seaice/data.seaice for
725 backward compatiblity
726 o model/src: use sigmaR in calc_ivdc
727
728 checkpoint63g (2011/12/16)
729 o pkg/seaice/seaice_growth.F:
730 fix heat conservation of the coupled ocean-seaice system.
731 when SEAICE_HEAT_CONSERV_FIX is defined, the mismatch of
732 solid vs liquid water treatment is resolved via QNET.
733 o pkg/seaice/seaice_growth.F:
734 add missing term for sublimation in saltFlux, which was breaking conservation.
735 o pkg/seaice/seaice_model.F:
736 Remove this patholigical case treatment in evolution branch,
737 where it is un-necessary and breaks conservation.
738 Update global_ocean.cs32x15/results accordingly for
739 output.seaice.txt output_adm.seaice.txt and output_adm.seaice_dynmix.txt
740 o model/src:
741 useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in
742 external_forcing_surf.F and apply mask directly in S/R SOLVE_FOR_PRESSURE.
743 o pkg/obcs:
744 modify Stevens boundary conditions so that S/R obcs_calc_stevens computes
745 tendency for temperature and salinity that is then applied to update
746 theta and salt in S/R obcs_apply_ts; this requires proper masking of all
747 horizontal advection and diffusion contributions on the boundary (in
748 S/Rs gad_advection, gad_calc_rhs, gmredi_rtransport, gmredi_calc_diff), and
749 removing the mask in S/R timestep_tracer. The advantage of this approach is
750 that the updated tracer values include contributions from the surface
751 forcing and vertical diffusion.
752 This modification changes exp4.stevens because of vertical diffusion.
753 o model/src:
754 change non-curvilinear grid setting to also work with exch2 + blank tiles:
755 - move delX,delY to new header file (SET_GRID.h) and adjust length to 1rst
756 face dimensions.
757 - new S/R INI_LOCAL_GRID to define model tile-local grid (using same units
758 as delX,delY) and called from S/R INI_CARTESIAN_GRID, INI_CYLINDER_GRID
759 and INI_SPHERICAL_POLAR_GRID.
760 change test-experiment global_ocean.90x40x15:
761 - split the domain in many more tiles (9x4 tiles of 10x10 each);
762 - switch to exch2 and remove 1 blank-tile (but only for MPI test).
763 - update results of both test (std & dwnslp).
764 o pkg/diagnostics/diagstat_calc.F: fix problem with non-initialised halos in
765 tmp-fields for TARGET_NEC_SX at the cost of extra loops and less vectorisation
766 o model/src:
767 - take sigma-coords related code out of update_etah.F into new S/R UPDATE_ETAWS
768 and fix initialisation when using sigma-coords.
769 o model/src:
770 - improve Gael's changes from Jan 14, 2011 "addition of an 'update' of hfacc etc.
771 to their current value at the beginning of forward_step.F": add a new run-time
772 switch "doResetHFactors" (default=false) and use it to do (or not) the resetting.
773 - set doResetHFactors=T in the following test exp:
774 global_ocean.90x40x15/input (rStar) & input.dwnslp (linFS),
775 global_ocean.cs32x15/input.seaice (rStar), hs94.cs-32x32x5/input.impIGW (linFS)
776 and tutorial_global_oce_in_p (nonLinFS in p)
777 o pkg/ecco
778 - added IES cost term
779 o verification/advect_xz
780 - scale down the depth by 1/100 (from 200 km to just 2.km)
781 - add secondary test using divergent flow, r-star and implicit vertical advection.
782 - add note (check_conserve_TS.txt) and matlab script to check global
783 conservation of T & S with NonLin-FreeSurf and Adams-Bashforth.
784 o pkg/rbcs:
785 - add missing relaxUFile & relaxVFile in namelist (in rbcs_readparms.F).
786 o pkg/obcs (Stevens BCs):
787 - fix various problems in the phase speed computations of the Stevens
788 boundary conditions:
789 - sign error for western and southern boundaries,
790 - time tendencies were underestimated by factor of dTracerLev and some just
791 zero (for multidim advection schemes) -> now estimate time tendencies
792 from difference between previous (n) time level and the one before (n-1);
793 this requires storing a field per tracer per boundary, also in the pickup
794 files.
795 - replace deltaTmom in cflMer/Zon computation with dTracerLev
796 - set default phase velocity to cflMer/Zon
797 - update verification experiment exp4.stevens
798 o pkg/generic_advdiff (implicit_r):
799 - fix implicit vertical advection conservation with AB and/or NonLin-FreeSurf
800 (remove Tr*d/dz(w) in gad_implicit_r.F and add it in gad_calc_rhs.F);
801 - fix implicit vertical diffusion or advection with NonLin FreeSurf
802 (was using current recip_hFacC instead of future recip_hFacC): set future
803 recip_hFac in thermodynamics.F and pass & use it in all vertical implicit
804 solver S/R ;
805 - fill diagnostics of vertical advective fluxes (computed from tendency)
806 when using implicit vert. advection;
807 - update output of exp that uses NonLin-FreeSurf & implicit vertical diffusion:
808 global_ocean.90x40x15 (fwd+AD), global_ocean.cs32x15 (4 fwd +4 AD),
809 tutorial_global_oce_in_p (fwd), tutorial_tracer_adjsens (AD)
810 and cpl_aim+ocn (used in ocean); to be fixed: bottom_ctrl_5x5.
811 o pkg/diagnostics:
812 - add diags for T & S tendency which goes through Adams-Bashforth.
813
814 checkpoint63f (2011/11/30)
815 o pkg/obcs/obcs_calc_stevens.F:
816 - join some loops to reduce number of if-statements
817 - fix a bug in code for northern and southern boundaries.
818 o pkg/seaice/seaice_init_varia.F
819 - undo resetting UVM=0 that has slipped in unnoticed in r1.49 and
820 caused zero ice-velocities for the B-grid code
821 o pkg/seaice/seaice_init_fixed.F
822 - fix a bug in the initialisation of the second metric terms
823 k2AtC and k2AtZ: k2AtC was set to the value of k2AtZ and k2AtZ was 0.
824 - this affects all seaice configurations with useCurviLinearGrid = .true.
825 and SEAICEuseDynamics = .true. (default) and SEAICEuseMetricTerms
826 = .true. (default)
827 - the only verification experiment affected is global_ocean.cs32x15:
828 icedyn, seaice, and seaice_dynmix (AD)
829 o pkg/thsice/thsice_diagnostics_state.F
830 - only for TARGET_NEC_SX: initialise all of tmpFld, so that overlap does
831 not contain garbage that can lead to surprises in diagstats_calc.F
832 o model/src:
833 - move bi,bj loops inside INTEGR_CONTINUITY ;
834 - call INTEGR_CONTINUITY directly from forward_step.F
835 (previously called from momentum_correction_step.F)
836 - call UPDATE_ETAH from integr_continuity.F and update initialise_varia.F,
837 forward_step.F and pkg/ecco/the_main_loop.F
838 o model/src/do_oceanic_phys.F:
839 - reset addMass to zero only if useICEFRONT ;
840 - separated k-loop for rhoInSitu calculation ;
841 - add 2 diagnostics for wVel*delta^k(Rho) at constant pressure (= WdRHO_P)
842 and at constant T,S (= WdRHOdP);
843 NOTE: change diagnostics WRHOMASS : this is now simply the Vertical transport
844 of In-Situ Density (Anomaly) (=wVel*rho^bar-k) (previously was Vertical
845 transport of locally-referenced potential density);
846 to recover old diag: (WRHOMASS)_old = (WRHOMASS)_new -1/2 * (WdRHOdP)
847 o gluemnc:
848 - replace ncrcat with ncks when adding variables to *.glob.nc
849 - change the way variables without record dimensions are handled so that
850 files that have variables with and without record variables can be glued:
851 add a record dimension with a new unique name to be able to differentiate
852 between variable with and without a-prior record dimensions. Remove
853 this record dimension before adding the variable to the *.glob.nc file.
854 This procedure automatically works also for grid.*.nc files that do not
855 have any record dimension.
856 o verification/cpl_aim+ocn:
857 - generate new reference output on baudelaire (gfortran, mpich2) (previously
858 from old aces-grid cluster, ao + ifort) and update 'run_cpl_test' script.
859 o pkg/obcs/obcs_calc_stevens.F:
860 - add code for northern and southern boundaries.
861 - reorder some loops to save some operations and so that drFBar can be scalar
862 o model/src:
863 - re-arrange extrapolation calculation in Adams-Bashforth S/R (affects machine
864 truncation) and add diagnostics for Adams-Bashforth tendency increment.
865 - update test-exp. AD output:
866 1D_ocean_ice_column, bottom_ctrl_5x5, lab_sea.noseaicedyn, obcs_ctrl;
867 and FWD output: exp4 (x3), fizhi-cs-32x32x40, fizhi-cs-aqualev20,
868 front_relax (x3), global_ocean.90x40x15 (x2), global_ocean.cs32x15 (x5),
869 global_ocean_ebm, ideal_2D_oce, internal_wave, isomip (x3), lab_sea (x4),
870 matrix_example, MLAdjust (x5), natl_box (x2), tutorial_advection_in_gyre,
871 tutorial_global_oce_in_p, tutorial_global_oce_latlon and
872 tutorial_plume_on_slope.
873 o pkg/diagnostics/diagstats_calc.F: add special code for TARGET_NEC_SX
874 that vectorises. This code uses 3 extra 2D fields, F90 array assignments
875 and F90 intrinsic routines SUM, MINVAL, MAXVAL, but since TARGET_NEC_SX
876 does not even come with an F77 compiler anymore, this should not be
877 a limitation
878
879 checkpoint63e (2011/11/06)
880 o pkg/seaice adjoint of LSR:
881 - substantially rework STORE dirs.
882 - add new flag SEAICE_LSR_ADJOINT_ITER and parameter SOLV_MAX_FIXED
883 this flag will do SOLV_MAX_ITERS but only store SOLV_MAX_FIXED fields
884 and only perform SOLV_MAX_FIXED adjoint iters.
885 If flag SEAICE_LSR_ADJOINT_ITER is undef-ined, the store in the iteration
886 always goes to same record, meaning that the last forward field will be
887 the one used in the adjoint - an approximation.
888 - now produces non-zero LSR-related gradients, and acceptable gradients for
889 An's zonal (x-z) test case (to be checked in)
890 - lab_sea: produces acceptable gradients for lab_sea with forward/backward LSR
891 (but these are screwed up by the thermodynamics in the first place);
892 reduce from 4 to 3 timesteps to avoid t.d. issue as temporary solution;
893 output_adm.txt also reflects changes to seaice_lsr
894 - global_ocean.cs32x15:
895 * the "default" input_ad.seaice has been re-defined to always exclude dynamics
896 (output_adm.seaice.txt was updated)
897 * new input_ad.seaice_dynmix tests a forward LSR / backward free-drift
898 (output_adm.seaice_dynmix.txt)
899 o test-exp. exp4+stevens:
900 - switch off pTracers and nonHydrostatic (restart problems with NH); update output
901 o pkg/seaice (lsr solver):
902 - put coriolis term into FORCEX,Y (as in seaice_evp.F; previously in rhsU,V only);
903 update output (change truncation) of FWD test exp lab_sea & global_ocean.cs32x15
904 - fix SEAICEuseFREEDRIFT for new OBCS version (ndef OBCS_UVICE_OLD)
905 - new parameter "LSR_mixIniGuess" allows (if=2,4) to mix free-drift solution
906 into initial guess for linearised solver; use weight ~ (1/err)^2,4.
907 - compute (with new S/R) and print initial (+ free-driff sol. if available)
908 and final residual of linearised system.
909 o pkg/pp81: add diagnostics for vertical eddy viscosity and diffusivity
910 (requires new subroutines pp81_init_fixed.F/pp81_diagnostics_init.F)
911 o pkg/obcs: Stevens BCs (still only for east and west)
912 - fix Stevens BCs by using intermediate velocities of previous
913 time step as "baroclinic" contribution rather velocity of one grid cell
914 inside the boundaries; more consistent but makes the entire treatment
915 more complicated, requires new pickup files and two new S/Rs:
916 obcs_copy_uv_n and obcs_save_uv_n
917 keep old version with flag OBCS_STEVENS_USE_INTERIOR_VELOCITY
918 (undefined by default)
919 - silently move computation of some grid factors into separate loops to
920 save some recomputations
921 - add a hack for non-linear free surface
922 - add a verification experiment to exp4 that tests this code
923 o make gluemnc/xplodemnc work with (moron) non-GNU shell tools
924
925 checkpoint63d (2011/10/25)
926 o pkg/obcs + seaice-dynamics:
927 - new implementation calls OBCS_APPLY_UVICE (in seaice_dynsolver.F) before
928 solving for uIce,vIce and prevent SEAICE_LSR or SEAICE_EVP to modify OB
929 values (consistent with an implicit method).
930 - add option OBCS_UVICE_OLD (in OBCS_OPTIONS.h, defined by default) to
931 return to older implementation (same results as before); note that none of
932 the "experimental" OBCS_SEAICE options are implemented in the new version.
933 - switch test exp. seaice_obcs to use new version (update output).
934 o pkg/seaice:
935 - add few stop (B-grid & CS-exch, B-grid & obcs, AUTODIFF & SEAICE_maskRHS)
936 - add parenthesis in Water-Ice drag calculations (evp & lsr);
937 - in seaice_lsr.F, simplify and fix AA3 setting in case sNx or sNy=1;
938 and fix case SEAICE_waterDrag=0 (but unstable if no or little seaice)
939 - update output of test exp lab_sea that uses evp or lsr (fwd+ad)
940 and global_ocean.cs32x15 (icedyn & seaice fwd+ad).
941 o pkg/layers:
942 - Include potential density as new coordinate (Thanks to David Munday)
943 o pkg/dic:
944 - Remove subroutine CALC_PCO2_APPROX_CO3 from carbon_chem.F and add
945 carbonate computation/output to CALC_PCO2_APPROX
946 o pkg/generic_advdiff
947 - make TAF generate code that vectorizes:
948 gad_dst3fl_adv_*.F, gad_u3c4_impl_r.F
949 o model/src:
950 - improve vectorization also for adjoint code of
951 solve_tridiagonal and solve_pentadiagonal. As this requires up to
952 5 new 3D-fields, this code is only turned on for the combination of
953 ALLOW_AUTODIFF_TAMC and TARGET_NEC_SX. Also remove error message
954 for singular matrix check (only for TARGET_NEC_SX).
955 - remove hard-wiring of CPP-flag ALLOW_SOLVERS_KLOOPINSIDE to
956 ALLOW_AUTODIFF. This flag now needs to be set outside of
957 solve_tri/pentadiagonal.F
958 o pkg/exf:
959 - fix previous modif in exf_readparms.F (revision 1.66: treatment of
960 optional namelist EXF_NML_OBCS).
961 - add many debug-print (to trace down where pkg/cal error msg comes from)
962 o pkg/mom_vecinv/mom_vi_hdissip.F
963 - rearrange loops so that vectorization is improved and in particular
964 the adjoint routine vectorizes. The code is a little longer now, but I
965 think easier to read.
966 Note: CPP-flag MOM_VI_ORIGINAL_VISCA4 is not tested.
967 o pkg/seaice:
968 - allow to specify initial seaice velocity from files (uIceFile,vIceFile)
969 o pkg/exch2:
970 - alternative code (without tile x tile matrix) for cumulated (global) sum;
971 used as default; keep using matrix version in adjustment.cs-32x32x1.
972 o tools/build_options:
973 - after merging some MPI and/or multi-threads specific optfiles so that
974 the modified default optfile support both built (using genmake2 -mpi
975 for the MPI built, using genmake2 -omp for OpenMP built),
976 move now obsolete optfiles to tools/build_options/unsupported/
977 (add copy of email sent to support list in doc/optfiles_changes.txt)
978
979 checkpoint63c (2011/09/28)
980 o pkg/ebm:
981 - fix ebm_zonalmean.F for several procs in Ydir (nPy > 1); update output of
982 test exp. global_ocean_ebm (affects machine truncation, 12 digits for cg2d)
983 o pkg/seaice (SItracer pickup)
984 * Simple code for pickup of SItracer fields (#define ALLOW_SITRACER)
985 To be done:
986 - thorough testing of missing fields in S/R seaice_read_pickup
987 - thorough matching between generic tracers and specific fields used
988 (e.g. volume-weighted age, area-weighted age, salinity, ...)
989 o pkg/grdchk:
990 - all procs calculate and print finite-difference gradient (for testreport)
991 - change description output used by testreport;
992 - AD testing: also compare and report Finite-difference gradient;
993 => update all output_adm*.txt
994 o test exp. global_ocean_ebm:
995 - switch back useRealFreshWaterFlux (no problem anymore with run-off);
996 and turn on exactConserve; update (fwd) output.
997 o pkg/seaice (LSR):
998 - print to STDOUT number of solver iterations at SEAICE_monFreq interval.
999 - modify solver to deal cleanly with u/v switch at face edges (CS-grid):
1000 * identical results with non-CS topology (but save up to half of EXCH calls)
1001 * no much changes in cs-32 verification tests since no ice at face edges
1002 (differences due to convergence criteria, since nb of iterations changed)
1003 * expect some differences on lat-lon-cap grid.
1004 update FWD results of global_ocean.cs32x15 test exp. (icedyn & seaice)
1005 o pkg/exch2:
1006 - add new CPP option to disable Cumul-Sum matrix (to save storage when using
1007 many tiles); until alternative coding is added, just add a stop.
1008 o pkg/kpp:
1009 - move ptracer/salt correction to KPP diffusivity from calc_3d_diffusivity.F
1010 to S/R KPP_CALC_DIFF_PTR (+ add tracer-index to argument list).
1011 o optfiles:
1012 - merged few MPI specific (*+mpi*) and multi-threads specific (*+mth) optfiles
1013 into corresponding standard one, which now support different build:
1014 (when using "genmake2 -mpi" for MPI built, "genmake2 -omp" for OpenMP built)
1015 - add "darwin_amd64_gfortran" optfile (initially from Constantinos, tested by Gael)
1016 o pkg/obcs (seaice):
1017 - add missing EXCH for uIce,vIce after applying OBCS;
1018 - remove S/R EXF_SWAPFFIELDS_X/Y , disable S/R EXF_SET_OBCS_X/Y by adding
1019 argument = number of levels to S/R EXF_SWAPFFIELDS_XZ/YZ and S/R
1020 EXF_SET_OBCS_XZ/YZ ; update obcs_exf_load.F;
1021 - fix EXF_SET_OBCS_XZ/YZ for multi-threaded (assuming loaded arrays are shared)
1022 - verification exp. seaice_obcs: split domain in 2 tiles ; add SIZE.h_mpi
1023 and eedata.mth for MPI and mutlti-threaded testing.
1024 o pkg/flt:
1025 - make FLT EXCH working with multi-threads (and MPI + multi-threads);
1026 - use buffer for floats IO (trajectories & profiles); size set in FLT_SIZE.h;
1027 - fix pickup and trajectories + profiles output with multi-threads;
1028 - add parameter to select group of fields to write along trajectory and
1029 profile (default unchanged);
1030 - only call PORT_RAND* function when flt_noise <> 0;
1031 - add multi-threaded test for verification exp. flt_example.
1032 o eesupp/src:
1033 - fix S/R ALL_PROC_DIE for MPI+multi-threads.
1034 - USE_OMP_THREADING: check that number of threads (from eedata) matches
1035 actual number (from env.var. setting).
1036 o pkg/ebm:
1037 - fix multi-threading in ebm_area_t.F ; clean-up EBM.h header file.
1038 - add multi-threaded test for verification exp. global_ocean_ebm
1039
1040 checkpoint63b (2011/08/29)
1041 o pkg/ebm:
1042 - fix sign of runoff;
1043 - update directly forcing fields (Qnet,EmPmR) to use standard
1044 external_forcing_surf.F (remove ebm_forcing_surf.F);
1045 - avoid loading forcing fields a 2nd time (1rst time from ini_forcing.F);
1046 - set either tauThetaClimRelax (in data) or tauThetaZonRelax (in data.ebm)
1047 and apply relaxation towards corresponding SST field (2-D map or ZonAver).
1048 - update global_ocean_ebm parameters file data and update output (fwd+ad).
1049 o verification/matrix_example:
1050 - split domain in 8 tiles (2x4); add SIZE.h_mpi and eedata.mth for
1051 MPI and mutlti-threaded testing.
1052 o pkg/matrix:
1053 - change name of S/R MATRIX_INIT to S/R MATRIX_INIT_VARIA ;
1054 - fix for multi-tiles (add bi,bj indices to exp/impMatrixCounter);
1055 - fix for multi-threaded (remove DATA statement);
1056 - use standard DIFFERENT_MULTIPLE function;
1057 - add MATRIX_OPTIONS.h
1058 o verification/matrix_example:
1059 To allow to split the domain in several tiles, change the domain size
1060 from 31x31 to 32x32 by adding 1 row (on Southern side) + 1 column (on
1061 Western side) of land points.
1062 o (*_)write_pickup:
1063 - fix few bugs in mypackage_read/write_pickup.F
1064 - in MDS_WR_METAFILES calls, replace "myTime" by a local copy into
1065 array of length 1 (was caught by compiler syntax-check).
1066 o pkg/diagnostics (velocity potential solver):
1067 - fix initialisation of main diagonal matrix (for overlap values)
1068 o tools/build_options:
1069 - towards single optfile for MPI and non-MPI built: merge few +mpi optfile
1070 into previously non MPI one (linux_am64 pgf77,open64,pathf90,ifort11)
1071 - linux_amd64_gfortran: merge +mpi_generic version into standard optfile:
1072 * move IEEE flags to DEVEL section; take IEEE flags from +mpi_generic ;
1073 * FAST case: for now, keep -O3 with ini_masks_etc.F in NOOPTFILES list;
1074 and use "-devel" testreport option for standard testing on baudelaire.
1075 o pkg/grdchk:
1076 - Assume that all gradient-check position are within the same tile
1077 corresponding to global indices (iGloTile,jGloTile) and that
1078 positions (i,j indices or nbeg) are local to this tile;
1079 - set tile local-indices and proc. number according to tile global-indices;
1080 - remove grdchkwhichproc from namelist (retired param);
1081 - send adjoint gradient to all procs so that all procs print it to STDOUT;
1082 - switch on MPI test for global_ocean.90x40x15 AD test experiment.
1083 o adding package bbl (Bottom Boundary Layer)
1084 description in MITgcm/pkg/bbl/bbl_description.tex
1085 example/test experiment in MITgcm_contrib/bbl
1086 o adjoint verifications
1087 - changed 5 experiments to multi-tiles
1088 * global_ocean.90x40x15
1089 * obcs_ctrl
1090 * offline_exf_seaice
1091 * tutorial_dic_adjoffline
1092 * tutorial_tracer_adjsens
1093 changed reference output for those that crossed tile boundaries
1094 (changed choices of gradient check positions)
1095 - with same tiling, switch on MPI test for the last 4 (add SIZE.h_mpi)
1096 - temporary bug fix in grdchk_loc.F for obcs
1097 o genmake2 & testreport
1098 - add target "obj" (just for OBJFILES files) to Makefile;
1099 - add option to specify FEXTRAFLAGS on command line.
1100 o pkg/mypackage:
1101 - remove bi,bj arguments from argument list of S/R MYPACKAGE_CALC_RHS
1102
1103 checkpoint63a (2011/08/02)
1104 o pkg/diagnostics (velocity potential):
1105 - fix velocity-potential calculation when using OBCS: balance net inflow
1106 at each level (new S/R OBCS_DIAG_BALANCE).
1107 - fix some of the problems with OBCS in stream-function calculation.
1108 o pkg/exf/exf_readparms.F
1109 - make treatment of optional namelists (EXF_NML_04, EXF_NML_SGRUNOFF,
1110 EXF_NML_OBCS) more consistent, so that you need not have these lists
1111 in data.exf when they are not used.
1112 o optim/optim_readdata.F:
1113 - add some output about obcs variables that might help debugging
1114 - add a check about nvarlength
1115 o pkg/ctrl: once again, fix computation of endrec in s/r ctrl_init_rec
1116 o pkg/diagnostics (velocity potential):
1117 - fix mask for OBCS (still problems in stream-function with OBCS);
1118 - add specific parameter (default = main code CG2D params) for solver;
1119 - in case of poor convergence, use solution corresponding to lowest residual.
1120 o pkg/seaice/seaice_growth.F: small changes that permit vectorizable
1121 adjoint code. In general statements like tmpscal=fld(i,j) are problematic
1122 and should be avoided where possible.
1123 o model/src (rStar):
1124 - include r* effect on reference-state (PhiRef) in totPhiHyd
1125 (so that it's really the potential anomaly at the cell center);
1126 affect solution only if z* with full pressure in EOS.
1127 - test-exp global_ocean.90x40x15: reduce viscA4 (was not stable) and
1128 update output (because of z* in totPhiHyd and viscA4 changes);
1129 - keep the previous diagnostics as "PHIHYDcR" (closer to potential anomaly
1130 @ constant r) until interpolation at constant r is implemented.
1131 o pkg/diagnostics
1132 - fix RCENTER diagnostics in case cell center is not at interface middle
1133 o add code for TEOS-10 (www.teos-10.org, McDougall et al. 2011). Use
1134 this eos with eosType = 'TEOS10', in data (PARM01). This eos implies
1135 that THETA and SALT are "conservative temperature" and "absolute
1136 salinity"
1137 o pkg/ctrl
1138 - fix computation of endrec in s/r ctrl_init_rec
1139 - ctrl_pack/unpack_*: remove unused variables and some obsolete code
1140 o pkg/seaice/seaice_growth.F
1141 - fix recomputation with FENTY_AREA_EXPANSION_CONTRACTION code,
1142 remove then obsolete STORE directives
1143 - fix STORE directives for tice and tices, so that only the
1144 appropriate part of the fields are stored (and not the entire
1145 field); update global_ocean.cs32x15.seaice AD output.
1146 - cosmetic changes: adjust CPP flags and indentation for better
1147 legibilty
1148 o pkg/autodiff: add mnc-output of adBottomDragFld (code contributed by
1149 Chris Wilson)
1150 o pkg/gmredi:
1151 Add Sub-Meso Eddies parameterisation from Baylor (for now, disabled with TAF),
1152 and test it in verification exp. "front_relax.bvp" (update output.bvp.txt)
1153
1154 checkpoint63 (2011/07/11)
1155 o pkg/exch2:
1156 - rename+move: nTiles in W2_EXCH2_PARAMS.h --> exch2_nTiles in W2_EXCH2_TOPOLOGY.h
1157 - exch2 version of Cumul-Sum routine: S/R W2_SET_MAP_CUMSUM set up the
1158 (2*nTiles)x(nTiles) Cumul-Sum matrix and Master Proc collects all tiles X,Y
1159 increments, calculates Cumul-Sum @ tile origin and sends results to each tile.
1160 o pkg/diagnostics:
1161 - deal with pairs of post-processed diags which are computed together; in
1162 particular, re-order list of diags within 1 file to save 2nd computation.
1163 - add S/R to compute velocity stream-function (called after velocity-potential
1164 calculation) from divergence free transport -> new diagnostics "PsiVEL".
1165 - add parameter to select grid-point location where PsiVEL == 0.
1166 o eesupp/src:
1167 new S/R to calculate cumulated sum on tiled array, corner grid-cell location
1168 (specific S/R needed with exch2 topology - for now, just print an error msg)
1169 o pkg/shelfice
1170 - Implement friction velocity-dependent transfer coefficients following
1171 Holland and Jenkins, JPO, 1999
1172 Original code by M. Losch with small modifs.
1173 Enable with CPP option SHI_ALLOW_GAMMAFRICT
1174 and runtime flag SHELFICEuseGammaFrict
1175 o verification lab_sea & global_ocean.cs32x15:
1176 - use tools/xmakedepend (instead of cyrus_makedepend, in genmake_local):
1177 does not miss some dependencies (but is slower) and also works with many files
1178 (default makedepend limitation for AD built).
1179 - use cyrus_makedepend in adjustment.128x64x1 (so that it still tested).
1180 o pkg/diagnostics:
1181 - add run-time parameter "useMissingValue" (def=False) to fill land-point
1182 (i.e., where mask=0) with MissingValue ; used only in MNC output file.
1183 This replaces CPP-option DIAGNOSTICS_MISSING_VALUE.
1184 - Extend the use of "missing_value" setting from data.diagnostics for the case
1185 of counter-diagnostics (where fraction-weight is zero). This applies both to
1186 MNC and MDS output files.
1187 o pkg/seaice/seaice_growth.F:
1188 - add 'a priori' cap of latent heat flux based on actual mass considerations
1189 when SEAICE_ADD_SUBLIMATION_TO_FWBUDGET is used in conjunction with the
1190 non-legacy seaice_solve4temp.
1191 - add diagnostic of the residual sublimation freshwater flux (the freshwater
1192 flux taken from the ocean if the total actual latent heat fluxes exceed
1193 the maximum)
1194 - remove the CPP switch around the *_FWbySublim unit change and move diagnostic
1195 fill for SIatmQnt, SIfwSubl, SIatmFW to the end of seaice_growth.F.
1196 - add diagnostic of the actual sublimation freshwater flux (that is 0. ifndef
1197 SEAICE_ADD_SUBLIMATION_TO_FWBUDGET) and of the latent heat flux (evap+sublim).
1198 - bug fix : frWtrAtm needs a_FWbySublim ifdef SEAICE_ADD_SUBLIMATION_TO_FWBUDGET.
1199 - bug fix : missing part to Martin's r_FWbySublim pathological case fix.
1200 o verification 1D_ocean_ice_column:
1201 made model domain truly 1x1x23 instead of 5x5x23 with only center cell (3,3,:) wet
1202 update results
1203 o pkg/diagnostics:
1204 - Implement setting of "Post-Processed" diagnostics (corresponding to gdiag(5)='P')
1205 which are not filled-up but computed from other diags ; In this case, the mate
1206 diag points to the primary (filled-up) diag to used for post processing.
1207 - Update Velocity-potential computation using post-processed diag framework.
1208 ==> Change the ordering of fields and time-periods in MDS output file
1209 when using periodic averaging: now writes one time record with the full set
1210 of fields for this time period, then the next time reccord (it used to be
1211 one field with the full set of time records then the next field).
1212 Note: this is now similar to NetCDF (MNC) output file. <==
1213
1214 checkpoint62z (2011/06/21)
1215 o adjoint monitor:
1216 - Add adjoint monitor output for packages exf, seaice
1217 and update relevant testreport output
1218 o pkg/seaice:
1219 - re-order diags inits so that they appear in order in available_diagnostics.log
1220 - added diags: hsnow thermo. rates of change, area preceeding ridiging process,
1221 area/heff/hsnow preceeding thermodynamic growth/melt.
1222 - modified diag: SIdA; output actual effect, as the description states.
1223 - modified description: SIqneti, SIqneto, SIuheff, SIvheff, SIdAb*, HSNOW.
1224 - retired redundant diags: SIyneg, SIfice, SIsnwice, SIthdgrh.
1225 (SIyneg->SIdHbOCN; SIfice->SIdHbATC; SIsnwice->SIdHbFLO;
1226 and SIthdgrh->SIdHbOCN+SIdHbATC+SIdHbATO)
1227 - modified diags (2) : switch all SIdA*, SIdH*, SIdS* from delta to rates.
1228 - added diagnostics for seaice generic tracers (SItr*).
1229 - added SItrUnit and SItrNameLong run time param (for SItr* diags).
1230 - in diag names, replaced 'PrTh' abbrev. of 'preceeding thermo' with 'PT'.
1231 I. Fenty: 18-Jun-2011:
1232 Minor changes to seaice package:
1233 1) Retired old variables (A22, SEAICE_lhsublim, areaMax, areaMin, hiceMin) and
1234 added some new ones (SEAICE_area_reg, SEAICE_hice_reg, SEAICE_area_floor)
1235 - Differentiated "regularization variables" from "floor variables"
1236 * areaMin became SEAICE_area_reg (old A22) and SEAICE_area_floor
1237 * hiceMin became SEAICE_hice_reg (old hiceMin)
1238 (with _reg meaning regularization variable)
1239 - SEAICE_lhSublim becomes lhSublim, the sum of SEAICE_lhEvap and SEAICE_lhFusion
1240 so as to ensure energy conservation when going between phases
1241 - A22 was not used anywhere
1242 2) Changed regularization procedure for heffActual and hsnowActual to ensure
1243 well-boundedness and smooth adjoint in seaice_growth.F
1244 3) Fixed a bug where seaice_solve4temp would not recognize ice-free grid cells
1245 because the old regularization always set heffActual >= 0.05 cm
1246 4) Changed the model so that the default behavior is to put a small (10^-5) "floor"
1247 on AREA when HEFF > 0.
1248 - went from requiring ALLOW_PRECLUDE_INFINITESIMAL_AREA to be defined to
1249 requiring that DISABLE_AREA_FLOOR *not* be defined
1250 Affected verifications:
1251 - 1D_ocean_ice_column (output.txt output_adm.txt)
1252 - global_ocean.cs32x15 (output.seaice.txt output_adm.seaice.txt)
1253 o pkg/diagnostics:
1254 - move MNC code from diagnostics_out.F into new diagnostics_mnc_out.F (2 S/R).
1255 - rename S/R GETDIAG to DIAGNOSTICS_GET_DIAG and change type of 1rst argument
1256 (was _RL, now integer) with option = 0 to retrieve all levels.
1257 - add pieces of code to compute velocity potential at each level (new diagnostics
1258 PhiVEL, works only when UVELMASS & VVELMASS are also turned on);
1259 for now, using same params as CG2D (target-resisual, max Nb of iter ...).
1260 - fix few issues with counter diagnostics in diagnostics_setdiag.F &
1261 diagstats_setdiag.F (if diagnostic counter is itself a counter diag)
1262 and in diagnostics_fract_fill.F (do not need a valid pointer for the
1263 diagnostics counter-mate); check that definition of counter-diagnostic
1264 includes a valid counter-mate (in diagnostics_set_levels.F).
1265 o model/src (rStar):
1266 - add rStar scaling factor in diags_phi_hyd.F (similar to calc_grad_phi_hyd.F);
1267 affect solution only if z* with full pressure in EOS;
1268 update output of test-exp global_ocean.90x40x15.
1269 o pkg/seaice:
1270 - introduce siEps=1e-5 parameter
1271 - use areaMax in AREA update (part 4), consistent with ridging step (part 2.5).
1272 - re-organize SEAICE_ADD_SUBLIMATION_TO_FWBUDGET code.
1273 - introduce ALLOW_SITRACER and seaice_tracer_phys.F to handle generic seaice tracer.
1274 For now it covers, and was tested for, ice salinity and age (attached to HEFF),
1275 as well as ice cover age and ridging index (attached to AREA).
1276 For now the run time parameters (in data.seaice/SEAICE_PARM03) are
1277 SItrName (e.g. 'age') and SItrMate ('HEFF', which is the default, or 'AREA').
1278 Up to SItrMaxNum=3 tracers can be used simultaneously.
1279 o pkg/salt_plume:
1280 -introduce SPsalFRAC run time parameter that sets the fraction of the
1281 salt by-product of ice growth (SPsalFRAC*(1-SIsalFRAC)*salt typically)
1282 that gets vertically redistributed (fluxed down) by pkg/salt_plume.
1283 o model debug options:
1284 - Switch reading of debugMode from S/R INI_PARMS (parameter file "data", stored
1285 in PARAMS.h) to S/R EESET_PARMS (parameter file "eedata", stored in EEPARAMS.h).
1286 - Refine debug-msg printing selection (3 new levels):
1287 debugMode : controls printing of debug messages (sequence of S/R calls).
1288 debugLevel : controls printing of algorithm-relevant auxiliary/debug messages
1289 debLevZero = 0 ; /* level of disabled aux. msg printing */
1290 debLevA = 1 ; /* level of minimum aux. msg printing */
1291 debLevB = 2 ; /* level of low aux. print (report read-file opening)*/
1292 debLevC = 3 ; /* level of moderate debug prt (most pkgs debug msg) */
1293 debLevD = 4 ; /* level of enhanced debug prt (add DEBUG_STATS prt) */
1294 debLevE = 5 ; /* level of extensive debug printing */
1295 New debugLevel default: with default debugMode value (=F),
1296 = 2 (debLevB) or = 1 (debLevA) in case ALLOW_AUTODIFF is defined.;
1297 and if debugMode=T, default debugLevel = 4 (debLevD).
1298 Relation with previous settings:
1299 debLevB (=2) corresponds to former debLevA (=1)
1300 debLevD (=4) corresponds to former debLevB (=2)
1301 Note:
1302 a) if debugLevel=0, skip WRITE_GRID call when nIter0 > 0 (same as before);
1303 b) default debugLevel=1 is convenient in AD runs (avoid many file opening msgs);
1304 to recover previous default, set debugLevel=2 (e.g. AD-test hs94.1x64x5)
1305 - Add new parameter (printResidualFreq, read from PARM02 namelist) to print
1306 detailed CG solvers convergence; off (=0) by default, except if debugLevel=5.
1307 o pkg/obcs:
1308 - change OBCSfixTopo default from True to False (should not change the results);
1309 keep OBCSfixTopo=T in verification-exp. seaice_obcs.
1310 o pkg/thsice:
1311 - fix bug in thsice_calc_thickn.F (was introduced in version 1.18) in
1312 2nd layer seaice sublimation (unlikely to happen)
1313 - use Interior mask for OBCS in thsice_advection.F (similar to what is
1314 done in gad_advection & seaice_advection).
1315 o adjoint:
1316 bug fix spotted by Gael Forget:
1317 seaice_advection and thsice_advection still had
1318 legacy CPP options to avoid CS corner updates for adjoint
1319 o pkg/seaice:
1320 => Change some of the defaults (2011/05/29):
1321 - change SEAICEuseFluxForm default (from False to True)
1322 - change DIFF1 default (from 0.004 m/s to 0. m/s)
1323 And print warnings if DIFF1 is not set in data.seaice and centered
1324 avection scheme is used without any diffusion.
1325 also:
1326 - fix seaice_diffusion calls in default AdvScheme part of seaice_advdiff.F;
1327 - set SEAICEdiffKh[] default in the same way as SEAICEadvSch[]
1328 - stop if DIFF1<>0 with SEAICEadvScheme <> 2, if DIFF1<>0 with any
1329 other non-zero SEAICEdiffKh[] diffusivity, if SEAICEadvSalt=T with
1330 #undef SEAICE_VARIABLE_SALINITY, if SEAICEadvAge=T with #undef SEAICE_AGE.
1331 update results of test exp.:
1332 lab_sea: output.fd (switch to AdvScheme=33 with diffKh=20)
1333 output.hb87, output_adm.evp (SEAICEuseFluxForm=T and diffKh=200)
1334 output_adm.noseaicedyn (SEAICEuseFluxForm=T)
1335 offline_exf_seaice: output.seaicetd, output_adm (SEAICEuseFluxForm=T)
1336 seaice_obcs: output (SEAICEuseFluxForm=T)
1337 and prescribe old default for SEAICEuseFluxForm (=F) and DIFF1 (=0.004)
1338 for standard fwd & AD lab_sea tests (to keep the same output).
1339 o pkg/seaice/seaice_growth.F:
1340 - use Ian Fenty's capping formulas for actual ice
1341 thickness thoughout EVOLUTION branch.
1342 - put treatment pathological case #2) in CPP brackets
1343 (ALLOW_AVOID_INFINITESIMAL_AREA, undef by default).
1344 - update global_ocean.cs32x15 and 1D_ocean_ice_colum results accordingly.
1345 o pkg/seaice:
1346 - seaice_diffusion.F : remove the min(DX,DY) factor permanently;
1347 pass the Laplacian diffusivity (in m^2/s) diffKh as a parameter;
1348 also pass fac as a param, which can be 1. (to update the tendency
1349 field) or the time step (to update the field itself).
1350 - seaice_advdiff.F: for multidim, call seaice_diffusion with
1351 e.g. SEAICEdiffKhHeff and with fac=1; for single-dim, call
1352 seaice_diffusion with e.g. SEAICEdiffKhHeff and with fac=time step.
1353 - SEAICE_PARAMS.h, seaice_readparms.F, seaice_check.F :
1354 hooks to handle SEAICEdiffKhHeff, SEAICEdiffKhArea, etc.
1355 o pkg/seaice:
1356 diffusion with centered advection scheme (diffus.F & advect.F):
1357 - simplify S/R DIFFUS (put deltaT & DIFF1 factor outside, move EXCH outside)
1358 to just compute the laplacian of input-field.
1359 - unroll k loop (harmonic,biharmonic diff) in advect.F to save 1 exch call.
1360 - fix flux-form version in diffus.F to conserve tracer.
1361 update output of lab_sea.fd & lab_sea.hb87 (1rst set of modif affects
1362 machine truncation) and lab_sea.salt_plume (conservative flux-form modif)
1363
1364 checkpoint62y (2011/05/26)
1365 o pkg/seaice:
1366 - seaice_growth.F : in EVOLUTION branch, always include
1367 a_QSWbyATM_cover in qnet (as it should be).
1368 - verification/global_ocean.cs32x15 : update results accordingly
1369 (output.seaice.txt output_adm.seaice.txt).
1370 o pkg/seaice + obcs:
1371 - use maskInW & maskInS in multi-dim advection and biharmonic diffusion:
1372 equivalent of assuming no tracer gradient outside the OB region.
1373 update output of seaice_obcs (uses DIFF1 <>0 => biharmonic diffusion)
1374 - remove calls to OBCS_COPY_TRACER after EXCH calls (no longer needed
1375 after changes above);
1376 - obcs+seaice cleaning: apply seaice-tracer OB values to tracer field
1377 only at OB location (instead of over a band of OLx width).
1378 o pkg/seaice:
1379 - fix wrong indices in old (non Flux-Form) diffusion default S/R diffus.F
1380 (dxG(I+1, ...) changed to dxG(I, ...), no impact on Lat-Lon grid)
1381 o pkg/obcs:
1382 - split header file "OBCS.h" into 4 separated files:
1383 OBCS_PARAMS.h, OBCS_GRID.h, OBCS_FIELDS.h & OBCS_SEAICE.h
1384 Note: OBCS_PARAMS.h & OBCS_GRID.h can be included without OBCS_OPTIONS.h
1385 (contain no conditional statement which depends on OBCS options).
1386 - move "useOBCSYearlyFields" from "data.obcs" (hold in OBCS_PARAMS.h)
1387 to parameter file "data.exf", namelist EXF_NML_OBCS (in EXF_PARAM.h).
1388 o ctrl, cost, grdchk & autodiff pkgs:
1389 - make options file more standard (like other {PKG}_OPTIONS.h file but
1390 with AD_CONFIG.h); clean-up some of the included header files.
1391 o pkg/obcs:
1392 - do not mask tracer when applying OB (tracer == 0 could generate problems)
1393 - apply tracer OB values to tracer field only at OB location (instead of
1394 over a band of OLx width)
1395 - clean-up obcs_apply_w.F & obcs_apply_eta.F (since less calls to these S/R)
1396 - remove OBCS_MULTIDIM_OLD_VERSION code in gad_advection.F and remove
1397 obcs_apply_tloc.F & obcs_apply_sloc.F
1398 o obcs in model/src:
1399 - call OBCS_APPLY_W only if NonHydrostatic.
1400 - call OBCS_APPLY_ETA only if NonLinFreeSurf.
1401 - reset dEtaHdt and wVel to zero outside OB interior region ;
1402 - leave tracer unchanged outside OB interior region: This has no effect
1403 on the solution but just to prevent unrealistic tracer value outside OB.
1404 - zero out velocity outside OB interior region: This has no effect on
1405 the solution but just to prevent unrealistic velocity outside OB.
1406 o obcs and non-lin free-surf:
1407 move call to OBCS_APPLY_R_STAR from update_r_star.F to calc_r_star.F
1408 and call to OBCS_APPLY_SURF_DR from update_surf_dr.F to calc_surf_dr.F
1409 + add argument "etaFld" to OBCS_APPLY_R_STAR & OBCS_APPLY_SURF_DR:
1410 this fixes missing EXCH + get consistent eta OB value (+ fix restart).
1411 update results of test-exp. exp4(nlfs).
1412 o exp4 (nlfs) test-exp:
1413 use OBC for Eta at Western & Eastern OB (to test prescribing Eta
1414 with NonLin-FreeSurf); update output.nlfs.txt
1415 o obcs and 2d/3d solver norm:
1416 use interior masks (maskInC) to cancel out cg2d & cg3d matrix coeff at OB
1417 and outside OB interior region (will allow to place OB further inside the
1418 domain). Depending on the domain, can affects cg2d-Norm (previous
1419 cancellation outside OB was only partial), e.g. in exp4 & obcs_ctrl,
1420 and cg3d-Norm (previous Norm was computed before canceling OB terms),
1421 e.g. in tutorial_plume_on_slope.
1422 - update output of exp.: exp4 (x2), obcs_ctrl and tutorial_plume_on_slope.
1423 o pkg rbcs:
1424 - split RBCS.h into 3 files: RBCS_SIZE.h, RBCS_PARAMS.h & RBCS_FIELDS.h
1425 - add capability to apply relaxation to horizontal velocity uVel & vVel.
1426 o pkg/grdchk: add gradient check for control variable xx_shifwflx
1427 o pkg/shelfice/shelfice_init_fixed.F
1428 fix CPP-flag combinations
1429 o pkg/seaice: Merge iceage code of Pierre Rampal
1430 * update/change/correct ice age calculations
1431 * add age updates for pathological cases
1432 Probably needs more testing...
1433
1434 checkpoint62x (2011/05/13)
1435 o pkg/mom_vecinv:
1436 high-order vorticity scheme: use interior masks (maskInW & S)
1437 to zero-out (outside OB) gradient of vorticity.
1438 o verification exp.:
1439 turn on "useEnergyConservingCoriolis" (better discretisation) in exp.
1440 hs94.128x64x5 and seaice_obcs ; update results.
1441 o pkg/obcs:
1442 fix bug in OBeta for YZ sections in obcs_exf_load.F
1443 o pkg/ctrl, pkg/shelfice, and optim:
1444 - add new control variable xx_shifwflx (fresh water flux underneath ice
1445 shelves). This is almost as tedious as obcs-ctrl, because the
1446 variables needs its own mask.
1447 - add a cost function term that penalizes the deviation of xx_shifwflx
1448 from the first guess (zero) in analogy to other control variables
1449 o pkg/shelfice:
1450 - start basic adjoint
1451 o pkg/ctrl:
1452 - remove extra 2D field "for good measure" when initializing in
1453 ctrl_set_globfld_[xy/xz/yz].F
1454 - replace hard coded precision 32 (a bug) in ctrl_map_ini_gen by ctrlprec
1455 - improve error messages in ctrl_set_unpack_*
1456 o OBC implementation in momentum:
1457 use interior masks (maskInC,W & S) in momentum S/R:
1458 - multiply divergence, tension and some del^i.u or del^j.v by maskInC
1459 - multiply del2u,del2v by maskInW/S (biharmonic viscosity)
1460 - multiply horiz. grad of vorticity by maskInW/S (in Leith scheme)
1461 - multiply gradient of wVel by maskInW/S in del2w calculation (NonHyd)
1462 Motivation: fix/clean implementation of OBC with biharmonic-viscosity
1463 (and also with Leith/Smagorinsky harmonic-viscosity).
1464 Update output of experiment dome and exp4 (+nlfs).
1465 o exp4 test-exp:
1466 - turn on: nonHydrostatic, exactConserv, viscA4 (with momDissip_In_AB=F)
1467 and prescribe time-varying OB (without pkg/exf) for zonal-velocity
1468 at Western & Eastern Boundaries (+/- 1 per-cent); Also prescribe
1469 time-varying OB at Western-side for wVel (NonHyd); update output.
1470 - add secondary set-up (.nlfs) using NonLin FreeSurf (z*) + mom_vecinv
1471 and biharmonic-viscosity ; also use prescribed time varying OB.
1472 o pkg/obcs:
1473 fix bug in OBWeta,OBWeta indices in obcs_apply_r_star.F
1474 o model/src:
1475 - fix startTime setting when baseTime<>0 & nIter0=0 are specified ;
1476 - initialise startTime & nIter0 with unlikely values: allows to set one
1477 from the other without ambiguity.
1478 o seaice_obcs test-exp.:
1479 add small diffK4T,S to test biharmonic diffusivity with OBCS ; update output.
1480 o pkg/obcs:
1481 - remove calls to OBCS_COPY_TRACER after EXCH for T,S & pTracer:
1482 no longer needed with maskInC,W,S in pkg/generic_advdiff.
1483 o pkg/seaice:
1484 - retired SEAICE_SALINITY and SEAICE_salinity in favor of
1485 SEAICE_VARIABLE_SALINITY and SIsalFRAC, respectively.
1486 - fixed bug in the initialization of sea ice salinity variable HSALT
1487 in seaice_init_varia.F (removed dependence on ICE2WATR)
1488 o fizhi-cs test exp.:
1489 switch reference output convention for these 2 non-standard test-exp,
1490 from: pgi 6.1-5 on faulks (FC.6, -of linux_ia32_pgf77+authors_fc5)
1491 to: ifort 11.1 on baudelaire (FC.13, -of linux_amd64_ifort11)
1492 reason: faulks might get retired soon and pkg/fizhi has still Pb with gfortran
1493 o model/inc:
1494 - change type of PmEpR array (from _RS to _RL) to fix restart (with "-use_r4")
1495 of exp. global_ocean.90x40x15 (Suncronous time-stepping + Real-FW + NonLin-FS)
1496 o pkg/seaice:
1497 - fix calculation of saltFlux and saltPlumeFlux when using SEAICE_SALINITY
1498 o verification/lab_sea, 1D_ocean_ice_column, seaice_obcs, global_ocean.cs32x15
1499 - updated output*.txt files due to bug fixes in salt, saltPlumeFlux,
1500 and initial HSALT
1501
1502 checkpoint62w (2011/04/26)
1503 o pkg/mom_fluxform:
1504 - fix calculation of del2u & del2v (no-slip BC) when using Non-Lin Free-Surf.
1505 - use parameter "sideDragFactor" in no-slip BC side-drag part.
1506 - update output of exp. global_ocean.90x40x15
1507 o pkg/mom_vecinv:
1508 mask del2u & del2v (no effect on results, but cleaner & closer to mom_fluxform)
1509 o update seaice exp.:
1510 use more consistent parameter values (remove "backward compatability only":
1511 ICE2WATR, SEAICE_lhSublim, SEAICE_cpAir, SEAICE_rhoAir + set rhoConstFresh)
1512 related to thermodynamics seaice. Update output (fwd+AD) of exp.:
1513 1D_ocean_ice_column (x2), lab_sea (x8), ioffline_exf_seaice (x2) & seaice_obcs
1514 o update test-exp global_ocean.90x40x15:
1515 o use default CD_CODE_OPTIONS file (Adams-Bashforth on CD Mom & Coriolis).
1516 o increase Overlap size from 2 to 3 (to allow to test bi-harmonic Visc.)
1517 o new pickup-files from a 100.yr run with pkg/down_slope (input.dwnslp params)
1518 o turn on zStar & viscA4 in standard set-up (dir input/)
1519 and update output files: output.txt & output.dwnslp.txt
1520 o new AD-test experiment: obcs_ctrl
1521 (From Matt MITgcm_Contrib/SOSE/BoxAdj) to test OBCS as control vector.
1522 o pkg/dic:
1523 fix two bugs in handling water vapour pressure in carbonate chemistry
1524 and air-sea fluxes. Found by Val Bennington and Galen McKinley
1525 (add DIC Option = WATERVAP_BUG to recover old results)
1526 update output of tutorial_global_oce_biogeo (fwd+AD) & tutorial_dic_adjoffline
1527 o adding allowInteriorFreezing option to check for water below freezing point
1528 at depth and bring the negative heat anomaly to the surface level
1529 o pkgs _fields_load:
1530 - extend GET_PERIODIC_INTERVAL to deal with non-periodic case (from pkg/rbcs)
1531 - use new S/R GET_PERIODIC_INTERVAL in pkgs:
1532 bulk_force, cheapaml, cfc, dic, obcs (+ ctrl/ctrl_get_gen_rec), offline and
1533 rbcs to get interpolation weights and time reccord number.
1534 - fix multi-threading in aim_fields_load.F
1535 - apply EXCH to temp arrays [0,1] after reading in dic_fields_load.F
1536 o external_fields_load:
1537 new S/R GET_PERIODIC_INTERVAL to calculate which time-record (and linear
1538 interpolation weights) to use in a periodic time-series ; do not divide by
1539 time-step to convert to integer:
1540 - this fixes case where externForcingPeriod is not multiple of time-step
1541 (Thanks to Christopher L. Wolfe)
1542 - this fixes case where externForcingPeriod is an odd multiple of time-step
1543 (was wrong by half of time-step); update results of tutorial_global_oce_in_p.
1544 store index of time-record which is currently loaded:
1545 - works without any assumption on sequence of calls to EXTERNAL_FIELDS_LOAD ;
1546 - needed for the adjoint but not yet used because of extensive recomputations;
1547 (to be fixed soon)
1548
1549 checkpoint62v (2011/04/02)
1550 o verification/1D_ocean_ice_column added to test Ian Fenty's
1551 pkg/seaice_growth.F modifications for improving sea ice code differentiability
1552 o update output of exp4, internal_wave, seaice_obcs, tutorial_plume_on_slope
1553 (new velocity statistics after changing maskInW & maskInS definition)
1554 o pkg/generic_advdiff with OBCS:
1555 use maksInW & maskInS in advective flux and in biharmonic diffusion calculation:
1556 equivalent to assumption of no tracer gradient outside the OB region.
1557 This will affect the results if using obcs+biharmonic diffusion.
1558 update output_adm.txt of experiment bottom_ctrl_5x5 (not expected since no obc)
1559 o pkg/obcs:
1560 change definition of maskInW & maskInS: leave OB edges inside (maskIn=1)
1561 (e.g., maskInW(OB_Ie)=1 ) so that velocity normal-component at OB is still
1562 in Interior region. No impact on solution but affects Velocity monitor stats.
1563 o pkg/ptracers (adjoint)
1564 New option AUTODIFF_PTRACERS_SPLIT_FILES for writing separate
1565 tape file for each tracer
1566 o model/inc/src and pkg/autodiff: add parameters that allow to turn
1567 of parts of the adjoint code at run time. For now, there are only
1568 useKPPinAdMode, useGMrediInAdMode, and useSEAICEinAdMode. These
1569 parameters are set in data.pkg.
1570 This is the lazy coward's version of doing this, but still useful for
1571 debugging. In order to do it right, everything needs to be moved to
1572 pkg/autodiff.
1573 o pkg/autodiff: fix global_sum_tile_ad.F by resetting adsumPhi at
1574 the end; this fixes the adjoint balancing code for open boundaries.
1575 o pkg/ctrl:
1576 - change behavior of xx_${varname}period to be analogous to exf-conventions:
1577 xx_${varname}period = 0., means time-independent control part
1578 xx_${varname}period = -12., means one-year-periodic monthly control part
1579 - introduce helper routine ctrl_init_rec (part of ctrl_init.F) to
1580 clean up ctrl_init a little, remove unused variables
1581 - ctrl_init: fixed the handling of the start/endrec for obcs-variables
1582 - move "call cal_GetMonthsRec" from s/r ctrl_get_gen to s/r ctrl_get_gen_rec
1583
1584 checkpoint62u (2011/03/15)
1585 o model/src:
1586 - for the adjoint, change NonLin-FreeSurf initialisation sequence: fill-in
1587 h0Fac from INITIALISE_FIXED and reset hFac to h0Fac in INITIALISE_VARIA ;
1588 - in initialise_varia.F (except for ALLOW_DEPTH_CONTROL) remove 2nd call to
1589 INI_DEPTHS, INI_MASKS_ETC & INI_LINEAR_PHISURF.
1590 o pkg/ctrl/obcs/ecco:
1591 - remove obsolete, unused, and partially broken code:
1592 ctrl_obcsvol/ctrl_obcsbal/ctrl_volflux and code within
1593 ALLOW_CTRL_OBCS_BALANCE
1594 - put a stop statement into ecco/cost_obcsvol.F, but also add
1595 cost_obcsvol to ecco_ad_diff.list
1596 o pkg/ecco: fix counting cost function contributions for obcs (code
1597 by Matt M.) and diffkr for diagnostics
1598 o pkg/ecco, pkg/ctrl, pkg/grdchk:
1599 add cost penalty terms for initial uvel, vvel, eta controls
1600 and I/O for prior error files
1601 o pkg/mdsio:
1602 move mds_check4file.F from eesupp/src to mdsio_check4file.F ; add option
1603 (new argument) to check for tiled file in mdsioLocalDir : this fix the
1604 restart from pickup_som , pickup_dic (& dic_co2atm) with mdsioLocalDir.
1605 o pkg/ctrl:
1606 - ctrl_obcsbal.F, ctrl_obcsvol.F: replace last calls of ctrl_getrec by
1607 ctrl_get_gen_rec, put a stop statement into ctrl_getrec. Remove
1608 unused and superfluous variables
1609 - ctrl_get_gen_rec.F: catch the case of xx_genperiod=0.
1610 o pkg/ecco
1611 - enable adjoint of Stevens OB
1612 o pkg/ctrl/ecco/grdchk:
1613 - remove global declaration of tmpfldx/yz and tmpfldx/yz2.
1614 Fortunately, we do not have any tests for the numerous cpp-flagged
1615 option of "obcs as control parameters" so we will never know
1616 if this is an improvement (but at least now things compile).
1617 - remove an obsolete initialization from ecco_cost_init_barfiles.F
1618 - fix some problems within never used ifdefs to make the code compile
1619 o pkg/obcs:
1620 - Refine Interior mask definition to work with more complex OB (e.g.
1621 if OB_Ie < OB_Iw); In case default setting is not sufficient, allows to
1622 read in Interior mask from file. Check if Interior mask is consistent
1623 with OB list of indices.
1624 o pkg/seaice
1625 - beginning code for a seaice tracer package,
1626 but currently only used for seaice age: SEAICE_AGE
1627 SEAICE_num = 4
1628 iTracer = 1: area-weighted ice age
1629 = 2: volume-weighted ice age
1630 = 3, 4: template for one-year vs. multi-year ice
1631 data.seaice has new namelist SEAICE_PARM03 for arrays related to
1632 SEAICE_num
1633
1634 checkpoint62t (2011/03/05)
1635 o pkg/obcs:
1636 - obcs_apply_uv.F: change to a 2 steps method, first tangential component;
1637 then normal component. This ensures that the normal component is set
1638 correctly even when it conficts with tangential setting from an other OB.
1639 Affects results of test-experiment seaice_obcs: update the output.txt
1640 o pkg/obcs:
1641 - add code to monitor statistics of dynamical fields at OB.
1642 - take OBCS_BALANCE code out of obcs_calc.F into new S/R OBCS_BALANCE_FLOW :
1643 - fix to OBCS_BALANCE code (right hFac ; deal with simple OB intersection).
1644 - change default: balance the Net inflow through all OB (instead of balancing
1645 each OB separately); keep the old method if setting OBC_balanceFacX < 0.
1646 - switch on useOBCSbalance in dome experiment: only correct Western OB outflow
1647 to match Nortern OB inflow (OBCS_balanceFacN=0).
1648 o pkg/seaice:
1649 - redefined actual sea ice age to be ICEAGE/HEFF ifdef SEAICE_AGE_VOL
1650 o pkg/seaice (seaice_growth v 1.113):
1651 - reverting seaice_growth to v 1.111 in order to have code with exact bit
1652 compatibility with MITgcm_contrib/ifenty/Fenty_seaice_thermo_code_merge
1653 CPP option SEAICE_OCN_MELT_ACT_ON_AREA removed in v 1.112 is reintroduced
1654 runtime flag SEAICEareaFormula is kept but is inactive
1655 o model/src:
1656 - add new param to scale curvilinear grid distance and area when using
1657 a different sphere radius from the grid-files.
1658 - test/check multi-threads EXCH applied to local variable (cg2d_x)
1659 o adjoint:
1660 - enable adjoint of Stevens OB
1661 - add dummy_in_dynamics to enable extraction of ADJrhoinsitu
1662 (a bit delicate because of potentially modified adj. common block structure;
1663 current switch is ALLOW_AUTODIFF_MONITOR_DIAG, could be changed later)
1664
1665 checkpoint62s (2011/02/15)
1666 o pkg/seaice (seaice_growth v 1.112):
1667 - introduce SEAICEareaFormula run time parameter, which selects the recipe for
1668 computing the ice cover tendency from effective thickness tendencies. Include
1669 Ian Fenty's formula.
1670 - remove 'undef SEAICE_OCN_MELT_ACT_ON_AREA' which may now be achieved using
1671 SEAICEareaFormula.
1672 - simplify notations for the various d_HEFF/d_AREA terms.
1673 o pkg/gmredi:
1674 - add Boundary-Value-Problem bolus transport (Ferrari etal, OM 2010) code
1675 from Christopher Wolfe (UCSD); add partial cell factor in vertical derivative;
1676 add a verification test-run (front_relax.bvp) to test GM_useBVP.
1677 o pkg/seaice (seaice_growth v 1.111):
1678 - for SEAICE_DO_OPEN_WATER_GROWTH, replace Gael's implementation with Ian's.
1679 - the new SEAICE_DO_OPEN_WATER_MELT allows open-water air-sea heat fluxes to
1680 also melt ice.
1681 o pkg/seaice:
1682 - McPhee formula for Ice-Ocean fluxes (provided by Ian Fenty).
1683 - can be used by #define MCPHEE_OCEAN_ICE_HEAT_FLUX in SEAICE_OPTIONS.h
1684 o pkg/cheapaml:
1685 - from Nico Wienders: New version of this package.
1686 o pkg/flt:
1687 - add CPP options to prevent floats to re-enter the opposite side of
1688 a periodic domain (default: keep periodicity)
1689 o pkg/gmredi:
1690 - apply exchange to GM_PsiX,GM_PsiY to get valid values near CS-corners
1691 (needed for multi-dim advection).
1692 - switch on GM Advective form in global_ocean.cs32x15 and update output.txt
1693 o model/src:
1694 - fix wrong re-setting of addMass array (ALLOW_ADDFLUID) for atmospheric run.
1695 o tutorial_tracer_adjsens
1696 - extend to NLFS and replace maskC by hFacC
1697 (change reference output accordingly)
1698
1699 checkpoint62r (2011/01/24)
1700 o testreport:
1701 - add option -deloutp (-do) to remove output file after successful run
1702 - add option -mfile (-mf) for MPI machile-file and for each test-exp,
1703 extract exact list of procs from this file ; adjust COMMAND by
1704 replacing TR_MFILE & TR_NPROC with local machile-file & Nb of MPI procs.
1705 o pkg/ecco: replace old ineffective way of penalizing deviations from
1706 first guess (of obcs) with code by Matt Mazloff
1707 o pkg/ctrl: add code that allows the use of ALLOW_OBCS?_CONTROL without
1708 exf/cal
1709 - ctrl_init: fix initialisation (computation of diffrec) for obcs-ctrl
1710 and handle case of obcs?period == 0
1711 Not affected by these changes: There is still an inconsistency in
1712 the computation of start/endrec for the obcs variables for ALLOW_CAL
1713 defined (see comment by Menemenlis, 7-Mar-2003)
1714 - make S/R ctrl_get_gen_rec return something meaningful even if
1715 ALLOW_CAL is not defined
1716 - ctrl_getobcs?: simplify code so that it does not need to use
1717 S/R exf_swapfields
1718 o testreport:
1719 allow to test MPI with different number of processors for each experiment:
1720 create file "SIZE.h.mpi" in each build dir.
1721 Note: update of "-command" argument not yet implemented.
1722 o model/src, pkg/autodiff, pkg/ecco, pkg/seaice:
1723 alleviate the need for additional 3D tapes when using
1724 the non-inear free surface in the adjoint. This is done
1725 by adding an 'update' of hfacc etc. to their current
1726 value at the beginning of forward_step.F.
1727 o pkg/seaice
1728 seaice_lsr: move stress-divergence computations out of outer pseudo-
1729 timestepping loop
1730 o pkg/obcs/obcs_prescribe_read.F: move 'CALL OBCS_EXTERNAL_FIELDS_LOAD'
1731 up, so that the calls of the ctrl_* subroutines are really at the end
1732 of the routine.
1733 o pkg/gmredi:
1734 allow to specify a 2-D horizontal map and a 1-D vertical profil
1735 as scaling factor for Isopycnal diffusivity (Redi) and GM diffusivity.
1736 o pkg/seaice:
1737 move lsr iterations from seaice_dynsolver to seaice_lsr.
1738 o pkg/seaice:
1739 reduce memory footprint of seaice mutldim advection tapes,
1740 by using a 2D tape independent of the generic_advdiff ones,
1741 and setting GAD_AREA=1 etc. rather than GAD_AREA=101 etc.
1742
1743 checkpoint62q (2010/12/29)
1744 o model/src:
1745 - check horizontal grid-spacing for unset or zero/negative values.
1746 - change AD test hs94.1x64x5 to be truly a 2-D set-up.
1747 o pkg/flt:
1748 - use (recent) mdsio S/R MDS_READVEC_LOC instead of local FLT_MDSREADVECTOR
1749 - precision of input and output files set according to readBinaryPrec
1750 and writeBinaryPrec (previously always 64.b), pickup remains at 64 bits.
1751 - initial float position from tiled file was not converted to index space
1752 (looks like a bug): fixed to make it similar to initial pos. global file.
1753 o global_ocean.cs32x15:
1754 change SIZE.h of AD set-up to get same tiling as with MPI.
1755 Update output_adm, output_adm.thsice (pass@14) & output_adm.seaice (fail@11)
1756 o model/src:
1757 add flag to control printing of domain fields (bathymetry, hFac ...) in
1758 ini_mask_etc (call to plot_fieds_xy*).
1759 o pkg/thsice:
1760 if useEXF, some forcing fields are not valid in overlap: fixed by computing
1761 over the interior only + apply EXCH at the end (like with SEAICE advection).
1762 o pkg/mdsio:
1763 - add 2 arguments to S/R MDS_PASS_R4/8toRL/S for overlap size of buffer
1764 to copy to/from, so that it can be used to replace MDS_PASS_WH_R8toRL/RS.
1765 - change barrier call for safe multi-threads access to 3-D shared buffer.
1766 - MDS_READ/WRITEVEC_LOC use buffers from MDSIO_BUFF_3D.h (instead of local ones)
1767 - replace call to MDS_PASS_WH_R4/8toRL with call to MDS_PASS_R4/8toRL and
1768 remove the 4 S/R MDS_PASS_WH_R4/8toRL/S.
1769 o pkg/flt:
1770 - add fourth-order Runge-Kutta integration
1771 - add basic exch2 support (only 1 facet supported so far!)
1772 o pkg/mdsio+rw:
1773 new S/R to read local (or tile independent) vector (read counterpart of
1774 mds_writevec_loc, and front-end write_glvec_rl/rs).
1775 o global_ocean.cs32x15: additional input_ad.seaice experiment
1776 that uses pkg/seaice rather than pkg/thsice.
1777 (using multidim advection for seaice)
1778 o towards more F95 syntax for array specification in namelist:
1779 - change "data.diagnostics" (data.ptracers was changed before checkpoint62p)
1780 of all verification experiments.
1781 e.g.: line: fields(1,3)='ETAN ','ETANSQ ',
1782 was changed to: fields(1:2,3)='ETAN ','ETANSQ ',
1783 - finish adding "-DNML_EXTENDED_F77" to DEFINES list in pgf77 and g77 optfiles
1784 o global_ocean.cs32x15: additional input.seaice experiment
1785 that uses pkg/seaice rather than pkg/thsice.
1786
1787 checkpoint62p (2010/12/17)
1788 o pkg/thsice: rename (ad tape index) iicekey as ticekey, and move it
1789 to THSICE_SIZE.h to avoid conflict with pkg/seaice.
1790 o pkg/seaice: add seaice_diffusion.f seaice_map_thsice.f to adjoint.
1791 allow for use of multim. advection in seaice adjoint.
1792 o pkg/seaice: add diagnostics for snow precipitation and sublimation flux
1793 - first attempt to close budgets by taking into account the freshwater
1794 flux implied by the sublimation of snow and ice. So far only the
1795 volume budget is closed, turn on with soon-to-be-retired-again CPP-Flag
1796 SEAICE_ADD_SUBLIMATION_TO_FWBUDGET
1797 o eesupp/src:
1798 new S/R with new option (NML_EXTENDED_F77) to change array specification
1799 from F95 standard to commonly accepted extended F77 form.
1800 This would allow to use F95 syntax in namelist (needed with gfortran 4.4.5)
1801 and to revert back to the original syntax (with -DNML_EXTENDED_F77)
1802 for less tolerant f77 compiler (e.g., pgf77, g77).
1803 o globalFiles:
1804 commented out in parameter file "data" since it's not safe with MPI
1805 (e.g., wrong on aces); keep it if useSingleCpuIO=T (but not doing much
1806 in this case); no longer commented out in restart test (tst_2+2).
1807 o add adTapeDir to specify a special directory where adjoint tapes are
1808 written/read (adread_adwrite.F). adTapeDir is specified in data/PARM05
1809 and cannot be used together with mdsioLocalDir.
1810 o nesting pkgs:
1811 - packages_init_variables : put call to OBCS_INIT_VARIABLES in last position
1812 - update Gianmaria's Nesting pkgs (from Contrib/nesting_sannino)
1813 - add parameter files + utils dir + output from short run on beagle.
1814 o pkg/seaice:
1815 fix seaice_growth.F store directives; update results of exp. lab_sea.ad
1816 o pkg/seaice: explicitly store tsurfloc in seaice_solve4temp.F to avoid
1817 unnecessary copying in adjoint code, requires new parameter NMAX_ITER
1818
1819 checkpoint62o (2010/11/25)
1820 o pkg/exf:
1821 - change CPP option EXF_VERBOSE to run-time logical param exf_verbose.
1822 o pkg/seaice:
1823 - seaice_ocean_stress: split a loop for better vectorization of the
1824 adjoint code
1825 - seaice_growth.F: fix bug in conservation of freshwater connected to
1826 capping of heff, put contribution into d_HEFFbyNEG
1827 - replace irritating parameters SEAICE_latentWater/Ice and SEAICE_sensHeat
1828 by something more sensible (parameters that are what their name implies)
1829 - change some defaults, so that by default exf-parameters are used for
1830 things like rhoAir, cpAir,latent/sensible heat parameters, in order
1831 to reproduce the old results, many data.seaice now contain funny values
1832 for cpAir and latent heat of sublimation
1833 o packages_readparms.F: move exf_readparms up in line so that
1834 exf-parameters are visible for other packages (e.g. seaice)
1835 o debugMode & debugLevel=2:
1836 - differentiate between debugMode & debugLevel=2:
1837 debugMode: controls printing of debug messages (sequence of S/R calls).
1838 debugLevel: controls printing of algorithm intermediate results and stats.
1839 - remove "if debugLevel=2 => debugMode" but keep "debugMode => debugLevel=2";
1840 => allows to print debug-stats without all sequence of call messages.
1841 - switch control of debug print from debugLevel to debugMode in many S/R.
1842 o pkg/obcs (obcs-sponge):
1843 fix bug that was introduced on Oct 25 (in dynamics.F v1.151): put back the
1844 call to OBCS_PRESCRIBE_EXCHANGES (need to exch gU,gV when using obcs-sponge)
1845 o pkg/generic_advdiff:
1846 - record overlap minimum size for each advection scheme;
1847 - refine criteria on overlap minimum size;
1848 - check and stop (in gad_check) if overlap size is too small.
1849 o pkg/obcs:
1850 - with ptracers: remove multiple calls to obcs_apply_ptracer (only done
1851 once, in ptracers_implicit.F)
1852 - with seaice: remove test on empty file name in obcs_apply_seaice (always
1853 apply OB values when tile has OB)
1854 o model/src, coriolis setting:
1855 - integer parameter "selectCoriMap" (=0,1,2) replaces 3 logical
1856 useConstantF, useBetaPlaneF, useSphereF ; can now read coriolis from
1857 files (selectCoriMap=3) with any grid.
1858 - add parameter "fPrime" for constant second Coriolis coeff (default=0).
1859 o pkg/seaice/seaice_growth.F:
1860 a few cosmetic changes that reduce the number of lines of code
1861 o pkg/obcs: add boundary conditions following Stevens (1990)
1862 - the code follows old MOM/NAOSIM code
1863 - so far it is only implemented for the eastern and western boundaries
1864 and NOT for pTracers
1865 o pkg/rbcs:
1866 - replace rbcsInIter by rbcsForcingOffset, the time in seconds at the
1867 beginning of the first rbcs forcing period.
1868 - add option rbcsSingleTimeFiles that makes rbcs read forcing data like the
1869 offline package, i.e., one file per time, labeled by iteration number;
1870 deltaTrbcs sets the timestep with which the data was generated;
1871 rbcsIter0 is the forcing iteration corresponding to rbcsForcingOffset.
1872 - rbcsForcingCycle=0 makes forcing non-cyclic.
1873 - make arithmetic safe for negative times and odd forcing periods.
1874
1875 checkpoint62n (2010/11/09)
1876 o pkg/seaice:
1877 fix masking in free-drift S/R ; update results of exp. lab_sea.fd
1878 o pkg/obcs:
1879 New S/R to copy tracer value from the OB location to narrow band region
1880 (width = same as overlap) beyond the OB: preserve OB value (needed for
1881 high-order scheme) which were overwritten by EXCH call if in overlap
1882 region. Applied to theta, salt, ptracer and advected seaice variables.
1883 With seaice: use maskInC in similar way as in gad_advection.F,
1884 in seaice_advection.F and advect.F.
1885 Update output of experiment seaice_obcs and change exp4 to test OBCS with
1886 4th order Adv.Scheme. for pasive salt and ptracer.
1887 o tools/genmake2:
1888 - when looking for an optfile (not specified), only search for Fortran compiler
1889 (remove sym-link test + setting of CPP + makedepend check + C-compiler check)
1890 - in get_fortran_c_namemangling: use "$CC $CFLAG" to compile C test programm
1891 (instead of "$MAKE genmake_test.o" since an existing Makefile can be wrong)
1892 - set default for CPP to "cpp -traditional -P" (was the case without specifying
1893 an optfile, but otherwise default was just "cpp".
1894 - comment out PLATFORM=$p_PLATFORM (no idea where p_PLATFORM comes from)
1895 - when "CC" is not set in the optfile, look for possible C compiler
1896 (instead of just setting CC=cc)
1897 - put back version v.169 modif (from 2008/02/15), was dropped in v.173 changes:
1898 => add a ".F" to ".o" rule for source files with no "#include" (such as
1899 port_rand.F); otherwise, default ignores FOPTIM and just uses FFLAGS.
1900 - move gfortran before g77 in list of possible Fortran compiler (consistent
1901 with reference compiler switch from g77 to gfortran)
1902 o pkg/seaice:
1903 o remove SEAICE_OLD_AND_BAD_DISCRETIZATION-code, add a test to
1904 seaice_check that stops the model, when the CPP flag is used.
1905 o seaice_growth.F: make capping of ice volume conserving by returning the
1906 capped ice as freshwater to EmPmR. This does not change the verification
1907 experiments but will change runs where the capping is acutally active
1908 o change reference platform+compiler from faulks+g77 to baudelaire+gfortran
1909 (except the 2 fizhi test exp.); update output of exp.: bottom_ctrl_5x5,
1910 global_ocean.cs32x15 (icedyn, thsice, AD thsice), global_ocean_ebm (AD),
1911 lab_sea (fd, hb87, salt_plume), MLAdjust (3/5) and vermix (dd)
1912 o tools/genmake2:
1913 - merge genmake_warnings & genmake_errors into 1 log file: "genmake.log")
1914 - change DUMPSTATE default to false (can use "-ds" option to switch it to T)
1915 - clean previous genmake log files before anything else.
1916 - change Makefile to remove testreport log files (*.tr_log) and genmake log
1917 files only with "CLEAN" target (instead of "Clean");
1918 o pkg/generic_advdiff:
1919 Change OBCS in multiDim advection (gad_advection.F):
1920 Use maskInC to prevent intermediate update of tracer-field in OB regions,
1921 thus keeping current-time-step OB values; and remove the call to OBCS_APPLY
1922 which were applying future time-step OB values.
1923 This way, all explicit calculations use current-time-step OB values
1924 (simpler and more consistent).
1925 Affects results when set-up uses time-varying OBC and multi-dim advection;
1926 update output of experiment seaice_obcs.
1927 o pkg/seaice:
1928 move OPTIONS (formerly locally defined) to SEAICE_OPTIONS.h:
1929 this includes SEAICE_GROWTH_LEGACY (+ SEAICE_DO_OPEN_WATER_GROWTH &
1930 SEAICE_OCN_MELT_ACT_ON_AREA ) and SEAICE_SOLVE4TEMP_LEGACY.
1931 Default (pkg/seaice/SEAICE_OPTIONS.h) is to define SEAICE_SOLVE4TEMP_LEGACY
1932 but leave SEAICE_GROWTH_LEGACY undef ; For now, keep verification exp
1933 unchanged (SEAICE_GROWTH_LEGACY defined in */code*/SEAICE_OPTIONS.h)
1934 o pkg aim (2010/10/26):
1935 - Introduce ALLOW_INSOLATION, moving toward a more general incoming solar radiation
1936 formulation with obliquity, eccentricity, ... as run-time parameters,
1937 - Introduce diagnostics for top-of-the-atmaophere incoming solar radiation and
1938 upward shortwave radition at the surface (all-sky and clear-sky).
1939 o pkg/obcs:
1940 - writing sections with globalFiles=T does not work: switch to tiled-files
1941 when writing sections for OBCS (change pkg/rw/write_rec.F accordingly).
1942 - fix index bug (OB_Ie -> OB_Iw_) in obcs_apply_uvice.F
1943 - apply OBCS_SEAICE_COMPUTE_UVICE to both uice and vice at all obcs
1944
1945 checkpoint62m (2010/10/21)
1946 o pkg/seaice: vectorize seaice_solve4temp.F
1947 - move iterations loops outside of i/j-loops
1948 - requires 2D arrays for TB and effConduct
1949 - add 2D iceOrNot to replace HICE_ACTUAL.GT.0, as HICE_ACTUAL is
1950 modified in this routine
1951 - a little bit of clean up, adjusting indentation, etc.
1952 - replaced a few TEN**a by exp(a*log(10.)) in new code for better
1953 performance and '**TWO' by '**2' (because TWO is a float),
1954 replaced ONE, ZERO
1955 o eesupp/src:
1956 fix flow dir for exch1_z_RX_cube, exch1_uv_RX_cube & exch1_bg_RX_cube
1957 o pkg/seaice/seaice_growth.F
1958 Revision 1.89 of seaice_growth.F completes the overall october 2010 revision and
1959 merging process. The merged routine has two branches, and one activates the 'evolution'
1960 branch by setting SEAICE_GROWTH_LEGACY to undef (at the top of the routine for now).
1961 In summary, here is what the '10/10 revision' did consist of
1962 part 1: seaice_growth.F revisions 1.71 to 1.75
1963 - Preliminary seaice_growth.F clean-up, keeping test results strictly unchanged.
1964 The emphasis here was on improving readability (e.g. by trying to use meaningful
1965 variable names) and modularity (e.g. by adding arrays to store heff etc. updates).
1966 part 1.5:
1967 - revising the lab_sea experiment to make it a more useful (i.e. stable
1968 and representative of an actual model run). This was done by generating a
1969 (winter) pickup to start from, switching back the main experiment dynamic
1970 solver from evp to lsr, having one of the experiments use the free drift solution.
1971 part 2: seaice_growth.F revisions 1.76 to 1.85
1972 - Sorting out hard-coded constants that prevented heat and fresh water conservation.
1973 - Sorting out the various fields units and sign (set early on and reset at the end)
1974 to avoid numerous scalings/re-scalings. By v1.85 the basic unit for ice, heat and
1975 fresh water stock is 'effective ice meters', and >0 implies more ice/snow.
1976 - Using tendency terms arrays (d_HEFF* etc.) to alleviate remaining code locks,
1977 and simplifying logical expressions to further improve readibility.
1978 part 3: seaice_growth.F revisions 1.86 to 1.89
1979 - Re-organize the blocks of code more logically.
1980 - Merging the '_if.F' pieces that add something new.
1981 o pkg/thsice:
1982 - vectorize thsice_solve4temp and thsice_get_exf.
1983 Problem: thsice_solve4temp has an unvectorizable statement that
1984 might also be problematic for TAF
1985 - thsice_get_exf: add the ALLOW_BULK_LARGEYEAGER04 CPP-flag. This
1986 does not change the verifcation experiment, but will change all
1987 experiments that have this flag undefined (not tested in verification);
1988 a little reorganization to save a few 2D fields and recomputations
1989 - 1st step of revisiting thsice adjoint (major recomp. sorted out)
1990 - 2nd step: fix some store dirs
1991 o seems to work somewhat, i.e. using ifort but not g77
1992 o likely cause are incomplete init. or recomputation
1993 o start verification/global_ocean.cs32x15/input_ad.thsice
1994 o pkg/obcs: add support for exch2
1995 - the position of the boundary and prescribed values are specified using
1996 a global domain with exch2 facets stacked
1997 - in x for N,S boundaries (like W2_mapIO=-1)
1998 - in y for E,W boundaries (so E,W boundaries do not overlap)
1999 o pkg/mdsio: add support for writing global sections with exch2
2000 file layout is as for obcs described above:
2001 - for x-z sections, facets are stacked in x (like W2_mapIO=-1)
2002 - for y-z sections, facets are stacked in y
2003 o pkg/thsice:
2004 - change a few routines for better vectorization: thsice_albedo.F,
2005 thsice_step_temp.F, and in thsice_calc_thickn.F. Results are
2006 not affected, but in particular the latter routine has changed
2007 dramatically (not necessarily easier to read now).
2008 - re-arrange calculation in THSICE_SOLVE4TEMP: move outside of i,j loops
2009 iteration loop and call to S/R THSICE_GET_BULKF & THSICE_GET_EXF.
2010 o verification/lab_sea:
2011 - overhaul of the forward model experiments. The main motivation
2012 for this revision is that lab_sea has proven quite fragile (when
2013 changing the sea-ice code, and switching platforms) to a point
2014 when failures were very hard to attribute to specific code problems.
2015 - the suspected reason for this fragility is noise amplification by evp so,
2016 to start with, we decided to replace evp with lsr in the main experiment.
2017 - the input.lsr experiment thus became obsolete and was removed.
2018 - it was replaced with the input.fd experiment that uses an
2019 analytical "free drift" solution as the ice velocity field.
2020 - Taken together, input (lsr), input.fd (free drift) and input.hb87 (evp)
2021 will hopefully allow us to discriminate problems due to dynamic solvers
2022 from problems due to the thermodynamic code. input.salt_plume (lsr) allows
2023 us to test additional options, along with the salt plume package.
2024 - Finally a pickup was generated (at the end of a one year run) to
2025 make the tests more representative of an actual model run. Previously
2026 the tests starting point was a 1m thickness of ice everywhere.
2027 o pkg/seaice:
2028 - introducing S\R seaice_freedrift.F that compute the
2029 analytical solution to an approximate ice momentum
2030 equation (i.e. the simple stress/coriolis balance).
2031 - define SEAICE_ALLOW_FREEDRIFT to trigger the computation
2032 of the free drift velocity field, and enable its use.
2033 To actually use the free drift solution as the model ice
2034 velocity field set SEAICEuseFREEDRIFT to .TRUE. in data.seaice.
2035 o move "useOASIS" from PARAMS.h to EEPARAMS.h and read it from "eedata"
2036
2037 checkpoint62l (2010/10/04)
2038 o pkg/seaice:
2039 -fix the USE_ORIGINAL_SBI version (for variable freezing point);
2040 -use "celsius2K" in SEAICE_VARIABLE_FREEZING_POINT and in new
2041 version (with USE_ORIGINAL_SBI undef);
2042 o add hooks for new packages OASIS, the package will follow
2043 (hooks exclude the seaice pkg for now)
2044 o pkg/autodiff: ALLOW_AUTODIFF_WHTAPEIO
2045 Option to use mdsio_read_whalos.F/mdsio_write_whalos.F,
2046 rather than mdsio_readvector.F/mdsio_writevector.F, within
2047 adread_adwrite.F to read/write adjoint-related tapes to disk.
2048 o eesupp and pkg/mdsio: ALLOW_WHIO
2049 Option to write/read 2D fields to files including tiles halos.
2050 The main purpose is for adjoint related "tape I/O".
2051 The secondary purpose is for debugging phases.
2052 A word on those rather specifically intended purposes.
2053 The code was meant to be stripped down to the bare minimum.
2054 Typically, there is a unique and basic mapping to the global
2055 buffer (tile by tile, then proc by proc, then level by level), and
2056 byteswaps and meta-files are omitted. Indeed the (*_WH*) code is not
2057 meant to generate user friendly outputs of various shapes and forms.
2058 Rather it is intended, for the knowledgeabale developers,
2059 to be largely independent of the many mdsio options, to allow
2060 outputs of tiles+halos in debugging phases and in adjoint runs,
2061 and to allow some flexibility in tuning (adoint) I/O depending on each
2062 file system behavior. With regard to tuning, most of the potential knobs
2063 (to leave files open, to allocate the I/O indep. of usesinglecpuio,
2064 to specify directories, to specify the typical size of I/O calls, etc.)
2065 are not yet included, and will be added if they prove useful.
2066 o pkg/seaice:
2067 fix uninitialised arrays in USE_ORIGINAL_SBI version of seaice_solve4temp.F
2068 o pkg/seaice:
2069 new S/R seaice_solve4temp.F: this is the merged version of Ian Fenty
2070 code (seaice_budget_ice_if.F) which enable to recover old standard
2071 code (seaice_budget_ice.F) when option USE_ORIGINAL_SBI is defined.
2072 temporary: add "#define USE_ORIGINAL_SBI" at the top of seaice_solve4temp.F.
2073 o model/src (rStar):
2074 use simple average (not area weighted) of rStarFac at U,V point when using
2075 vectorInvariant and selectKEscheme=1,3 (consistent with mom. vertical advection)
2076 update output of exp. fizhi-cs-32x32x40 and fizhi-cs-aqualev20.
2077
2078 checkpoint62k (2010/09/17)
2079 o adjoint
2080 * changed verification/global_ocean.cs32x15 ; adjoint now tests
2081 Adams-Bashforth 3 + NLFS + RSTAR
2082 * some more modifs required for ECCO-GODAE v4
2083 o pkg/seaice
2084 add SEAICE_AGE_VOL option to use volume instead of area for
2085 integrating SEAICE_AGE
2086 o model/src:
2087 first check-in of sigma & hybrid-sigma coordinate code ; also includes
2088 non-linear free-surface parts ; but pressure-gradient not yet coded.
2089 o pkg/ptracers:
2090 option for ptracer to convert Salt Relax into additional EmP.
2091 tested in exp. global_ocean.90x40x15.dwnslp (update output)
2092
2093 checkpoint62j (2010/08/25)
2094 o pkg/ggl90:
2095 other minor changes: remove 3-D temp array gTKE (+ add argument myIter)
2096 o pkg/dic: car_flux.F, phos_flux.F
2097 - reduce number of exp-calls in order to improve performance
2098 - clean up a little (replace fields by their macros, etc., fix
2099 typo in CPP-flag)
2100 o pkg/ggl90: minor changes
2101 - GGL90diffKrS was removed --> always use GGL90diffKr
2102 - GGL90viscAr was removed --> replaced with GGL90viscArU, GGL90viscArV
2103 - hack of mxlMaxFlag=2 --> ensure mixing between first and second level
2104 (commented out for now)
2105 - change in max/min operations to ensure that smoothing is ok
2106 - smoothing of GGL90viscAr was moved to ggl90_calc.F (as done for GGL90diffKr)
2107 - always use diffKrNrT as background profile (i.e. never use diffKr field)
2108 o pkg/cfc: bug fix, AREA(i,j,1,bi,bj) -> AREA(i,j,bi,bj)
2109 o pkg/dic:
2110 - model/src/impldiff.F: if TARGET_NEC_SX, extend loop ranges for better
2111 vectorization
2112 - small bug fix in insol for the unlikely case of a cartesian grid
2113 - towards vectorizing the dic package: bio_export.F, car_flux.F, phos_flux.F
2114 + now vectorize, which also removes adjoint recomputations;
2115 + replace integer maksp1 by _RL maskp1
2116 + replace a**x by exp(x*log(a)) in phos_flux.F for speed
2117
2118 checkpoint62i (2010/07/21)
2119 o pkg/flt:
2120 - with OBCS: stop floats which enter the OB region
2121 o model/src:
2122 - use tempVertAdvScheme & saltVertAdvScheme (instead of horizontal ones)
2123 for implicit vertical advection.
2124 o pkg/seaice:
2125 - account for melting in seaice age evolution.
2126 - remove double counting of seaice ridging effect on seaice age.
2127
2128 checkpoint62h (2010/06/18)
2129 o pkg/exch2:
2130 - remove exch2_*xy_rx files: call was replaced with exch2_*3d_rx(myNz=1).
2131 o tools/genmake2
2132 - remove "-pdefault" option: redundant with the use of "packages.conf";
2133 - remove file pkg/pkg_default : set the default as a pkg group
2134 ("default_pkg_list") defined in pkg/pkg_groups;
2135 - fix for case pkg/pkg_depend is missing (was hanging before);
2136 - add option "-pgroups" to specify a different pkg_groups than the default.
2137 o verification/adjustment.cs-32x32x1:
2138 add a "minimal" set-up test (code_min & input_min) which only compiles
2139 eesupp/src and the 2 pkgs (exch2 & debug) which don't need model/src & inc.
2140 o tools/genmake2
2141 - extend pkg_depend rules to model & eesupp (e.g., if model depend on [pkg]))
2142 - fix details of checking for mnc & profile pkg when NetCDF is unavailable.
2143 o pkg/exf: merge exf_bulk_largeyeager04 into exf_bulkformulae because these
2144 files are nearly the same anyway.
2145 Step 1: make exf_bulkformulae look like exf_bulk_largeyeager04:
2146 - redefinition of tau(i,i) (by a factor of ustar)
2147 - 1./exf(Const/T) -> exf(-Const/T) (big change in the results)
2148 - replace rhonil by rhoConstFresh in computation of evap (bug fix)
2149 - replace u/vstress=tau*rd*ws*cw by tau*rd*u/vwind (changes results)
2150 - replace
2151 rd(i,j)= rdn(i,j)/(exf_one - rdn(i,j)/karman*psimh )
2152 shn = sh(i,j,bi,bj)*rd(i,j)/rdn(i,j)
2153 by
2154 shn = sh(i,j,bi,bj)/(exf_one - rdn(i,j)/karman*psimh )
2155 (changes results)
2156 -> exf_bulkformulae v1.22,
2157 update verification experiments lab_sea, offline_exf_seaice, seaice_obcs
2158 (lab_sea: output.hb87.txt 1.11, output.lsr.txt 1.25, output.salt_plume.txt 1.13,
2159 output.txt 1.63
2160 offline_exf_seaice: output.seaicetd.txt 1.7
2161 seaice_obcs: output.txt 1.10)
2162 Step 2: do the actual merge and remove exf_bulk_largeyeager04.F
2163 -> exf_bulkformulae v1.23,
2164 unfortunately requires updating lab_sea.salt_plume (6 matching digits),
2165 and global_ocean.cs32x15.icedyn (only 11 matching digits)
2166 Also update output_adm of exp. lab_sea (all 4) and offline_exf_seaice.
2167 o adjoint of exch-1:
2168 - pass high-level EXCH S/R through TAF (eesupp/src/exch_ad_diff.list)
2169 (note: was already like this when using EXCH-2) and remove flow dir
2170 and hand-written AD version of high-level EXCH S/R (pkg/autodiff);
2171 - provide flow-dir for low-level exch1 S/R (eesupp/src/exch1_ad.flow);
2172 - update pkg/exch2 diff list.
2173
2174 checkpoint62g (2010/05/19)
2175 o eesupp/src (exch-1):
2176 - split exch_rx.F into Forward S/R (exch1_rx.F) and Adjoint S/R (exch1_rx_ad.F)
2177 and remove argument "simulationMode"; same thing for all exch_*rx_cube.F
2178 (renamed to exch1_*rx_cube.F).
2179 - change accordingly exch_*_rx.template and AD version in pkg/autodiff
2180 to call new exch1 S/R ; update Makefile and .cvsignore.
2181 - replace call to exch2_xy_rx S/R with exch2_*3d_rx(myNz=1) (will remove
2182 exch2_xy_rx later)
2183 Note: after updating your code, need to run "make clean" in eesupp/src
2184 o test experiment bottom_ctrl_5x5:
2185 new output_adm.txt with fewer grdchk & less monitor output.
2186 o model/src:
2187 remove the call to ini_cori in initialise_varia.F (just keep the usual one
2188 in initialise_fixed.F). More consistent with coriolis & horizontal grid
2189 beeing treated in the same way (ini_grid is not called a 2nd time).
2190 o pkg/exf:
2191 - rewrite exf_bulk_largeyeager04.F for better vectorization, changes
2192 global_ocean.cs32x15/input.icedyn (11 digits of agreement), updated
2193 - fix adjoint (used worked for ALLOW_ATM_WIND defined, works for this now)
2194 - cosmetic changes to exf_bulkformulae.F to make it look more like
2195 exf_bulk_largeyeager04.F
2196 o eesupp/src (exch-1):
2197 - Fix AD EXCH code for 2-D domain special cases (Nx=1 or Ny=1).
2198 - Separate buffer filling and MPI sending: allow EXCH-1 to work for local
2199 array (non-shared) when using MPI+MTH. Also reduces number of BARRIER
2200 (even without using MPI).
2201 - Message mode: move RecvAck setting (indicator of buffer being ready)
2202 from send_put to recv_get S/R (was useless before, but not sure if
2203 it's much more useful now);
2204 - Switch the order of sync: MPI-proc 1rst and then threads;
2205 - take out spin-waiting code (#undef EXCH_USE_SPINNING), use BARRIER instead.
2206 - fix AD code for communication mode ='get' (but not used).
2207 o model/src:
2208 initialise dPhiHydX,dPhiHydY inside calc_grad_phi_hyd.F (so that TAF does
2209 not drop it in S/R mddynamics, producing NaN in hs94.1x64x5 AD-test exp).
2210 o utils/matlab/rdmnc.m: adapt to be able to use the generic matlab netcdf API
2211 o pkg/ctrl: require a specific set of control variables and exf-flags for
2212 adjoint of seaice (stop in ctrl_check.F if conditions are not satisfied)
2213 o model/src:
2214 a) 1rst version of a new driver S/R to turn-off output freq and flags after the
2215 1rst forward sweep, to avoid over-writing output files during recomputations
2216 recomputations (& grdchk); called from cost_final.F (& ctrl_init_ctrlvar.F ?)
2217 b) 2nd version:
2218 - add specific pkg S/R for seaice & ptracers (called from S/R TURNOFF_MODEL_IO);
2219 - switch-off more output flags (exf_monFreq, chkPtFreq, dumpInitAndLast,
2220 writePickupAtEnd) + seaice & ptracers output;
2221 - do not switch off MNC flags (otherwise, won't get admonitor netcdf file)
2222 o model/src:
2223 - new S/R rotate_uv2en_rl (..._rs) that rotates vector fields.
2224 o pkg/exch2:
2225 - remove "simulationMode" from arg. list of S/R EXCH2_RX1,2_CUBE ;
2226 - add argument "signOption" to EXCH2_RX1_CUBE (will be needed for SM exch).
2227 o pkg/autodiff & exch2:
2228 process exch_uv_agrid_3d_rx.f & exch2_uv_agrid_3d_rx.f through TAF
2229 (for now, only if ALLOW_EXCH2 is defined).
2230 o pkg/autodiff:
2231 - include PACKAGES_CONFIG.h in exch*ad.flow & exch*ad.F
2232 (not supposed to be in CPP_OPTIONS.h) to get ALLOW_EXCH2 defined correctly.
2233 + clean-up comments (_RS is not always real*4)
2234 - fix bug in ADEXCH_UV_3D_RX (without EXCH2, was calling the forward exch S/R)
2235 - add a stop in ADEXCH_UV_AGRID_3D_RX if trying to use it with EXCH2:
2236 was calling a forward exch2, which is wrong ; used in SEAICE & EXF pkgs.
2237 o testreport (AD-tests):
2238 no longer link files from dir "../input" (1rst link files from
2239 "../input_ad.[xx]" if secondary test "xx" and then from "../input_ad")
2240
2241 checkpoint62f (2010/04/29)
2242 o model/src/the_main_loop.F:
2243 adjust store directives for seaice evp and multicategory according to
2244 pkg/ecco/the_main_loop.F
2245 o adjoint:
2246 global_sum_ad was incomplete (noted many times by many people ;)
2247 nice description by Jean U. as follows:
2248 * allreduce(var) in global_sum.F can be interpreted as
2249 reduce(sum) followed by broadcast of sum.
2250 * The adjoint of that is
2251 sum(adjoint) followed by broadcast(summed adjoint value)
2252 or in other words, allreduce(sum, adjoint vars)
2253 We were missing the sum(adjoint)!
2254 Benign, except(!) for "global" scalars appearing in tile loops (bi,bj)
2255 (noted by J.M. Campin, e.g., in cost_ssh_mean, variable offset).
2256 The fix should produce 16-digit accuracy between
2257 single-CPU multi-tile (e.g. nSx=2, nPx=1) and
2258 multi-CPU single-tile (e.g. nSx=1, nPx-2)
2259 We'll probably change this yet again shortly
2260 o eesupp/src:
2261 - fix global_sum_r4 (wrong from previous modif in Jun 2009; ever used ?)
2262 o pkg/icefront
2263 - ALLOW_SUBGLACIAL_RUNOFF option adds capability for time-evolving
2264 specification of addmass array based on a 2D field, which is added
2265 at bottommost wet level at each horizontal location.
2266 o model/src:
2267 horizontal grid initialisation (other than curvilinear): add code for Exch2 IO
2268 layout; (not always compatible with delX,delY setting; commented out for now).
2269 o pkg/exch2:
2270 change tile to processor setting (case nSy*nPy > 1): allows default model mapping
2271 (myX and myYGlobalLow) to be used for simple (1 facet, no blank tile) config.
2272
2273 checkpoint62e (2010/04/15)
2274 o pkg/obcs:
2275 - fix wrong index in OBCS_SPONGE_V for Eastern-OB (reported by David Hebert).
2276 o pkg/dic:
2277 -fix bug in fe_chem.F for multi-tile (nSx*nSy > 1) set-up;
2278 (note: not presently tested in any forward verification exp.)
2279 update tutorial_global_oce_biogeo AD output file.
2280 o pkg/exf:
2281 - account for the variation of albedo as a function of zenith angle
2282 by defining ALLOW_ZENITHANGLE in EXF_OPTIONS.h
2283 o build_options:
2284 - rename "linux_ia64_ifort+mpi_ice_nas" to "linux_amd64_ifort+mpi_ice_nas"
2285 o pkg/dic:
2286 change DIC atmos-CO2 box (method 3, dic_int1=3) initialisation & restart:
2287 - use binary pickup file for restart;
2288 - initialise atmos-CO2 box from dic_pCO2 parameter;
2289 - fix multi-threaded.
2290 o pkg/rbcs:
2291 - clean-up RBCS code: add RBCS_OPTIONS.h file ; fix multi-threaded ;
2292 change (+ fix IO calls) type of array RBC_mask from _RL to _RS.
2293 - add RBCS to exp4 passive tracer 01 (rbcs was previously untested)
2294 and update output.txt
2295 o pkg/kpp:
2296 - add diagnostics for KPP non-local flux of Temp, Salinity and pTracers;
2297 - change diagnostic of KPP non-local term: output average of KPPghat*KPPdiffKzS
2298 (= ratio of KPP non-local (salt) flux relative to surface-flux) when
2299 using pkg/timeave & pkg/diagnostics (diag 'KPPghatK' replaces 'KPPghat ');
2300 - change pkg/offline to read-in average KPPghat*KPPdiffKzS from file
2301 KPP_ghatKFile (instead of the average of KPPghat from file KPP_ghatFile).
2302 o pkg/offline:
2303 fix bug in S/R OFFLINE_FIELDS_LOAD regarding surfaceForcing conversion factor
2304 (bug was added in version 1.10 on 2007-08-23).
2305 o pkg/offline:
2306 - no need to specify periodicExternalForcing, etc ... to use offline pack
2307 - offline input files no longer just single prec --> parameter offlineLoadPrec
2308 o verification/lab_sea:
2309 change AD test to multi-tile setup and update all 4 AD output.
2310 NOTE: while cost function values remain very similar,
2311 gradients are very different, although gradient checks are self-consistent
2312 Should try to get to the bottom of this (cost function summation order?)
2313 o pkg/dic:
2314 in carbon_chem.F, replace log10 (AUTODIFF) with explicit form to avoid
2315 a weakness of TAF that drops part of double precision in log10 derivative.
2316 <= changes removed since problem has been fixed in current TAF version 1.9.71
2317 update AD output of exp. tutorial_dic_adjoffline & tutorial_global_oce_biogeo.
2318 o pkg/ecco:
2319 add missing "_d 0" in cost_readers.F, cost_readtopex.F & cost_readtopexmean.F
2320 update all 4 lab_sea AD output.
2321
2322 checkpoint62d (2010/03/22)
2323 o build_options:
2324 remove '-r8' (and '-i4') from linux_*pgf and linux_*ifort optfiles.
2325 o remove unbalanced quote (single or double) in commented line of source code
2326 (may cause some warning with some preprocessor/makedepend versions).
2327 o pkg/seaice:
2328 fix seaice_model.F for adjoint (gael) and update AD results of experiments
2329 lab_sea (std + evp + noseaicedyn) and offline_exf_seaice.
2330 o testreport:
2331 add option '-runonly' (short: '-ro') to just do the run part (without make).
2332 o eesupp: remove JAM communication code (obsolete).
2333 o add option to genmake2 & testreport to switch "_RS" type to "real*4"
2334 (if allowed in CPP_EEOPTIONS.h); update default CPP_EEOPTIONS.h and return
2335 to default CPP_EEOPTIONS.h for exp. inverted_barometer & solid-body.cs-32x32x1
2336 (update also the output).
2337
2338 checkpoint62c (2010/03/02)
2339 o tools/build_options :
2340 move (some) old optfiles from build_options/ to build_options/unsupported/
2341 o model/src and pkg/exf
2342 surface relaxation -- separating data and data.exf options
2343 The point is to ensure that we specify the surface relaxation
2344 either in data or in data.exf (but not half and half) and to
2345 avoid an accidental relaxation to 0 (which happened if a time
2346 scale was specified but the file name was left empty)
2347 o model/src model/inc and pkg/mom_common
2348 ALLOW_3D_VISCAH/ALLOW_3D_VISCA4 => 3D specification of Viscosity
2349 => addition to the viscosity field as computed by others schemes
2350 o tools/build_options:
2351 - rename "_generic_mpi" -> "+mpi_generic" (like other "+mpi" optfile)
2352 but keep the former optfile for few weeks for smooth transition
2353 o pkg/ecco
2354 - allow user defined cost function contributions
2355 CPP: ALLOW_USERCOST_CONTRIBUTION
2356 USAGE: compute contributions in cost_usercost_all.F
2357 - note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was.
2358 the two options are complementary.
2359 o pkg/smooth
2360 - migration from contrib to the main repository
2361
2362 checkpoint62b (2010/01/26)
2363 o pkg/monitor:
2364 - change back mon_printstats_rl.F & mon_stats_rl.F and add a stop
2365 (in case someone forgot to update customized pieces of code)
2366 o nonHydrostatic:
2367 - add Non-hydrostatic free-surface form (selectNHfreeSurf=1)(not fully tested);
2368 - add a simple 2-D experiment (short_surf_wave) to test it.
2369 o pkg/icefront:
2370 adding the shell of, and the hooks to, a new package that
2371 will model melting and freezing of vertical glacier ice fronts
2372 o momentum:
2373 add diagnostics of momentum tendency from Hydrostatic pressure gradient
2374 (without surf.pressure term: would need a 2nd filling since implicit term).
2375 o add 3 "_d 0"s so that fizhi compiles with xlf on iblade, and replace
2376 two " &end" by " &" (in fizhi-cs-*) because S/R NML_SET_TERMINATOR
2377 cannot deal with the former
2378 o cleaning:
2379 - remove all (except OpenAD) old TLM output from results_ad dirs.
2380 - remove unused S/R (MDSWRITEMETA, DIAGNOSTICS_ADD2LIST, old DFILE IO S/R)
2381 - comment out maskH definition (replaced by maskInC)
2382 o pkg/monitor:
2383 - change mon_printstats_rl.F & mon_stats_rl.F (were similar to mon_writestats_rl
2384 & mon_calc_stats_rl) to be the RL equivalent of mon_printstats_rs & mon_stats_rs.
2385
2386 checkpoint62a (2010/01/15)
2387 o model/src:
2388 - bottom pressure diagnostic: correct for r* (when nonlinFreeSurf >= 4)
2389 o pkg/diagnostics:
2390 - add optional level number diagnostics (i.e., level number to be define
2391 explictly with S/R DIAGNOSTICS_SETKLEV) with parser-code(10)="X".
2392 - strictly check for valid parser-code(10) ;
2393 - check if adding diag to the list from the right place.
2394 o pkg/longstep:
2395 - change parameters and fix tracer conservation with rstar/nonlinear free surface
2396 o diagnostics:
2397 - in all pkgs, replace remaining calls to old S/R DIAGNOSTICS_ADD2LIST with newer
2398 S/R DIAGNOSTICS_ADDTOLIST ; fix seaice VICE diagnostics.
2399 o pkg/diagnostics:
2400 - Add option for writing vertical integral (sum of selected levels) of an output
2401 field instead of writing output field levels. Activate this option on a per
2402 output-file basis, by setting the 2nd character of fileflag to 'I'.
2403 - Add field-specific information relative to level integral in 3rd postion
2404 of parser diagnostics code (gdiag): " "=cumulate levels, "R"=integrate
2405 vertically (x level-thickness x hFac), "r"=same but without hFac.
2406 o do_the_model_io:
2407 - pass end-of-model-run flag as argument, from forward_step to diagnostics_write:
2408 in case useSIGREG, will write (averaged) diagnostics (if dumpAtLast) before
2409 writing pickups and stopping.
2410 o pkg/diagnostics (for now, only with mdsio):
2411 - write time information to meta file (and modify accordingly rdmds.m) :
2412 time-averaged diagnostics output: write starting and ending time of the
2413 time-averaging interval ; snap-shot diagnostics output remains unchanged;
2414 o pkg/timeave:
2415 - S/R TIMEAVE_NORMALIZ: change size of cumulated-time array (was previously
2416 always Nr), now assumed to be equal to number of levels of averaged field;
2417 only used for DIC_COST monthly mean arrays: this fixes dic_aver_final.F
2418 o pkg/sbo:
2419 - fix ocean bottom pressure global-average & 2-D time-ave output (was
2420 neither initialised nor filled).
2421 - add starting iteration in suffix of global-average output file
2422 (to avoid over-writing the file after a restart)
2423 - use standard MDSIO pkg S/R instead of SBO_WRITEVECTOR (fix byte-swap Pb).
2424 o time-average:
2425 - use simple cumulative-time array (no k index) in all pkgs: {PKG}_timeAve(bi,bj)
2426 (pkgs: aim_v23, bulk_force, dic, gmredi, kpp, land, ocn_compon_interf,
2427 ggl90, my82, opps, pp81, ptracers, sbo, seaice, shelfice, thsice)
2428 this fix DIC_COST cumulative-time array (previously: bi,bj,k)
2429 - fix 1rst call (nIter0) snap-shot output and accumulation (pkg/shelfice)
2430 - fix missing accumulation for pkg/opps.
2431 - cumulate fields only if doing time-ave output ({PKG}_taveFreq > 0)
2432 (pkgs: ptracers, kpp, ocn_compon_interf, ggl90, my82, pp81);
2433 - fix initialisation of time-ave vars and do only full time-step increment
2434 (i.e.: no first & last "half time-step") (pkgs: ggl90, my82, opps, pp81);
2435 o pkg/layers:
2436 - use standard RW pkg S/R to write the output
2437 and remove local write_fld version (which had a problem).
2438 - use simple cumulative-time array (no level index) to fix time-ave S/R calls.
2439 - fix LAYERS_CALC argument list.
2440 o pkg/timeave:
2441 - store cumulative-time in a simple tiled array (drop the level index)
2442 - add new S/R (TIMEAVE_NORMALIZE) which uses simple cumulative-time array.
2443 o pkg/ocn,aim_compon_interf
2444 - changes for multi-threaded coupled run. (tested with ifort-11 on danton)
2445
2446 checkpoint62 (2009/12/23)
2447 o switch on useOBCSbalance in tutorial_plume_on_slope exp. and update output.
2448 (was not previously tested in any other exp.)
2449 o pkg/monitor:
2450 - clean-up _RL/_RS version: add specific S/R for statistics with mask & volume:
2451 mon_writestats_rl/s,F mon_calc_stats_rl/s.F ; will keep the old one
2452 (mon_printstats_rl/s,F mon_stats_rl/s.F) just for bare statistics.
2453 - use hFac & 2-D mask (instead of 3-D mask + hFac in previous mon_stats_rl.F).
2454 - change del2 calculation.
2455 - use interior masks (instead of maskH, <- to be remove).
2456 - shorter monitor suffix for forcing stats ("forcing" instead of "extforcing").
2457 o mask & obcs:
2458 - define 2-D "interior" masks (i.e., zero beyond OB) at 3 locations (C, W & S).
2459 - move global area computation from ini_masks_etc.F to ini_linear_phisurf.F
2460 (called after packages_init_fixed)
2461 o pkg/obcs:
2462 - move bi,bj loops into obcs_calc, so obcs_prescribe_read is called only once.
2463 Fixes bug in obcs+exf with nSx*nSy.GT.1
2464 - fix multi-tile handling in obcs balance code
2465 o nonHydrostatic:
2466 - Implement AB-3 for non-hydrostatic vertical momentum ;
2467 (change ordering of var. stored in pickup file when using NH)
2468 - move NH code from solve_for_pressure.F to 2 new S/R: PRE_CG3D & POST_CG3D.
2469 - add 2-D field to store Hydrostatic Surface Pressure adjusment from cg3d_x
2470 (in prep. for new NH free surface form).
2471 o pkg/obcs:
2472 add files & OB-variables for wVel (Non-Hydrostatic) with useOBCSprescribe
2473 o model/src:
2474 fix 2-D solver initialisation for deep-atmosphere (p-coord) with topography
2475
2476 checkpoint61z (2009/12/01)
2477 o nonHydrostatic:
2478 Fix missing vertical flux of vert. momentum near surface (k=1). This fixes
2479 a spurious source of energy in simple baroclinic adjusment test case.
2480 Update all non-hydrostatic exp output.
2481 o model/src (3-d solver):
2482 Change again 3-D solver free-surface RHS term when exactConserv=T:
2483 simpler, consistent with exactConserv, and works with implicDiv2Dflow < 1
2484 (which was not the case with previous formulation).
2485 To recover previous version, just reset "oldFreeSurfTerm" to previous value.
2486 Affects results of exp. global_ocean.cs32x15.viscA4 & hs94.cs-32x32x5.impIGW.
2487 o nonHydrostatic:
2488 - compatible with implicDiv2Dflow < 1 ; + implement implicit factor
2489 for Non-Hydrostatic pressure gradient (similar to implicSurfPress).
2490 - change 3-D solver to work with r* (for now, only with linear free-surf.)
2491 - add few debug diagnostics (cg3d_x, residual)
2492 o model/src:
2493 fix missing EmPmR in 3-D solver RHS (was in cg2d_b but missing in cg3d_b).
2494 update output of exp. global_ocean.cs32x15.viscA4
2495 o update output of exp. global_ocean.cs32x15.icedyn after removing
2496 #define SEAICE_OLD_AND_BAD_DISCRETIZATION from SEAICE_OPTIONS.h
2497 o add entry points for Gianmaria's Nesting pkgs (from Contrib/nesting_sannino)
2498 o mnc: add horizontal grid coordinates (XC,YC) and (XG,YG) to netcdf output
2499 for complex grids, for now only to "state", "adstate", "adexf", "adseaice"
2500 o model: add Christopher Wolfe's implemetation of the single reduction cg2d
2501 (d'Azevedo, Eijkhout, and Romine, 1999) with CPP-flag ALLOW_SRCG and
2502 runtime flag useSRCGSolver. Modify verification experiment global_with_exf
2503 to test this code
2504 o pkg/cd_code:
2505 Change defaut D-grid time-stepping to get the same for D-grid momentum as for
2506 C-grid momentum. D-grid velocity used to be stepped forward in time with
2507 Adams-Bashforth only on surface pressure term. Tests show that using AB on
2508 D-grid coriolis term improves stability (as expected from CD-scheme paper).
2509 To reproduce old results, add 2 options (in CD_CODE_OPTIONS.h).
2510 Update results of exp: global_with_exf (x2), ideal_2D_oce, isomip (x2),
2511 lab_sea (3 Fwd +3 AD), natl_box (x2), tutorial_global_oce_biogeo (Fwd+AD),
2512 tutorial_global_oce_latlon, tutorial_global_oce_optim & tutorial_tracer_adjsens.
2513 Keep old results by adding CD_CODE_OPTIONS.h in exp: cfc_example, exp2,
2514 global_ocean.90x40x15(+AD), global_ocean_ebm(+AD) and OpenAD.
2515 o pkg/obcs:
2516 - fix bug in initialisation (broken since Oct 1rst modification)
2517 for useOBCSprescribe without useEXF.
2518
2519 checkpoint61y (2009/11/15)
2520 o pkg/seaice
2521 - change (once again) the discretization for the evp solver: rather than
2522 squaring the averages of strain rates, average the squares to give
2523 a better approximation to VP behavior (in simple test); this breaks
2524 verification experiments that use EVP (lab_sea and lab_sea.hb87)
2525 --> update outputs
2526 o add CPP-flag (in mom_calc_visc.F) and TAF directive (in gmredi_slope_limit)
2527 to improve vectorization of adjoint code on TARGET_NEC_SX
2528 o verification/vermix:
2529 - change vermix to a more "classical" 1d column with high vertical
2530 resolution, seasonal heat flux forcing and constant wind forcing
2531 --> update outputs
2532 o pkg/seaice
2533 - fix diagnostics of principal stress components for EVP
2534 - add optional diagnostics of non-linear convergence for LSOR solver
2535 - make maximum zeta a runtime parameter
2536 o model/src (3-d solver):
2537 Undo modif from Dec 12, 2005 (solve_for_pressure.F cvs version v.49),
2538 which consisted in removing the Surf. Non-Hydrostatic pressure from the
2539 whole column and adding it to Eta (inspired from Casualli, 1999):
2540 Only affects 3-D solver initial guess and only if using ExactConserv,
2541 but tests did show a degradation of solver convergence. For this reason,
2542 decide to disable this piece of code.
2543 to recover previous version, just set zeroPsNH = exactConserv (line 78).
2544 Update output of exp. global_ocean.cs32x15.viscA4 & hs94.cs-32x32x5.impIGW
2545 o pkg/ggl90:
2546 - fix previous modif (unfortunatly has not been documented here).
2547 o pkg/seaice/autodiff:
2548 - add CPP flag to include clipping of zeta in EVP code;
2549 although clipping of zeta is not necessary for EVP and not recommended
2550 it was done by default, now clipping is disabled by default
2551 - modify computation and store zetaC/Z in seaice_evp for TAF
2552 - add CPP-flag SEAICE_ALLOW_CLIPVELS (undefined by default)
2553 - change seaice_calc_viscosities/strainrates for better
2554 vectorization after AD by TAF
2555 - rearrange common blocks in SEAICE.h once again for easier dumps of
2556 adjoint output, adjust adcommon.h and g_common.h
2557 - change flux form of default advection scheme for better vectorization
2558 of adjoint code
2559 - modify lab_sea/input.lsr to test the flux form of default advection
2560 scheme
2561 o autodiff: fix seaice fields in g_common.h (left over from 3 to 1 level
2562 transition in checkpoint61r)
2563
2564 checkpoint61x (2009/10/19)
2565 o adjoint: adding two new verification experiments
2566 * tutorial_global_biogeo: an online dic sensitivity experiment
2567 (work with G. Forget)
2568 * tutorial_dic_adjoffline: an offline dic sensitivity experiment
2569 (an update of the Dutkiewicz et al., 2006 paper)
2570 Both use the same CO2FLUX cost function, but different controls
2571 Gradient checks look good, but some recomp. could still be traightened out
2572 Should add xx_dic control variable to test at some point
2573 o model/src:
2574 add run-time parameters to check and/or mask initial Temp & Salt
2575 o pkg/ptracers:
2576 apply zonal filter (if used) to all passive tracers
2577
2578 checkpoint61w (2009/10/12)
2579 o adjoint:
2580 * update and finish work on adjoint of dic package (G. Forget)
2581 * start adjoint of offline package
2582 * bug fix for cube-sphere TLM code (active_file_g.F)
2583 o tutorial_global_oce_optim:
2584 now tested with 4 tiles (change data.grdchk and update output_adm.txt)
2585 and add SIZE.h_mpi for MPI testing
2586 o pkg autodiff
2587 - fix bug in autodiff_restore
2588 - make genmake2 remove comments and empty lines from ad_input_code.f in
2589 order to reduce file size (new script file remove_comments_sed)
2590 o allows to specify vertical profile of vertical viscosity (viscArNr)
2591 o pkg autodiff
2592 autodiff_ini_model_io: comment out writing of grid information to netcdf
2593 files, because at this time the grid fields are a bunch of zeros
2594 (this is analogous to ini_mnc_vars.F)
2595 o pkg seaice/autodiff:
2596 left-over from removing the 3-time-level fields:
2597 - small rearrangement of common blocks (SEAICE.h)
2598 - fix field declaration in order to get meaningful output in
2599 adseaice.*.nc (adcommon.h)
2600 o pkg obcs:
2601 - go through NH code only if nonHydrostatic=T
2602 - fix restart for Orlanski (Hydrostatic; still to fix NH+Orlanski restart)
2603 - move call to OBCS_CALC before SEAICE_MODEL which needs seaice-obc fields
2604 => Update output of experiment seaice_obcs
2605 - useOBCSbalance: code is wrong with multi-tile / proc: add a stop.
2606 - fix NH+Orlanski restart (add wvel OBC value in pickup file)
2607 - fix restart for useOBCSprescribe + useEXF
2608 o pkg ctrl
2609 - make obcs as control parameter work also with useSingleCPUio
2610 - replace a few sny and snx by Ny and Nx to be consistent with
2611 ctrl_set_globfld_x/yz.F
2612 o pkg seaice
2613 - re-introduce global field frWtrAtm for the case of
2614 ALLOW_MEAN_SFLUX_COST_CONTRIBUTION defined (SEAICE.h, seaice_growth.F)
2615 - catch the case of an empty filename in seaice_cost_init_fixed.F
2616 o pkg ecco:
2617 - small bug fixes in the_main_loop
2618 . fix order of monitor arguments
2619 . change SEAICE_MULTILEVEL to SEAICE_MULTICATEGORY
2620 . move include DYNVARS.h up outside the ALLOW_AUTODIFF_TAMC block so
2621 that ALLOW_ECCO_FORWARD_RUN works with NONLIN_FRSURF
2622 - replace cos(yc*deg2rad) by _rA in cost_mean_heat/saltflux.F, fix the
2623 imbalance diagnostics for wmean_h/sflux = 0
2624 - add actual values to f_obcsn/s/w/e in ecco_cost_final.F
2625 - catch the case of empty filenames in ecco_cost_init_fixed.F
2626 and ecco_readparms.F
2627 - fix the logic of wsalt=0.and.wsalt2=0 to wsalt=0.or.wsalt2=0 (and theta)
2628 to make this statement meaningfull in ecco_cost_weights.F
2629 o pkg zonal_filt:
2630 - change ZONAL_FILTER S/R interface (allows to filter 2-D fields)
2631 - when using rStar, filter uVel*hFacW instead of uVel
2632 (tested without topography: fix a Pb of growing instability with NLFS)
2633 o pkg/aim/thsice:
2634 -Add capacity to read a Q-Flux to be applied in slab-mixed layer thsice_slab_ocean.F
2635 (works as SST restoring)
2636 o pkg/thsice:
2637 -add specific parameter for salt restoring in slab mixed-layer
2638 (by default equal to the temperature restoring)
2639
2640 checkpoint61v (2009/09/21)
2641 o pkg/kpp:
2642 -add double diffusive contributions as a hack, turned off by default
2643 for now, and the code can be excluded with a CPP-flag
2644 EXCLUDE_KPP_DOUBLEDIFF just as EXCLUDE_KPP_SHEAR_MIX
2645 -add a verification experiments to "vermix" to test this code
2646 o pkg/mom_common:
2647 Move computation of length scales to mom_init_fixed.F (avoid recomputation
2648 at each time-steps*levels).
2649 o pkg/layers:
2650 Created a new package for computing volume fluxes in temperature or
2651 [not yet implemented] density layers, e.g. for calculating residual
2652 overturning circulations.
2653 o pkg/diagnostics:
2654 implement a RS type version for the set of DIAGNOSTICS-FILL subroutines
2655 o fix few RS/RL type mismatch (check with ifort 11.1 "-warn all" option)
2656 o pkg/mdsio (& pkg/rw): rework high level S/R interface:
2657 To avoid mixing type (RS/RL) of input/output array argument,
2658 replace single mixed-type array with a pair from each type (RS/RL).
2659 o setting pickupSuff force to start from a pickup (even if nIter0=0): this
2660 is now implemented for all pkgs (previously only done for the main pickup)
2661
2662 checkpoint61u (2009/08/25)
2663 o pkg/obcs:
2664 - change OB?eta from _RS to _RL and put them into a separate commen block
2665 - add code to read OB?eta from a file via obcs_prescribe_read: the code
2666 compiles and does not destroy any other experiments, the data is read
2667 properly, but the code is not tested in actual applications
2668 o ini_mnc_vars.F: if available (ALLOW_CAL), use startTime_1 and 2 to
2669 create a meaningful unit attribute for the time coordinate variable
2670 o pkg/ebm: add plenty of missing "_d 0" ;
2671 update results of experiment global_ocean_ebm (fwd + adjoint tests)
2672 Notes: several pieces of code only works for (very) specific set up
2673 (domain size, lat range, etc ...); should be documented & stop if one
2674 of those assumptions is not meet.
2675 o pkg/seaice: add missing "_d 0" in HSNOW initialisation
2676 update results of experiments: lab_sea (3 fwd tests + 2 adjoint tests)
2677 and offline_exf_seaice (seaicetd + adjoint).
2678 o add missing "_d 0" in ShortWave flux penetration (S/R SWFRAC):
2679 update results of experiments: lab_sea (4 fwd tests + 3 adjoint),
2680 seaice_obcs, global_ocean.cs32x15 (icedyn & thsice) and natl_box (x2).
2681 o few changes to pass when compiling with strick checking of arguments
2682 across S/R (allow to find few bugs in S/R calls).
2683 o pkg/seaice:
2684 - seaice_evp: move if-statement out of loop (TEM) at the cost of 11 new
2685 2d-fields, for slightly better performance
2686
2687 checkpoint61t (2009/07/22)
2688 o pkg/seaice:
2689 - remove unused variables in seaice_evp
2690 - reduce number of SQRT in seaice_evp and seaice_calc_viscosities
2691 o eeset_parms.F, open_copy_data_file.F & ini_parms.F:
2692 named file replacing SCRATCH files (for TARGET_BGL & TARGET_CRAYXT):
2693 each processor opens a different file (a fix from Matt).
2694 o cg2d:
2695 use simple EXCH (overlap size = 1 and ignore corners), like in cg3d.F :
2696 this reduces number of EXCH calls by 2 when using exch2.
2697 For now, keep previous size array for gc2d_nsa.F to avoid Pb with store
2698 directives and missing simple EXCH (exch_s3d_rx) adjoint code.
2699 o pkg/thsice:
2700 add code for Near Infra-Red albedo (from Jeff)
2701 (turned on with run-time flag: thSIce_calc_albNIR, in data.ice).
2702 o ini_model_io:
2703 move (from packages_readparms.F & initialise_fixed.F) to ini_model_io.F
2704 MNC & MONITOR initialisation calls; move MNC calls from {pkg}_readparms.F
2705 to {pkg}_init_fixed.F for {pkg}= kpp, seaice & shelfice.
2706
2707 checkpoint61s (2009/06/30)
2708 o pkg/exch2 (exch2_rxN_cube*):
2709 remove last BARRIER (no need to synchronise after getting data from shared
2710 buffer (get) as long as any change to buffer (put,recv) is between BARRIER)
2711 o change tiling of natl_box (from 2 to 4 tiles) to get it tested with MPI+MTH
2712 and generate new output (for the 2 tests) using default rotationPeriod.
2713 o pkg/exch2:
2714 - always call exch2_*_cube, not exch-1 anymore, if useCubedSphereExchange=F
2715 (was already the case with AUTODIFF_EXCH2 defined)
2716 - add bj in exch2 arrays and S/R.
2717 - can now use pkg/exch2 for regular (non CS) set-up; switch test experiment
2718 MLAdjust to exch2 (identical results except with MPI -> truncation diff);
2719 o add pkg/longstep for ptracer timestep a multiple of U/V/T/S timestep
2720 - adds deltaT argument to the subroutines TIMESTEP_TRACER DWNSLP_APPLY
2721 GAD_ADVECTION GAD_CALC_RHS GAD_IMPLICIT_R GAD_SOM_ADVECT
2722 - verification experiment natl_box.longstep
2723 o build_options: ifort+mpi_aces optfile (following Constantinos advise):
2724 allow different versions of ifort (8 or 9) and different versions
2725 of mpi (mpich or mpich2) to be used with the same optfile.
2726 requires to load a netcdf module and set MPI_INC_DIR (see comments inside
2727 optfile). Change testing scripts (example_scripts/ACESgrid) accordingly.
2728 o pkg/seaice:
2729 fix previous modif (3-level field removed) for old-pickup reading
2730
2731 checkpoint61r (2009/06/25)
2732 o pkg/seaice:
2733 - clean up the 3-time levels of UICE,VICE,HEFF,AREA in three steps:
2734 1. introduce fields for time step (N-1)
2735 2. do not use levels 2 and 3 anymore (but keep them)
2736 3. replace 3D versions of UICE,VICE,HEFF,AREA by 2D versions. This
2737 includes changes to pkg/thsice/thsice_get_velocity.F,
2738 model/src/external_forcing_surf.F, pkg/obcs/obcs_apply_seaice.F, and
2739 pkg/obcs/obcs_apply_uvice.F.
2740 - completely remove code for leap-frog time stepping for second order
2741 advection
2742 - adjusted adjoint accordingly;
2743 gradient checks have improved by an order of magnitude!
2744
2745 checkpoint61q (2009/06/22)
2746 o pkg/seaice: fix bug in free slip boundary conditons for LSOR solver
2747 - the boundary conditions along open boundaries are unclear, because the
2748 associated masks are set to zero and are thus treated as closed when
2749 applying the slip-boundary conditions.
2750 - move initialisation of grid variables from seaice_init_varia to _fixed
2751 o adding doc/diags_changes.txt
2752 o model/src:
2753 do_the_model_io: rename few pkg S/R which are called from do_the_model_io,
2754 to avoid "_diags" naming if no relation to pkg/diagnostics.
2755 ini_theta,ini_salt: fix (at least compile the code) reading from NetCDF
2756 file and only call PLOT_FIELD_XYZ if debugMode=T.
2757 remove few PLOT_FIELD_XY calls outside initialisation.
2758 remove few unnecessary BARRIER.
2759 o pkg/salt_plume: add SaltPlumeSouthernOcean to allow disabling
2760 of salt_plume package in Southern Ocean
2761 o pkg/thsice:
2762 - fix hOceMxL in overlap (needed for sea-ice advection);
2763 update output of experiment global_ocean.cs32x15.icedyn.
2764 o pkg/seaice:
2765 - make the (placeholder-)tracer IceAge a little more meaningful
2766 by avoiding ridging of age due to convergent ice flow
2767 - add diagnostics for surface temperature, atmospheric and oceanic
2768 heat flux, and atmospheric and oceanic ice growth
2769
2770 checkpoint61p (2009/06/10)
2771 o eesupp (global_max & global_sum):
2772 - add one more element to buffer (start at index 0) for GL_MAX/SUM output;
2773 - remove starting & endding barrier (no longer needed)
2774 o pkg/mdsio, writelocal:
2775 works also in multi-threaded when LOCBIN_IO_THREAD_SAFE is undefined
2776 (remove the STOP): uses shared buffer IO to store data from all threads
2777 and then let master-thread write nThreads tiles.
2778 o pkg/mdsio (read/write field):
2779 - tiled IO done in 1 piece (all levels at a time);
2780 - new header file "MDSIO_BUFF_3D.h" with 3-D buffers.
2781 - multi-threaded: allow to read/write local (non-shared) array
2782 (was already working with singleCpuIO ; now works also without);
2783 => no longer needs barrier call after reading a file (added inside
2784 mds_read/write field).
2785 - move barrier calls outside gather/scatter_2d to mds_read/write_field
2786 o pkg/obcs/exf
2787 - exf_getffieldrec.F: add a few ". _d 0" and
2788 add code to catch the case fldperiod = 0.
2789 - obcs_precribe_read.F: change if statements so that they match
2790 the variable type (_RL)
2791 - add a separate exf_iprec_obcs to exf_set_obcs (by default equal to
2792 exf_iprec) as part of namelist EXF_NML_01
2793 o pkg/mdsio:
2794 - read/write tiled (local) files: read/write 1-level tile chunk at a time
2795 (instead of segment of length sNx); expected to speed up tiled IO.
2796 o pkg/exch2:
2797 - take buffer copy from/to array out of S/R exch2_send/recv into new
2798 S/R exch2_put/get ; Exch of local variable now works with MPI+MTH
2799 (tested by removing commom block statement in SOLVE_FOR_PRESSURE.h).
2800 - ad version of send/recv no longer needed (but needs exch2_ad_put/ad_get)
2801 - simplify argument list of S/R exch2_get_uv_bounds and exch2_get_scal_bounds
2802 (which replaces exch2_get_recv_bounds & exch2_get_send_bounds) by
2803 including Topology header file (and common blocks).
2804 - implement EXCH_IGNORE_CORNERS in scalar exchange (rx1);
2805 remove 2nd exch call in exch2_s3d_rx (no longer needed).
2806 - document S/R arg. list (+ update some comments)
2807 o pkg/seaice:
2808 - added SEAICE_CLIM_AIR code, which permits modulation of surface air
2809 temperature and humidity over sea ice based on climatological values.
2810 - clean up computation of Hibler+Bryan (1987) stress coupling for the case
2811 of LSR (this change is expected to change the results slightly because now
2812 it uses slightly difference moduli from the second last LSR solution, but
2813 that is more consistent with the stress computations; this part of the code
2814 is not tested in the verification experiments)
2815 - fix diagnostics for flux of ice in case of B-grid
2816 - turn strain rates eij and press into global fields within global
2817 common block in SEAICE.h for more straighforward diagnostics
2818 - fix diagnostics for principal stress components, press, zeta, eta
2819 to give something meaning full
2820 o change tiling of global_ocean.cs32x15 (12 tiles, 32x16) and generate
2821 new output (all 4 tests) using default rotationPeriod.
2822 o pkg KPP:
2823 - add flag (LimitHblStable) to avoid limiting BL depth under stable conditions
2824 - fix vertical indices in RI_IWMIX (match between KPP grid from 0 to Nr+1
2825 and normal grid from 1 to Nr)
2826 o Fix computations of L4rdt in mom_calc_visc.F
2827 o eesupp:
2828 new S/R ALL_PROC_DIE (like EEDIE, without irrelevant threads err msg):
2829 should be called before a "stop" if we know that all process are going
2830 to stop; if one Proc does call this S/R, will hang in MPI_FINALISE.
2831
2832 checkpoint61o (2009/05/26)
2833 o pkg/exch2: change check_depths to issue just a warning (instead of error+stop)
2834 o model/src/ini_curvilinear_grid.F:
2835 compute angleSin/CosC when they are not read from a file
2836 o pkg/seaice:
2837 add pseudo time stepping for LSOR
2838 o pkg/exch2:
2839 temporary fix for exch2_s3d_rx; update results of exp. hs94.cs-32x32x5.impIGW
2840 o pkg/seaice:
2841 Adding separate sea ice albedo, drag coefficients, and HO in Southern
2842 Ocean from those in Arctic Ocean. See *_south in SEAICE_PARAMS.h
2843 o SingleCpuIO:
2844 fix bug put before chkp61n (May 11), when more than 2 MPI cpu are used.
2845 o pkg/seaice:
2846 put exchanged variable in (local) common block for MPI+Multi-Threads
2847 to work (necessary with exch1, and for now with exch2 too).
2848 o verification: to get more experiments tested with mpi, mth and mpi+mth,
2849 change tiling of:
2850 aim.5l_Equatorial_Channel, aim.5l_LatLon, dome, exp4, global_ocean.90x40x15,
2851 hs94.cs-32x32x5, MLAdjust, offline_exf_seaice & tutorial_plume_on_slope
2852 update output of exp:
2853 exp4, global_ocean.90x40x15(+.dwslp), MLAdjust(all 5),
2854 tutorial_plume_on_slope and hs94.cs-32x32x5 (use default rotationPeriod)
2855 + ideal_2D_ocean: use default rotation period + test Global_Sum_SINGLECPU
2856 (note: output.txt generated on faulks using only 1 tile)
2857 o eesupp & mdsio (SingleCpuIO):
2858 - remove MISSING_TILE_IO (from MDSIO_OPTIONS.h), replaced by run-time
2859 parameter "W2_useE2ioLayOut" (read from file "data.exch2").
2860 Note: was not effective for globalFile & useSingleCpuIO=F; now fixed.
2861 - move MDSIO_SCPU.h (pkg/mdsio) to EEBUFF_SCPU.h (eesupp/inc).
2862 - fix GLOBAL_SUM_SINGLECPU when using Exch2; re-use same buffers and same
2863 gather/scatter S/R as with SingleCpuIO (=> 1 less 2D global RL array).
2864 o pkg/exch2:
2865 - new code to set-up W2-Exch2 topology (replace matlab-topology-generator):
2866 read parameter file "data.exch2" if it exists; otherwise try default regular
2867 cube without blank-tile; new header file "W2_EXCH2_SIZE.h";
2868 - update matlab-topology-generator (exch2_setup_cs6_print.m) to be compatible
2869 with new code (not to be used, just as a backup solution).
2870 - add examples (e.g., for lat-lon-cap_120) of parameter file "data.exch2"
2871 in utils/exch2/input.
2872
2873 checkpoint61n (2009/05/12)
2874 o eesupp & mdsio (SingleCpuIO):
2875 - move mapping to global io-buffer inside gather_2d/scater_2d: this save
2876 memory (1 less 2D global RL array); skip 1 buffer copy; and only send/
2877 receive real*4 array (instead of real*8) to read/write 32.bit files.
2878 (new template for gather_2d/scater_2d, new set of S/R MDS_PASS_R4,8toRL,S
2879 and remove new mapping S/R)
2880 o pkg/mdsio: in preparation for topology-generator within pkg/exch2:
2881 - Change declaration of SingleCpuIO buffer, reduced to only 1 dim.:
2882 xyBuffer_size, which is set to W2_ioBufferSize from W2_EXCH2_PARAMS.h
2883 when using exch2. Add S/R to map global io-buffer to global model array.
2884 - uses exch2_global_Nx,y instead of exch2_domain_nxt,nyt.
2885
2886 checkpoint61m (2009/04/29)
2887 o write_utils : change WRITE_1D_R8 to WRITE_1D_RL
2888 and add 3 other S/R for other types (R4,R8,RS).
2889 Change calls to WRITE_0D/1D_R[4,8,S,L] to match the type of argument.
2890 o eesupp/inc/CPP_EEMACROS.h (EXCH & GLOBAL_SUM/MAX macros):
2891 - ensure suffix (_R4,_R8,_RS,_RL) correspondance between macro and S/R ;
2892 - reduce number of macro definitions (keep only those which are used);
2893 can always call directly the corrresponding S/R if needed.
2894 - everywhere in the code: change macros (EXCH & GLOBAL_SUM/MAX) suffix
2895 _R4/_R8 to _RS/_RL when applied to _RS/_RL variable.
2896 Fixed wrong type of arg in:
2897 atm2d/put_ocnvars.F cheapaml/cheapaml.F ocn_compon_interf/ocn_apply_import.F
2898 ctrl/ctrl_map_ini_ecco.F seaice/seaice_do_diags.F seaice/seaice_model.F
2899 To fix: global_sum of var in common block is wrong (multi-threaded) in:
2900 dic/dic_atmos.F ebm/ebm_area_t.F ebm/ebm_zonalmean.F sbo/sbo_calc.F
2901 To fix: aim_v23/aim_do_co2.F (BARRIER & GLOBAL_SUM within bi,bj loops)
2902 o adjustment.cs-32x32x1: test "blank tiles" when compiling with mpi; 2nd
2903 "nlfs" mpi test is going to stop when checking for unconnected tile egdes.
2904 o eesupp/src: new S/R to stop everyone when 1 (or more) Proc. find an error
2905 o pkg/exch2: new S/R EXCH2_CHECK_DEPTHS to check that unconnected tile
2906 edges are closed (zero depth); might happen with "blank tiles";
2907 for now, disabled if using OBCS.
2908 o tools/gemake2: delete modifs from March 27-29 2009 (with option "-mpi":
2909 link *_mpi files from "MODS" dir) to return to a strait-forward behavior.
2910 o move read_write.F to write_utils.F ; new parameter (maxLengthPrt1D)
2911 to reduce length of 1.D array print in STDOUT.
2912 o adjustment.cs-32x32x1: changed to oceanic test with 1 continent
2913 + use 48 tiles (16x8): this will allow to test "blank tiles".
2914 o start to test MPI + multi-threaded (change testreport to skip tests
2915 where number of tiles do not match).
2916 o genmake2: add option "-omp" to turn on Open-MP ;
2917 passed to testreport (if using -mth) ; merge few (*+mth) optfiles.
2918 o pkg/exch2 (+ utils/exch2): ignore blank tiles (instead of removing them)
2919 and keep the original tile numbering. Note: compatible with old
2920 W2_EXCH2_TOPOLOGY.h & w2_e2setup.F topology files.
2921
2922 checkpoint61l (2009/04/07)
2923 o Overlaps had been forgotten in calculating ijk keys : fixed
2924 o fix cyrus makedepend for gcc 4.4
2925 o experiment fizhi-cs-aqualev20:
2926 switching to new version of S/R GETPWHERE (#define TRY_NEW_GETPWHERE)
2927 and generate new output. Note: new output is much closer to the old
2928 one (v1.8) generated with pgf77 -O2 on Mar 14 2007 than it is from
2929 the previous one (v1.9) generated with pgf77 -O0 on Jun 13 2007.
2930 o pkg/fizhi:
2931 - change to avoid indices going deliberately over array-bounds
2932 - remove unnecessary MPI stuff
2933 - perpetual spring equinox with "#define FIZHI_USE_FIXED_DAY"
2934 - new version of S/R GETPWHERE available with #define TRY_NEW_GETPWHERE:
2935 does not go over array-bounds and therefore returns reliable output.
2936 - in fizhi_driver.F & fizhi_turb.F, fix "get_alarm" calls:
2937 this S/R has 4 output arguments, which are used inside "get_alarm";
2938 when it is called with the same variable "ndum" in place of several
2939 output arguments, this produces weird side effect inside "get_alarm"
2940 (e.g., datein=dates(n) is overwritten by timein=times(n) since both
2941 datein & timein, resp. 2nd and 3rd arg., are pointed to the same "ndum"
2942 address) and produces error.
2943 o tools/gemake2: (March 27-29 2009)
2944 with option "-mpi": link *_mpi files from "MODS" dir (this is what
2945 testreport does).
2946 o lab_sea experiment: change from 2x1 tiles to 2x2 tiles and regenerate output
2947 o pkg/seaice: fix bug in new version of S/R SEAICE_LSR.F:
2948 update lab_sea.lsr & lab_sea.salt_plume results
2949 o pkg/seaice:
2950 Major overhaul of the LSOR solver: change discretization from original
2951 finite differences to finite volume. The old routine is still in the
2952 file seaice_lsr.F and can be turned on with the CPP-flag
2953 SEAICE_OLD_AND_BAD_DISCRETIZATION
2954 Along with this change, the discretization of the strain rates is changed.
2955 The same flag turns on the old discretization in seaice_calc_strainrates.F
2956 All verification experiments with seaice are affected (except for
2957 seaice_exf_offline); global_ocean.cs32x15/input.icedyn recovers the old
2958 results by setting the above flag.
2959 Further changes involve changes in defaults:
2960 - ALLOW_FLOODING is defined and turned on by default
2961 - SEAICEadvSnow = .true. is now the default
2962 - SEAICEadvSalt = .true. is now the default
2963 - SEAICEadvAge = .true. is now the default
2964 - SEAICE_clipVelocities = .false. is now the default
2965 (as per J. Zhang's recommendation)
2966 - B-grid, and thus not tested: SEAICE_TEST_ICE_STRESS_1/EXPLICIT_SSH_SLOPE
2967 is defined, SEAICE_TEST_ICE_STRESS_1 is renamed into SEAICE_BICE_STRESS
2968 - seaice_growth: replace computation of UG by a simple copy from wspeed
2969
2970 checkpoint61k (2009/03/18)
2971 o pkg/seaice: a few bug fixes mostly concerning the metric terms:
2972 seaice_lsr: fixed a few metric terms,
2973 affects lab_sea.lsr, lab_sea.salt_plume, seaice_obcs
2974 add more debugging diagnostics
2975 seaice_evp: removed superfluous many metric terms of FV discretization
2976 of stress divergence
2977 affects lab_sea, lab_sea.hb87
2978 seaice_ocean_stress: removed superfluous many metric terms of FV discretization
2979 of stress divergence for non-evp solver
2980 (this part is not tested anywhere)
2981 seaice_calc_strainrates: fixed a bug in no-slip boundary conditions,
2982 they were effectively only half slip
2983 affects lab_sea.hb87
2984 updated all relevant verification experiments (except lab_sea//output_adm.txt
2985 which was left over, but fails at level 7 & 6)
2986
2987 checkpoint61j (2009/03/17)
2988 o pkg/seaice: turn a few hard wired parameters into run time parameters
2989 o pkg/seaice/exf/monitor: turn netcdf coordinate variable T into model
2990 time in seconds as promised by the usints in seaice_monitor and exf_monitor
2991 o pkg/mnc: fix the coordinate variables for multi-tile curvi-linear grids
2992 that are not cubed-sphere grids
2993 o pkg/seaice: fix a bug for the rare case of SEAICE_VECTORIZE_LSR
2994 o pkg/ctrl:
2995 fix bug in ctrl_depth_ini.F (EXCH_XYZ was applied to 2-D field xx_r_low)
2996 o non-hydrostatic (calc_gw.F):
2997 fix viscA4 on CS-grid + fix diagnostics: Wm_Diss & Wm_Advec
2998 update output of exp. global_ocean.cs32x15.viscA4
2999 o remove backward compatibility for thetaMin,phiMin
3000 (replaced by xgOrigin,ygOrigin on Jan 27, 2009)
3001 o pkg/exf: fix a serious bug in exf_set_uv.F: do a rotation of the
3002 interpolated wind field not only for curvilineargrid=.true., but also
3003 for a rotated grid (rotateGrid=.true.)
3004 o pkg/exf: add capability to bypass interpolation for runoff
3005 by setting yet another CPP-flag
3006 o eesupp/src, B-grid exchange:
3007 add simple (6 tiles, non MPI) CS exch + standard interface S/R.
3008 o autodiff
3009 new CPP option ALLOW_TAMC_SINGLEPREC_COMLEV
3010 allows to switch to single-prec common blocks;
3011 corresponding switch occurs in tamc.h, integer isbyte
3012 TAF store directivs "byte" and "kind" seem equivalent;
3013 Most tamc.h have been updated correspondingly.
3014
3015 checkpoint61i (2009/02/13)
3016 o autodiff:
3017 fix autodiff_sore/_restore indices for obcs
3018 (spotted by I. Hoteit, M. Mazloff)
3019 o pkg/autodiff, pkg/ctrl:
3020 Add flag to reduce all tapelev I/O to single-prec.
3021 In data.ctrl set
3022 doSinglePrecTapelev = .TRUE.
3023 o model/src/ini_curvilinear_grid.F, new grid-file format without EXCH2:
3024 check in hack for SX8 compiler (for dxV, dyU); remove it afterwards.
3025 o pkg/shelfice: fix bug with SHELFICEconserve flag, prepare for
3026 real fresh water flux (not yet)
3027 o pkg/mdsio & rw:
3028 - add argument & option to S/R MDS_WRITEVEC_LOC (avoid Open/Close & write-meta)
3029 - add simple interface S/R to MDS_WRITEVEC_LOC in pkg/rw: WRITE_GLVEC_RX.
3030 o pkg/flt:
3031 - replace FLT_INIT by 3-steps standard initialization S/R: readparms,
3032 init_fixed & ini_varia.
3033 - clean-up & simplify linear interpolation S/R:
3034 move flt_bilinear.F -> flt_interp_linear.F ; add arg. myThid.
3035 - fix some indices (mainly vertical index) ; add IMPLICIT NONE.
3036 - more efficient I/O, using new options of MDS_WRITEVEC_LOC S/R.
3037 - add vert. coordinate & horiz. indices to output files.
3038 - change vertical position in initial condition, from index to depth [m].
3039 - store horizontal (decimal) indices i,j in common block (instead of coord. x,y)
3040 (easier to get to a curvilinear grid) ; delX,delY no longer used.
3041 o pkg/ggl90: a few modifications:
3042 - fix bottom boundary condition, and interpolation of KappaE
3043 near top and bottom
3044 - use same set of viscosity/diffusivity for TKE/momnetum/tracer
3045 - add smoothing option as in Blanke and Delecluse (1993) (--> ALLOW_GGL90_SMOOTH)
3046 - add a few options for mixing-length upper limit (--> mxlMaxFlag)
3047 o rename thetaMin,phiMin -> xgOrigin,ygOrigin
3048 (maintain temporary backward compatibility, until next checkpoint)
3049
3050 checkpoint61h (2009/01/27)
3051 o pkg/diagnostics with "periodic averaging diagnostics":
3052 fix S/R DIAGNOSTICS_COUNT ; hack diagnostics_out.F to get NetCDF output.
3053 o pkg/my82: add missing "_d 0" ; update output of exp. vermix.my82
3054 o pkg/obcs: fix loop ranges for balancing code
3055 o pkg/flt:
3056 - improve criteria for finding which tile owns a float.
3057 - fix FLT_EXCH for case without MPI ; apply cyclic BC + fix also the MPI case.
3058 o Add well-mixed CO2 box in aim_v23 (which includes changes in pkg
3059 aim_compon_interf, ocn_compon_interf, gchem, and dic to get coupling
3060 with ocean biogeo)
3061 o pkg/flt:
3062 - do some cleaning and fix the restart ;
3063 - add output.txt in flt_example/results to get this pkg tested.
3064 o genmake2: add an EXTENDED_SRC option and flag.
3065 for now, cannot be turned on on command line (only through genmake_local)
3066 o pkg/mdsio: read/write vector:
3067 - singleCpuIO: fix RL/RS in MDSWRITEVECTOR by calling new S/R MDS_BUFFERtoRL/RS
3068 - singleCpuIO=F: fix arrType & filePrec & _BYTESWAPIO in both MDSREADVECTOR
3069 & MDSWRITEVECTOR by calling new S/R MDS_RD/WR_VEC_RL/RS.
3070 - affects gradient of test-exp "bottom_ctrl_5x5" (not due to _BYTESWAPIO)
3071 (drop to 4 digits matching for grad). But this test does not look very
3072 reliable (was already failling on eddy, fc5, at 6.digits). Update output.
3073
3074 checkpoint61g (2008/12/29)
3075 o pkg/flt:
3076 - move FLT_CPPOPTIONS.h to FLT_OPTIONS.h (standard name)
3077 + make OPTIONS file more standard.
3078 - rename S/R MDSREADVECTOR_FLT to FLT_MDSREADVECTOR (to mach src file name)
3079 - fix _BYTESWAPIO CPP-Flag
3080 - standard reading of file-parameter "data.flt"
3081 - fix argument list of S/R FLT_RESTART
3082 still need to fix _BYTESWAPIO in pkg/mdsio/mdsio_writevector.F
3083 o pkg/obcs: fix a CPP-flag, bug reported by Jeff Blundell
3084 o gather_2d.F/scatter_2d.F: suppress vectorisation on NEC SX in respond to
3085 a still unfixed compiler/optimization bug
3086
3087 checkpoint61f (2008/11/21)
3088 o pkg/seaice, LSR solver: fix bug in GLOBAL_MAX calls ;
3089 update results of global_ocean.cs32x15.icedyn test.
3090 o move getcon.F from model/src to pkg/fizhi.
3091 o pkg/exf: add parameter for extrapolation of temp up to the surface
3092 and option to prevent negative evap (in bulk_largeyeager04 only).
3093 o Prather Advection scheme: fix tracer conservation for divergent flow
3094 (e.g., when using NonLin Free-Surface).
3095 o kpp: retire KPPmld diagnostics --> use MXLDEPTH instead
3096 o gmredi (Visbeck-variable-K):
3097 - add more parameters to Visbeck-variable-K.
3098 - use a 5 points average for dSigmaR in Visbeck-K calculation
3099 (more "homogenous": same stencil and same weights as in dSigmaH)
3100 - update output of ideal_2D_oce experiment.
3101 o fix CPP-flag REAL4_IS_SLOW, when _RS expands into real*4
3102 (#undef REAL4_IS_SLOW)
3103 - pkg/mnc/mnc_cw_cvars.F: write _RS-grid variable as netcdf-real*4
3104 coordinate variable
3105 - pkg/monitor/monitor.F: call mon_printstats_rs for _RS variables
3106 (surface forcing fields), removes some of the functionality
3107 - model/src/write_grid.F: write _RS variables as RS-netcdf variables
3108 - model/src/diags_oceanic_surf_flux.F: fix a few diagnostics, but
3109 probably not all: copy _RS surface flux fields to RL field before
3110 calling DIAGNOSTICS_FILL
3111 - model/inc/CPP_EEMACROS.h: make the _EXCH_*_RS macros expand into
3112 real*4 (CALL EXCH_*_RS) versions.
3113 - tested in 2 experiments: inverted_barometer & solid-body.cs-32x32x1
3114 (generate new output).
3115
3116 checkpoint61e (2008/10/23)
3117 o gmredi (Visbeck-variable-K):
3118 - fix the "OLD_VISBECK_CALC" option + move the #undef to GMREDI_OPTIONS.h
3119 - change computation of Visbeck-K where Slope > Smax :
3120 now: N*min(Slope,Smax) (similar to OLD_VISBECK_CALC with gkw91 taperFct)
3121 previously was: M*sqrt(min(Slope,Smax)) ; update ideal_2D_oce output.
3122 o bottom-drag in P-coord.: change units of bottomDragLinear & bottomDragQuadratic
3123 to be the same as with Z-coord. (i.e., m/s & no-units respectively).
3124 o calc_viscosity: fix index range (was wrong for CD-Scheme & explicit Visc)
3125 o pkg gmredi, linear & fm07 tapering: put an upper limit on Slope^2 so that Kwz
3126 does not become too large (to avoid precision problems in implicit-diffusion
3127 solver); update ideal_2D_oce output.
3128 o pkg ggl90:
3129 - in ggl90_cal.F: compute only one set of visc/diff, used to
3130 step forward TKE/T/S/momentum
3131 - default value of GGL90viscMax/GGL90diffMax larger and equal (to
3132 have Prandlt =1)
3133 o gmredi (fm07):
3134 - add lower limit on Transition layer thickness + lower limit on 1/lambda
3135 - allow to set few more params from data.gmredi
3136 o pkg ggl90:
3137 - add missing sqrt(2) factor in computation of mixing length
3138 scale in ggl90_calc.F
3139 (see Eq. (2.35) in Blanke and Delecluse, JPO, 1993)
3140
3141 checkpoint61d (2008/09/25)
3142 o adjoint modifs
3143 - adapt to new field rhoInSitu
3144 - allow to revert from StoreDynVars2D, StoreDynVars3D
3145 to individual fields
3146 (switches AUTODIFF_USE_OLDSTORE_2D, AUTODIFF_USE_OLDSTORE_3D)
3147 o store 3-D (in-situ) density in commom block (DYNVARS.h)
3148 - save 1 rho computation.
3149 - no longer modify T & S inland when using down_slope pkg.
3150 o gad_som : allow to switch to SOM advection for T & S without corresponding
3151 pickup files (using new S/R: MDS_CHECK4FILE).
3152 o keep removing _BEGIN/_END_MASTER between MDSIO S/R call
3153 (for useSingleCpuIO to work in multi-threaded)
3154 o pkg/shelfice:
3155 - disentangle parameters: retire shelfIceFile in data/PARM05 and substitute
3156 with SHELFICEtopoFile in data.shelfice
3157 - move code for reading ice shelf topography and modifying hFacC into separate
3158 subroutines of the shelfice package
3159 - separate initialisation of "fixed" and "variable" variables
3160 - kTopC is not (yet) replaced by kSurfC, although this is possible
3161 o fix broken diagnostic SIatmFW and changed the units from m/s to kg/m^2/s
3162 o add initialisation of deepFac if using Pcoords (new S/R set_grid_factors)
3163 and rename:
3164 ini_phiref.F --> set_ref_state.F (+ set anelastic factors)
3165 ini_reference_state.F --> load_ref_files.F (- set anelastic factors)
3166 o change FIND_RHO_SCALAR : return rho (instead of rho - rhoConst)
3167
3168 checkpoint61c (2008/08/30)
3169 o add option ALLOW_ADDFLUID and run-time selector "selectAddFluid"
3170 to add mass source/sink of fluid in the interior (3-D generalisation
3171 of oceanic real-fresh water flux).
3172 o pkg/monitor: fix recip_dr argument in mon_advcflw2 call (-> advcfl_W_hf_max)
3173 o vermix test experiment: switch from LINEAR EOS to MDJWF (not tested before)
3174 o new pkg: down_slope
3175 density-driven downsloping flow parameterisation (Tellus, 1999, 412-430).
3176 - presently, modify T & S inland (dwnslp_calc_rho.F).
3177 can be avoided if rho was stored in common bloc and used in calc_phi_hyd.
3178 - implementation for ocean in P-coords not tested.
3179 - add secondary test to global_ocean.90x40x15 (input.dwnslp) to check this pkg.
3180 o move kSurfC,kSurfW & kSurfS from SURFACE.h to GRID.h (next to kLowC)
3181 (to facilitate conversion of oceanic pkg to p-coordinate).
3182 o change FIND_RHO to FIND_RHO_2D :
3183 pass arguments tFld & sFld as local (tile) 2D-arrays ; +fix EOS_CHECK.
3184 o new pkg: cheapaml
3185
3186 checkpoint61b (2008/08/05)
3187 o exch2:
3188 change index bounds in rx2_cube exchanges (new S/R: EXCH2_GET_UV_BOUNDS)
3189 - no longer depend on the order sequence (N,S,E,W).
3190 - 3rd exchange no longer needed (tested with 24 tiles).
3191 - same modif to hand-written adjoint S/R (global_ocean.cs32x15: zero diff)
3192 - exch_UV_A-grid readily available (but not yet tested).
3193 comment out 3rd exch call and remove copy of V to U at SE & NE face-corners
3194 (both are no longer needed) in exch_uv: no effect in forward run; but
3195 get truncation error differences with adjoint exch.
3196 o exch2:
3197 - change index-bounds storage (moved from target to local tile,
3198 more intuitive this way) ; rename/remove some variables.
3199 - change utils/exch2/matlab-topology-generator & code_mods accordingly.
3200
3201 checkpoint61a (2008/07/29)
3202 o exch2/matlab-topology-generator:
3203 fix bug in index bounds for N-S internal exchange (hard to tell if this
3204 had any effect on the solution).
3205 o pkg/mnc: small fix in mnc_handle_err: make sure that length of msgbuf
3206 is exceeded
3207 o testreport: modify syntax of awk, so that it works also with
3208 awk, and not only with nawk and gawk
3209
3210 checkpoint61 (2008/06/24)
3211 o autodiff
3212 Change default for TAF usage by removing argument '-nonew_arg'
3213 This changes TAF subroutine argument list (ordering of active var.)
3214 Omission of this flag leads to incompatibility w.r.t. TAMC
3215 To restore TAMC-compatibility, need following modifs:
3216 * use adoptfile tools/adjoint_options/adjoint_tamc_compatibility
3217 * use CPP option #define AUTODIFF_TAMC_COMPATIBILITY
3218 Tested TAF version is 1.9.22
3219 N.B.: exch2 hand-written adjoint code currently not TAMC compatible
3220
3221 checkpoint60 (2008/06/19)
3222 --->>> This is the last checkpoint for which generating the adjoint
3223 --->>> is done via the TAMC-compatibility TAF-flag "-nonewarg"
3224 --->>> by default.
3225 --->>> Future checkpoints will ommit this flag by default.
3226 o pkg/generic_advdiff, os7mp: simplify and avoid division by zero.
3227 o pkg/grdchk: Add gradient check to etan0 perturbations.
3228 o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK).
3229 o pkg/autodiff: more flexibility in zeroadj.
3230 model/src: modifying do_oceanic_phys.F accordingly.
3231 o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation.
3232 o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option
3233 special setup of gmredi for which the adjoint is stable
3234 enough for parameter optimization.
3235 o bridging the gap between eddy stress and GM.
3236 -> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi)
3237 along with a change in CPP option (now ALLOW_EDDYPSI).
3238 -> when using GM w/ GM_AdvForm:
3239 The total eddy streamfunction (Psi = eddyPsi + K x Slope)
3240 is applied either in the tracer Eq. or in momentum Eq.
3241 depending on data.gmredi (intro. GM_InMomAsStress).
3242 -> ALLOW_EDDYPSI_CONTROL for estimation purpose.
3243 The key modifications are in model/src/taueddy_external_forcing.F
3244 pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F
3245
3246 checkpoint59r (2008/05/29)
3247 o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array
3248 from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F);
3249 fix option to read coriolis(@ cell-corner) from files with CS-grid.
3250 o pkg/mnc: add some attributes to standard 1D-coordinate variables
3251 o pkg/diagnostics: enforce missing_value attribute for scalar variables at
3252 mass points, when using mnc for output
3253 - add runtime parameter (missing_value, missing_value_int) to override
3254 default (which is the value of getcon('UNDEF'))
3255 o pkg/mnc: prepare mnc for the actual use of missing values with the
3256 diagnostics package: small fix in mnc_cw_readwrite.template and more
3257 initialisation of never used fields
3258 - replace mnc_common.h and mnc_id_header.h with corresponding upper case
3259 versions
3260 o pkg/thsice/thsice_ini_vars.F added default initial values so that
3261 thermodynamics sea ice solver does not blow up when some initial fields
3262 are missing.
3263 o move from external_forcing_surf.F to ini_forcing.F
3264 the p-coord. hack consisting in using pLoad to set phi0surf ;
3265 update output of tutorial_global_oce_in_p (affected @ truncation level).
3266 o Freshen up a bit hs94.1x64x5, notably:
3267 remove rotationPeriod and tRef=5*0. (adjoint only), and add
3268 exactConserv=.TRUE.
3269 o pkg/generic_advdiff:
3270 change option GAD_ALLOW_SOM_ADVECT to GAD_ALLOW_TS_SOM_ADV which only
3271 applies to files where Temperature & Salinity 2nd Order moments are used.
3272 o pkg/ptracers: add second-order moment advection schemes (80 and 81);
3273 this uses a dynamically allocated internal state data structure
3274 (#define PTRACERS_ALLOW_DYN_STATE in PTRACERS_OPTIONS.h)
3275 and requires a fortran 90 compiler
3276
3277 checkpoint59q (2008/05/06)
3278 o pkg/mom_vecinv: Add energy & enstrophy conserving scheme (selectVortScheme=3)
3279 (from Sadourny, described by Burridge & Haseler, ECMWF Rep.4, 1977)
3280 o Refresh tutorial_global_oce_biogeo, notably:
3281 - change bathymetry (put back seamounts in ACC, use hFacs)
3282 - change EOS (POLY3 --> JMD95Z)
3283 - use Bryan-Lewis vertical diffusivity
3284 - use multidimensional advection
3285 - remove old virtual virtual in dic pkg, now done through ptracer pkg
3286 - change a couple of parameters in dic pkg
3287 o pkg/ctrl: change formula in adctrl_bound.F and add a parameter to ctrl_map_ini_gen.F
3288 o pkg/obcs: change default to OBCSfixTopo = .true.,
3289 - set OBCSfixTopo=.false. in exp4/input/data.obcs to reproduce old result
3290 - replace "debugMode" with "debugLevel .GE. debLevB"
3291 o implementation of TAF directives for gchem,cfc,dic
3292 o remove "exp5" (replaced by tutorial_deep_convection).
3293 o pkg/obcs: add code to fix topography gradients normal to open boundaries;
3294 this requires computing the index fields OB_Jn/Js/Ie/Iw in obcs_readparms;
3295 the code can be turned on by setting OBCSfixTopo = .true. in data.obcs
3296 --> changes results in exp4, seaice_obcs
3297 o tutorial_deep_convection :
3298 update the set-up and increase resolution and domain size ; start
3299 from pseudo initial conditions = output at t=120mn in order to see
3300 something happening when running testreport.
3301 o pkg/seaice: add os7mp as an advection scheme
3302 add check for advection schemes
3303 add a flag for restoring T and S underneath sea ice
3304 o pkg/my82: add netcdf-support and diagnostics
3305 o thsice pkg:
3306 - Now hsMax limits snow height by turning it into ice following
3307 flooding scheme (and now conserving energy)
3308 - Slight rewriting of the formula in thsice_calc_thick.F
3309 - Parameter rhowi eliminated to be replaced by floodFac = (rhosw-rhoi)/rhos
3310 --> changes results of global_ocean.cs32x15.icedyn and global_ocean.cs32x15.thsice
3311
3312 checkpoint59p (2008/04/10)
3313 o gchem / dic / cfc :
3314 - add useDIC, useCFC , read from "data.gchem" (& hold in GCHEM.h);
3315 - add new parameter files: "data.dic" & "data.cfc" ;
3316 - various re-arrangement in initialisation & header file ;
3317 - fix tutorial_global_oce_biogeo for multi-threaded test.
3318 o pkg/dic: test for "pickup_dic" file when restarting ;
3319 if no pickup-file, can restart with a re-initialised pH (same as it did
3320 before) providing pickupStrictlyMatch is set to False.
3321 o change argument list of S/R PTRACERS_WRITE_PICKUP & MYPACKAGE_WRITE_PICKUP
3322 + fix call to S/R GGL90_WRITE_PICKUP & DIC_WRITE_PICKUP
3323 o add a "warning" (to Error msg file) when an Active Tracer is not using AB-2
3324 and staggerTimeStep is off (needed for stability of Internal-wave dynamics).
3325 o move out of PARAMS.h & data the last pieces of old-ptracer code: tauTr1ClimRelax,
3326 & lambdaTr1ClimRelax ; put those 2 params in PTRACERS_PARAMS.h & data.ptracers
3327 (note: not clear to me what lambdaTr1ClimRelax is still used for ...)
3328 o pkg/mom_vecinv: - new parameter "selectVortScheme" to select which
3329 scheme to use for vorticty-term ;
3330 - compute upwindVorticity=T case within mom_vi_u/v_coriolis_c4.F
3331 (with default selectVortScheme, return to original discretisation)
3332 - remove weird combination (e.g.: upwindVorticity & highOrderVorticity)
3333 o pkg/seaice: add a line to the summary to indicate grid type (B/C)
3334 o in mom_calc_visc, fix average value of viscAh_W & viscA4_W next to the
3335 bottom ; only used with variable horizontal viscosity and non-hydrostatic.
3336 also fix diagnostics VISCAHW & VISCA4W.
3337
3338 checkpoint59o (2008/03/07)
3339 o dome/code/obcs_calc.F: avoid division by zero (detected using gfortran).
3340 o change the loop ordering in most gad_*_adv_x.F to improve vectorization:
3341 move a few statemens out the main loop into separate loops
3342 o pkg/shelfice:
3343 - sort out freshwater flux; convert freshwater fluxes to mass fluxes
3344 (kg/m^2/s), does not break tests, because in verification/isomip,
3345 rhoConstFresh=rhoConst (by accident)
3346 - rearrange computation of tLoc, sLoc, pLoc to make code more efficient
3347 - move S/R find_rho_scalar, pkg/ecco/sw_ptmp.F, pkg/ecco/sw_adtg.F into
3348 new file model/src/seawater.F, so that they are available for all pkgs.
3349 - convert potential temperature into in-situ temperature. This changes the
3350 isomip tests => update tests
3351 o add a flag writePickupAtEnd (default=true) to be able to suppress
3352 writing a pickup at the last timestep
3353 o tools/mpack-1.6 :
3354 - disable automake (not working) and autoconf (not needed).
3355 - update to version 1.6.4 which fix MD5 code on some 64 bits platforms
3356 also cleaner with much less compilation warnings.
3357 o pkg/profiles:
3358 rename profiles_interp_mean_genericgrid as profiles_interp_mean_gg
3359 (for "less than 32 characters name" compiler requirement)
3360 o pkg/obcs and pkg/exf: added capability to specify seaice open boundary
3361 conditions that have a different sampling frequency than S/T/U/V obcs
3362 o pkg/diagnostics (stats-diags):
3363 - fix global Min/Max in case 1 processor get only empty tiles
3364 o genmake2: replace (4 times)
3365 make genmake_tc_1.o >> genmake_warnings 2>&1
3366 with
3367 COMM="$CC $CFLAGS -c genmake_tc_1.c"
3368 echo $COMM >> genmake_warnings
3369 $COMM >> genmake_warnings 2>&1
3370 to make genmake2 always see the value of CC as specified in the optfile.
3371 o generic_advdiff: - prather advection scheme (SOM) coded for CS-grid.
3372 - add diagnostics for 1srt & 2nd Order moments and sub-grid variance.
3373 - modify verification advect_cs test to test SOM-advection on CS-grid.
3374 o pkg/ctrl:
3375 - Rewrite of ctrl_map_ini_ecco.F,
3376 introducing a generic routine (ctrl_map_ini_gen.F).
3377 - Modification of ctrl_bound/adctrl_bound handling control vector bounds.
3378
3379 checkpoint59n (2008/02/09)
3380 o pkg/diagnostics: for large number of diagnostics, store diagnostic mate
3381 number in dedicate array "hdiag":
3382 - new version of S/R DIAGNOSTICS_ADD2LIST : DIAGNOSTICS_ADDTOLIST
3383 with 1 more argument (mate number); modify old version DIAGNOSTICS_ADD2LIST.
3384 - many small changes (integer format) for large number of diagnostics
3385 - start to use DIAGNOSTICS_ADDTOLIST (necessary for diagnostics with
3386 a counter mate) in pkg diagnostics, ptracers, thsice & aim_v23.
3387 o add parameter rotateGrid and Euler angles EulerPhi/Theta/Psi. For
3388 usingSphericalGrid, this allows to define the rotated grid coordinates
3389 via phiMin/thetaMin/dxSpacing/dySpacing, etc., but then re-compute the
3390 geographical coordinates according to the inverse of the rotation defined
3391 by the Euler angles, so that Coriolis parameter and online-interpolation by
3392 exf works with the geographical coordinates on XC/YC/XG/YG.
3393 Naturally, this feature does not work with all packages, so some
3394 combinations are prohibited in config_summary (flt, flt_zonal, ecco,
3395 profiles), because there the coordinates are assumed to be regular
3396 spherical grid coordinates.
3397 o pkg/gmredi,ctrl,ecco,autodiff,grdchk and model/src,inc:
3398 - introduce isopycnal diffusion coefficient control.
3399 o tools/adjoint_options:
3400 - additional control vector components.
3401 o pkg/mnc: have mnc create marginally meaning full coordinate variables
3402 (that is the grid indices) if usingCurvilinearGrid and NOT EXCH2
3403 o pkg/mypackage:
3404 - add example of read/write pickup for state-var ;
3405 - add entry points to the main code for state-vars diags & write-pickup.
3406 o pkg/exf: rewrite of exf_getffieldrec.F to properly deal with year
3407 transitions for useExfYearlyFields
3408 - add new subroutine that determines the file to read from for
3409 use*YearlyFields = .TRUE. and .FALSE.
3410 - add a verification experiment to global_with_exf that tests
3411 useExfYearlyFields with USE_EXF_INTERPOLATION defined
3412 o pkg/obcs/exf: add useOBCSYearlyFields (=.FALSE.) to obcs with exf in
3413 analogy to useExfYearlyFields; rearrange obcs_prescribe_read: two new
3414 subroutines (which could be generated from a template, because they are
3415 almost identical), for now they are included in obcs_prescribe_read.F for
3416 simplicity
3417 o pkg/exf:
3418 - add a little more diagnostic to exf_interp_read (in analogy to
3419 mds_read_field, can be turned off with debugLevel < debugLevA=1)
3420 - improve vectorizability of exf_interp for TARGET_NEC_SX, makes code
3421 ugly but fast by unrolling short inner loops, inserting a unroll=8
3422 directive in routine lagran, and splitting a loop and making do while the
3423 outermost loop (the latter requires the intoduction of index arrays)
3424 o pkg/obcs: replace obcs_apply_area/heff/hsalt/hsnow with obcs_apply_seaice
3425 o pkg/seaice: moved DIFFERENT_MULTIPLE from seaice_model to seaice_dynsolver
3426 http://forge.csail.mit.edu/pipermail/mitgcm-devel/2008-January/003173.html
3427 o verification/seaice_obcs: updated for restart test and latest options
3428 o pkg/seaice: add a new flag SEAICEuseTEM to use a slightly different
3429 ice rheology (so-called truncated ellipse, that gets rid of tensile stress);
3430 for now this is only available for the C-grid code and also within
3431 #ifdef SEAICE_ALLOW_TEM, because this option may slow down the EVP code
3432
3433 checkpoint59m (2008/01/14)
3434 o pkg/seaice: use different time constant for melting (SEAICE_gamma_t)
3435 and freezing (SEAICE_gamma_t_frz) ice due to mixed layer temperature
3436 o gad_som : fix flux output (& diagnostics) to have same units as other
3437 advection scheme fluxes (was previously multiplied by deltaT).
3438 o added verification/seaice_obcs both to test seaice open boundaries
3439 and to provide an example matlab scrpt for generating them
3440 o added verification/lab_sea/input.salt_plume for testing pkg/salt_plume
3441 o pkg/salt_plume: clean up salt_plume_frac.F to
3442 remove redundancy in PlumeMethod 1 and 4
3443 o pkg/kpp: added saltplume diagnostics
3444 o pkg/obcs and pkg/seaice:
3445 - do not set uice and vice to zero when OB*icefile are unspecified
3446 - OBCS_SEAICE_AVOID_CONVERGENCE is undefined by default
3447 - moved seaice tracer obcs after call to seaice_growth
3448 o pkg/salt_plume: added various options for salt plume depth
3449 criterion and for vertical distribution of the salt
3450
3451 checkpoint59l (2007/12/18)
3452 o pkg/ptracers: new version of ptracers pickup:
3453 read meta file and write only fields which are needed to restart.
3454 ( same logic as main pickup file ; also using pickupStrictlyMatch )
3455 o pkg/seaice:
3456 - add timescale for melting due to warm mixed layer as a means of
3457 setting SEAICE_availHeatFrac more conveniently
3458 - add a CPP-flag/runtime parameter check for flooding algorithm
3459 - reformulated availHeat in seaice_growth.F to be independent of AREA
3460 o change units attribute of EmPmR netcdf variables to kg/m^2/s to reflect recent
3461 unit changes
3462 o pkg/obcs: added OBCS_SEAICE_AVOID_CONVERGENCE constraint
3463 o cg2d.F: add 3 compiler directives that speed up this routine by 30% on a NEC
3464 SX vector computer.
3465 o pkg/seaice:
3466 - removed SEAICE_FFIELDS.h and seaice_get_forcing.F
3467 seaice forcing fields can now be read only through pkg/exf
3468 - removed some unused halos
3469 o no longer write pickup from THE_MODEL_MAIN but always from FORWARD_STEP
3470 o pkg/exf: added useRelativeWind EXF_PARAM.h option for subtracting U/VVEL
3471 or U/VICE from U/VWIND before computing U/VSTRESS
3472
3473 checkpoint59k (2007/11/30)
3474 o pkg/seaice: ICE2WATR=SEAICE_rhoIce/rhoConst for consistency between
3475 dynamics and thermodynamics. Set ICE2WATR=0.92 to reproduce older results.
3476 o fix un-initialised variable problem (in mom_vecinv & shap_filt):
3477 all experiments pass when compile with un-initialised var. checking option.
3478 o added pkg/salt_plume
3479 o script to test restart (for now, in MITgcm_contrib/jmc_script)
3480 o pkg/seaice: new read/write pickup version.
3481 read meta file and write only fields which are needed to restart.
3482 ( same logic as main pickup file ; also using pickupStrictlyMatch )
3483 o pkg/seaice: fix bug in seaice_ocean_stress (call of seaice_calc_strainrates)
3484 o lab_sea.hb87: modify the domain & update output.hb87.txt :
3485 lat-long grid & no-slip BC in seaice-dynamics produce different sigma12
3486 at j=1 & j=Ny+1 : this case is not treated correctly in the restart
3487 process. Fixed here by closing the domain at the Northern boundary.
3488 o pkg/rw: cleaning-up: call directly new MDSIO S/R MDS_READ/WRITE_FIELD.
3489 o pkg/mdsio: add new arguments to MDS_READ/WRITE_FIELD for reading/writing
3490 a set of consecutive levels in/from a 3-D array.
3491 o pkg/ptracers:
3492 use a 2 characters string ioLabel to identify tracer (if more than 99 tracers).
3493 to-do: fix pkg/diagnostics when large number of diagnostics are defined.
3494
3495 checkpoint59j (2007/11/09)
3496 o in pkgs: dic, obcs, offline, rbcs:
3497 standard way to compute coeff. for time interpolation between 2 time reccords
3498 which retains full precision (& make results less dependent on compiler).
3499 update output of exp: tutorial_cfc_offline & tutorial_global_oce_biogeo.
3500 o pkg/cfc: if compiled with exf and seaice, cfc now can use fields from those
3501 packages instead of reading ice cover and wind speed separately
3502 o split PTRACERS.h in 2 header files: PTRACERS_FIELDS.h & PTRACERS_PARAMS.h
3503 (keep a temporary version of PTRACERS.h in verification/OpenAD/code_ad_openad
3504 to allow to compile customized code before the update)
3505 o cleaning-up:
3506 - fix CPP instruction syntax in pkg/obcs
3507 - replace (some) call to MDSIO S/R with call to RW interface S/R ; and
3508 add #ifdef ALLOW_MDSIO elsewhere (allows to compile without pkg/mdsio)
3509 - fix some threads issue in IO parts.
3510 o pkg/dic:
3511 - add tons of "_d 0" (--> much better testreports !)
3512 and then update outputs of tutorial_global_oce_biogeo
3513 o pkg/mom_fluxform:
3514 add a special version of momentum advection intended to conserve momentum
3515 next to a bathymetry step or a coastline edge. (default = off = #undef)
3516 o new read/write pickup version:
3517 - for now, only implemented for main (mdsio) pickup file.
3518 - write out only what is needed to restart; merge pickup_nh , pickup_ph
3519 and main pickup together.
3520 - read meta file; read only what is needed to restart; stop if a field
3521 is missing (if pickupStrictlyMatch=T, = the default) or try to restart
3522 if it make sense (even if the restart is not perfect).
3523 - if no meta file, assume that pickup to read corresponds exactly to
3524 a pickup that would currently be written.
3525 - read pickup written in the old format (until checkpoint59i) if it
3526 recognizes an old meta file (no field-list).
3527 - add a meta file in exp. which starts from a pickup: 2 cases:
3528 a) minimal meta file (with just file precision) + pickupStrictlyMatch=F
3529 e.g.: global_ocean.90x40x15/input/pickup.0000036000.meta
3530 b) a meta file describing the content of the associated pickup file
3531 e.g.: tutorial_global_oce_biogeo/input/pickup.0004248000.meta
3532 o pkg/mdsio & pkg/rw:
3533 - new routine to read a meta file ; new set of routine to read
3534 Multiple-fields file (with meta file).
3535 o added open boundary conditions capability for seaice
3536 HSNOW, HSALT, UICE, and VICE
3537
3538 checkpoint59i (2007/10/21)
3539 o adjoint:
3540 * fix multiDimAdvection adjoint
3541 (partial recomputation problem by TAF for fVerT(:,:,kDown)
3542 and comlev1 size definition (maxpass vs. max. number of tracers)
3543 * verification/global_ocean.90x45x15 adjoint now tests
3544 NLFS and multiDimAdvection using DST3 (=30)
3545 * verification/lab_sea now tests multiDimAdvection using DST3 (=30)
3546 o pkg/kpp: add "_d 0" to real constant (if missing);
3547 update output of exp: natl_box (10.digits); vermix (std, 7.digits)
3548 and lab_sea, 3.FW (only 6,4,6 digits match) & AD (8.digits).
3549 o prepare for "clever pickup" implementation: add new header file "RESTART.h"
3550 for internal parameters related to restart process (formerly from PARAMS.h)
3551 and add startAB parameter to argument list of S/R ADAMS_BASHFORTH2.
3552 o more standard interface to {PKG}_WRITE_PICKUP with pickup suffix passed
3553 as argument. (only atm2d & obcs write_pickup have not yet been updated)
3554 o pkg/monitor:
3555 - use GLOBAL_SUM_TILE instead of _GLOBAL_SUM
3556 - fix mon_stats_rs (statistics over the full domain, even where field is zero)
3557 - account for deep Atmosphere factor and density factor (anelastic)
3558 o added open boundary conditions capability for seaice HEFF and AREA
3559 o pkg/shelfice: add option for convservative form of Hellmer&Olbers (1989)
3560 thermodynamics
3561 - requires a little reorganization, which affects the testreport results
3562 of isomip.htd (only 7 digits of cg2d agree) => update/modify experiment,
3563 so that now the conservative form is tested
3564 - add a few comments
3565 o add missing cvs Header: or Name: in eesupp/*, pkg/* & verification/code*
3566 o add a little bit of code to gad_os7mp_adv_?.F to help vectorization
3567 o add new diagnostics to seaice: advective, diffusive fluxes (only for
3568 multidim-advection, for scheme 2 they are not filled) and transports,
3569 thermodynamic growth rates
3570 o change units of EmPmR (inside the code, + within coupling interface)
3571 from m/s to kg/m2/s (mass flux) but leave input file unchanged.
3572 Affects results @ truncation level (cg2d match) and update output of
3573 experiments: lab_sea(6), global_ocean.90x40x15(10),
3574 global_ocean.cs32x15(11x3,10), natl_box(11), tutorial_global_oce_latlon(11)
3575 + adjoint results: global_ocean_ebm(11) and lab_sea (12).
3576 Coupled set-up: allow to restart from previous pickups (cpl_oldPickup=T).
3577 Next: will retire convertEmP2rUnit (simply using mass2rUnit instead).
3578
3579 checkpoint59h (2007/09/29)
3580 o pkg/exf:
3581 - improve vectorization by moving if-statement out of loops in
3582 exf_mapfields, exf_radiation
3583 - exf_bulkformulae.F: introduce 2D fields and vectorize code
3584 o pkg/kpp: added the salt plume scheme (ALLOW_SALT_PLUME) to KPP package
3585 o testreport:
3586 - allow to test for Qnet & SeaIce monitor output; clean-up ALLOW_BULK_OFFLINE
3587 monitor & update offline_exf_seaice exp. output.
3588 - AD testing: pass/FAIL according to Grad. output accuracy (instead of Cost)
3589 o pkg/seaice:
3590 - bug fix in the evp solver: boundary conditions were affected be
3591 masking of zMax/zMin (changes results)
3592 - minor bug fix in boundary conditions in seaice_calc_strainrates
3593 (changes results for no_slip)
3594 - seaice_lsr.F: make interpolation of eta dependent on boundaries
3595 - replace hardcoded lower limit for zeta (zMin) by runtime parameter
3596 - add a test to lab_sea, that tests the Hibler and Bryan (1987) ocean
3597 stress formulation and no-slip boundary conditions
3598 o pkg/ptracers: Temporary fix for PTRACERS_useGMRedi & PTRACERS_useKPP
3599 in gad_calc_rhs.F ; add few safety stops in initialisation phase.
3600 o pkg/seaice: a first HSALT time stepping equation has been checked in
3601 o pkg/seaice: replaced maskW with seaiceMaskU and maskS with seaiceMaskV
3602 in seaice_lsr.F; this solves the pkg/seaice-pkg/obcs problem
3603 without requiring DO-IF statements
3604 o pkg/thsice:
3605 use continuous power-law function for partition of energy between lateral
3606 melting/freezing and thinning/thickening ; old code using step function
3607 still available with #undef THSICE_FRACEN_POWERLAW
3608 update output of exp: aim.5l_cs.thSI, global_ocean.cs32x15.icedyn & .thsice
3609 o testreport: change AD testing : check against results/output_adm.txt
3610 using same scripts as for forward test.
3611
3612 checkpoint59g (2007/09/17)
3613 o adjoint testing: in preparation for changing testreport:
3614 - output format: cost and grad written on separated lines
3615 - ad output results in directory "results" (instead of "results_ad")
3616 o pkg/seaice: adding ice salinity HSALT as a prognostic variable
3617 o pkg/seaice: changes for using pkg/seaice with pkg/obcs
3618 o pkg/ecco: allow user defined cost function contributions
3619 o testreport:
3620 Allow to choose (per experiment) the list of tested output variables
3621 and the main variable (used to issue a pass/FAIL ) ;
3622 - for now, done by adding the specific list in file: [exp]/input/tr_checklist
3623 - default is unchanged: >cg2d< , (T,S,U,V,5 tracers)_[min,max,mean,StD] ;
3624 Also modify printing of summary:
3625 a) ">" NN "<" indicates the "main" variable (used for pass/FAIL)
3626 b) echo the list of tested variables in the individual summary.txt of
3627 each experiment.
3628 o new S/R GLOBAL_SUM_TILE to compute global sum independently of number of
3629 threads and number of processes (with #define GLOBAL_SUM_SEND_RECV)
3630 (but still depend on the tile decompostion of the domain).
3631 o pkg/seaice: change a discretization detail to make the B-grid code
3632 "more symmetric". This change is likely to remove all "ridges/leads" that
3633 where quasi-aligned with the grid in B-grid solutions. It may also be
3634 the solution to the stress coupling issues with the B-grid.
3635 o each tested exp: add a "run" directory with a standard ".cvsignore" file ;
3636 remove .cvsignore from input dir. (since testreport no longer run here).
3637 o pkg/thsice:
3638 - cleaning: move common block out of "THSICE_2DYN.h" (removed) to "THSICE_VARS.h"
3639 - fix reshaping of sea-ice just after advection:
3640 melt all the ice only if ice-volume is too small.
3641 - re-visit lateral/thinning repartition of melting (modifs from May 04, 2007):
3642 prevent lateral melting if sea-ice fraction is too close to iceMaskMin ;
3643 and update experiment global_ocean.cs32x15.icedyn (+start from pickup files).
3644 o external_forcing_surf : extend the use of salt_EvPrRn & temp_EvPrRn (fresh-water
3645 tracer content) to linFS or no RealFreshWaterFlux ; default remains unchanged.
3646 o define mass2rUnit & rUnit2mass as units conversion factor, used for surface
3647 forcing. mass2rUnit: from mass per unit area [kg/m2] to r-coordinate unit
3648 (z-coord: =1/rhoConst ; p-coord: =gravity) ; rUnit2mass is just the reverse;
3649 and remove horiVertRatio (& recip_horiVertRatio). Affects truncation error
3650 of exp. global_oce_in_p: 10 16 16 14 16 13 16 16 16 13 13 13 16 13 13 12 16
3651 -> update output.txt
3652 o pkg/cd_code: add brackets in multiple terms sum (S/R CD_CODE_SCHEME):
3653 this affects truncation error: -> update output.txt of exp:
3654 global_ocean.90x40x15 (fw&adm), lab_sea (fw&adm) & lab_sea.lsr,
3655 ideal_2D_oce, isomip.htd, natl_box, tutorial_global_oce_latlon.
3656
3657 checkpoint59f (2007/08/21)
3658 o pkg/autodiff: zero_adj resets an ajoint variable to zero (in adjoint mode)
3659 o pkg/ctrl: ctrl_bound forces parameter corrections to stay in
3660 a bounded range (in forward mode)
3661 o pkg/ecco, ctrl, autodiff and mom_common:
3662 internal parameter controls, completements of implementations
3663 o add few EXCH S/R (UV_BGRID, UV_DGRID, SM) for B & D-Grid velocity & 2nd Moment Sxy.
3664 o use UV_BGRID exch for dxV,dyU: for now, only with pkg/exch2 & forward ;
3665 (not seem any difference in testing results).
3666 o pkg/cd_code: use the right EXCH calls (for CS-grid); but problem remains
3667 at face corners.
3668 o pkg/generic_advdiff:
3669 - in GAD.h, define as parameters (iMinAdvR,iMaxAdvR,jMinAdvR,jMaxAdvR)
3670 loop range indices for computing vertical advection tendency
3671 and do the calculation in the interior only (no overlap) ;
3672 for now, only implemented for SOM advection (to save CPU time).
3673 - add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL (needed for SOM_xy moment)
3674 o exch2 adjoint
3675 First set of changes:
3676 - add exch2 hand-written adjoint templates
3677 - exch2 hand-written no longer use TAF-flag 'nownew_arg'
3678 This will require cleanup in pkg/autodiff/*.F
3679 (changed routines currently kept separate in verif. code/)
3680 - Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC
3681 that used to hide exch2 or cubed-sphere specific code
3682 (commented via 'cph-exch2')
3683 o pkg/seaice
3684 - Close southern and western boundaries for UICE/VICE when useOBCS=.TRUE.
3685 o pkg/bulk_force: fix loading into Qsw of Short-Wave flux; and update
3686 output of global_ocean.cs32x15.thsice .
3687
3688 checkpoint59e (2007/07/26)
3689 o exch2: new S/R that only use the cube-tracer (center-position) exchange:
3690 for B-grid vector (not yet tested) and C-grid vector (<- only used
3691 when option W2_USE_R1_ONLY in W2_OPTIONS.h is defined).
3692 o starting implementation of Duffy et al. (GRL 1999) salt plume scheme
3693 (#ifdef ALLOW_SALT_PLUME)
3694 o gather_2d/scatter_2d: removed halo regions
3695 o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007
3696 scheme and the corresponding test case (under front_relax dir). For now,
3697 only available with Skew-flux form and not yet tested in realistic set-up.
3698 adjoint: store directives updated, but gradient checks deteriorated,
3699 so maybe GM/Redi adjoint is now broken.
3700 o seaice adjoint
3701 * add AREA, HEFF, HSNOW as control variable
3702 (should not change lab_sea results)
3703 * CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40
3704 o pkg/seaice:
3705 * added computation of saltFlux in seaice_growth;
3706 For time being, sea ice salinity is assumed constant
3707 contribution of snow flooding to freshening of sea ice is neglected.
3708 SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it
3709 defaults to 0.0 in order to maintain backward compatibility.
3710 Typical values for SEAICE_salinity are 4 to 10 g/kg.
3711 * replaced dRf(1) with dRf(kSurface)*hFacC(kSurface) in seaice_growth.F
3712 * added SEAICE_availHeatFrac, which specifies fraction of surface level
3713 heat content used to melt or grow ice
3714 * commented out cap of HICE: it helps keep ice thinner
3715 * reintroduced cap of HEFF via MAX_HEFF and SEAICE_CAP_HEFF option
3716 * applied OBCS T/S mask to HEFFM sea ice mask
3717
3718 checkpoint59d (2007/06/21)
3719 o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array
3720 for {PKG} state variables, and called from DO_STATEVARS_DIAGS.
3721 (keep {PKG}_DIAGNOSTICS_FILL for non-state variables diagnostics)
3722 o pkg/gmredi (gmredi_readparms.F): add some missing "_d 0"
3723 and change default value of parameter "GM_Small_Number";
3724 update output of exp: lab_sea (x2), cfc_example, global_ocean.90x40x15,
3725 global_ocean.cs32x15 (x4), global_ocean_ebm, global_with_exf,
3726 tutorial_global_oce_biogeo, tutorial_global_oce_latlon
3727 o pkg/ecco: cost function when applying pkg/smooth to controls
3728 o pkg/ctrl: add forcingPrecond run time parameter
3729 o pkg/seaice:
3730 - replace ZMIN=4.e8 with ZMIN=0. in dynsolver.F as in C-grid code
3731 - fix bug in metric terms of u-equation in LSR solver (implicit part),
3732 changes verification/lab_sea
3733 - rearrange implicit part of u-equation in LSR solver to make it easier to
3734 read, understand, and debug. This causes changes at the truncation level.
3735 - fix (serious) bug in the boundary conditions (sign error in the implicit
3736 part) of the LSR solver. Changes all LSR results.
3737 - fixed problem with HSNOW initialization to avoid thick snow when AREA
3738 is initilized with small values - does not change lab_sea results.
3739 - added HsnowFile initialization capability
3740 o pkg/smooth: addition to model/src and pkg/ctrl so allow
3741 initialization of pkg/smooth and application to control vector
3742 o pkg/seaice: fix another bug in the LSR no-slip boundary conditons
3743 o dependencies: pkg/profiles requires pkg/cal
3744 o pkg/profiles:
3745 - added option ALLOW_PROFILES_GENERICGRID
3746 -> pkg/profiles can thus be used with any grid (e.g. cs32x15) assuming
3747 that interpolation information (grid points and coefficients) is provided
3748 within the netcdf input files.
3749 -> sample matlab scripts can be found in MITgcm_contrib/gael
3750 that allow you to prepare netcdf input files.
3751 - also modified: cleaner include statements, cleaner error print statements,
3752 cleaner stops when error, and more tests of the netcdf input files consistency.
3753 o additional test (in global_ocean.cs32x15) using seaice+thsice pkgs.
3754 o pkg/seaice:
3755 - move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this
3756 requires a new routine: seaice_diagnostics_fill.F
3757 - make sure that seaice does not move if not forced (pressure replacement
3758 method, Hibler and Ip, 1995), changes results
3759 - and new damping criterion for EVP solver according to Hunke, JCP, 2001
3760 - SEAICE_evpDampC = > 0. turns it on (615. is the recommended value).
3761 It is turned off by default (=-1.), because it changes the results.
3762 - make it possible to read AREA from a file, too.
3763
3764 checkpoint59c (2007/06/04)
3765 o add S/R and diagnostics for oceanic mixed-layer depth
3766 o move GMRedi call after all vertical mixing schemes (including KPP)
3767 o pkg/thsice:
3768 - ensure iceMask > iceMaskMin : this problem appeared after May-04 modifs
3769 (melt only laterally if thin ice): update output of global_ocean.cs32x15.thsice
3770 o pkg/obcs:
3771 - bug fix for balance code
3772 o pkg/seaice:
3773 - allow values of SEAICE_elasticParm > 1
3774 - add new parameter SEAICE_evpTauRelax as an alternative
3775 to SEAICE_elasticParm
3776 - make lsr boundary conditions free slip (by default), changes result
3777 - add code for no slip boundary conditions for lsr
3778 - set minimum of zeta to zero (and not 4e8) (changes results)
3779 - add a cap on AREA after advecting AREA if seaice_growth is not called
3780 o change calculation of Visbeck K:
3781 - no longer depend on tapering scheme; instead, compute slope (limited
3782 by GM_maxSlope). this is equivalent to what was comuted before with
3783 clipping or linear tappering.
3784 - fix vertical averaging (wrong by 1/2 level)
3785 - leave the old version (but will not be maintained) within
3786 #ifdef OLD_VISBECK_CALC / #endif
3787 - update output of exp. ideal_2D_oce
3788 o change error catch in calc_r_star to improve vectorization
3789 o exf runoff and seaice: remove ALLOW_SEAICE from exf pkg files and
3790 add #define ALLOW_RUNOFF in SEAICE_OPTIONS.h (when not using exf).
3791 o adjoint:
3792 Re-organized adjoint checkpointing according to Matt Mazloff
3793 (but with modifs/completions/cleanups)
3794 Storing is now bundled into large arrays to optimized I/O
3795 (and second step in cleanup of the_main_loop)
3796
3797 checkpoint59b (2007/05/16)
3798 o coupler (pkg/atm_ocn_coupler, pkg/ocn_compon_interf, pkg/atm2d):
3799 - export/import (between ocean & coupler) fields needed for ocean DIC.
3800 o pkg/seaice:
3801 - get rid of three more exchanges seaice_calc_viscosities (required
3802 different loop boundaries in seaice_lsr and seaice_ocean_stress)
3803 - bug fix in seaice_ocean_stress (update of lab_sea required)
3804 - reduce loop boundaries to necessary minimum also in seaice_evp
3805 - go back to the old way of computing deltaC/Z as the adjoint likes that
3806 better
3807 o Refresh of tutorial_global_oce_latlon (includes changing salinity-like
3808 passive tracer to an Age Tracer) + update output.txt
3809 o pkg/exf:
3810 - implement A-grid / C-grid selection for wind-stress input files.
3811 - clean-up exf_wind.F (remove us, use wspeed instead ; add wStress)
3812 for now, in exf_bulk_largeyeager04.F only :
3813 - change implementation for case where windspeed + 2. components wind-stress
3814 are read-in. AND use rhoConstFresh to convert evap.
3815 o pkg/seaice:
3816 - use correct EXCH_UV for wind-forcing (on A-grid).
3817 - change SEAICE_OPTIONS.h to limit the number of option combinations (regarding
3818 SEAICE_EXTERNAL_FORCING & SEAICE_EXTERNAL_FLUXES); add corresponding stops.
3819 o pkg/exf:
3820 - default EXF options are now set in EXF_OPTIONS.h (ifndef ALLOW_AUTODIFF_TAMC)
3821 EXF_INTERPOLATION:
3822 - merge global_with_exf/code version of exf_interp_read.F
3823 to the main code ;
3824 - Add new option: EXF_INTERP_USE_DYNALLOC to use Dynamical Allocation when
3825 reading the file ; Important: This options needs to be defined to recover
3826 previous code.
3827 otherwise, use fixed size array to read in (size=exf_interp_bufferSize).
3828 - no longer loose real*8 precision along the way when using exf_iprec=64.
3829 o pkg/seaice: rearrangement of common blocks (really needs more cleaning up)
3830 - change discretisation of evp-solver in order to avoid another exchange
3831 (changes lab_sea) and clean up a little
3832 - replace SQRT(MAX(deltaC,SEAICE_EPS)) by MAX(SQRT(deltaC),SEAICE_EPS)
3833 help the adjoint (this also changes the results slightly)
3834 - add a few "_d 0" where they had been missing in seaice_evp.F
3835 - cleaning up: remove unused seaice_calc_rhs.F
3836 o pkg/exf: some cleaning-up:
3837 - change various "constants" into runtime parameters
3838 - cleaned-up Large&Yeager04 routine which should eventually
3839 replace exf_bulkformulae.F (changed names of S/R and CPP)
3840 and merged various ALLOW_ATM_WIND options
3841 only used with thsice pkg (in thsice_get_exf.F):
3842 - implement fixed turbulent transfert Coeff over ice (as in Large&Yeager04)
3843 which are used when useStabilityFct_overIce=TRUE (= the default)
3844 - change default values of ice & snow emissivity and scale downward LW
3845 by ice & snow emissivity.
3846 o pkg/thsice:
3847 fix few little problems, in thsice_calc_thickn.F:
3848 - growth vertically (and not laterally) if iceFrac == iceMaskMax
3849 - melt only laterally if hIce < hThinIce (as the comments say)
3850 and in thsice_extend.F:
3851 - allow to form ice even when iceFrac == iceMaskMax (by increasing thickness)
3852 - start to form ice as soon as the minimum ice-volume is reachable.
3853 update output of test-exp: aim.5l_cs(thSI), global_ocean.cs32x15(thsice),
3854 and cpl_aim+ocn
3855 o pkg/kpp
3856 - move computation of surface related input fields to KPP into a new
3857 subroutine kpp_forcing_surf.F
3858 - remove wrong (within bi,bj loops) EXCH calls.
3859 - little cleaning (add argument myThid in last position, cvs header ...)
3860 - for now, fix conservation problem by exchanging KPPviscAz (may not
3861 be the best fix)
3862 o pkg/seaice
3863 - check for inconsistent evp parameter/cpp-flag combination
3864 - remove leftover errIO flat for obsolete name list error handling
3865 o OpenAD
3866 - changed verification/OpenAD to full baroclinic setup (including GM/Redi)
3867
3868 checkpoint59a (2007/05/01)
3869 o pkg/seaice: some parameter clarifications and a little bit of clean up
3870 o pkg/thsice: rename run-time parameters:
3871 himin -> hIceMin
3872 himin0 -> hThinIce
3873 hihig -> hThickIce
3874 i0 -> i0swFrac
3875 transCoef -> bMeltCoef
3876 frac_energy -> fracMelting
3877 add new parameters: hNewIceMax, fracFreezing, dhSnowLin
3878 with default values (for now) that do not change the results.
3879 remove old version of thsice vars advection in pkg/seaice.
3880 o in FFIELDS.h:
3881 - replace #ifndef ALLOW_EXF by #ifndef EXCLUDE_FFIELDS_LOAD
3882 - make pLoad & sIceLoad always available (but still only used if
3883 ATMOSPHERIC_LOADING is #define).
3884 o pkg/kpp: replaced _KPP_RL with _RL
3885 o bug fixes for vertical diffusivity computations when both KPP and
3886 3D diffusivity arrays are used; pkg/kpp/kpp_calc_diff_s & _t.F
3887 are no longer updating the vertical diffusivity array
3888 (passed as argument) but are (re-) setting those arrays.
3889 o pkg/seaice: fix bug in evp solver, while doing that
3890 - change (improve?) discretization of stress computations for both
3891 cgrid-lsr and evp solver
3892 - add a new routine to compute strain rates
3893 - the above changes lab_sea results
3894 - add no slip conditions for evp solver (off by default), lsr-version
3895 may follow
3896 - fix exchange for shear at Z-points (does not change lab_sea)
3897 - retire SEAICEuseEVP, instead turn on EVP by setting SEAICE_deltaTevp
3898 (to force the user to pick a time step since there is not "safe" way
3899 of choosing it)
3900 - add principal stress diagnostics
3901 - rearrange fields for evp a little to avoid having to call a: too many
3902 exchanges and b: exchanges for stress trensor components which we do
3903 not have.
3904 - modify Hibler+Bryan (1987) stress coupling so that it reuses information
3905 of evp, complete rewrite for lsr case (latter is does not yet work
3906 in all cases)
3907 o pkg/kpp: add code to have mixing in shelf ice caverns
3908 - add myThid to all kpp routines (long overdue)
3909
3910 checkpoint59 (2007/04/19)
3911 o pkg/exf:
3912 - fix wind-stress location: defined on A-grid (if ALLOW_ATM_WIND &
3913 ALLOW_BULKFORMULAE or USE_EXF_INTERPOLATION), otherwise, defined on C-grid
3914 - move exf header files from lower_case.h to UPPER_CASE.h ;
3915 add missing cvs Header & Name
3916 - add adjoint routines and flow dirs for newly used exch_uv_agrid routines
3917 - add namelist param. selectStressGridPosition, exf_monFreq
3918 - retire many _CLIM routines, and remove data.exf_clim
3919 + params moved to data.exf
3920 + climsst, climsss now handled by exf_set_gen, i.e.
3921 climss?period=0 refers to constant field,
3922 climss?period=-12 to monthly forcing
3923 - split up namelists in data.exf
3924 o pkg/seaice:
3925 - remove seaice_exch and seaice_exch_uv
3926 - remove superfluous exchange of theta
3927 - add myThid to seaice_budget_ocean/ice
3928 - add new interface for atmospheric wind forcing (C-grid only)
3929 + new routine
3930 + two new field (taux, tauy for stress over ice)
3931 + removed one global field (DAIRN) for C-grid case only
3932 o pkg/thsise
3933 - 2nd set of modifs for thsice adjoint in conjunction with exf
3934 o enable runtime flag useEXF (useCAL is set to .T. if useEXF=.T.)
3935
3936 checkpoint58y_post (2007/04/15)
3937 o Added capability for latitudinal dependence of Bryan and Lewis, 1979
3938 vertical diffusivity, similar to that in MOM4; turned on using
3939 #define ALLOW_BL79_LAT_VARY in CPP_OPTIONS.h and specified using
3940 diffKrBL79*, diffKrBLEQ*, and BL79LatVary in runtime data file.
3941 o Added capability for 3D specification of background vertical diffusion
3942 coefficient. This is done by (i) #define ALLOW_3D_DIFFKR
3943 in CPP_OPTIONS.h and (ii) specifying file diffKrFile in runtime
3944 "data" file that contains the 3D vertical diffusivity coefficients.
3945 o ice dynamics (pkg/seaice) with thsice thermodynamics:
3946 - add code within pkg thsice to advect & diffuse sea-ice fields
3947 similar to (and will replace) what has been added in seaice_advdiff.F,
3948 but: - conserving Mass, Heat & Salt.
3949 - better when using non-linear advection scheme (not yet fully tested)
3950 - can also be used in atmospheric set-up (for now, only the diffusion).
3951
3952 checkpoint58x_post (2007/04/04)
3953 o IO option for global-file compact format:
3954 - add options when generating topology (utils/exch2/matlab-topology-generator)
3955 - add I/O capability (pkg/mdsio).
3956 - adapt utils/matlab/rdmds.m to read this format.
3957 for now long-line format not yet supported by pkg/mdsio (& exch2).
3958 o shelfice: add a few diagnostics
3959
3960 checkpoint58w_post (2007/03/13)
3961 o p-coord. non-hydrostatic using reference profile for w <-> omega conversion:
3962 rVel2wUnit & wUnit2rVel are computed from reference profile Tref,Sref
3963 (and replace horiVertRatio in NH code).
3964 Update output of exp.: tutorial_global_oce_in_p (useNHMTerms !)
3965 and tutorial_plume_on_slope (sensitive to truncation)
3966 o seaice: if ALLOW_ATM_WIND is undefined use wind stress
3967 directly to drive seaice model (C-grid only)
3968 o exf: when input wind-stress (#undef ALLOW_ATM_WIND):
3969 - reintroduce computation of wind from stress,
3970 - compute tau (in exf_bulkformulae.F) from windstress averaged to
3971 mass points to avoid tau = 0
3972 - fix serious bug: (1/3) in Fortran is not the same as (1./3.)
3973 o rdmnc.m: make it work with "global" files created with gluemnc
3974 o rdmnc.m : some improvements in dealing with singleton dimension
3975 (tested on all testreport mnc output files).
3976 o genmake2: disable pkg/profiles if netcdf test fails.
3977 o cpl_aim+ocn exp.: use consistent rhoConstFresh in Atm & Ocn; update output.
3978 o move call to cal_readparms up to make calendar parameters/variable available
3979 to all packages
3980
3981 checkpoint58v_post (2007/02/08)
3982 o change EOS (from POLY3 to JMD95P) in global_ocean.90x45x15 to get
3983 useDynP_inEos_Zc tested.
3984 o pkg/exf: changes to properly interpolate/mask/scale initial fields
3985 o utils/matlab/cs_grid/read_cs: routines to speed up reading of CS510 fields
3986 and portions thereof. See read_cs.txt for description and examples.
3987 o utils/matlab/cs_grid/bk_line: to compute transport through passages,
3988 add a script (grt_circ_bkl.m) to generate broken-line between 2 points,
3989 following the great-circle arc between those 2 points.
3990 o trap un-initialized variable with pathscale compiler on weddell.mit.edu
3991 (thanks to Constantinos): fix few problems and get (almost) all exp to pass.
3992 o 2nd-Order Moment Advection Scheme (Prather, 1986): first check-in
3993 - enable by setting #define GAD_ALLOW_SOM_ADVECT (in GAD_OPTIONS.h)
3994 - used without limiter (AdvScheme=80) or with Prather limiter (AdvScheme=81)
3995 - still needs work (not working with some options ; efficiency to improve)
3996 and serious testing.
3997 - use this scheme for temperature & salinity in 2 advection test exp.:
3998 advect_xy & advect_xz, respectively.
3999
4000 checkpoint58u_post (2007/01/12)
4001 o new test-exp: fizhi-cs-32x32x40 (40 levels) to replace the 10 levels.
4002 o move call to INI_FORCING from PACKAGES_INIT_VARIABLES to INITIALISE_VARIA.
4003 o testreport: add option "-skipdir" to skip some test.
4004 o exf: when input wind-stress (#undef ALLOW_ATM_WIND), by-pass turbulent
4005 momentum calculation.
4006 o gad_advection: fix vertAdvecScheme (if different from advectionScheme)
4007 o some cleaning: usePickupBeforeC35 no longer supported ; remove this option.
4008 remove checkpoint.F and the_correction_step.F (no longer used);
4009 do the k loop inside CYCLE_TRACER (supposed to be more efficient).
4010 o add option (linFSConserveTr) to correct for tracer source/sink due to
4011 Linear Free surface
4012 o pkg/seaice: fix a bug in the flooding algorithm: turn off the snow machine
4013 o pkg/thsice: fix reading mnc-pickups
4014
4015 checkpoint58t_post (2006/12/30)
4016 o pkg/diagnostics: fix multi-threaded output (when singleCpuIO=F)
4017 o pkg/mdsio:
4018 - clean-up mdsio_readfield.F & mdsio_writefield_new.F and
4019 move to new files: mdsio_read_field.F (S/R MDS_READ_FIELD) &
4020 mdsio_write_field.F (S/R MDS_WRITE_FIELD);
4021 - fix multi-threaded singleCpuIO option in MDS_WRITE_FIELD
4022 - collect old S/R in one file: mdsio_rw_field.F (now just a call to
4023 either MDS_READ_FIELD or MDS_WRITE_FIELD )
4024 - new S/R (to replace MDSWRITEMETA), which allows to write more
4025 informations (variable names, time ...) to meta files.
4026 - modify rdmds.m to give back the meta file content.
4027 o pkg/diagnostics: change vertical interpolation to be safer, and more
4028 flexible (define p-levels to interpolate to in data.diagnostics);
4029 add argument to S/R DIAGNOSTICS_GET_POINTERS to catch the right
4030 diagnostic pointer.
4031 o pkg/seaice: more cleaning up of seaice_growth, added many comments
4032 o pkg/exf: put runoff0 and runoff1 into the appropriate common block
4033 o fix multi-category seaice:
4034 - change cpp flag SEAICE_MULTILEVEL to more meaningful name:
4035 SEAICE_MULTICATEGORY
4036 - fix short wave heat flux
4037 o pkg/seaice: change default (SEAICE_OPTIONS.h): use C-grid dynamics
4038 and allow to use EVP solver. Change forward lab_sea: test both EVP
4039 solver and LSR solver, and use C-grid dynamics (like lab_sea adjoint)
4040 o Initial check-in of lab_sea adjoint
4041 (very similar to natl_box_adjoint/code_seaice)
4042 * used C-grid and EVP solver
4043 * used KPP, GM/Redi
4044 * uses inAdExact=.TRUE.
4045 * gradient checks fail for both ADM and TLM
4046 due to sensitive snow melt code in seaice_grwoth (look for "JZ")
4047 f.d. gradients actually seem more problematic than ADM, TLM gradients;
4048 issue is related to forward mismatch between g77 an ifort
4049 o pkg/seaice: overhaul of thermodynamics
4050 - growth.F and groatb.F are replaced by new routine seaice_growth.F
4051 - budget.F is replaced by two new routines seaice_budget_ocean/ice.F
4052 - move a few global fields out of SEAICE.h into seaice_growth.F and
4053 make them 2D (FICE/QNETO/ ...)
4054 - remove FO (it is the same as QNETO)
4055 - introduce a few local fields to avoid modifying external fields such
4056 as atemp, etc.
4057
4058 checkpoint58s_post (2006/12/11)
4059 o pkg/exf: moved exf_init_runoff.F to exf_init.F and exf_set_gen.F
4060 changed exf_set_gen.F so that
4061 genperiod=0 means input file is one time-constant field and
4062 genperiod=-12 means input file contains 12 monthly means
4063 o CG2D: use pre-computed solver main-diagonal (stored in common block);
4064 this affects truncation error ; generate new output file for exp. which
4065 fails: exp4(12d), fizhi-cs-aqualev20(12d), front_relax(10d),
4066 global_ocean.90x40x15(10d), global_ocean.cs32x15(10d).thsice(11d).viscA4(10d),
4067 ideal_2D_oce(10d), internal_wave(09d), isomip.htd(11d), matrix_example(07d),
4068 MLAdjust(4x11d,12d), natl_box(11d), rotating_tank(12d),
4069 tutorial_global_oce_in_p(10d), tutorial_plume_on_slope(11d),
4070 vermix(12d).ggl90(12d).my82(11d).opps(12d).pp81(11d)
4071 o start implementation of deep-atmosphere and anelastic formulation
4072 o verification: remove 2nd copy of input files and use script "prepare_run"
4073 to make a symbolic link to the 1rst copy (reduce downloaded size by ~81.M)
4074 o mom_common/vecinv/fluxform: fix a few initialisation isssues
4075 o profiles: fix for multithreaded case
4076
4077 o diagnostics: rename few diags:
4078 s/'PRESSURE'/'RCENTER '/g
4079 s/'TICE '/'oceFreez'/g
4080 s/'TAUX '/'oceTAUX '/g
4081 s/'TAUY '/'oceTAUY '/g
4082 s/'SWFLUX '/'oceQsw '/g
4083 s/DIFx/DFxE/g
4084 s/DIFy/DFyE/g
4085 and add few ocean-forcing diagnostics:
4086 atmPload, sIceLoad, oceQnet, oceFWflx, oceSflux, surForcT & surForcS
4087 o modifications to pkg/seaice/growth.F and budget.F, which change results of
4088 lab_sea experiment: HSNOW was sometimes treated as effective and sometimes
4089 as actual snow thickness. It now refers everywhere to effective snow
4090 thickness, meaning that for non-zero AREA, actual thickness is HEFF/AREA.
4091
4092 checkpoint58r_post (2006/11/17)
4093 o modifications to pkg/seaice/growth.F, which change results of
4094 lab_sea experiment: fixes pertain to melting snow over open water, to
4095 masking EVAP under sea ice, and to using the correct AREA variable for
4096 computations of EVAP, PRECIP, HSNOW, and GHEFF
4097 o add ability to read bathy, salt, and theta using MNC (off by def)
4098 o add flooding algorithm and advection of HSNOW for pkg/seaice;
4099 both are turned off by default and do no change any results
4100 o seaice advection with pkg/thsice: a step toward the use of non-linear
4101 advection scheme, but #ifdef or commented out for now (requires more EXCH).
4102 o use standard version of PTRACERS_INI_VARIA in tutorial_tracer_adjsens
4103 (identical results) and the standard version of EXTERNAL_FIELDS_LOAD
4104 in natl_box (affects results @ truncation level: update output.txt)
4105 o multi-threading and IO:
4106 - replace some call to MDSIO S/R by the corresponding READ/WRITE_FLD S/R.
4107 - remove most of BEGIN_MASTER/ END_MASTER around READ/WRITE_FLD S/R calls
4108 (needed to work with SingleCpuIO): tested in all verif. exp.
4109 o GAD: use simpler DST3 formulation as default (old version left within #ifdef)
4110 affects the results (but none of the verification test uses this scheme).
4111 o Adding some pkg/diagnostics capability to pkg/seaice
4112 (will certainly be subject to changes)
4113 o ctrl: adding new control variables:
4114 lwflux, lwdown, evap, snowprecip, apressure, runoff
4115
4116 checkpoint58q_post (2006/10/20)
4117 o added CPP_EEOPTIONS.h flag DISABLE_MPI_READY_TO_RECEIVE. Speeds up
4118 1/6-deg Southern Ocean configuration by 8% on IBM Datastar and
4119 high_res_cube configuration by 4% on Columbia.
4120 o clean-up multi-threaded problems (reported by debugger tcheck on ACES);
4121 add (in global_with_exf/code) a version of EXF_INTERP_READ without
4122 dynamical allocation (seems to work in multi-threaded).
4123 o new function "MASTER_CPU_IO" (=T if master thread & master CPU, if using
4124 single CPU io) so that TAF does not have to see EESUPPORT.h
4125 o pkg/seaice: implement sea-ice loading (when using RealFreshWaterFlux)
4126
4127 checkpoint58p_post (2006/09/08)
4128 o obcs: stop if obcs is used with useCDscheme = .true.
4129 o shelfice:
4130 - fix a sign error so that no slip at shelfice interface works
4131 - remove stop for combination non-hydrostatic code and shelfice. That does
4132 not mean, that the results are correct, but at least they are numerically
4133 stable
4134 o diagnoctics: modify UVELPHI and VVELPHI to include hfac (i.e. mass-weighted)
4135 o added adjoint exch routined for all exch*3d* routines
4136 and updated flow directives
4137
4138 checkpoint58o_post (2006/08/28)
4139 o replace calls to EXCH_Z & EXCH_UV_AGRID: use the new _3D_ version ;
4140 remove old subroutines (_XY_ & _XYZ_); update the adjoint version.
4141 o change controling S/R for writing pickup file (new S/R do_write_pickup)
4142 and clean-up reading/writing of pickup files.
4143 o fix local version of read/write pickup (NH part) in rotating_tank/code
4144 o simplify EXCH interface:
4145 - change _XYZ_ interface to _3D_ subroutine (with 3rd dim in argument list)
4146 - not often used EXCH S/R (exch_z, exch_uv_agrid): keep only the _3D_ version
4147 o added the regrid package
4148 o shelfice:
4149 - add a simple boundary layer scheme to reduce noise
4150 - fix the indexing in shelfice_u/v_drag so that there will be actually drag
4151
4152 checkpoint58n_post (2006/08/14)
4153 o fix globalArea multi-threaded calculation: need to apply GLOBAL_SUM to
4154 local variable (not in common block).
4155 o lot of small changes for multi-threaded. Most tests (using OMP & ifort) pass.
4156 - still problems with pkgs: mnc, exp2, dic, cal, exf (and probably more);
4157 - still BEGIN_MASTER/END_MASTER to remove around READ/WRITE_FLD S/R calls
4158 to work with SingleCpuIO.
4159 o add "_d 0" to real constant of pkg/cfc subroutines ;
4160 update exp. cfc_exemple & tutorial_cfc_offline output files.
4161 o multi-threading and IO:
4162 - all threads call READ_FLD S/R (needed if using SingleCpuIO):
4163 (no BEGIN_MASTER/ END_MASTER around the call, but inside MDSIO S/R.
4164 - barrier before and after reading.
4165 - stop if other than master is calling MDS_WRITELOCAL (if #undef IO_THREAD_SAFE)
4166 - avoid using MDS_WRITELOCAL for LAND pkg output.
4167 - new S/R AIM_WRITE_PHYS (replaces AIM_WRITE_LOCAL) to write AIM physics
4168 common-block variables ; Allows multi-threading with master-thread IO.
4169 o change default MAX_NO_THREADS from 32 to 4 ;
4170 and stop cleanly when MAX_NO_THREADS is too small.
4171 o add S/R BAR_CHECK to check multi-threaded barrier synchronization
4172
4173 checkpoint58m_post (2006/07/17)
4174 o add a Non-Hydroatatic test (with 3-D Coriolis, NHMTerms, biharmonic Visc.
4175 and side-drag) on CS-grid : global_ocean.cs32x15.viscA4
4176 o make "tutorial_global_oce_latlon" from standard "global_ocean.90x40x15" exp.
4177 keep global_ocean.90x40x15 (for AD testing) with former secondary test
4178 (".qshyd") as the main test (mv output.qshyd.txt to output.txt)
4179 o CVS modules: update MITgcm_verif_basic; remove MITgcm_verif_ocean & _verif_atmos;
4180 add MITgcm_tutorials (= code + all the tutorials)
4181 o ecco, option to compute cost for total ssh (mean+anom)
4182 o consistent with addition of ptracer and ssh in pkg/profiles
4183 o profiles: adding ptracer and ssh
4184 o testreport: change multi-test output-file name
4185 (from output.txt.{name} to output.{name}.txt)
4186 o profiles: now ok for mutli-tiles case
4187 o seaice: add 4 parameters for different advection schemes for area,
4188 (effective) seaice thickness, enthalphy, and snow height. Their default
4189 is the standard parameter SEAICEadvScheme
4190 o calc_gw:
4191 - add cosFacU in zonal viscous flux (harmonic.visc.).
4192 - put back side-drag (call new S/R MOM_W_SIDEDRAG) and output.txt.
4193 of tutorial_plume_on_slope.
4194 o obcs_calc.F : fix index Pb in OBSeta & OBNeta (Thanks to Gianmaria).
4195 o calc_gw: true flux-form, account for horizontal grid spacing.
4196 update rotating_tank results, but not plume_on_slope (affected at
4197 truncation level, 11 digits).
4198
4199 checkpoint58l_post (2006/07/12)
4200 o calc_gw:
4201 - take bi,bj loops outside calc_gw to fix Pb with local array KappaRU,V
4202 - remove side-drag for now (need to fix it); update plume_on_slope results.
4203 - fix for partial-cell & non-uniform dz; update plume_on_slope results.
4204 o commit code to make SST/SSS weights spatially variable
4205 (based on either variable in-situ or variable initial T/S weights)
4206 o pkg/ecco:
4207 * commit code to relax deviations of xx_theta, xx_salt to 5*sigma,
4208 now based on horizontally varying weights wthetaLev, wsaltLev
4209 * cost_averagesflags now returns year indices in addition to day, month
4210 * sflux balance is performed on annual basis
4211 (sflxumm, sfluxmm2, bal_sfluxmm)
4212 * for SSH anomaly, separate more cleanly contrib from T/P, ERS, GFO,
4213 including separate counting and multipliers
4214 o pkg/rbcs
4215 * add all necessary infrastructure for pkg/rbcs levN adjoint checkpointing
4216
4217 checkpoint58k_post (2006/07/06)
4218 o testreport:
4219 - always build in dir. "build" (if not there, mkdir build instead of building
4220 & running in input)
4221 - run in dir run (if it exists), in build otherwise.
4222 - call prepare_run (if input/prepare_run exists)
4223 - run multi-threaded test (with new option: "-mth") if file input/eedata.mth exists.
4224 o pkg/exf modifications to interpolation and rotation routines for more
4225 reasonable treatment of North Pole singularity: for tracers North Pole
4226 value is set to northernmost zonal-mean value, for zonal velocity it is
4227 set to zero, and for meridional velocity it is set to northernmost value.
4228 o pkg/exf/exf_check_range.F
4229 - add tile index to diagnostics and move stop statement to the very
4230 end of the routine.
4231 o pkg/diagnostics: (diagnostics_main_init.F)
4232 define title of isomorphic variables according to the current config.
4233 o pkg/thsice with pkg/seaice dynamics:
4234 - fix domain of computation (interior only, required for exf) and do exchanges
4235 - seaice-dynamics forcing: add atmospheric and seaice loading to SSH gradient
4236 o towards a standard way of dealing with multi-threading in MONITOR
4237 and ${PKG}_MONITOR (all except ptracers_monitor) subroutines.
4238 o Pass variable viscosities (vertical and horizontal, e.g., KPP or Leith)
4239 to W momentum equation in nonhydrostatic and quasihydrostatic runs.
4240 o make exf_monitor & seaice_monitor independant of the main (dynamics) monitor.
4241 o pkg/seaice: fix SEAICEuseEVPpickup parameter (put it in a commom block)
4242 o generic_advdiff: DST advection S/R : use local copy of velocity to compute CFL
4243 (problems ? with gradient check in bottom_ctrl_5x5 adjoint test)
4244 o tracer advection:
4245 - clean-up and simplify calc_common_factors.F
4246 - make a local copy of velocity and pass it (as u,v,r_Trans) to DST tracer
4247 advection subroutine (but still not used within DST advection S/R)
4248 o rename pkg aim_ocn_coupler to atm_ocn_coupler (later on, will be used without aim)
4249
4250 checkpoint58j_post (2006/06/15)
4251 o new driver S/R: LOAD_FIELDS_DRIVER to load external forcing fields
4252 from file (collects calls previously in FORWARD_STEP)
4253 o move call to SEAICE_MODEL from FORWARD_STEP to DO_OCEANIC_PHYS
4254 o adjoint store dir. adjusted accordingly
4255 o genmake2
4256 replace target "ad_taf" by $(EXE_AD) ; add $(EXE_AD) to the make CLEAN list.
4257
4258 checkpoint58i_post (2006/06/14)
4259 o pkg/seaice: add parameter that allows to scale/turn off effect of seaice
4260 on wind stress (SEAICEstressFactor defaults to 1.)
4261 o Total number of Timers is finite (<=40): comment out 2 non-essential one
4262 in the_main_loop.F to avoid Pb (e.g., when running fizhi test)
4263 o vector_invariant: fix highOrderVorticity(=4.th.Order) advection
4264 on CS-grid: no longer loosing mass.
4265 o exf & curvilinear-grid: no longer modify longitude xC & xG.
4266 o pkg/ggl90: fix sloppy output and fix a bug
4267 o pkg/seaice: added SEAICEuseEVPpickup parameter
4268 - Set to false in order to start EVP solver with
4269 non-EVP pickup files when using SEAICEuseEVP
4270 - fix sign error in diffusion in seaice_calc_rhs
4271
4272 checkpoint58h_post (2006/06/07)
4273 * Modifications for bottom topography control
4274 o replace hFacC by _hFacC at various places
4275 o replace ALLOW_HFACC_CONTROL by ALLOW_DEPTH_CONTROL
4276 o add non-self-adjoint cg2d_nsa
4277 o update autodiff support routines
4278 o re-initialise hfac after ctrl_depth_ini
4279 o works for 5x5 box, doesnt work for global_ocean.90x40x15
4280 * Adding verification for 5x5 box (4-layer) bottom topography control
4281
4282 checkpoint58g_post (2006/06/07)
4283 o pkg/diagnostics: implement "periodic averaging diagnostics" (e.g.,
4284 used for mean seasonal cycle, mean diurnal cycle); add an example
4285 in verification/global_ocean.cs32x15/input.thsice/data.diagnostics
4286 o pkg/ggl90:
4287 - add parameter (minimum surface kinetic energy)
4288 - fix bug (avoiding division by zero)
4289 o couple pkg/thsice to pkg/seaice:
4290 - modify advection in seaice to accomodate new scalar fields to be advected
4291 - only muliDimAdection scheme work with seaice/thsice
4292 - mapping of thsice-variables to seaice-variables, back and forth
4293 - does not break the verification experiments, but does not give the
4294 desired results either
4295 o pkg/seaice
4296 - make (default) second order advection a bit less confusing?
4297
4298 checkpoint58f_post (2006/06/05)
4299 o couple pkg/thsice and pkg/exf (as a preparation for coupling pkg/thsice
4300 to pkg/seaice):
4301 - new routines thsice_map_exf and thsice_get_exf provide the interface
4302 - add an additional formal parameter to thsice_solve4temp
4303 o pkg/exf:
4304 - add new fields wspeed, snowprecip (to be able to couple to thsice)
4305 - correct Stefan-Boltzmann constant
4306 - new parameter for longwave surface emittance
4307 - separate some stuff from exf_bulkformulae into new routines
4308 exf_radiation, exf_wind
4309 - add new parameters and constants: longwave emissivity for ocean, ice
4310 and snow, evaporation parameters over ice
4311 - decouple wind/stress computation from ALLOW_BULKFORMULA: always compute
4312 either wind from stress or stress from wind
4313 o pkg/thSIce:
4314 - split thsice_step_fwd.F in 2 S/R: thsice_step_temp.F & thsice_step_fwd.F
4315 - put i,j loops inside S/R: THSICE_ALBEDO, THSICE_SOLVE4TEMP, THSICE_EXTEND
4316 and THSICE_CALC_THICKN
4317 - for now, call to THSICE_GET_BULKF remains inside i,j loops.
4318 - add CPP option: ALLOW_DBUG_THSICE and header file THSICE_DEBUG.h
4319 to make debugging easier.
4320 - affects results (@ truncation level) of global_ocean.cs32x15.thsice: update output
4321 o pkg/bulk_force:
4322 - clean-up comments and parameters ;
4323 - add new Bulk-Formulae from Large and Yeager, 2004, NCAR/TN-460+STR ;
4324 o fix bug in aim+thsice albedo: snow & ice thickness arguments were switched;
4325 generate new output for test-experiment: aim.5l_cs.thSI
4326 o results_ad : rename "output.txt_adm" to "output_adm.txt" and change
4327 testreport accordingly
4328
4329 checkpoint58e_post (2006/05/17)
4330 o SEAICE_CGRID adjoint done
4331 o R_STAR adjoint implemented.
4332 * Seems to just work (based on global_ocean.90x40x15/code_ad_nlfs/ )
4333 * need to sort out init. of h0facc, etc.
4334 o Make pkg/profile fully independent of ecco,cost, etc. stuff
4335 to be able to use it in pure forward.
4336
4337 checkpoint58d_post (2006/04/21)
4338 o upgrade simple test-experiment to tutorial example:
4339 step.1: duplicate the experiment and (step.2) will remove the old copy.
4340 tutorial_barotropic_gyre <- copy of exp0 (R1:barotropic_gyre_in_a_box)
4341 tutorial_baroclinic_gyre <- copy of exp1 (R1:baroclinic_gyre_on_a_sphere)
4342 tutorial_global_oce_latlon <- empty for now (R1:global_ocean_circulation)
4343 tutorial_global_oce_biogeo <- copy of dic_example
4344 tutorial_deep_convection <- almost like exp5 (R1:nonhydrostatic_deep_convection)
4345 tutorial_plume_on_slope <- copy of plume_on_slope
4346 tutorial_tracer_adjsens <- copy of carbon (R1:tracer_adjoint_sensitivity)
4347 tutorial_global_oce_optim <- empty for now (David ?)
4348 tutorial_global_oce_in_p <- copy of global_ocean_pressure
4349 some tutorials (R1) were already checked-in under tutorial_examples in release1_branch
4350 o correct a sign problem in cost_scat.F
4351 o obcs and ptracers: fix boundary conditions for advections schemes
4352 with larger stencil
4353 o thsice adjoint: start
4354 o mom_vecinv: add ISOTROPIC_COS_SCALING flags to mom_vi_hdissip for
4355 completeness
4356 o mom_fluxform: fixing the mutual use of ISOTROPIC_COS_SCALING
4357 and COSINEMETH_III, add comments in default CPP_OPTIONS.h
4358 o ptracers adjoint:
4359 * avoid extensive recomputatations
4360 * fix missing re-init. of gptr (missed by TAF)
4361 o obcs: add a flag (OBCSprintDiags, defaults is true) that allows
4362 me to turn off the excessive output to STDOUT that this package produces
4363 o move NH metric terms & 3.D Coriolis S/R to pkg/mom_common
4364 and add those terms in Vector-Invariant formulation.
4365 o in ctrl pkg, if ALLOW_CAL, use monthly mean controls
4366 if the control period (xx_hfluxperiod etc) is 0
4367 o in profiles pkg, clean routines and fix details
4368 o in ecco pkg, reading ssh data:
4369 fix problem in case the model does not start at iter0=0
4370 o fix mnc-pickup/restart for ptracers
4371 o new package prifiles:
4372 code to compute profile-based cost by Gael Forget
4373 (modifs in ecco, ctrl, autodiff)
4374 o Benign bug fix in initialization (spotted by M. Mazloff) of
4375 ctrl_set_globfld_xz.F ctrl_set_globfld_yz.F
4376
4377 checkpoint58c_post (2006/03/23)
4378 o adjoint: finish NLFS adjoint and provide reference output in
4379 verification/global_ocean.90x40x15/results_ad_nlfs
4380 o seaice: add an EVP solver following Hunke and Dukowicz (1997) and the
4381 documentation of CICE. Turn on by defining SEAICE_ALLOW_EVP in
4382 SEAICE_OPTIONS.h and SEAICEuseEVP=.true. in data.seaice. Works only
4383 with SEAICE_CGRID defined.
4384 o move calendarDumps from "data" to "data.cal" and clean-up the code
4385 with a simple call to pkg/cal S/R: CAL_TIME2WRITE
4386 o add useEXF & useCAL flags (for now, set in hard-coded way)
4387 o add S/R to compute NH-metrics terms & Coriolis f' in vertical momentum
4388 (were missing in NH mode, and wrong in quasihydrostatic mode).
4389 waiting for Chris updated version of calc_gw to add those CALLs.
4390 o fix bug in quasihydrostatic S/R ;
4391 add a test for this option: global_ocean.90x40x15.qshyd
4392 o new S/R "SET_PARMS": set parameters that might depend on the use of some pkgs.
4393 (called from INITIALISE_FIXED, after INI_PARMS & PACKAGES_READPARAMS)
4394 o add on/off flag useOffLine for package OFFLINE
4395 o seaice:
4396 - modify advection so that it works also on the C-grid
4397 - extend loop ranges in seaice_lsr and seaice_dynsolver; fixes
4398 problem in multi-tile runs with C-grid
4399 - add flags for clipping ice velocities and/or masking solver forcing
4400 - fix drag (ocean on ice) formulation and a bug that caused noise in the
4401 C-grid solver
4402 - added a few comments to seaice_diffusion.F
4403 - separate C-grid and B-grid versions more cleanly (UVM and seaiceMaskU/V
4404 are now exclusive)
4405 - add a new ocean-ice stress coupling method (Hibler and Bryan, 1987) which
4406 required re-ordering the code a little:
4407 + make DAIRN global variable (defined in SEAICE)
4408 + move computation of the viscosities eta and zeta into a new separate
4409 routine (because I need to recompute them in seaice_ocean_stress.F)
4410
4411 checkpoint58b_post (2006/03/13)
4412 o AIM+thSIce: fix sign of Short-Wave through the Ice ;
4413 update output.txt of exp. aim.5l_cs.thSI
4414 o various mnc cleanups and improvements:
4415 + shrink lookup tables by factor of ~4
4416 + better error reporting when running out of lookup space
4417 + able to handle longer path/file names (up to 500 chars)
4418 o adjoint:
4419 - Another overhaul of store dirs. for NLFS to eliminate "hidden" recomputations.
4420 - TBD: "hidden" mom_vecinv recomp. in dynamics
4421 o change forcing_In_AB to affects both T,S forcing and Momentum forcing
4422 (allow to differentiate between forcing components using new integer flags:
4423 momForcingOutAB=1/0 & tracForcingOutAB=1/0)
4424 and add new flag to put Dissipation tendency out of Adams-Bashforth.
4425 o ecco
4426 - enable trend removal from SSH anomaly obs.
4427 o adjoint
4428 - a fix for PmEpR when #undef EXACT_CONSERV
4429 - fix of "hidden" recomp. in thermodynamics (no TAF warnings)
4430 - try to fix "hidden" recomp. in forward_step for NLFS
4431 (NLFS seems broken sometimes after I checked it in)
4432 o seaice:
4433 - add c-grid version of the dynamic solver:
4434 + three new routines that are the c-grid substitute lsr, dynsolver
4435 and ostres
4436 + put a few fields that were local to dynsolver into global common
4437 blocks, so that I can move the computation of stresses etc into
4438 seaice_lsr (saves coding but may break the adjoint).
4439 - replace more hardwired parameters by runtime parameters
4440 - add ice masks that mask the rhs of the implicit solvers where there
4441 is no ice (commented out in seaice_dynsolver, because i am not sure
4442 if this works properly), eventually this should replace the clipping
4443 of ice velocities in seaice_dynsolver to +/-40cm/s.
4444 o remove the BUILD_INFO.h include from CPP_EEOPTIONS.h and explicitly
4445 include it only where its needed
4446 o move balancing of fluxes before the call of external_forcing_surf
4447 o seaice:
4448 - correct units of turning angles (now they are really in degrees)
4449 - move computation of GWATX/Y out of main routine into dynsolver
4450 - initialize GWATX/Y in seaice_init
4451 o Apply mask on Fresh-Water flux (needed for SSH forcing).
4452 update output.txt of exp. global_ocean_ebm & cpl_aim+ocn (affects cg2d residual)
4453 o seaice: add runtime flags for turning angles (default to zero)
4454 o Adding runtime parameter to exf/, ctrl/, to remove on-the-fly global mean
4455 and trend from exf forcing and ctrl control adjustments
4456 o fix variable aliasing in gad_calc_rhs that cannot be handled by TAF
4457 (since checkpoint57x_post)
4458 o change the default rotation period to 86164.s = the Earth rotation
4459 o 1rst implementation of Implicit IGW using the 3-D solver (use3Dsolver=T)
4460 and based on a reference stratification. Tested within hs94.cs-32x32x5.
4461 o seaice advection: add code for choosing between the default (2nd order
4462 central differences) and multiDim advection schemes provided by
4463 pkg/generic_advdiff
4464 o seaice:
4465 - removed all references to SEAICE_GRID.h fields from
4466 dynsolver, advect, diffus, lsr, without changing the results of lab_sea
4467 (cubed-sphere configuration will change a little)
4468 - grid computations in seaice_init are obsolete now.
4469 - cleaned up code a little so that is easier to read (hopefully).
4470 - added new (better?) discretizations of default advection and diffusion
4471 (turn on with SEAICEuseFluxForm)
4472 - replace 1 in 3d global fields by kSurface in growth.F
4473
4474 checkpoint58a_post (2006/02/13)
4475 o seaice:
4476 - bug fix in advect.F
4477 o shelfice:
4478 - separate shelfice load anomaly from pload (breaks with time
4479 dependent forcing), => introduce constant field shelficeLoadAnomaly.
4480 Its default is 0., but it may be computed more cleverly from (unknown)
4481 t- and s-profiles (tRef, sRef) and actual EOS. For now this has to be
4482 done offline. A good approximation of the pressure load anomaly is
4483 necessary to avoid large initial adjustment processes underneath
4484 deep-reaching shelfice.
4485 - small fix in ISOMIP shelfice_thermodynamics
4486 - add more sophisticated thermodynamics of Hellmer (1989), this is
4487 now the default
4488 - give a few constants more intuitive names
4489 o add code to balance EmPmP and Qnet at the end of do_ocean_physics. Useful
4490 if bulk formulae are used in long integration (especially EmPmR). Turn
4491 on with balanceEmPmR = .true. or balanceQnet = .true. in data, PARM01
4492 if balancePrintMean, the imbalance that is substracted is printed to
4493 STDOUT.
4494 o fix bug (typo) in obcs_apply_eta.F
4495 o add a new package shelfice which enables us to model the circulation
4496 underneath shelf-ice with draughts of hundreds of meters.
4497 - works
4498 - to do: + include improved thermodynamics
4499 + check whether kSurfC (from model/inc/SURFACE.h) can be used
4500 instead of new field kTopC
4501 + can we use topoFile, Ro_surf and existing code in ini_depth.F
4502 instead of new field R_shelfIce and new code in ini_depth.F
4503 and ini_mask_etc.F?
4504 + adjust vertical mixing schemes?
4505 o seaice pkg:
4506 - add a cpp-flag to include a simple formula for a salinity dependent
4507 freezing point of sea water at the surface
4508 - change the contents of SEAICE_TEST_ICE_STRESS_1 so that zonal and
4509 meridional stresses are now different (and hopefully correct)
4510 o AIM pkg: change threshold on large-scale condensation to conserve Heat.
4511 update results of aim.5l_LatLon test ; fix title & units of AIM diagnostics
4512 and change 3 diagnostics names (OSR,OSRCLR,KM -> TSR,TSRCLR,DRAG)
4513 o pkg/diagnostics: add options and parameters for regional-statistics
4514 diagnostics ; define regions by reading a region-mask from a file
4515 (might add other options later)
4516 o pkg/bulk_force:
4517 - add option and parameters to use AIM surface-flux formulae.
4518 - Change loading part: S/R BULKF_FIELDS_LOAD only take care of bulkf_fields ;
4519 others forcing fields (defined in PARM05, parameter file "data") are loaded
4520 from S/R EXTERNAL_FIELDS_LOAD, as usually (with useBulkforce = T or F).
4521 - initialise all bulkf_fields in bulkf_init.F ; do in-lining of exf_bulkcdn.F
4522 - use the right EXCH call for uwind,vwind (to work on CS-grid).
4523 - re-arrange header files (move parameters from BULKF.h to BULKF_PARAMS.h)
4524 and parameters (note: calcWindStress replaces .NOT.readwindstress).
4525 - cleaner interface with pkg/thSIce (new S/R THSICE_GET_PRECIP).
4526
4527 checkpoint58 (2006/01/12)
4528 o add "--embed-source" option to genmake2 which, when the supporting
4529 tools can be compiled (as determined by genmake2) will turn on the
4530 embed_files package which then embeds the entire MITgcm source code
4531 (*.[fFhc] + Makefile) used for the build within the executable
4532 - requested by CNH but off by default
4533 - adds a paltry <9MB to the mitgcmuv executable in most cases
4534 - only writes the output when useEMBEDSRC in eedata is true
4535 o clean up 3-dim. relaxation codes:
4536 * Fix I/O inconsistency in pkg/rbcs: replace precFloat32 by readBinaryPrec
4537 * Remove 3-dim. relaxation code from pkg/exf (now use only pkg/rbcs)
4538 * Thanks to Tom Haine for testing!
4539
4540 checkpoint57z_post (2005/12/31)
4541 o make CG3D solver compatible with Free-surface at k > 1 (p-coordinate):
4542 affects output (@ truncation level) of exp. plume_on_slope ; updated.
4543 o fix the pickup behavior for obcs in combination with ptracers
4544 o fix a bug in ptracers_external_fields_load
4545 o no AB-2 at the first iteration for Gw (consistent with Gu,Gv,Gt,Gs ...)
4546 affects results of NH experiments (but all our NH tests have Gw[it=1]==0 !!)
4547 o transfered surface NH pressure to eta field (if exactConserv).
4548 o gmredi: fix bugs in slope tapering ldd97 (depthZ had the wrong sign)
4549 and update lab_sea output.txt file.
4550 o completing 3-dim. relaxation code: additional term
4551 1/tau*( theta(i,j,k) - thetaStar(i,j,k) )
4552 in S/R EXTERNAL_FORCING_T (file external_forcing.F)
4553 * At compile time, in "EXF_OPTIONS.h" set
4554 #define ALLOW_CLIMTEMP_RELAXATION
4555 #define ALLOW_CLIMSALT_RELAXATION
4556 * At runtime in "data", under &PARM03 set (e.g., units in seconds)
4557 tauThetaClimRelax3Dim = 15552000.0,
4558 tauSaltClimRelax3Dim = 15552000.0,
4559 * 3 cases:
4560 1) Use a constant-in-time 3-dim. field
4561 2) Provide 12 3-dim. fields corresponding to Jan., ... , Dec.
4562 3) Real-time relax. to time-evolving prescribed field
4563 o Adding Laplacian-type smoothness constraint on
4564 initial and boundary (forcing) controls (ic, bc)
4565 * enable at compile-time via
4566 ALLOW_SMOOTH_IC_COST_CONTRIBUTION, ALLOW_SMOOTH_BC_COST_CONTRIBUTION
4567 * enable at run-time via mult_smooth_ic = 1, mult_smooth_bc = 1
4568 * Absolute scale somewhat unclear so far
4569 * no area weighting was included since no other cost term does so far
4570
4571 checkpoint57y_post (2005/12/08)
4572 First step for a NLFS adjoint
4573 o initially suppress rStar (new flag DISABLE_RSTAR_CODE)
4574 o new init. routines for calc_r_star, calc_surf_dr
4575 o still need to deal with ini_masks_etc
4576 o testreport seemed happy
4577 checkpoint57y_pre (2005/12/08)
4578
4579 o obcs: always reset wVel & eta (to zero or prescribe it) at the OBs.
4580 o add new package rbcs (for relaxing ptracers at boundaries/depth/surface etc)
4581 o add new offset feature to offline pkg (plus minor cleanup)
4582 o cfc fixes for final year of integration
4583 o clean up GCHEM_OPTIONS.h/DIC_OPTIONS.h (all options should
4584 be in GCHEM_OPTIONS).
4585
4586 checkpoint57x_post (2005/12/04)
4587 o fix testreport Pb in multiple test experiment.
4588 o cleanup our namelist syntax in verification:
4589 - make it more F95 standards compliant (some work still needed)
4590 - allows the vast majority of our tests to work with gfortran
4591 o Non-Hydrostatic:
4592 - put all NH variables (formerly in DYNVARS.h & GW.h) in NH_VARS.h
4593 - fix exchange calls for CS-grid using the new EXCH_S3D_RL.
4594 o Allow to apply AB on T,S rather than on AB(gT,gS):
4595 - implemented within #ifdef ALLOW_ADAMSBASHFORTH_3
4596 - use the same arrays (gtNm,gsNm) to hold tracer field at previous
4597 time-steps (if AB(T,S)) and tendencies (if AB(gT,gS)).
4598 - need a "clever" read_pickup to restart from the other AB formulation
4599 o move local commom bloc /GlobalLo/ (used for singleCpuIO) in EESUPPORT.h
4600 o remove some unused variables (reduces number of compiler warnings)
4601 o adjoint
4602 * Disable useVariableViscosity for adjoint for time being
4603 (there are a number of extensive recomputations)
4604 * Initialize certain variables needed for adjoint
4605
4606 checkpoint57w_post (2005/11/03)
4607 o pkg/mdsio: use MAX_LEN_FNAM (instead of hard coded 80) for file-names
4608 fix the singleCpuIO RS version of MDSWRITEFIELD
4609 and add a WARNING if using globalFiles=T with multi-processors.
4610 o write grid-file(s) in only one format (MDS or MNC): default=MNC (if
4611 using MNC); can force MDS output by setting writegrid_mnc=F in data.mnc
4612 o tracer advection scheme:
4613 add DST-2 (=Lax-Wendroff) & 1rst order upwind schemes (the way to get
4614 those 2 schemes before, changing GAD_FLUX_LIMITER.h + to recompile,
4615 was not very convenient).
4616 add implicit version for DST-3 & DST3_Flux_Limit vertical advection;
4617 (further tests needed for the implicit DST & Flux-Limiter schemes).
4618 o PTRACERS: added namelist parameter PTRACERS_ref in analogy to tRef
4619 and sRef for convenience, handy, when you want to initialize
4620 ptracers in a large domain with a constant non-zero value. Also,
4621 untangle ptracers_init.F a little.
4622
4623 checkpoint57v_post (2005/10/13)
4624 o change dome exp. to use variable viscosity in side-drag terms.
4625 o remove all the files from the cfc_offline test since they are now
4626 incorporated into tutorial_cfc_offline which has been producing
4627 identical results for a few days of testing
4628 o add new parameter: sideDragFactor to enable half-slip-side BC
4629 and change side-drag S/R to use viscosity from mom_calc_visc
4630 (can switch back by setting sideDragFactor=0.); affects results at
4631 truncation level; regenerate output for exp.: global_ocean.cs32x10(x3),
4632 global_ocean_ebm, global_ocean_pressure, matrix_example & MLAdjust(x5).
4633 o vorticity & strain are now computed without masking, to account for
4634 no-slip-side BC in variable viscosity calculation ; mask is applied
4635 anyway later on, before computing advection/coriolis terms.
4636 o modify exp4 to test new obcs support for reading from external files
4637 and for passive tracers
4638 o fix behavior of ptracers_monitor when monitor output is written to a
4639 netcdf-file; still not independent of monitor.F (writes in the same
4640 file).
4641 o change default value of tRef (put a uniform, meaningful value for ocean
4642 & atmos) and initialize sRef (was missing, as Martin mentioned).
4643 o Redefine viscC?Leith*. Change the coefficients of Leith viscosity
4644 to be proportional to enstrophy dissipation length. Thus,
4645 viscC?leith?_new=pi*(viscC?leith?_old)^(1/3)
4646 This is now consistent with Smagorinsky and with the manual.
4647
4648 checkpoint57u_post
4649 o OBCS and PTRACERS: add open boundary support for passive tracers
4650 - either use homogenous (pseudo) v.Neumann conditions or prescribe
4651 OB-values from file; this is not different from the way theta and salinity
4652 are treated
4653 - however, Orlanski-radiation conditions are not supported, and the model
4654 will stop if you use pTracers and Orlanski at the same time.
4655 - beefed up the rountine obcs_external_fields_load: now only those open
4656 boundary values are overwritten with values from files for which there
4657 are really files, otherwise the OB-fields remain untouched. This makes
4658 it possible to use different OBs at different ends of the domain (as
4659 with EXF)
4660 o reduce number of exch calls in shap_filt (s2).
4661 o CS-grid: fix divergence contribution to Leith viscosity. Affects (@
4662 truncation level) 4/5 MLAdjust test results (11&12 digits match).
4663
4664 checkpoint57t_post (2005/10/03)
4665 o test biharmonic viscosity + no-slip with exp: global_ocean.cs32x15.viscA4
4666 o finish adding brackets (coriolis S/R, vecinv) in multi-terms sum to get
4667 same truncation, independent of the face number: affects affects several
4668 test. exp.: Update global_ocean.cs32x15 (+.thsice) & MLAdjust (all 5).
4669 o fix bug in mom_v_sidedrag (biharmonic viscosity was counted 2 times);
4670 note that biharmonic viscosity + no-slip was not tested in any experiment.
4671 o fix bug in non-linear free-surf side-drag ; generate new output for
4672 global_ocean.cs32x15(+.thsice) & global_ocean_pressure.
4673 o make mnc honor the writeBinaryPrec flag for most kinds of output
4674 o eesupp: split EEPARAMS into EESIZE/EEPARAMS and add a vector global sum
4675 o minor change in averaging W (mom_vi_?_vertshear.F) that affects truncation
4676 error; update output from global_ocean.cs32x15(+.thsice) & MLAdjust (all 5).
4677 o add brackets in multi-terms sum to get same truncation, independent of
4678 the face number (manage to get exactly same value of gU,gV at the cs-edge)
4679 affects several test. exp. Update global_ocean.cs32x15 (+.thsice).
4680 o Clean, new version of mom_calc_visc. Adds a new feature, viscAhRemax
4681 and viscA4Remax, which allow one to limit the minimum viscosity by specifying
4682 a maximum grid-scale Reynolds number. Also, changes all length calculations
4683 in the case of grid anisotropy to geometric mean of dx**2 and dy**2.
4684 Suggested values of viscosity parameters found in mom_calc_visc.
4685 Many new viscosity diagnostics available.
4686
4687 checkpoint57s_post (2005/09/20)
4688 o Add clearing-house for viscosity calculations, mom_calc_visc and
4689 correct numerous bugs in LeithD and Smagorinsky discretizations.
4690 mom_calc_visc now allows for Smagorinsky, Leith and LeithD to be
4691 used simultaneously, and to be used in mom_vecinv and mom_fluxform.
4692 Mom_vecinv can be used with standard viscous calculation (mom_vi_hdissip.F)
4693 and with Strain-Tension viscous term calculation (mom_hdissip.F).
4694 The Strain-Tension form is now called with useStrainTensonVisc=.true.
4695 ViscAhStrain and viscAhTension are now retired.
4696 o diagnostics "VISCAHD" & "VISCA4D" replace "VISCAH" & "VISCA4".
4697 o In response to JMC's bug report, genmake2 now ignores any soft-links
4698 that it finds in the *current* directory when searching for files.
4699 Soft-links found in any other source directories will still work as
4700 they did before.
4701 o add HAVE_SETRLSTK define and useSETRLSTK flag (eedata) which calls
4702 a C routine to unlimit the stack size
4703 o mnc-ify pkg/aim snapshot vars
4704 o mnc-ify pkg/land as requested by Daniel
4705 o various changes to mnc including:
4706 - all files use the new "BASENAME[[.ITER].{t|f}NUM].nc" format
4707 - output can now be grouped so that all files within a group
4708 change the ITER portion of their names in lock-step together
4709 - can now read ("global") PER-FACE (in addition to PER-TILE) files
4710 and works with both EXCH1 and EXCH2 (but needs more testing)
4711 - writing works for all verification test cases w/ g77 on Linux
4712
4713 checkpoint57r_post (2005/09/07)
4714 o make MNC variable initialization happen earlier
4715 o add diagnostics for (almost) each term of the momentum Eq.
4716 o remove SST,SSS,UVEL_k2,VVEL_k2 diagnostics.
4717 o move pkg timeave out of pkg-groups "oceanic" & "atmospheric" (pkg/pkg_groups)
4718 o remove MINIMAL_TAVE_OUTPUT option ;
4719 add "dumpInitAndLast" to replace "nodumps" (and MINIMAL_TAVE_OUTPUT).
4720 o move some basic S/R (used elsewhere in the code) from pkg/mdsio to eesupp/src
4721 allows to compile without pkg/mdsio (& test successfully hs94.1x64x5)
4722 o add MNC output for adjoint of EXF (adexf), SEAICE (adseaice)
4723 o add time-dependent SST, SSS control
4724 o cost terms in ecco/ modularized (new cost_generic.F)
4725 o cost_averages routines are modularized (new cost_averagesgeneric.F)
4726 o new infrastructure for seaice model vs. obs misfits in seaice/
4727 * driver from the_main_loop.F is seaice_cost_driver.F
4728 * first term is AREA vs. SMR observation misfit (ALLOW_SEAICE_COST_SMR_AREA)
4729 * gradient check in Exp. 6a of natl_box_adjoint/
4730 o natl_box_adjoint input_seaice for Lab. Sea now available online via wget
4731 (see README file)
4732
4733 checkpoint57q_post (2005/08/19)
4734 o fix initialisation Pb in calc_gw (get NANs in exp5 with g77)
4735 o fix annoying months-old bug in mnc/mdsio output for seaice pkg
4736 - bug was reported by Jean-Michel and Ian Fenty
4737 o fix initialization Pb in AIM-Ocean coupled model (aim_sice2aim.F)
4738 update exp. cpl_aim+ocn output.
4739 o Implement 4-level checkpointing: AUTODIFF_4_LEVEL_CHECKPOINT
4740 Needed for high-res. runs with large global files
4741 to be able to limit tapelev size
4742 o Changed some tests for adjoint:
4743 * carbon/ now tests AUTODIFF_2_LEVEL_CHECKPOINT
4744 * natl_box_adjoint/code_bulk/ tests AUTODIFF_4_LEVEL_CHECKPOINT
4745 * global_ocean.90x40x15/ back to default 3-level checkpointing
4746 o Modifications to enable scripted COMMON to MODULE conversion
4747 * verification/OpenAD/code/ has necessary scripts and description;
4748 * converts, compiles and runs successfully;
4749
4750 checkpoint57p_post (2005/08/01)
4751 o reading of delXfile & delYfile moved from ini_parms.F to ini_grid.F
4752 o move ${PKG}_MNC_INIT from ${PKG}_READ_PARAMS to ${PKG}_INIT_FIXED
4753 (already the case for some pkgs, including recent MNC_init, e.g. thsice)
4754 o call CALC_GW from DYNAMICS (instead of from FORWARD_STEP)
4755 o Dissipation & phiHyd gradient are always added to gU,gV in timestep.F
4756 (was already the case for dissipation with mom_vecinv,
4757 and also the case for grad.PhiHyd when staggered-timeStep)
4758 This will allow to put dissipation out-off the AB time-stepping.
4759 Unfortunately, affects truncation error. Update output of exp. that "fails"
4760 (cg2d matching number) and leave the others for later: front_relax(10),
4761 global_ocean_pressure(10),ideal_2D_oce(10),internal_wave(9),lab_sea(12),
4762 matrix_example(7!),natl_box(12),plume_on_slope(11),vermix(12x3,11x2).
4763
4764 checkpoint57o_post (2005/07/30)
4765 o fix MNC/MDSIO flags in PTRACERS so that (1) it works, and
4766 (2) its ready to be documented during the 20050801 DocFest
4767 o MNC-ify the gmredi package -- tested and works w/ and w/o mnc
4768 for ideal_2D_oce and lab_sea on linux_ia32_g77
4769 o set to #undef CTRL_SET_OLD_MAXCVARS_30
4770 in global1x1_tot/code_seaice_adj to access indices 32, 33
4771 (worth another tag)
4772
4773 checkpoint57n_post (2005/07/29)
4774 o adding precip control xx_precip 32
4775 o adding swflux control xx_swflux 33
4776 o Replacing 10 forcing penalty cost routines by 1 generic.
4777 o Implementing partitioning in time-mean and variable adjustment
4778 for atmos. state.
4779 o Time-mean constant error is now read in data.ecco (instead of hard-coded)
4780 o in natl_box_adjoint:
4781 * updated exp 1 to 10
4782 (but does not have time-mean vs. variable split results yet)
4783 o updated global1x1/*_seaice_adj/
4784 to incorporate latest changes
4785 o enable useSingleCpuIO for mdsio vector routines
4786 (applies in particular to tapelev I/O)
4787 o removed inefficient K-loop in all active_file*control*.F
4788
4789 checkpoint57m_post (2005/07/28)
4790 o re-arrange exp. adjustment.cs-32x32x1 (adjust_nlfs.cs-32x32x1 merge into)
4791 and advect_cs (use EXCH-2 and standard cs-32 grid files).
4792 o pkg/exch2: filling of face-corner halo regions is optional
4793 (ifdef W2_FILL_NULL_REGIONS) and is turned off by default.
4794
4795 checkpoint57l_post (2005/07/14)
4796 tag before updating tutorials (pre-release-2)
4797 o add cos & sin of grid-direction orientation angle (curvilinear grid only,
4798 for output and interpolation of input fields onto model grid)
4799 o fix radius in mom_v_metric_cylinder.F (wrong by dy/2).
4800 Affects results of exp. rotating_tank ; update output.txt.
4801 o pkg/diagnostics: 2 new S/R to fill a diagnostics using a scaling factor
4802 and taking the square quantity and/or using a fraction-weight field.
4803 o fix aim_diagnostics_init.F mate numbers.
4804 o add mnc output capability to diagnostics/diagstat and update
4805 our cvsignore files for the ACSII output generated
4806
4807 checkpoint57k_post (2005/07/02)
4808 o lab_sea now uses diagnostics package and provides a suite of
4809 new EXF diagnostics output.
4810
4811 checkpoint57j_post (2005/06/30)
4812 o exf
4813 * bug fix in exf_bulkformulae for psimh (spotted by Eliyahu Biton):
4814 Bracket missing in eqn. for psimh (eqn. 7 of Large & Pond, 1982);
4815 terms -2*ATAN(x) + pi/2 were added to both stable and unstable case.
4816 * extended diagnostics output
4817 - now includes all EXF variables
4818 - hs, hl moved to common block
4819 - separate S/R for diagnostics, called after ctrl vector is added
4820 - name changed for EXFsw -> EXFswnet, EXFlw -> EXFlwnet
4821 - EXFqnet contains true Qnet (i.e. includes qsw)
4822 * updated verif. lab_sea, global_with_exf
4823 * Rearranging hflux (exf_mapfields -> exf_getforcing)
4824 to ensure that diagnostics sees a true EXFqnet
4825 o add matlab scripts for CS-grid vectors (in utils/cs_grid)
4826 o diagnostics pkg: change pointers so that 1 diagnostic can be used
4827 several times with different frequencies.
4828 o mnc-ify the thsice package as requested by Daniel Enderton
4829 - the monitor--MNC output needs work
4830 - many attributes need to be added (most are currently blank)
4831 o mnc-ify theaim_v23 package as requested by Daniel Enderton
4832 - many attributes need to be added (most are currently blank)
4833 o remove "groundAtK1" & "rkFac" (replaced by usingPCoords & -rkSign)
4834 o add Sadourny like discretization to the 4th.O vorticity advection scheme
4835 o fix bug in rStar code (calc_r_star.F) when used with topo/bathy.
4836 update output.txt from: aim.5l_cs (& .thSI), cpl_aim+ocn,
4837 fizhi-gridalt-hs and global_ocean.cs32x15 (& .thsice).
4838 o fix few little things to avoid floating error with -ftrapuv (ifort v9)
4839 (ini_spherical_polar_grid.F, calc_r_star.F, monitor/mon_surfcor.F)
4840
4841 checkpoint57i_post (2005/06/19)
4842 o Diagnostics package was changed: diagnostic allocation is now deactivated
4843 by setting an empty file name in the namelist (used to be by setting 0 frequency)
4844 o momentum advection (VI form) options: activate 4th.O vorticity Coriolis ;
4845 add 1rst Order upwind vertical Shear.
4846 o add a quick fix for A/B checkpointing in OFFLINE mode
4847 o add IGNORE_TIME define and -ignore_time option to genmake2 as an
4848 end-run around the C/Fortran linking horror in eesup/src/timers.F
4849 o added pkg/runclock: allows user to terminate run based on wall clock
4850 o added non-hydrostatic scaling parameter: nh_am2
4851 o pkg/my82: futile attempt to make results compiler-independent by adding
4852 some "_d 0", etc. no effect.
4853 o for mnc output, fill the 'T' coordinate var with myTime and create a
4854 separate 'iter' variable for iteration count
4855 o pkg/diagnostics:
4856 add new capability: output of Global/Regional & per-level statistics ;
4857 tested against monitor output (including land & thSIce) on various exp.
4858 o make seaice-pkg I/O type flags (MNC/MDS) more standard.
4859
4860 checkpoint57h_done (2005/05/19)
4861 tag after changing user customized files (DIAGNOSTICS_SIZE.h,
4862 data.diagnostics, data.gchem, data.ptracers) is done.
4863
4864 o pkg/diagnostics: prepare for Global/Regional statistics.
4865 add 2nd namelist in data.diagnostics and update DIAGNOSTICS_SIZE.h
4866 o remove "baseTime" (no used) from arg. list of DIFF_BASE_MULTIPLE
4867 and rename it: DIFFERENT_MULTIPLE
4868
4869 checkpoint57h_post (2005/05/14)
4870 o move tIter0 from data.gchem to PTRACERS_Iter0 in data.ptracers
4871 o pkg/diagnostics: change output frequency, now in seconds (instead
4872 of Nb of iterations). This requires to change data.diagnostics.
4873 checkpoint57h_pre (2005/05/12)
4874
4875 o in mnc, let the user create the output dir if both mnc_outdir_date
4876 and mnc_outdir_num are false
4877 o add fflags() to pkg/diagnostics which allows one to specify, on a
4878 per-file basis, the file precision [default behavior is unchanged]
4879 o added diagnostics to pkg/kpp, including computation of mixed layer
4880 depth based on a temperature/density criterion
4881 o updated verification/natl_box to test the new pkg/kpp diagnostics
4882 o bugs fixed (with useAbsVorticity=T & with useJamartMomAdv=T)
4883 o test AB-3 code with 4th.Order advection scheme (advect_xy/input.ab3_c4)
4884 o fix mnc flags in pkg/seaice so that they are "owned" by seaice,
4885 not mnc -- this mistake was found by JMC and is now corrected
4886
4887 checkpoint57g_post (2005/04/15)
4888 o add Adams-Bashforth 3rd Order time stepping:
4889 - default remains AB-2 (#undef ALLOW_ADAMSBASHFORTH_3)
4890 - not yet implemented with NH, CD_Scheme, pTracers, MNC_pickup ...
4891 checkpoint57g_pre (2005/04/15)
4892
4893 o make lambda[Theta,Salt]ClimRelax spatially varying
4894 (default remains spatially uniform constant based on tau)
4895 o added new control variables
4896 * init. uVel, vVel, etanN
4897 * lambda[Theta,Salt]ClimRelax
4898 o separate masks used for ctrl_pack/unpack 'from write_grid' output
4899 (suggested by G. Forget)
4900
4901 checkpoint57f_post (2005/04/06)
4902 o add parameter "baseTime" = model base time = time at iteration zero
4903 new function DIFF_BASE_MULTIPLE (replace DIFFERENT_MULTIPLE) to
4904 account for baseTime shift
4905 o move Coriolis arrays from PARAMS.h to GRID.h
4906 checkpoint57f_pre (2005/04/06)
4907
4908 o mnc-ifying the seaice package
4909 o introduced an alternative length scale calculation for use in the limiting
4910 maximum viscosity (off by default, see mom_vi_hdissip.F for details)
4911 o S/R ptracers_calc_diff: argument list bug for CALL KPP_CALC_DIFF_S
4912 o added modified Leith scheme with viscosity proportional to grad(Hdiv)
4913 as well as grad(vort3). Made it compatible with both approximate form
4914 for the cubed sphere and full form of these gradients. Added flag
4915 useFullLeith to select between approximate and full form.
4916 o add "d0" in getcon.F to reduce differences between compilers/platforms
4917 update output.txt of exp. fizhi-gridalt-hs
4918 o change port_rand funtion to allow to set the seed.
4919 o fix obscure MNC bug involving conversion between reals and integers
4920 - it caused no problems with certain (eg. gcc, ifc) compilers but the
4921 new version is now more standards-compliant
4922 o adjoint-related modifications
4923 * gad_dst3_adv_?: to be able to use advscheme=30 in adjoint
4924 * gad_calc_rhs: fool adjoint, revert to advscheme=30 in reverse when using 33
4925 * mom_vi_hdissip: to be able to use Leith scheme in adjoint
4926
4927 checkpoint57e_post (2005/02/28)
4928 o Adding eddy stress controls a la Ferreira et al.
4929 checkpoint57e_pre (actually was tagged: eckpoint57e_pre)
4930
4931 o fizhi pkg: fix AtoC and CtoA when called with same input & output array
4932 update output.txt of exp. fizhi-gridalt-hs
4933 o add more "Z" dimensions and associated coordinate vars to MNC
4934 o pkg/exf: added twoDigitYear capability for option useExfYearlyFields
4935 o parameter calendarDumps: when set, approximate months (30-31 days) and years
4936 (360-372 days) for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
4937 KPP_taveFreq, and freq in pkg/diagnostics are converted to exact calendar
4938 months and years. Requires pkg/cal.
4939 o diagnostics: add pickup functionality
4940 - off by default for backwards compatibility
4941 - current version only uses MDSIO -- MNC will be added
4942 o allow to use pkg diagnostics for LAND pkg output & Shapiro Tendencies.
4943 o pkg/shap_filt: fix for multi-tiles per face (CS-grid with EXCH2)
4944
4945 checkpoint57d_post (2005/02/11)
4946 o pkg/thsice used in the ocean: fix tile Pb related to sIceLoad forcing
4947 o modify verification/ideal_2D_oce so that it tests the creation of mnc
4948 output from the diagnostics package
4949 o temporary fix in EXCH2_UV: add a 3rd call to fix the 24.tiles CS-grid set-up
4950 o make genmake2 more portable by using ".$FS" instead of ".f" for more
4951 of the test compilations (eg. IBM xlf on Mac OSX w/HFS filesys)
4952 o add coordinate variables to the MNC output from the diagnostics package
4953 o change MNC-flags default value: true when useMNC=TRUE
4954 o add a "readgrid_mnc" flag to MNC and give model/src/ini_curvilinear_grid.F
4955 the ability (off by default) to read the grid information using MNC
4956 o lab_sea: use LSR_ERROR=1.E-12 for testing ; update output.txt
4957 o diagnostics: fix a bug (sub-set of levels); keep full precision when averaging
4958 o do snap-shot diagnostics at the middle of the time-interval (instead of
4959 at the end).
4960 o update exp. aim.5l_cs (use default LAND_OPTIONS.h file) and add
4961 new test for AIM with thSIce + slab-ocean
4962 o cpl_aim+ocn test: update output (optfile & default GMREDI_OPTIONS.h)
4963 o move state variable diagnostics to the beginning of the time step ;
4964 (note: still needs some work specially for snap-shot diagnostics)
4965 duplicate & replace UVELVVEL diagnostics with UV_VEL_C & UV_VEL_Z
4966
4967 checkpoint57c_post (2005/01/27)
4968 o Change testing option (-ieee) to get closer agreement between g77 & ifort
4969 o generate new output.txt files on faulks with g77 & the new -ieee option
4970 checkpoint57c_pre (2005/01/27)
4971
4972 o add "_d 0" in freeze ; change some "FLOAT" to "DFLOAT" and went back (TAF);
4973 update output.txt of exp. global_ocean.90x40x15
4974 o fix in ini_eos.F (one "_d 0" was missing): now g77 & ifc give much closer
4975 results; update global_ocean_pressure & global_ocean.cs32x15 output.txt
4976 o add saltFlux(+File) forcing capability with periodicExternalForcing
4977 o allow to use pkg diagnostics for GM-Redi & ThSIce output
4978 o diagnostics_fill: fill in up to sNx+1 or sNy+1 (if U,V or Z pt) for mnc.
4979 o improvements for the MNC output from DIAGNOSTICS:
4980 - correct handling of the unlimitied dimension
4981 - all dims now have associated coordinate variables
4982 - variables located at U, V, and Corner ("Z") points are now written
4983 with the correct horzontal dimensions (eg. 'Xp1', 'Yp1') so that
4984 *all* data points are output
4985 o added seaice_summary.F and removed obsolete ALLOW_SEAICE's from pkg/seaice
4986 o added pkg/seaice/seaice_monitor.F
4987 o mdsio_readfield.F can now read files visible only to master MPI process.
4988 o pkg/seaice: some test code for ice-modified ocean stress
4989 o exf_getffields interpolation defaults to bilinear for all scalar forcing
4990 fields (remains bicubic for wind velocity and stress). This avoids, e.g.,
4991 spurious negative numbers for precipitation and humidity. Will cause
4992 some small numerical differences for integrations using pkg/exf/exf_interp.F.
4993 o pkg/ctrl/
4994 * Add ctrlvec diagnostics in pack/unpack for nondimensional I/O
4995 May be enabled via doPackDiag
4996 * introduce z-scaling of
4997 + gradient (doZscalePack) and
4998 + control (doZscaleUnpack)
4999 o pkg/mdsio/
5000 * enable useSingleCpuIO for state estimation (ctrl_pack/unpack) mdsio_gl.F
5001 * N.B.: leave tiled I/O for tapelev (i.e. mds...vector)
5002
5003 checkpoint57b_post (2004/12/20)
5004 o simplify options in diagnostics_fill arguments (remove weird combinations)
5005 o fix MNC coordinate variables so that they now contain per-face index
5006 values (instead of xC,xG,yC,yG values) when run with EXCH2 since, in
5007 general, EXCH2 grids are only aligned to a "local" coordinate system
5008 o test diagnostics pkg in dic_example (no output) and ideal_2D_oce (with ouput)
5009 o Implement instantaneous output within pkg diagnostics:
5010 setting a negative frequency in data.diagnostics produces
5011 "snap-shot" output (as opposed to time-average if freq > 0)
5012 o move out off EQUIVALENCE all diagnostics that fizhi does not use ;
5013 NOTE: change ptracer diagnostics name: use 2 characters to work with
5014 more than 9 tracers. Add also diagnostics of advect & diffus flux.
5015 o more CF compliance: convert all MNC 'iter' variables to 'T' so that it
5016 becomes the coordinate variable for the 'T' dimension
5017 o add CF-style coordinate variables to MNC
5018 - just a first cut: numbers are meaningless on the cubesphere and
5019 missing along the T axis but otherwise it works!
5020 o add surface flux diagnostics: TAUX, TAUY, TFLUX, TRELAX, TICE, SFLUX, SRELAX
5021 o pkg/thSIce: read initial state from 6 files ; allow monitor to use MNC.
5022 o add diagnostics of advective & diffusive flux for T & S (pTracers coming soon)
5023 this is based directly on what the model compute, so that the content of
5024 each diagnostics might be affected by switching options (e.g., implicitDiffusion)
5025 o small changes for diagnostics (gad_biharm_?.F, arguments of S/R impldiff.F)
5026 o clean up build options files for SunOS, in particular
5027 - remove -traditional from xmakedepend
5028 - change -xarch=v9 to -xarch=native for f77
5029 - restore use of make (not gmake)
5030 - add CC=gcc if using g77
5031 o changes per discussion of AM, JMC, & EH3 today:
5032 - move redundant "grid" variables out of "state" -- in preparation of
5033 creating proper CF-style coordinate variables and in recognition
5034 that any/all grid variables can be easily copied (eg. w/NCO) from
5035 the grid files into any of the other NetCDF files
5036 - *always* output grid variables with MDSIO (this will eventually be
5037 changed)
5038 - output MNC grid file if useMNC is true
5039 o every instance of _END_MASTER() has been found and replaced with
5040 _END_MASTER( myThid ) in order to satisfy certain picky Sun
5041 preprocessors
5042 o re-arrange diagnostics pkg initialisation:
5043 - allow each package to extend the available diagnostics list
5044 - add some checking and fix small problems (multi-threaded, ...)
5045 - new S/R diagnostics_fill (replace fill_diagnostics):
5046 look through the short list of active diag. (instead of the long list)
5047 create function DIAGNOSTICS_IS_ON to tell if a diagnostics is active
5048
5049 checkpoint57a_post (2004/12/10)
5050 o this set of changes restores TAMC compatibility
5051 tested for global_ocean.90x40x15 adjoint on trough
5052 (what a pain)
5053
5054 checkpoint57a_pre (2004/12/10)
5055 o some modifs in tools/build_options for sunos
5056 o call ctrl_pack for ctrl at end for optimcycle=0
5057
5058 checkpoint57 (2004/12/09)
5059 o add horizontal bi-harmonic viscosity for vertical velocity
5060 - new parameter viscA4W (defaults to viscA4)
5061 - affects only non-hydrostatic code
5062 - to be done: no-slip lateral boundary conditions
5063 o switch back to "sflux = sflux - runoff" in exf_getforcing.F
5064 o implement Implicit Vertical advection for pTracers
5065 o depth convergence accelerator: replace deltaTtracer by dTtracerLev(k)
5066 (implemented also for implicit vertical diffusion & advection)
5067 o OBCS: extend application of tracer open boundary conditions
5068 to a strip beyond the boundary of width Olx/Oly
5069 o add call monitor to TAF set of required calls (flow directives)
5070 and include in natl_box_adjoint
5071 o untangle a few ifdefs related to cost, ctrl, autodiff
5072 untangel a few ALLOW_ECCO_OPTIMIZATION
5073 o Apply Cooper & Haines representative estimates also at sub-surface (k=Nr)
5074 (theta2, salt2 in ecco_cost_weights)
5075
5076 checkpoint56c_post (2004/12/03)
5077 o OBCS as control variables
5078 - update ctrl_ad_diff.list, obcs_ad_diff.list
5079 - remove balance of obcs controls from default
5080 - fix index bug nobcs in ctrl_init
5081 - fix dummy fields filen in ctrl_pack
5082 - add dummy weights for obcs
5083 o lsopt: comment out fort.94 output
5084 o optim:
5085 - remove unnecessary header files
5086 - adjusted namelists
5087 - add xerbla.F to Makefile
5088 o exf:
5089 - multiple modifications of exf_check_range
5090 - unit change in exf_init_runoff from [m/year] to [m/s]
5091 o mdsio:
5092 - i/o-vector change debugLevel from debLevA to debLevB
5093
5094 checkpoint56b_post (2004/12/01)
5095 o collect all ptracers output in an new routine (PTRACERS_OUTPUT) that
5096 is called from DO_THE_MODEL_IO
5097 - rename PTRACERS_STATV_WRITE to PTRACERS_WRITE_TIMEAVE
5098 - introduce new parameter PTRACERS_dumpFreq (defaults to dumpFreq)
5099 - clean up PTRACERS_WRITE_TIMEAVE a little
5100 o add another verification experiment that tests both the cfc-pkg and
5101 the gchem-pkg with GCHEM_SEPARATE_FORCING undefined, that is with
5102 reactive tendencies treated inline with regular timestepping
5103 o testreport previously did a lousy job of comparing small numbers, so
5104 we (Ed and Martin) changed the way the cut-off of 1.e-12 is
5105 implemented in the little c-progam tmp_cmpnum.c which is embedded in
5106 testreport.
5107 o ptracers_monitor: bug fix for MPI
5108
5109 checkpoint56a_post (2004/11/28)
5110 o GCHEM: finish reorganizating the package
5111 - forward_step calls GCHEM_CALC_TENDENDY, which computes gchemTendency
5112 (introduces another 3D-array for each passive tracer, but only if
5113 GCHEM_SEPARATE_FORCING is undefined. For GCHEM_SEPARATE_FORCING
5114 gchemTendency is not needed because the timestep is done separately)
5115 - gchemTendency is added to gPtr in GCHEM_ADD_TENDENCY
5116 - GCHEM is now---more or less cleanly---separate from PTRACERS
5117 - to bo done: handling of surfaceForcingPtr that is needed for KPP not
5118 so clear to me how that should be done in a general way.
5119 o CFC: improve formatting of output in CFC_ATMOS
5120 o PTRACERS:
5121 - rename GCHEM_MONITOR to PTRACERS_MONITOR and call it from MONITOR, so
5122 that ALL experiments with ptracers enable can be checked. This makes
5123 GCHEM_MONITOR obsolete.
5124 - include a runtime parameter PTRACERS_monitorFreq that defaults to
5125 monitorFreq
5126 - set default PTRACERS_write_mdsio to false if PTRACERS_write_mnc is true
5127 o add PTRACERS (PTR0[1-5]) to testreport output
5128 o exf_check_range:
5129 * default changed to .TRUE.
5130 * will check values for niter0 if debLevA, every timestep if debLevB
5131 * STOP in exf_check_range if 'out of range'
5132 * range chosen generous to allow for potential extema
5133 TBD: a version with stricter range
5134 permitted range would be runtime parameters
5135 o GMredi:
5136 - fix ldd97 slope limit ; extend valid domain of Psi-Bolus ;
5137 - change S/R GRAD_SIGMA to be valid in the overlap on CS-grid.
5138 - change the default GMREDI_OPTIONS.h: compile everything except Visbeck
5139 o GCHEM:
5140 - move call to GCHEM_FORCING_SEP, so that it is now called before
5141 the blocking exchanges to avoid computing halos in GCHEM_FORCING_SEP
5142 - introduced a useGCHEM runtime flag and applied it everywhere.
5143 - renamed PTRACERS_SEPARATE_FORCING to GCHEM_SEPARATE_FORCING;
5144 this flag is now only visible within GCHEM-pkg routines.
5145 - moved gchem_forcing_int temporarily into ptracers_forcing, this will
5146 be replaced by a 3D array that is computed before thermodynamics; for
5147 this, the tracer ID iTracer had to be included into the parameter list
5148 of ptracers_forcing
5149 - set up forward_step to call gchem_forcing, that will replace
5150 gchem_forcing_int in ptracers_forcing
5151 - cleaning up
5152 o small cleaning of exch2: remove files that are also in eesupp/src
5153
5154 checkpoint56 (2004/11/17)
5155 o AIM: read land-Fraction earlier (from ini-fixed) and monitor land at nIter0
5156 o mnc: cleanup "full" files--fixes out-of-memory problem
5157 o ECCO-GODAE
5158 * model/, pkg/, code/, input/ now complete w.r.t. ECCO-GODAE production setup
5159 * fully merged and updated from SIO code
5160 windstress sign change affects
5161 - exf_inscal_[u/v]stress
5162 - sign of xx_tau[u/v] adjustments
5163 - signs in cost_scat
5164 * ctrl_get_gen: avoid update of tau[u/v] for first few days
5165 * natl_box_adjoint updated and compressed
5166 * 2-level checkpoint switch added
5167 (tested in EXP. 1 of natl_box_adjoint)
5168 * new switch doInitXX to avoid init. of xx_... in optimcycle=0
5169 o SVD
5170 * first complete, non-hacked version for SVD calculations
5171 * all interfaces clean w.r.t to handling of xx_..., adxx_..., g_xx_...
5172 performed via direct access files admtlm_vector.it????
5173 (via ctrl_[un]pack)
5174 * optimcycle is used for ARPACK iteration counter
5175 (note: adxx_... is iterated, rather than xx_...; latter is constant!)
5176 * EV problem ok w.r.t. L2-norm in tangent space; need to check other norms
5177 and add linear transforms where necessary
5178 * controls are initial/final SST, SSS (can be extended; need to check
5179 ctrl_set_[un]pack_xyz.F according to ctrl_set_[un]pack_xy.F
5180 o mdsio: filename info to both stderr, stdout
5181 o exf: exf_inscal_runoff: separated default conversion [m/year] -> [m/sec]
5182 from sign change
5183
5184 checkpoint55j_post (2004/11/10)
5185 o isolate dissipation tendency (allow to keep it out off AB) in V.I form.
5186 affects (truncation level) output.txt of global_ocean.cs32x15(&.thsice)
5187 o add consistent build directories and .cvsignore files to verification
5188 o added viscA4GridMin and viscA4GridMax for more control on biharmonic viscosity
5189 o make all subroutines 30 or less characters in length for certain older
5190 compilers to work (a thorough search only turns up two routines in
5191 pkg/ptracers)
5192 o allow (vecinv only) a different horiz. viscosity for Divergence and Vorticity;
5193 affects (truncation level) output.txt of global_ocean.cs32x15(&.thsice)
5194
5195 checkpoint55i_post (2004/10/28)
5196 o change arrays for total vertical diffusivity (2.D if explicit,
5197 3.D if implicit) ; each ptracer uses its own background value.
5198 o added mnc/NetCDF output capability to ocn_compon_interf
5199 - added bits to verification/cpl_aim+ocn so that it can run on
5200 ITRDA and other clusters without the mpirun "-wd" option
5201 o fixed wayward endif in mom_fluxform.F that messed up cyclindrical
5202 configuration
5203 o give MNC the ability to create additional files rather than
5204 exceeding a specified file size limit "MNC_MAX_FILESIZE"
5205 - the default is just less than 2GB which is a practical limit
5206 on many systems
5207 o Compute the non-local term using either KPP vertical diffusivity (=default)
5208 or the total vertical diffusivity (when KPP_ghatUseTotalDiffus=T)
5209
5210 checkpoint55h_post (2004/10/20)
5211 o add verification test "vermix"
5212 o remove all the *_ioinc flags and replace with the single global
5213 outputTypesInclusive flag
5214 o allow to set a vertical profile of vertical diffusivity for T & S
5215 o call PACKAGE_BOOT & PACKAGES_READPARMS just after INI_PARMS
5216 o useMNC moved from data.mnc to data.pkg
5217
5218 checkpoint55g_post (2004/10/14)
5219 o Renaming carbon AD experiments to comply with testreport conventions
5220 o Updating adjoint of Held-Suarez hs94.1x64x5
5221 o Fixing directives for non-ECCO forward_step, after ECCO directives
5222 have been fixed to avoid recomp. of do_oceanic_phys
5223 Works well for global_ocean.90x40x15,
5224 but recomp. issue remains for carbon
5225 o Updating adjoint output for natl_box_adjoint after
5226 pkg/ecco has been modified (see taga c55d_post)
5227
5228 checkpoint55f_post (2004/10/13)
5229 o rename to timeave_init_fixed
5230
5231 checkpoint55e_post (2004/10/13)
5232 o some delicate re-shuffle of store directives to avoid one
5233 extra call of do_oceanic_physics
5234 affects ecco_the_main_loop.F, do_oceanic_physics.F
5235 checkpoint_lev1_directives.h
5236 o NB: this may break global_ocean adjoint temporarily,
5237 but it is clear how to fix it. Will do later, need this now.
5238
5239 checkpoint55d_post (2004/10/11)
5240 o ECCO specific cost function terms (up-to-date with 1x1 runs)
5241 o ecco_cost_weights is modified to 1x1 runs
5242 o modifs to allow observations to be read in as
5243 single file or yearly files
5244 o enable to read exf forcing fields as either
5245 single file or yearly files (flag useExfYearlyFields)
5246 checkpoint55d_pre (2004/10/08)
5247
5248 o switch between 2-level and 3-level checkpointing
5249 o add ability of MNC to write local and "partial" (eg. 2D slices where
5250 the full 3D field is never actually stored) arrays to NetCDF files
5251 with the correct (that is, the complete multi-dimensional) set of
5252 array indicies
5253 - used in mom_vecinv() to write the diagFreq output
5254 - tested (demonstrated) in verification/aim.5l_cs
5255 o further mnc-ification
5256 - add verification/lab_sea to the list with mnc setups
5257 - fix undefined mnc v-names in cd_code
5258 - add kpp to mnc output (both snapshot and timeave)
5259 o non-hydrostatic code
5260 - added horizontal viscosity parameter viscAhW for w, that replaces viscAh
5261 in calc_gw.F
5262 - defaults to viscAh
5263 - this is useful, when I want to use viscAh=0 (e.g., only biharmonic
5264 friction or Leith) in non-hydrostatic mode, as long as there is
5265 no biharmonic friction and/or Leigth or equivalent for vertical velocity.
5266 o pkg/cost
5267 extend simple cost functions to treat time mean quantities
5268 (T,U,V) via cost_accumulate_state from cost_tile
5269 o multidimAdvection on CS-grid: implement the full 3 pass ; overlap needs to
5270 be 2 times larger than the minimum size the advection scheme requires.
5271 now get a perfect conservation of salt in advect_cs test-exp (updated)
5272 o GGL90 (Gaspar's TKE mixed layer)
5273 - add horizontal diffusion of TKE, requires exchanges in
5274 do_fields_blocking_exchanges, horizontal diffusivity is zero by
5275 default. In OPA there is no horizontal diffusion of TKE but the
5276 mixing coefficients are computed from a horizontal average of TKE of
5277 6 points or so. I think that diffusion has a little more physical
5278 justification.
5279 - clean up ggl90_calc in the hope of reducing memory usage (this hope
5280 was in vain)
5281 - mask tke-variable in ggl90_init
5282 o fix mask Pb in multidimAdvection on CS-grid (still a small Pb with ipass)
5283 o fix biharmonic diffusion on CS-grid.
5284 o more obcs stuff
5285 - added obcs_external_fields_load as an alternative to the EXF-pkg option
5286 for reading boundary values. This routine is called from
5287 obcs_prescribe_read
5288 - updated obcs_check
5289 - changed sponge layer relaxation parameter units for days to seconds
5290 - turned off sponge layer by default
5291 - changed argument list of OBCS_CALC to myTime+deltaTclock
5292 - fixed about 35 bugs in obcs_external_fields_load
5293
5294 checkpoint55c_post (2004/09/23)
5295 o obcs stuff
5296 - new runtime flags useOBCSprescribe, useOBCSbalance
5297 - re-arranged obcs_calc
5298 - moved exf_getobcs to obcs_prescibe_read
5299 obcs_prescibe_read is called after ORLANSKI stuff
5300 and independent of it (executable can contain all).
5301 - updated obcs_check
5302 - added exchanges for U,V,gU,gV for useOBCSprescribe=.TRUE.
5303 These may be necessary only if tangential velocities are
5304 prescribed at OB, not sure, needs testing.
5305 o make the MNC_CW_ADD_VATTR_* subroutines all take scalar arguments
5306 which simplifies the calls and passes the ifc check-bounds test
5307
5308 checkpoint55b_post (2004/09/22)
5309 o add a 2D scalar, Z location, exchange_2 routine.
5310 o EXCH_UV for CS-grid: add one u,v in the corner-halo region, allows
5311 to compute vorticity on a wider stencil [e.g., vort3(0,1)&(1,0)]
5312 affects advect_cs results (for the wrong reason): update output.txt
5313 o use a more standard discretization for biharmonic viscosity ;
5314 (original version still available with #define MOM_VI_ORIGINAL_VISCA4 )
5315 affects results of dome set-up: update output.txt
5316 o fix gad_advection.F (CubedSphere part), back to version 1.23
5317 o fix bug in mom_vi_del2uv.F (CubedSphere part).
5318
5319 checkpoint55a_post (2004/09/20)
5320 o merged code to
5321 * prescribe/read time-dependent open boundaries
5322 (works in conjunction with exf, cal)
5323 * sponge layer code for open boundaries
5324 * each boundary N/S/E/W now has its own CPP option
5325 (healthy for the adjoint)
5326
5327 checkpoint55 (2004/09/17)
5328 o up-to-date adjoint of previous breaks
5329 - natl_box_adjoint: problem for exp 12, 13: cost = 0. needs fix
5330 - global_ocean_ebm: adjoint still needs fix (TLM ok)
5331 - global_ocean.90x40x15: extended GMREDI_OPTIONS.h
5332 - carbon: * remove tr1-related adjoint verification
5333 * add ptracer as control variable
5334 o remove all tr1-related code (ALLOW_PASSIVE_TRACER)
5335 (adjoint stuff still has some tr1 'names', but all use ptracer arrays)
5336
5337 checkpoint54f_post (2004/09/16)
5338 o in verification/carbin/ remove experiment related to
5339 ALLOW_PASSIVE_TRACER (array tr1 etc)
5340 code_ad/ input_ad/ results_ad
5341
5342 o add two new packages
5343 - ggl90, TKE-model of Gaspar et al. (1990), Blanke+Delecluse (1993)
5344 + subject to optimization (memory)
5345 - opps, OPPS (ocean penetrative plume scheme) of Paluszkiewicz+Romea (1997)
5346 + subject to reordering (many GOTOs in the original code)
5347 + so far opps is called for every (i,j) point, and then operates in
5348 the vertical; one may want to reorder the scheme in order operate in
5349 horizontal slabs at the cost of (a lot of) memory, at least ten new 3D
5350 fields)
5351 o overhaul of IO so that we now have flags for MDSIO and/or MNC
5352 - all verification tests compile and run with linux_ia32_g77
5353 - defaults are compatible with current input files--nothing
5354 should change if you were not previously using MNC
5355 - MNC output has been added in numerous places (eg. timeave)
5356 but there are still a few writes not yet do-able with MNC
5357 (this is in progress)
5358 - flags now allow for either/or/both use of MDSIO and MNC and
5359 documentation will soon follow
5360 - numerous small formatting cleanups for ProTeX
5361 o add version info (via BUILD_INFO.h) to MNC and stdout
5362
5363 checkpoint54e_post (2004/09/02)
5364 o add two new packages
5365 - pp81 (Packanowski and Philander, 1981), Richardson number and
5366 stratification dependent mixing
5367 - my82 (Mellor and Yamada, 1982) level 2 turbulence closure scheme
5368 - these scheme operate in a similar manner as KPP (without ghat, of
5369 course), however there is only one diffusivity that is used for both
5370 temperature and salinity (and passive tracers)
5371 o add offline package
5372 o add "verification/dic_example" which contains a dic-gchem-ptracer setup
5373 provided by Stephanie Dutkiewicz
5374 o genmake2: add ability to search for C compilers and cleanup test output
5375 - fixes recent SX-6 problems and should help with others (eg. HP-UX)
5376
5377 checkpoint54d_post (2004/07/27)
5378 o data.diagnostics: if levels() is unspecified then ALL levels are diagnosed
5379 o bug fix in pkg/cal/cal_addtime.F for TheCalendar='model' day count is wrong,
5380 leading to additional shift by 5 days each year of integration
5381 (i.e. leading to considerable offset over the years)
5382 o update global_ocean.cs32x15/thsice: use z* + RealFW + staggerTimeStep
5383 o start with no AB and no initial filtering (staggerTimeStep):
5384 change the results of test-exp: hs94.128x64x5, hs94.1x64x5 & hs94.cs-32x32x5
5385 o move ocean specific S/R calls from forward_step.F to do_oceanic_phys.F
5386 (external loading & cpl import/export stay in forward_step.F)
5387 o update coupling interface to work with new staggerTimeStep
5388 o change MDSIO ptracers_pickup.
5389 o fix a bug in Flux deriv. vs Ts (pkg/aim_v23/phy_suflux_sice.F);
5390 o genmake2 fixes so netcdf now works on halem ("osf1_alpha_*")
5391 o bugs fixed in kpp_calc.F (ustarY) and external_forcing.F (Qsw & Partial-cell)
5392
5393 checkpoint54c_post (2004/07/18)
5394 o replace surfaceTendency U,V,S,T,Tice,Ptr by surfaceForcing U,V,S,T,Tice,Ptr
5395 this affects (truncation error) output.txt of test-exp:
5396 global_ocean_ebm,_pressure,.cs32x15(&.thsice), lab_sea & natl_box
5397 o pkg/kpp: replace pMask by maskC to reduce memory size (one 3.D array)
5398 o change Qnet to always be the net heat flux, (+upward).
5399 affects (truncation error) output of natl_box exp.: updated
5400 o define the max number of passive tracers in PTRACERS_SIZE.h
5401 o start to test mnc routinely in exp0
5402 o add sea-ice loading (sIceLoad) as a new forcing field.
5403
5404 checkpoint54b_post (2004/07/08)
5405 o add testreport "-j JOBS" option for parallel builds (tested and pretty
5406 impressive on Altix and Opteron systems)
5407 o diagnostics can now write NetCDF files through the mnc package
5408 o staggerTimeStep & NLFS: update pkg aim_v23 & thsice; update aim.5l_cs output
5409 o staggerTimeStep & multi-Dim-Advec: Exch(U,V) added
5410 o staggerTimeStep & NLFS: rescale T & S surface tendencies.
5411 affects (truncation error) output of lab_sea & natl_box exp.: updated
5412 o change pickup _cd & _ptracers (old pickup restart: usePickupBeforeC54=.T.)
5413
5414 checkpoint54a_post (2004/07/06)
5415 o re-write staggerTimeStep: step fwd U,V and then T,S (reverse the order).
5416 o change pickup file (to restart from old pickup, set usePickupBeforeC54=.T.)
5417 o get a perfect restart when using RealFreshWaterFlux + NLFS (not finished)
5418 o update output of all exp. that use staggerTimeStep (except hs94.cs & 2D)
5419 + internal_wave (shift in writing cg2d_ini_res)
5420 checkpoint54a_pre (2004/07/05)
5421
5422 o require forcing_In_AB=.FALSE. and remove surfaceTendencyTice from pkg/seaice
5423 - modified verification/lab_sea and natl_box_adjoint accordingly
5424
5425 checkpoint54 (2004/07/02)
5426 checkpoint53g_post (2004/07/02)
5427 o prepare splitting of thermodynamics: store convect.counter in common block
5428 o store d.etaH/dt (instead of Div.hV) in common ; affects (truncation error)
5429 output of: global_ocean.cs32x15, global_ocean_pressure & internal_wave
5430 o cnh's modifs to gad_advection.F for cube-sphere multi-dim advection
5431 o new parameter "nShapS": allow to treat differently S from T (nShapT)
5432 o separate Vert.Advec.Scheme from horizontal Advec.Scheme (T & S)
5433 o restore adjointability
5434
5435 checkpoint53f_post (2004/06/25)
5436 o modifications that affect AIM experiment results (update output.txt):
5437 - no advection of S at top interface Nr (pkg/generic_advdiff)
5438 - air surf. temp: use lower value between T0 & T1 (phy_suflux_prep.F)
5439 o AIM pkg:
5440 - include stability function into surf.Flux derivative relative to Tsurf
5441 - calculate clear-sky radiation & surface temp. change (for diagnostics)
5442
5443 checkpoint53e_post
5444 o merged cylindrical coord configuration
5445 o added rotating_tank experiment
5446 checkpoint53e_pre
5447
5448 checkpoint53d_post (2004/06/14)
5449 o faulks upgraded: re-generate output.txt that have changed:
5450 global_ocean.cs32x15(.thsice), global_ocean_ebm, lab_sea, natl_box
5451 o Added Bryan and Lewis, 1979, vertical diffusivity profile
5452 o pkg/land: fix problem in land_impl_temp.F when Ts arround freezing.
5453 o added Sadourny discretization of Coriolis
5454 - moved some PARAMETERS from mom_*_coriolis.F to PARAMS.h
5455 - re-enabled use of omega3 (useAbsVorticity)
5456 o added Leith (Phys. Fluids, 1968, 10, 1409-1416) variable viscosity for
5457 vector-invariant equations
5458 - note: does *NOT* yet use same variable visc. for no-slip BC's.
5459 o recoded the lateral boundary conditions for non-hydrostatic w, this time
5460 hopefully without new bugs
5461 - still to do: biharmonic friction for non-hydrostatic w
5462 o bug fix for mom_*_sidedrag: rA -> rAs,rAw
5463 o regenerated output for global_ocean_ebm (using -ieee)
5464 o fix mom_common/mom_*_sidedrag.F to recover numeric output prior to creation
5465 of mom_common/
5466 - simple re-arrangement of instructions within computing loop
5467 checkpoint53d_pre (2004/05/21)
5468
5469 checkpoint53c_post (2004/05/21)
5470 o new version of coupler for AIM+thSIce and Ocean models
5471 - new fields (SSS,h_MixLayer ...) are exchanged through the coupler
5472 - land: change Evaporation of snow
5473 - aim with thSIce: fix bug in snow-precip.
5474 o changes to calc_gw.F
5475 - bug fix for w^2 term near the bottom boundary
5476 - (hopefully) improve the lateral slip boundary condtions for use with
5477 partial/looped cells
5478 - because the bug fix changes two verification experiments anyway (exp5
5479 and plume on slope), change the lateral boundary condition from half slip
5480 to the value of no_slip_sides
5481 o ebm package wasnt quite up to the parallel task. Fixed that.
5482 o Adjoint of EBM package + verification
5483 * TLM OK
5484 * ADM not sufficient accuracy yet (needs further testing)
5485
5486 checkpoint53b_post (2004/05/14)
5487 o Commiting new energy balance model to repository
5488 * package is pkg/ebm
5489 * verif. is verification/global_ocean_ebm
5490 * references are in ebm_driver.F
5491 C * X. Wang, P. Stone and J. Marotzke, 1999:
5492 C Global thermohaline circulation. Part I:
5493 C Sensitivity to atmospheric moisture transport.
5494 C J. Climate 12(1), 71-82
5495 C * X. Wang, P. Stone and J. Marotzke, 1999:
5496 C Global thermohaline circulation. Part II:
5497 C Sensitivity with interactive transport.
5498 C J. Climate 12(1), 83-91
5499 C * M. Nakamura, P. Stone and J. Marotzke, 1994:
5500 C Destabilization of the thermohaline circulation
5501 C by atmospheric eddy transports.
5502 C J. Climate 7(12), 1870-1882
5503 o Will need long integration testing.
5504 checkpoint53b_pre (2004/05/14)
5505
5506 o created pkg/mom_common in preparation for variable viscosity code
5507 o renamed and split ini_mnc_io
5508 o pkg/land: only liquid water can diffuse or run-off
5509 o AIM using land: soil wetness availability account for snow
5510 o added printMapIncludesZeros to EEPARMS namelist
5511
5512 checkpoint53a_post (2004/05/11)
5513 o restore TAMC compatiility for exf_constants.h
5514 (no usage of _d in .h)
5515 o Additional storing in KPP in an attempt to fix
5516 TAMC problem with adjoint of KPP code.
5517 (no success...)
5518 Identical code works fine with TAF.
5519 o Fixed verification/natl_box_adjoint experiments.
5520 Initial conditions for Experiments 4 and 5 are now
5521 set to "SEAICE_initialHEFF=0", which is more reasonable,
5522 and hence gives results closer to that of Experiment 2.
5523 Experiment 6 requires "SEAICE_initialHEFF=1" and is working once again.
5524
5525 checkpoint53 (2004/05/06)
5526 o stable checkpoint with up to date adjoint
5527 TLM tests only run for 1st grdchk at the moment. Its unclear if
5528 this is a code problem or a problem with resetting code for g_
5529 variables that is being autogenerated wrong.
5530 Otherwise:
5531 o code is testing well on Linux (P4 and AMD), SGI Alitix and Irix.
5532 o IBM and HPQ tests could not be run because NCAR (IBM) and NCCS (HPQ)
5533 are both still in chaos following their security messes.
5534
5535 checkpoint52n_post (2004/05/06)
5536 o various build (mostly genmake2) changes including:
5537 - ability to build/run more easily within Cygwin and MacOS X
5538 - more complicated Makefiles with a stronger dependence on Gnu Make
5539 o pkg/seaice modifications
5540 - added SEAICE_deltaTtherm and SEAICE_deltaTdyn in order to reduce cost
5541 of pkg/seaice. For time being, SEAICE_deltaTtherm = deltaTtracer
5542 and SEAICE_deltaTdyn must be integer multiple of SEAICE_deltaTtherm
5543 - changed proxy for geostrophic velocity and updated
5544 verification/lab_sea/results/* accordingly
5545 - removed ADI dynamic solver from pkg/seaice
5546 - replaced all occurrences of 1/CSTICE or 1/CSUICE
5547 they caused a segmentation fault under certain circumstances
5548 - removed unused field WATR
5549 o bug fix in exf-package:
5550 - u/vwind are defined at tracer/pressure points. The values of u/vwindmask
5551 now reflect that.
5552 o small fixes in the cal-package:
5553 - set reference date to first of January for the 'model'-calendar
5554 - failing of cal_CheckDate in cal_FullDate now actually results in a
5555 warning
5556 o small modifications in exf-package to increase flexibility:
5557 - change climtempfreeze from a constant to a runtime parameter that
5558 is specified in data.exf_clim (default = -1.9)
5559 - introduce runtime parameter windstressmax (default = 2.0) that is
5560 specified in data.exf
5561 o fix in pkg/thsice:
5562 - update Evap (Tsf changes) to be consistent with Latent heat flux
5563 - maintain snow precipitation unchanged (even if Tsf >=0).
5564 both affect global_ocean.cs32x15/(.thsice) results ; update output.txt.thsice
5565
5566 checkpoint52m_post (2004/04/18)
5567 o commented out call to cal_GetMonthsRec in swfrac.F and added some comments;
5568 this does not change any of the results, because myIter=0 in swfrac always
5569 lead to jwtype=2 (the default anyway), but the call makes little sense
5570 as a default
5571 o no SHORTWAVE HEATING lost at the bottom; affects lab_sea output; updated
5572 o re-work pkg/thsice interface with ocean & bulk_force pkg to allow
5573 atmospheric model (AIM) to use it ; add a "slab ocean" component.
5574 o pkg/aim_v23 : add interface to call thermodynamic sea-ice (thsice)
5575 o update global_ocean.cs32x15/output (.thsice) after changes in pkg/thsice
5576 o extending useSingleCpuIO option to work with new exch2 I/O format
5577 - old-style, missing-tile I/O is still accessible by defining CPP
5578 option MISSING_TILE_IO in pkg/mdsio/MDSIO_OPTIONS.h
5579 o monitor package can write to NetCDF files and/or STDOUT
5580 o fix re-definition bug in MNC_GRID_INIT_ALL()
5581 o doc/api_reference added
5582 - a framework for building an API Reference Manual using all
5583 the "protex" comments embedded in the code
5584 - see pkg/generic_advdiff, pkg/mnc for examples
5585 o MNC:
5586 - make myThid the last argument for all subroutines
5587 - new default for the grid files: NO halos
5588 - add useMNC and other run-time flags
5589 - separate per-file-group handling of the unlimited dimension
5590 - early initialization of MNC w/ flags read at the eeboot stage
5591 and lookup tables set in initialize_fixed
5592 - write all MNC output to a freshly-created directory
5593 o thermodynamics sea-ice (thsice) is now tested with testreport.
5594 o test exp. advect_cs: use the standard cs32 grid ; update output.
5595 o Added functionality to grdchk:
5596 pick global i,j,k position (or nearest wet) where to perform check.
5597
5598 checkpoint52l_post (2004/03/11)
5599 o new land formulation:
5600 a) use ground enthalpy as prognostic variable to ensure exact
5601 energy conservation.
5602 b) account for water temperature and for latent heat of freezing
5603 in all processes (rain, run-off, ground storage)
5604 c) compute surface and ground temperature implicitly.
5605 o aim_v23 modification for new land model:
5606 a) Treat separately land / ocean / sea-ice surface fluxes
5607 to allow implicit computation of land & sea-ice surface temp.
5608 b) add snow precipitation.
5609 checkpoint52l_pre (2004/03/11)
5610
5611 o fix problem (when 1 tile is empty) in min/max monitor.
5612 o fix bug in timeAve (u,vZetatave in common block)
5613 o no restoring terms under ice for pkg/seaice
5614 o moved SEAICE_DO_DIAGS to S/R do_the_model_io
5615 o bug fix for pkg/seaice pickups
5616 o change MNC call locations and add coordinate attributes
5617 o mask vorticity at the corner ; affects global_ocean.cs output
5618 o fix ini_curvilinear_grid ; test CS experiments with mpi
5619 o aim.5l_cs: modify sea-ice fraction input file ; update output
5620 o exf: Adding simple range check routine for exf fields after read
5621
5622 checkpoint52k_post (2004/02/23)
5623 o removed top-level directory "diags"
5624 - we migrated these functions to pkg/timeave a long time ago
5625 o fixed bug introduced in pkg/monitor
5626 o accuracy ctrlprec = 32 insuffient for gradient checks using
5627 averaged fields (I/O via cost_averages)
5628 -> use ctrl.h in active_file*.F to control I/O precision.
5629 o paramter list of CALL ADTHE_MAIN_LOOP
5630 o added initial do_the_model_io to ecco
5631 o set all ...Freq to zero after cost_final
5632 taveFreq, dumpFreq, pChkptFreq
5633 o MAIN and ECCO differentiability restored
5634
5635 checkpoint52j_post (2004/02/18)
5636 o fix nchklev in tamc.h for global_ocean...
5637 o Bringing flow and store directives up-to-date
5638 o Really weird thing!
5639 call do_the_model_io from the_main_loop with parameters
5640 starttime, niter0, instead of mytime, myiter, screws up the adjoint:
5641 TAF places a faulty re-call of initialise_varia
5642 after cost_final call which should not be there!
5643 checkpoint52j_pre (2004/02/03)
5644
5645 o tweaked pkg/mdsio/mdsio_readfield.F to have more useful logic and
5646 error messages
5647 o fix errorMessageUnit problem. remove old version of mdsio from eesup/src
5648 o modified pkg/mdsio/mdsio_readfield.F -- commented out diskspace-eating
5649 debug output
5650 o modfied mdsio_writefield.F to handle non-global files under exch2
5651 o update AIM Cubed-Sphere exp (aim.5l_cs):
5652 use land, p*, and Franco.M forcing fields with fractional land-sea mask.
5653 o update AIM Equatorial Channel exp:
5654 use standard aim_v23 pkg and change the SST fields to be more realistic.
5655 o globalFile now works with exch2
5656 o merged mom_vi_calc_relvort3.F, mom_vi_del2uv.F and
5657 mon_vort3.F to make exch2 friendly with >1 tile per cube face
5658 o limit timeave output for hi-res integrations
5659
5660 checkpoint52i_post (2004/01/21)
5661 o removed CPP_EEOPTIONS.h from verification/*/code
5662 o updated the tiling for global_ocean_pressure
5663 checkpoint52i_pre (2004/01/20)
5664
5665 o update aim.5l_LatLon using the standard aim_v23 pkg (instead of
5666 the old pkg/aim).
5667
5668 checkpoint52h_pre (2004/01/20)
5669 o shortened offending lines in exch2_send_rx?.template
5670 o modified W2_EXCH2_TOPOLOGY.h to reflect current topology generator
5671 o genmake2: add build & execute test for NetCDF code
5672 o modded aim.5l_cs and global_ocean.cs32x15 to use exch2, removed
5673 old grid files, moved CPP_EEMACROS.h to pkg/exch2
5674 o added useSingleCPUIO flag to monitor.F and mon_out.F
5675 o added temporary hack for sea-ice dynamics on the cube:
5676 metric terms are ignored and it is assumed that
5677 there is no sea-ice on cube faces 1, 2, 4, and 5.
5678
5679 checkpoint52f_post (2004/01/09)
5680 o added exch2 cube routines to pkg/exch2
5681 o modified hs94.cs-32x32x5 to use it
5682 o added new grid files to hs94.cs-32x32x5
5683 checkpoint52f_pre (2004/01/07)
5684
5685 checkpoint52e_post (2004/01/07)
5686 o first attempt to solve vertical advection (momemtum & T,S) Implicitly
5687 for now, only implemented with Lax-Wendroff (tracer) and VectInv (mom)
5688 o step.1 : rewrite (as in MultiDimAdvec) explicit tracer stepping (gad_calc_rhs.F)
5689 to work with implicit vertical advection and AB ;
5690 o Implic. vert. advect. implemented with flux-limiter, c2, u3 and c4 scheme.
5691 o update output (gad_calc_rhs.F changes affect truncation error) of exp:
5692 front_relax, global_ocean .cs32x15 & _pressure, internal_wave, lab_sea, natl_box
5693 checkpoint52e_pre (2004/01/02)
5694
5695 o fix bug in impldiff when Nr=1 or Nr=2.
5696 o change the albedo in pkg/thsice (as GISS model); update output_thsice.txt
5697 o little changes (fftpack, aim/phy_suflux ...) to pass the "checkbounds" test.
5698 o fix deltaTfreesurf in update_cg2d.F (left from c45d_post): affects 2
5699 ocean exp. that use NLFS: global_ocean.cs32x15 & global_ocean_pressure
5700 o added exf_offset_atemp for Celsius to Kelvin conversion of atemp
5701 o eesupp/inc/EEPARAMS.h: MAX_NO_PROCS=1024
5702 o pkg/cal/cal_toseconds.F fix for long (>60 years) integrations
5703
5704 checkpoint52d_post (2003/12/16)
5705 o re-tiled many expts to allow comparison in multi-processor mode
5706 - updated output accordingly
5707 - changed hs94.128x64x5 to use intial T from file rather than use the
5708 random number generator
5709 o add infrastructure in model routines for fizhi and gridalt packages
5710 o change global_ocean.cs32x15 because of Pb with GM on CS-grid.
5711 o changes to permit hi-res, cubed-sphere, configuration
5712 - added useSingleCpuIO capability to mdsio_readfield.F and exf_interp.F
5713 - added "#undef ALLOW_USE_MPI" support to eesupp/src/scatter_2d.F
5714 - added pkg/exf/exf_set_uv.F for on-the-fly interpolation and rotation
5715 of surface winds for the cube
5716 (A verification experiment, based on global_ocean.cs32x15, but with
5717 pkg/seaice turned on and with on-the-fly interpolation from the NCEP
5718 Gaussian grid is described in MITgcm_contrib/high_res_cube/README_ice,
5719 complete with example surface forcing files and matlab scripts to look
5720 at the output and compare it with that of global_ocean.cs32x15.)
5721 o packages pickup: $PKG_write_pickup called from packages_write_pickup ;
5722 but call to $PKG_read_pickup remains in $PKG_ini_vars: change CD_code
5723 to conform to the common rule.
5724 o check-in the first version of the coupler + interfaces for multi-components
5725 set-up (Chris's version, adapted to work on cubed-sphere grid); use MPI.
5726 - imply modification in eesupp (MPI_COMM_MODEL < MPI_COMM_WORLD).
5727 - atmosphere: use pkg aim_v23 ; no sea-ice for now.
5728 - ocean and atmos. share the same horizontal grid (no interpolation).
5729 - exchanges between component and coupler is done in forward_step
5730 o new verification experiment, cpl_aim+ocn:
5731 coupled ocean - AIM atmosphere on cs32 grid.
5732
5733 checkpoint52d_pre (2003/12/06)
5734 o surface flux time-av diagnostic modified for NLFS & RealFreshWater
5735 o add call to AIM pendant S/R in external_forcing & external_fields_load.F
5736
5737 checkpoint52c_post (2003/11/25)
5738 o Fixing OPTIONS files for use of exf:
5739 - ALLOW_ECCO not needed
5740 - ECCO_CPPOPTIONS.h should not be included from
5741 EXF_OPTIONS.h/CAL_OPTIONS.h, but from CPP_OPTIONS.h
5742 as has been the case in the past
5743 - All cal/exf related options are currently set in
5744 single header file. Should remain so until we
5745 agree on a consistent new policy.
5746 o Removed all CPP options for cal package.
5747 cal has no more CPP options.
5748 o modified STOREs in GAD_ADVECTION
5749 o corrected key comp. for passkey
5750
5751 checkpoint52b_post (2003/11/23)
5752 o new version: "thsice" of thermodynamic sea-ice pkg:
5753 - only 1 call from "forward_step"; conserve energy, fresh-water & salt.
5754 - modify fluxes but do not change theta directly;
5755 - light cleaning of bulk_force pkg (still needed with thsice).
5756 - add forcing fields + data files in global_ocean.cs32x15/inp_thsice
5757 + output_thsice.txt to test thsice & bulk_force pkgs.
5758 o put back grid & coriolis monitor output.
5759 checkpoint52b_pre (2003/11/23)
5760
5761 o call "do_the_model_io" at the beginning (=> dump initial state)
5762 o use rhoConstFresh to define convertEmP2rUnit (was done only in ocean-P)
5763 o sort out interplay between tamc.h and PTRACERS_OPTIONS.h
5764 (need info on NUMBER_OF_PTRACERS)
5765 o missing PTRACERS headers in some routines
5766 o default tamc.h in pkg/autodiff supposed to crash
5767 to ensure proper customization
5768
5769 checkpoint52a_post (2003/11/17)
5770 o modifications to make FREEZE (_SURFACE) flux visible to pkg/kpp
5771 - moved surfaceTendencyTice from pkg/seaice to main code
5772 - subroutine FREEZE_SURFACE now limits only surface temperature
5773 and is called in FORWARD_STEP (if allowFreezing=.TRUE.)
5774 => new output.txt for global_ocean.cs32x15 & global_with_exf
5775 - keep the old version of FREEZE for backward compatibility;
5776 global_ocean.90x40x15 left unchanged using useOldFreezing=.TRUE.
5777 - corresponding modifs for TAF directives
5778 o added surface flux output variables to TIMEAVE_STATVARS
5779 o time-averaged output for pkg/ptracers
5780 o fix problem with ECCO-related divided adjoint
5781 snapshot file was missing some ad-variables,
5782 but no warning issued by TAF
5783
5784 checkpoint52a_pre (2003/11/12)
5785 o some bug fixes for #undef REAL4_IS_SLOW
5786
5787 checkpoint52 = ecco_c52_e35
5788 o after testing adjoints of checkpoint51u_post
5789
5790 checkpoint51u_post (2003/11/06)
5791 o this is the post-merge tag of the ecco-branch
5792 (needs another clean checkout and re-testing)
5793 o various natl_box_adjoint configs and results
5794 but no input fields
5795 o obcs adjoint not yet merged!
5796 o adding ECCO global 1x1 and 2x2 degree configs
5797 o updated/extended some store directives for seaice
5798 o pkg/ecco now containes ecco-specific part of cost function
5799 o top level routines the_main_loop, forward_step
5800 supersede those in model/src/
5801 previous input data.cost now in data.ecco
5802 (new namelist ecco_cost_nml)
5803 o in ctrl/ cleaned some cross-dependencies and updated CPP options
5804
5805 checkpoint51t_post (2003/11/04)
5806 o this is the pre-merge tag of the ecco-branch
5807
5808 checkpoint51s_post (2003/11/04)
5809 o cleanup: removed various obsolete #define-s
5810 o pkg/grdchk
5811 - renamed 'ph-grd 3' to 'grad-res'
5812 - merged from ecco-branch
5813 (remaining bug fixes for obcs gradient checks)
5814 - additional high-precision output for testreport
5815 (grep for 'precision_grdchk_result')
5816
5817 checkpoint51r_post (2003/11/03)
5818 o cleaned up or removed CPP_OPTIONS.h files
5819 o updated results for some of the tests to reflect the new
5820 optfiles (-ieee: -O0 instead of -O3)
5821
5822 checkpoint51q_post (2003/10/30)
5823 o cd_code:
5824 - moved cd_scheme.F -> cd_code_scheme.F
5825 - separate read_checkpoint from cd_code_ini_vars.F
5826 - separated cd_code part from write_checkpoint
5827 - updated AD_SOURCE, generated .flow
5828 - added CD_CODE_VARS.h to the_main_loop
5829 - Moving cd_code specific store dir.s to pkg/cd_code
5830 o ctrl package totally restructured
5831 - pack/unpack now optional and decoupled from
5832 xx_/adxx_ I/O
5833 - ctrl_pack/unpack cleaned
5834 (new routines ctrl_init_ctrlvar.F, pkg/ctrl/ctrl_init_wet.F)
5835 - confined inclusion of AD_CONFIG.h to where necessary.
5836 o genmake2: changed AD dependencies from SRCFILES to AD_FILES
5837
5838 checkpoint51p_post (2003/10/30)
5839 o create initial cd_code package
5840 - WARNING: the initialization of fields within packages
5841 is broken because INI_FIELDS (where READ_CHECKPOINT is
5842 called) is called *before* PACKAGES_INIT_VARIABLES.
5843 This seems to be backwards since
5844 1) its important to initially zero the entire field including
5845 the "halo" region
5846 2) zeroing needs to be done *before* reading pickup info
5847 and the pickup call might or might not happen in any
5848 particular run
5849 - this needs an overhaul for R2
5850 o cleanup verification/*/code/GMREDI_OPTIONS.h
5851 o cleanup testreport
5852
5853 checkpoint51o_post (2003/10/27)
5854 o bringing AD-related verif's up to date with genmake2
5855 - carbon/
5856 - global_ocean.90x40x15/
5857 - hs.94.1x64x5/
5858 - (front_relax/ )
5859 o (more) consistent directory structure for AD-related verif.'s
5860 o cleaning ALLOW_GRADIENT_CHECK -> ALLOW_GRDCHK
5861 o cleaning some ALLOW_TANGENTLINEAR_RUN -> ALLOW_AUTODIFF
5862 o bug fix in find_alpha.F for MDJWF:
5863 - modif. to alpha = 1/D*( dN/dT - rho*dD/Dt) to account for
5864 change rho -> rho-rhoConst
5865 - replace call find_rho to find_rhonum
5866 o initialisation of rFlx extended to full array (required by TAF)
5867 and shifted to thermodynamics
5868 o removed PTRACERS.h in ptracers routine
5869 o added surfacetendencyPtr to S/R parameter list pracers_forcing
5870 o Correcting initialisations for fVerU, fVerV.
5871 o helping TAF to recognize dependency on kUp for
5872 fVerU, fVerV
5873 o Replacing delZ by delR in pkg/ctrl/
5874 checkpoint51o_pre (2003/10/24)
5875
5876 o undid all of cp51 pending some cleanups and discussion
5877 o added the [#include "AD_CONFIG.h"] statement to all files that need
5878 it for adjoint/tl #defines
5879 o re-worked the build logic in genmake2 to support AD_CONFIG.h
5880 o removed tools/genmake since it no longer works
5881
5882 checkpoint51n_post (2003/10/23)
5883 o modifications to make FREEZE flux visible to pkg/kpp
5884 - moved surfaceTendencyTice from pkg/seaice to main code
5885 - FREEZE & EXTERNAL_FORCING_SURF moved to FORWARD_STEP
5886 - subroutine FREEZE now limits only surface temperature
5887 (this means new output.txt for global_ocean.90x40x15,
5888 global_ocean.cs32x15, and global_with_exf)
5889 o added surface flux output variables to TIMEAVE_STATVARS
5890
5891 checkpoint51n_pre (2003/10/23)
5892 o added "#undef ALLOW_USE_MPI" support to eesupp/src/gather_2d.F
5893 o added [#include "AD_CONFIG.h"] to all files that use the following
5894 defines:
5895 - ALLOW_ADJOINT_RUN
5896 - ALLOW_TANGENTLINEAR_RUN
5897 - ALLOW_ECCO_OPTIMIZATION
5898
5899 checkpoint51m_post (2003/10/21)
5900 o incorporating changes to get TAMC/TAF working in genmake2
5901 - added new TAMC/TAF targets to the Makefile
5902 - various cleanups related to package handling
5903 - these changes should have no impact on the forward model
5904
5905 checkpoint51l_post (2003/10/20)
5906 o changes to pkg/cal and pkg/exf that allow and speed-up long integrations
5907 - faster algorithm for cal_addtime.F
5908 - higher precision arithmetic, where needed
5909 - pkg/exf *startdate variables changed from calendar date to
5910 model integration time
5911
5912 checkpoint51l_pre (2003/10/17)
5913 o add salt flux to forcing fields (used when salty sea-ice forms or melts)
5914 o enable to apply restoring on S & T only in a latitude band.
5915 o update output (external_forcing_surf modif. change truncation errors)
5916 global_ocean.cs32x15, global_ocean_pressure, lab_sea, natl_box
5917
5918 checkpoint51k_post (2003/10/16)
5919 o change default to: useNHMTerms=.FALSE.
5920 - new output.txt for atmos. exp (NHMTerms were wrong but now turned off):
5921 adjustment.128x64x1, aim.5l_Eq_Ch, aim.5l_LatLon, hs94.128x64x5, hs94.1x64x5
5922 - new output.txt for idealized oceanic exp (NHMTerms are now turned off):
5923 exp1, ideal_2D_oce
5924 - change data file of oceanic exp (leave the results unchanged for now)
5925 exp2, global_ocean[90x40x15,pressure,with_exf], lab_sea, natl_box
5926 o set gravitySign automatically according to the vertical coordinate used
5927 (and change sign: back to "logical" value: +1 when R increases downward)
5928 o added an include barrier to the default CPP_OPTIONS.h and
5929 removed the #include "PACKAGES_CONFIG.h" from it
5930 o fix a bug in mom_fluxform (from chk51j_post)
5931
5932 checkpoint51j_post (2003/10/10)
5933 o Added some AD-related initialisations in mom_vecinv/ mom_fluxform/
5934 o adjusted some flow directives (dynamics, thermodynamics)
5935 o added cubed-sphere case to test cost function
5936 o heckpoint_lev?_directives.h now include
5937 pkg-specific directives, whenever those are enabled.
5938 o Moving pkg-specific flow directives to corresponding pkg
5939 Moving pkg-specific differentiation list to corresponding pkg
5940 Moving pkg-specific checkpoint-lev storing to corresponding pkg
5941 ---> conventions are
5942 - pkg_ad.flow
5943 - pkg_ad_diff.list
5944 - pkg_ad_check_lev?_dir.h
5945
5946 checkpoint51i_post (2003/10/09)
5947 o merge of the branch-genmake2
5948 - knowingly breaks the older genmake
5949 - automatic generation of all ALLOW_${PKG_NAME} defines
5950 - new testreport supersedes older testscript
5951 o large number of package inclusion and header cleanups
5952 checkpoint51i_pre (2003/10/08)
5953
5954 o new output for adjoin of global ocean vector invariant
5955 o fix for checkpoint of thermodynamic seaice and bulk_force
5956 o Steph gchem various cleanups
5957
5958 checkpoint 51h_pre
5959 o fixed some single quotes
5960 o modify gchem pkg to be more versatile
5961 o modifications to clean up dic pkg
5962 o add pkg/cfc
5963
5964 checkpoint51g_post (2003/10/02)
5965 o provide links for ARPACK and ADM*TLM
5966 o start removing verification/vero/
5967 o update AD-related stuff
5968 (in particular some IF-statements in model/src/ routines)
5969 o adding to verification/global_ocean.90x40x15/ adjoint of
5970 vector invariant setup
5971
5972 checkpoint51f_post (2003/10/02)
5973 o update advect_xz/output.txt (left from chekpoint50f_pre, ini_vel modif)
5974 o Mods and bug fixes to pkg/cal, pkg/exf, etc., needed for computation
5975 of tracer Green's fucntions for ocean inversion project.
5976
5977 checkpoint51f_pre (2003/08/07)
5978 o Added on-the-fly spatial interpolation capability
5979 "USE_EXF_INTERPOLATION" to pkg/exf.
5980 - This is a temporary Cartesian-grid hack until
5981 the super-duper ESMF coupler becomes available.
5982 - See verification/global_with_exf/README for usage example.
5983 - Removed obsolete EXFwindOnBgrid and SEAICEwindOnCgrid
5984 flags and modified pkg/seaice accordingly.
5985 o Bug fix to pkg/ptracers, pkg/generic_advdiff/gad_calc_rhs.F,
5986 and pkg/kpp/kpp_transport_ptr.F for dealing with tracer
5987 non-local transport term.
5988
5989 checkpoint51e_post (2003/08/03)
5990 o pkg/mom_vecinv:
5991 - changes related to hFac: use S/R from aim.5l_cs/code (coriolis & vort.advec)
5992 - add time-ave diagnostic of vorticity advection.
5993 o add diagnostic (instantaneous) of Shapiro Filter effect for T,S & UV.
5994 o atmospheric geopotential: - include water vapor effect;
5995 - use p^kappa in p* scaling.
5996 o land pkg: read initial state from files.
5997 o AIM : add stratospheric drag in the upper level
5998
5999 checkpoint51d_post (2003/07/18)
6000 o change function ILNBLNK (=> last non-blank char.) to return zero
6001 (instead of the string length) when the string. char is empty
6002 o fix bug in dxV,dyU definition of cubed-sphere grid (ini_curvilinear_grid)
6003 o modif's to restore TAMC compatibility
6004 - avoid "_d" constructs in PARAMETER declarations
6005 - avoid interrupting lines by comment lines
6006 o Use cluster local disks for purely local I/O
6007 vs. globally visible disks needed for ctrl stuff
6008 (merged from ecco-branch)
6009 - new active_file_loc... and mdsio_..._loc routines
6010 - affected packages: autodiff, ctrl, grdchk, mdsio
6011
6012 checkpoint51c_post (2003/07/08)
6013 o introducing integer flag debugLevel
6014 - debLevZero: suppress all output
6015 - debLevA: standard
6016 - debLevB: equivalent to current debugMode=.TRUE.
6017 o introducing pathname variable mdsioLocalDir for mdsio
6018 that can be specified at runtime
6019 (relevant for cluster I/O to local disk)
6020 `
6021 >>>checkpoint51b_post
6022 adjoint of ptracers
6023 o disentangled ALLOW_PTRACERS using new ALLOW_GCHEM
6024 o extended state in checkpoint_lev?, etc.
6025 o alternative ctrl/cost with tr1 or ptracer
6026 o new comlev1_bibj_ptracers
6027 o new ptracers.flow
6028 o made ptracers_forcing same as external_forcing_s
6029 o added verification for adjoint with ptracers
6030 - adm. grdchk fail so far
6031 - tlm. grdchk OK
6032 - checked tapelev/comlev recomputations: OK
6033 <<<checkpoint51b_pre
6034
6035 checkpoint51a_post (2003/06/25)
6036 o added code for biogeochemistry package
6037 - new pkgs: dic, gchem
6038 - new subroutine in ptracers
6039 o modify code for biogeo packages
6040 - in model/src and pkg/ptracers
6041
6042 checkpoint51 (2003/06/24)
6043 o merged improved packages from ecco-branch (ecco_c51_e34) to MAIN
6044 - autodiff, ctrl, exf, grdchk, seaice
6045 kept separate packages
6046 - cost, ecco, obcs
6047 o updating verification/internal_wave, verification/lab_sea
6048 (all verif's pass on faulks.lcs.mit.edu RH7.3, g77)
6049
6050 checkpoint50i_post (2003/06/23)
6051 o Preparing next differentiable checkpoint and sync
6052 of MAIN vs. ecco-branch
6053 - 1st step: this one is differentiable
6054 - 2nd step: next(! not this) checkpoint will have updated packages
6055 from ecco-branch)
6056
6057 checkpoint50h_post (2003/06/20)
6058 o new package "land": provide surface BC for AIM.
6059 o pkg/ptracers: apply exchange to all tracers after reading a pickup.
6060 o AIM: use true log-P extrapolation for near surface temp (= as in
6061 F.Molteni paper) ; update aim.5l_cs output.
6062 o New variable in PARM03 for more flexible pickups
6063 o somewhat cleaned package initialisation sequence for
6064 ctrl/ cost/ ecco/ in packages_... routines
6065
6066 checkpoint50g_post (2003/05/23)
6067 o merged with release1_p17 (pkg/seaice and verification/lab_sea)
6068 - added SEAICE_MULTILEVEL for 8-category sea-ice thermodynamics
6069 - LSR sea-ice dynamic solver moved to SouthWest B-grid location and
6070 made the default because of faster convergence than ADI
6071
6072 checkpoint50f_post (2003/05/23)
6073 o exf totally restructured
6074 - replaced all exf_set_ routines by one generic exf_set_gen.F
6075 and made sure it's still differentiable
6076 - split exf_getffields.F into new exf_bulkformulae.F
6077 - exf_inscal_/exf_outscal_ suffixes consistent with field names
6078 - updated adjoint/makefile and relevant verif. accordingly
6079
6080 checkpoint50f_pre (2003/05/23)
6081 o AIM: near surface temp evaluated from Pot.Temp: fixed for Part Cell ;
6082 + change Evap over land. (update aim.5l_cs output)
6083 o added missing .cvsignores and made uniform across expts
6084 o changed configuration of tidal_basin_2d expt
6085 o added pkg/debug functions for tracing code in fatal crashes
6086 o tidied pkg/monitor to use MONITOR_OPTIONS.h
6087 o new fn in pkg/monitor to stop model if solution grows too big
6088 o removed lots of single quotes from comments
6089
6090 checkpoint50e_post (2003/05/14)
6091 o make KPP work with PTRACERS
6092 - fix gad_calc_rhs to call new routine kpp_transport_ptr, which is
6093 nearly a copy of kpp_transport_s
6094 - there is no analogue to SurfaceTendencyS, so I have to use
6095 gPtr(of the surface layer) instead
6096 o add a new platform SunFire+mpi (SunFire 15000) to genmake
6097 checkpoint50e_pre (2003/05/13)
6098
6099 checkpoint50d_post (2003/05/13)
6100 o change kpp output from multiple-record state files to single-record state
6101 files analogous to write_state.F
6102 o reduce the output frequency of cg3d-related stuff to the monitor frequency,
6103 analogous to the cg2d-related output.
6104 o fix small problem with in ptracers_write_checkpoint.F: len(suff)=512,
6105 so that writing to internal file fn (with length 512) fails.
6106 checkpoint50d_pre (2003/05/12)
6107
6108 checkpoint50c_post (2003/05/12)
6109 o fix problem in ini_procs.F when using MPI (was there since checkpoint48f)
6110 o add monitor diagnostic of vorticity (mon_vort3.F) and potential energy.
6111 o add time-average diagnostic of U*V and vertical diffusive flux for theta.
6112 o bug fixed in convective adjustment diagnostic (multi-tile set-up).
6113 o 4th Order Adv scheme: return to previous (c40pre7) masking near boundaries.
6114
6115 checkpoint50c_pre (2003/04/30)
6116 Merging from release1_p13:
6117 o bug fix for pkg/seaice dynamic solver
6118 o Added SEAICE_initialHEFF to pkg/seaice
6119
6120 checkpoint50b_post (2003/04/17)
6121 o store u*,v* in gU,V instead of in guNm1,gvNm1
6122 o in order to put the momForcing out of the Adams-Bashforth:
6123 move forcing & CD-scheme calls from mom_fluxform & mom_vecinv
6124 to timestep.F
6125 o new flag "useCDscheme" (default=F); replace guCD,gvCD by local arrays
6126 o re-generate output for highly sensitive test-exp:
6127 global_ocean_pressure, ideal_2D_oce, lab_sea, natl_box
6128
6129 checkpoint50b_pre (2003/04/17)
6130 o restore the use of momAdvection & useCoriolis flags (mom_vecinv)
6131 o corrected CPP option mismatch in exf_Bulk... functions for case
6132 #define ALLOW_ATM_WIND && #undef ALLOW_ATM_TEMP
6133
6134 checkpoint50a_post (2003/03/21)
6135 o Bug fix for merging between c50 and KPP.
6136 ikey was passed from thermodynamics to kpp_calc via
6137 common block rather than being recomputed in kpp_calc,
6138 in contradiction with new key itdkey.
6139 New key ikppkey created, and tamc.h headers updated.
6140
6141 checkpoint50 (2003/03/08)
6142 - 2nd step of merge with ecco-branch:
6143 merge changes in ecco-branch back into main trunk
6144 - bug fix in find_alpha
6145 - more storing in gmredi_calc_tensor.F, kpp_routines.F
6146 - avoid iterative loop in ini_pressure for ALLOW_AUTODIFF_TAMC
6147 - merged some sliced AD support routines
6148
6149 checkpoint49 (2003/03/06)
6150 merged from ecco-branch:
6151 o exf:
6152 - Enable initialisation of forcing fields to constant
6153 (runtime) values.
6154 - in exf_getffields.F
6155 Reduce i-/j-loop to interior domain, discarding overlaps.
6156 That also fixes wrong TAF-key computations for key_1, key_2
6157 with bulf formulae.
6158 - exf_init.F modify #ifdef for exf_init_evap
6159 - exf_getffieldrec.F, ctrl_getrec.F
6160 The following INT-usages are not safe:
6161 fldsecs = int(fldsecs/fldperiod)*fldperiod
6162 fldcount = int(fldsecs/fldperiod) + 1
6163 and were modified.
6164 o autodiff: checkpoint_lev...
6165 - updated storing for bulk formulae (some arrays were missing)
6166 - added state for seaice package
6167 - synchronized with main branch
6168 o DIVA:
6169 Modif.s in
6170 - the_main_loop.F
6171 - the_model_main.F
6172 and added cost_final_restore.F cost_final_store.F
6173 o With these changes, it is possible to fully separate
6174 the first forward run to compute the cost function (mdthe_main_loop)
6175 and adjoint runs over individual DIVA intervals (adthe_main_loop)
6176 into separate model executions.
6177 This enables better tuning of DIVA to given queue sizes.
6178 o Loss of cost function value in consecutive DIVA runs is
6179 fixed by storing to 'costfinal' file.
6180 o Appropriate call of ctrl_unpack/_pack,grdchk_main at
6181 beginning/end of adjoint integration is accounted for.
6182 The current changes apply to TAF-1.4.26.
6183 TAF has one remaining bug, requiring one manual change
6184 (see MITgcm manual).
6185 o cal: synchronized between MAIN and ecco-branch
6186
6187 checkpoint48i_post (2003/03/05)
6188 o Changes to restore differentiability of code w.r.t. previous tag
6189 (mostly adding new routines to make list and replacing
6190 pressure by totPhiHyd).
6191 o Updated and merged grdchk package
6192 - has both ADM and TLM checks
6193 - works for single- and multi-proc.
6194 - output cleaned
6195 - worked successfully for parallel DIVA
6196 o genmake:
6197 - Adding -platform=SP4
6198 - Modif. for DEC Alpha (many don't have makedepend; use mkdep instead).
6199 o Modif. for DIVA:
6200 ctrl_unpack should not be called in intermediate DIVA interval.
6201 (similar thing would apply for active files such as
6202 tbar, sbar, psbar, which should not be reinitialised;
6203 only relevant for ecco-branch)
6204
6205 checkpoint48h_post (2003/02/28)
6206 o improve "ini_p_ground" when using finite difference form for calc_phi_hyd
6207 o Added net flux to downward flux conversion to pkg/exf/exf_getffields.F
6208 o Added SEAICE_initialHEFF to pkg/seaice
6209 o ecco_the_model_main.F: SEAICE_WRITE_PICKUP must precede WRITE_CHECKPOINT
6210
6211 checkpoint48g_post (2003/02/18)
6212 --- EOS:
6213 o compute locally the pressure for use in EOS: UNESCO, JMD95P, MDJWF
6214 store total Potential in totPhyHyd for diagnostics & EOS.
6215 o fix restart and overlap Pb when using Z-coord and EOS funct. of P
6216 --- Pressure/geopotential gradient:
6217 o use Ro_surf & R_low instead of hFac in cal_phi_hyd:
6218 o NLFS + p-coord.: eta*Alpha' is not longer lagging 1.time-step behind
6219 ( changes results of global_ocean_pressure )
6220 o NLFS + z-coord.: add eta*Rho' contribution.
6221 o accurate phiHyd when using interface-W at the middle between 2 centers
6222 ( changes results of ideal_2D_oce )
6223 o includes r* 2nd term in potential gradient.
6224
6225 checkpoint48f_post (2003/02/18)
6226 Merging from release1_p12:
6227 o Modifications for using pkg/exf with pkg/seaice
6228 - improved description of the various forcing configurations
6229 - added basic radiation bulk formulae to pkg/exf
6230 - units/sign fix for evap computation in exf_getffields.F
6231 - updated verification/global_with_exf/results/output.txt
6232 o Added pkg/sbo for computing IERS Special Bureau for the Oceans
6233 (SBO) core products, including oceanic mass, center-of-mass,
6234 angular, and bottom pressure (see pkg/sbo/README.sbo).
6235 o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
6236 to avoid negative values in shallow regions.
6237 - updated verification/natl_box/results/output.txt
6238 - updated verification/lab_sea/results/output.txt
6239 o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
6240 o Added useSingleCpuIO option (see PARAMS.h).
6241 o Updated useSingleCpuIO option in mdsio_writefield.F to
6242 work with multi-field files, e.g., for single-file pickup.
6243 o pkg/seaice:
6244 - bug fix in growth.F: QNET for no shortwave case
6245 - added HeffFile for specifying initial sea-ice thickness
6246 - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
6247 o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
6248 kpp_transport_t.F, forward_step.F, and the_main_loop.F
6249 o pkg/seaice:
6250 - adjoint-friendly modifications
6251 - added a SEAICE_WRITE_PICKUP at end of the_model_main.F
6252
6253 checkpoint48e_post (2003/02/12)
6254 o New S/R for diagnostic of bottom pressure (phi0surf was missing in c48d_post)
6255 o dynamics: change definition of computational domain & adapt mom_fluxform
6256 accordingly ; when viscA4=0, allows to run the dynamics with Olx=Oly=2.
6257 o following exp works with Olx=Oly=2 (and pass through checkbounds option):
6258 adjust_nlfs.cs-32x32x1 adjustment.128x64x1 adjustment.cs-32x32x1
6259 exp0 exp1 exp2 exp4 exp5 hs94.cs-32x32x5 hs94.128x64x5 hs94.1x64x5
6260 global_ocean.90x40x15 global_with_exf global_ocean_pressure
6261 inverted_barometer solid-body.cs-32x32x1
6262 (high order AdvScheme and/or multiDimAd works with Olx=Oly=2 ? not sure)
6263
6264 checkpoint48d_post (2003/02/09)
6265 o in preparation for r*:
6266 a) use pre-computed gradient of hydrostatic potential:
6267 changes in timestep.F & mom_cdscheme.F affects results of ideal_2D_oce
6268 b) move phi0surf from calc_phi_hyd to calc_grad_phi_hyd:
6269 => affects results of glob_oce_pressure (different truncation error)
6270 update output.txt of ideal_2D_oce & global_ocean_pressure
6271
6272 checkpoint48d_pre (2003/02/08)
6273 o in preparation for r*:
6274 new S/R (calc_grad_phi_hyd.F) to compute Hydrostatic potential gradient.
6275 pass the 2 comp. of the grad. as arguments to momentum S/R.
6276 but for the moment, only used if it does not change the results.
6277 o add finite volume form of calc_phi_hyd for buoyancyRelation OCEANIC & OCEANICP
6278
6279 checkpoint48c_post (2003/02/06)
6280 Modifications in treatment of initial flux forcing controls
6281 to avoid extra storing of flux fields.
6282
6283 checkpoint48c_pre (2003/01/21)
6284 o Added tidal_basin_2d experiment (currently 1D!)
6285 o can use r* Coordinate with OBC (but Orlanski Rad. BC not yet implemented)
6286
6287 checkpoint48b_post (2003/01/27)
6288 o r* coordinate added in #ifdef NONLIN_FRSURF block.
6289 (modification to pressure gradient not yet implemented)
6290 o mom_fluxform: new S/R mom_calc_rtrans.F computes vertical transports
6291 (for U & V) that are used for vertical advection of momentum.
6292
6293 checkpoint48a_post (2003/01/24)
6294 o In preparation for r*, use temp. array to compute vertical transport
6295 in flux-form momentum pkg. => change results of few test-exp.
6296 Update output of: exp4, exp5, front_relax, global_ocean_pressure,
6297 lab_sea, natl_box & plume_on_slope
6298
6299 checkpoint48 (2003/01/23)
6300 o fix small bug that was causing lot of warning (TIMER_STOP 'UPDATE_CG2D')
6301
6302 checkpoint47j_post (2003/01/21)
6303 o add new exp. (ideal_2D_oce) to test "exotic" parameters and options.
6304 o moved adexch from forward_step to addummy_in_stepping
6305 o added exch in ctrl_map_...
6306 o aveFreq.=0. at end of cost_final to avoid overwrite in
6307 reverse checkpointing loop
6308 o Yet more changes in gmredi:
6309 * adgmredi_calc_tensor
6310 avoiding all recomputation of gmredi_slope_limit
6311 * adgmredi_x/y/rtransport
6312 added flag for excessive storing to avoid recomp. of
6313 u/v/rtans, dTdx/y/z
6314 -> this is not really necessary and very memory-consuming
6315 * adgmredi_slope_psi:
6316 consistency with gmredi_slope_limit in treatment of GM_slopeSqCutoff
6317 * gmredi_slope_limit
6318 re-activated full calculation of taperfct for case 'ac02'
6319 o updating verification/ adjoints of carbon, global_ocean.90x40x15
6320
6321 checkpoint47i_post (2003/01/13)
6322 o GM_EXCLUDE_() replace GM_TAPER_(): by default, all the code is compiled.
6323 o add GM_Small_Number & GM_slopeSqCutoff as run-time parameters (data.gmredi)
6324 default values = 1.D-12 & 1.D+48 (=> give same results as checkpoint47f_post)
6325 o cg2dTargetResWunit: define tolerance using deltaTmom (and not deltaTfreesurf)
6326 o gmredi: fix few bugs.
6327
6328 checkpoint47h_post (duplicate tag for PH's c48 tag, in order to move c48)
6329 This will be a good checkpoint to plug into the ecco-branch.
6330 o few modif.'s to get latest version adjointed
6331 (mainly kick out code in ini_linear_phisurf)
6332 o modif's to run adjoint with exactConserv
6333 o case GM_BOLUS_ADVEC should be cleaned
6334 S/R gmredi_slope_psi should be cleaned
6335 o verification/carbon now has exactConserv=.TRUE.
6336
6337 checkpoint47g_post (2003/01/10)
6338 o time-average AIM output: becomes independent from statvars time-average
6339 (can be used with #undef ALLOW_TIMEAVE) ; add new variables (e.g., RH)
6340 o After TAF bug fix:
6341 Tested adjoint of gmredi package.
6342 Tests were done with checkpoint47 rather than with latest
6343 checkpoint47f_post since the latter is broken for the adjoint
6344 verification/carbon/ contains both ADM and TLM gradient checks.
6345 Here they are, before they get changed/lost/stolen.
6346 Mostly modif.'s to fix numerical sensitivities.
6347 Gradient checks OK for
6348 - GM_taper_scheme:
6349 * clipping
6350 * ac02
6351 * linear
6352 * glw91
6353 * dm95
6354 * ldd97
6355 - GMREDI_OPTIONS:
6356 * GM_VISBECK_VARIABLE_K
6357 * GM_NON_UNITY_DIAGONAL
6358 * GM_EXTRA_DIAGONAL
6359 * GM_BOLUS_ADVEC
6360 in conjunction with data.gmredi parameters to be checked in
6361 in a few minutes under verification/carbon/code/
6362
6363 checkpoint47f_post (2002/12/28)
6364 Merging from release1_p10:
6365 o modifications for using pkg/exf with pkg/seaice
6366 - pkg/seaice CPP options SEAICE_EXTERNAL_FORCING
6367 and SEAICE_EXTERNAL_FLUXES
6368 - pkg/exf CPP options EXF_READ_EVAP and
6369 EXF_NO_BULK_COMPUTATIONS
6370 - usage examples are Experiments 8 and 9 in
6371 verification/lab_sea/README
6372 - verification/lab_sea default experiment now uses
6373 pkg/gmredi, pkg/kpp, pkg/seaice, and pkg/exf
6374
6375 checkpoint47e_post (2002/12/27)
6376 o created a tag prior to creating a branch
6377
6378 checkpoint47d_post (2002/12/16)
6379 o fixed bug in the oceanic pressure coordinates code: vertical viscosity
6380 at the bottom boundary had an erroneous half slip boundary condition
6381 o added bottom drag and no slip boundary condition capabilities to
6382 oceanic pressure coordinates code
6383 o added new verification experiment global_ocean_pressure, this experiment is
6384 also described in the tutorial section of the manual
6385 checkpoint47d_pre (2002/12/16)
6386
6387 checkpoint47c_post (2002/12/16)
6388 o Added a verification experiment for a global cubed-sphere ocean run
6389 - verification/global_ocean.cubed32x32x30
6390 - uses pkg/therm_seaice and pkg/bulk_forcing
6391
6392 o allow to run AIM physics with SPEEDY input files (from Franco Molteni)
6393 o allow a more accurate definition of Ro_Surf (selectFindRoSurf=1)
6394 when using P-coordinate; only implemented for atmospheric config.
6395 o OCEANICP & realFreshWater: include P-E direct effect on wVel ;
6396 NOTES: requires option NONLIN_FRSURF to be "#define".
6397 o update advect_xz/results/output.txt (left from checkpoint44g_post)
6398
6399 checkpoint47b_post (2002/12/05)
6400 Merging from release1_p9:
6401 o pkg/seaice
6402 - removed GOTO's and added taf directives
6403 - double precision constants to reduce the g77 (Linux)
6404 to F77 (SGI) differences reported in release1_p8
6405 o tools/genmake
6406 - added SGI options
6407 o verification/testscript
6408 - updated to that of checkpoint47a_post
6409 o verification/global_ocean.90x40x15/input/eedata
6410 - modified for SGI f77 compatibility
6411 o verification/lab_sea
6412 - added description of sea-ice model
6413 - added missing matlab routines
6414 - added test of thermodynamics parallelization
6415
6416 checkpoint47a_post (2002/11/23)
6417 o new pkg: aim_v23
6418 = F. Molteni atmos.physics (SPEEDY, ver23) adapted to MITgcm.
6419 for now, keep the same surface forcing as before.
6420 - Part-Cell implemented into AIM; check that Heat & Water are conserved
6421 - aim.5l_cs: use new aim pkg (run 10yr & get better results than before)
6422 - aim.5l_LatLon & aim.5l_Equatorial_Channel are still using old aim pkg
6423 o add diagnostic of surface correction term in monitor output
6424
6425 o bulk_force and therm_seaice
6426 - Two packages: bulk_force (Bulk forcing)
6427 and therm_seaice (thermodynamic_seaice) - adopted from LANL CICE.v2.0.2
6428 - Earlier integration from Stephaine Dutkiewicz
6429 and Patrick Heimbach.
6430 - Two ifdef statements for compile time,
6431 ALLOW_THERM_SEAICE and ALLOW_BULK_FORCE
6432
6433 checkpoint47 (2002/11/15)
6434 differentiable version of checkpoint46n_post
6435 o bug fix in quasihydrostaticterms
6436 o * "clean" adjoint code (in terms of extensive recomputations)
6437 can now be obtained for all GMREDI options (i.e. for
6438 - GM_VISBECK_VARIABLE_K
6439 - GM_NON_UNITY_DIAGONAL
6440 - GM_EXTRA_DIAGONAL
6441 - GM_BOLUS_ADVEC )
6442 * However, wrong gradient check problem remains unsolved.
6443 * New CPP options have been introduced for different
6444 tapering schemes
6445 o external_fields_load now part of differentiation list
6446 o pressure needs multiple storing;
6447 would be nice to have store_pressure at beginning or
6448 end of forward_step, e.g. by having phiHyd global (5-dim.)
6449 (NB: pressure is needed for certain cases in find_rho,
6450 which is also invoked through convective_adjustment).
6451 o recomputations in find_rho for cases
6452 'JMD95'/'UNESCO' or 'MDJWF' are OK.
6453 o #define ATMOSPHERIC_LOADING should be differentiable
6454 o ini_forcing shifted to begining of initialise_varia
6455 o Incorporating QNVS line search routines into MITgcm
6456 (this is separate code, and therefore not under pkg)
6457 lsopt/, optim/
6458 o Updated verification/carbon/
6459 - #define GM_VISBECK_VARIABLE_K
6460 - GM_taper_scheme = 'ldd97'
6461
6462 checkpoint46n_post (2002/11/12)
6463 Merging from release1_p8:
6464 o verification/natl_box:
6465 updating new external_fields_load routine
6466 o New package: pkg/seaice
6467 Sea ice model by D. Menemenlis (JPL) and Jinlun Zhang (Seattle).
6468 The sea-ice code is based on Hibler (1979-1980).
6469 Two sea-ice dynamic solvers, ADI and LSR, are included.
6470 In addition to computing prognostic sea-ice variables and diagnosing
6471 the forcing/external data fields that drive the ocean model,
6472 SEAICE_MODEL also sets theta to the freezing point under sea-ice.
6473 The implied surface heat flux is then stored in variable
6474 surfaceTendencyTice, which is needed by KPP package (kpp_calc.F and
6475 kpp_transport_t.F) to diagnose surface buoyancy fluxes and for the
6476 non-local transport term. Because this call precedes model
6477 thermodynamics, temperature under sea-ice may not be "exactly" at
6478 the freezing point by the time theta is dumped or time-averaged.
6479 N.B.: fairly large differences in accuracy occur across
6480 different platforms/compilers; comparison between
6481 g77 (Linux) and F77 (SGI Origin 2000/MIPSpro)
6482 generated output gives:
6483 T S U V
6484 C D M c m s m s m s m s
6485 n p a R g m m e . m m e . m m e . m m e .
6486 f n k u 2 i a a d i a a d i a a d i a a d
6487 g d e n d n x n . n x n . n x n . n x n .
6488
6489 Y Y Y Y 5 5 7 7 7 8 10 9 6 6 6 6 7 5 7 5 7 FAIL lab_sea
6490 o GAD:
6491 - generated new common blocks to account for call of
6492 same gad routines with differing traceridentities
6493 (needed to modify tracerIdentity indices in GAD.h)
6494 - generated separate common blocks for case useCubedSphereExchange
6495 (Department of Futurology)
6496 - parameter lists to gmredi_?transport: added tracerIdentity
6497 - added new key indices to tamc.h
6498 o external_fields_load:
6499 - added this routine to TAF list
6500 - needed to make some common blocks global and additional storing
6501 along the same lines as exf package (checkpoint_lev?_directives.h)
6502 o exf:
6503 updated external forcing package
6504 - bug fixes carried over from ecco-branch
6505 (missing OBCS_OPTIONS.h in two routines)
6506 - enable easy to use "no forcing".
6507 - added exf I/O for atmospheric loading
6508 - added exf I/O for runoff data
6509 - transfered scaling between exf <-> MITgcm to exf namelist
6510 o Adding new verification experiment global_with_exf.
6511 This verification experiment is almost identical to the
6512 global_ocean.90x40x15 experiment, except that it uses
6513 the exf (and cal) package instead of the
6514 external_fields_load routine (cf README file).
6515
6516 checkpoint46m_post (2002/11/07)
6517 o modified testscript to return -- when there are no lines of "%MON" output
6518 o added new flag "quasiHydrostatic" for QH mode
6519 and new routine quasihydrostaticterms()
6520 o added 2*Omega*Cos(phi)*W to u equations (non-hydrostatic Coriolis term)
6521 New routine: mom_u_coriolis_nh()
6522 o fixed sign of non-hydrostatic metric terms in u and v equations.
6523 Depend on correct sign of gravitySign.
6524 o added work.pc* to .cvsignore in aim directories using ifc
6525 o introduced flag for controllin non-hydrostatic metric terms
6526 o removed gravitySign from PARM04
6527 o switched to g77/ifc from pgf77 in aim experiments
6528
6529 checkpoint46l_post (2002/11/01)
6530 o made convective adjustment work with pressure coordinates:
6531 - changed the direction of k-loop in convective_adjustment.F for the
6532 case of pressure coordinates (OCEANICP,ATMOSPHERIC buoyancyRelation)
6533 - adjusted the reference pressure k-index in convective_adjustment.F
6534 - adjusted the convection condition in convect.F (in analogy to
6535 calc_ivdc.F)
6536 - convective_adjustment no longer computes anything on the halos
6537 - removed the warnings about negative salinity from find_rho.F and
6538 find_alpha.F; instead the new routine look_for_neg_salinity, called
6539 at the beginning of find_rho, find_alpha, and find_beta, does a
6540 check of the entire slice, if CPP-option
6541 CHECK_SALINITY_FOR_NEGATIVE_VALUES is defined
6542 checkpoint46l_pre (2002/10/23)
6543
6544 checkpoint46k_post (2002/10/23)
6545 o fixed the verification/global_ocean.90x40x15 experiment:
6546 - new bathymetry (the world according to A., JMC, and M.)
6547 - new initial fields and forcing fields (*.bin files)
6548 - new POLY3.COEFFS (for the next release one should switch to a full
6549 equation of state: JMD95P or MDJWF)
6550 - fixed several errors and redundancies in the data file
6551 - experiment uses looped cells
6552 - added matlab directory with diagnostic scripts for plotting of output
6553
6554 o S/R aim_initialise.F replace S/R aim_init from file aim_do_inphys.F:
6555 - read AIM physics parameters from a file (data.aimphys)
6556 - set defaults values = F.Molteni paper (Clim.Dyn., 2002)
6557
6558 checkpoint46j_post (2002/10/07)
6559 o split calc_exact_eta in 2 S/R : integr_continuity & update_etaH
6560 o move wVel computation at the end of the time step, in S/R integr_continuity
6561 o create specific S/R to exchange T,S before DYNAMICS (for stagger time step)
6562 o update timeave pkg for wVel diagnostic.
6563 checkpoint46j_pre (2002/09/27)
6564
6565 checkpoint46i_post (2002/09/25)
6566 o Clean up AIM package (and keep the results unchanged):
6567 include CPP_OPTION and use IMPLICT NONE in all routines ;
6568 declare all the variables _RL ; use _d 0 for all numerical constants.
6569 use ifdef ALLOW_AIM everywhere. And now AIM can be used with g77 !
6570
6571 checkpoint46h_post (2002/09/25)
6572 o cleaned up the use of rhoNil and rhoConst.
6573 - rhoNil should only appear in the LINEAR equation of state, everywhere
6574 else rhoNil is replaced by rhoConst, e.g. find_rho computes rho-rhoConst
6575 and the dynamical equations are all divided by rhoConst
6576 o introduced new parameter rhoConstFresh, a reference density of fresh
6577 water, to remove the fresh water flux's dependence on rhoNil. The default
6578 value is 999.8 kg/m^3
6579 o cleanup up external_forcing.F and external_forcing_surf.F
6580 - can now be used by both OCEANIC and OCEANICP
6581 checkpoint46h_pre (2002/09/18)
6582
6583 Added code to convert surface volume flux (fresh water) into
6584 a mass flux when using P coordinates in the ocean (OCEANICP).
6585 Note: It assumes you have set rho0=rhoConst=density of fresh water.
6586
6587 checkpoint46g_post (2002/09/18)
6588 o Include a new diagnostic variable phiHydLow for the ocean model
6589 - in z-coordinates, it is the bottom pressure anomaly
6590 - in p-coordinates, it is the sea surface elevation
6591 - in both cases, these variable have global drift, reflecting the mass
6592 drift in z-coordinates and the volume drift in p-coordinates
6593 - included time averaging for phiHydLow, be aware of the drift!
6594 o depth-dependent computation of Bo_surf for pressure coordinates
6595 in the ocean (buoyancyRelation='OCEANICP')
6596 - requires a new routine (FIND_RHO_SCALAR) to compute density with only
6597 Theta, Salinity, and Pressure in the parameter list. This routine is
6598 presently contained in find_rho.F. This routine does not give the
6599 correct density for 'POLY3', which would be a z-dependent reference
6600 density.
6601 o cleaned up find_rho
6602 - removed obsolete 'eqn' from the parameter list.
6603 o added two new verification experiments: gop and goz
6604 (4x4 degree global ocean, 15 layers in pressure and height coordinates)
6605 checkpoint46g_pre (2002/09/16)
6606
6607 checkpoint46f_post (2002/09/16)
6608 o Enable tangent linear (forward mode) gradient checks:
6609 - extended active file handling to g_... files
6610 - added TANGENT_SIMULATION to theSimulationMode
6611 - extended grdchk package accordingly
6612 o added tangent linear setup in verification/carbon/code_ftl
6613 o added adjoint setup in verification/front_relax/code_ad
6614
6615 checkpoint46e_post (2002/09/05)
6616 o Added new equation of state -> MDJWF
6617 - EOS of McDougall et al., 2002, JAOT, submitted
6618 - caveat: the equation of state is only valid for a smaller (more
6619 realistic?) range of values than JMD95P/Z and UNESCO
6620 - added masks to the calculation of pressure in store_pressure
6621 - added more check values for density in check_eos (ini_eos.F), some of
6622 the old check values are out of the range of the MDJWF-eos, so don't
6623 expect perfect matches for those
6624 checkpoint46e_pre (2002/08/19)
6625
6626 checkpoint46d_post (2002/08/19)
6627 o fixed store_pressure to work with both buoyancy relation = 'OCEANIC' and
6628 'OCEANICP', also initialised field pressure correctly in ini_eos in the
6629 case of pressure coordinates. eosType='JMD95Z' in
6630 combination with buoyancyRelation='OCEANICP' now causes an error.
6631 o Changed p = pressure(i,j,k,bi,bj) to p = pressure(i,j,kRef,bi,bj)
6632 in find_alpha/beta.
6633 checkpoint46d_pre (2002/08/15)
6634
6635 o Changed p = pressure(i,j,k,bi,bj) to p = pressure(i,j,kRef,bi,bj)
6636 so that JMD95Z and JMD95P give approptiate static stability in find_rho.
6637
6638 checkpoint46c_post (2002/08/15)
6639 o Changes necessary for ocean in p-coordinates
6640 - Added new buoyancy relation = 'OCEANICP'
6641 - Added new parameters = gravitySign (this used to be contained inside
6642 the factor dRdZ which I added when we first switched to R coordinates).
6643 X GM/Redi is not compatible (yet)
6644 X bottom drag and no-slip need to be debugged.
6645 checkpoint46c_pre (2002/08/07)
6646
6647 checkpoint46b_post (2002/08/07)
6648 o Added new equation of state -> JMD95Z and JMD95P
6649 - EOS of Jackett and McDougall, 1995, JAOT
6650 - moved all EOS parameters into EOS.h
6651 - new routines ini_eos.F, store_pressure.F
6652 o Added UNESCO EOS, but not recommended because it requires
6653 in-situ temperature (see JMD95)
6654 o Modified formatting for knudsen2.f in utils/knudsen2 and added
6655 unesco.f to be used with POLY3
6656 checkpoint46b_pre (2002/07/31)
6657
6658 checkpoint46a_post (2002/07/31)
6659 o Added (atmospheric) pressure loading
6660 - new field in FFIELDS.h, etc...
6661 - new cpp flag ATMOSPHERIC_LOADING
6662 o Changed hFacC to _hFacC in calc_phi_hyd.F
6663 o Added SHORTWAVE_HEATING to some files for consistency
6664 checkpoint46a_pre (2002/07/13)
6665
6666 checkpoint46 (2002/07/13)
6667 further merges from release1_p5
6668 o new ctrl package
6669 - adopted from ECCO environment to enable optimization
6670 - added Eliassen Palm fluxes to controls
6671 o added Eliassen Palm flux controls to gradient check package
6672 o cost package
6673 - Compatible with new ctrl package
6674 - added Eliassen Palm cost hooks
6675 - modif's of existing cost functions
6676 o Adjoint-related bug fixes in kpp:
6677 - kpp_calc: sore of kpphbl avoids recomputation/call to S/R kppmix
6678 - kpp_routines: store of Rib avoids partial recomputation bug of TAF.
6679 o autodiff package
6680 - flow directives:
6681 + new for S/R do_the_model_io
6682 + enhanced for S/R checkpoint
6683 + new gmredi.flow
6684 - Introduced CPP option ALLOW_AUTODIFF_MONITOR to
6685 disable adcommon.h/g_common.h by default.
6686 - fixed problem for adjoint of global_max
6687 o modified verification/carbon/
6688 o New setup for adjoint of global_ocean
6689 o added hooks for Eliassen Palm fluxes (dynamics.F, ini_fields.F)
6690 o cleaned TAF keys iikey, idkey (dynamics.F, thermodynamics.F)
6691 o incorporated hooks for sponge layer code (external_forcing.F)
6692
6693 checkpoint45d_post (2002/07/12)
6694 o import 2 fixes from release1_p5 (CG2D.h & packages_readparms.F)
6695 o use recip_dx*,recip_dy* instead of /dx*,/dy* in orlanski_E,W,N,S
6696 (affects plume_on_slope "cg2d" output)
6697 o add new parameter deltaTfreesurf for free-surface time stepping
6698 o exchange gT,gS when using staggerTimeStep & GM & Oly<4
6699 o NONLIN_FRSURF: rescale gNm1 to get a better conservation with A-B
6700 o change phiMin in exp1 (to agree with documentation)
6701 o add new flags:
6702 - T,S forcing inside/outside Adams-Bashforth
6703 - turn off temp,salt advection and/or forcing
6704 - for each tracer, define internal flag for multiDimAdvection & A-B
6705 o monitor: change definition of KE to check conservation of Energy
6706
6707 checkpoint45c_post (2002/05/30)
6708 o Removed f90 comments ("!")
6709 o Modified initialisations to enable exf package for MITgcm
6710 (without invoking ECCO_PACKAGE).
6711 o modifications to gradient check package (Martin Losch)
6712 - enable centered differences
6713 - modified format of standard output
6714
6715 checkpoint45b_post (2002/05/30)
6716 o cleaned exchange calls in cg2d
6717 o Included CPP option ALLOW_AUTODIFF_MONITOR in forward_step
6718 o included CPP option SINGLE_LAYER_MODE in thermodynamics
6719 to configure barotropic setup (Martin Losch)
6720 o moved some initialisations within bi,bj loop in dynamics
6721 (TAF flow dependency)
6722 o in initialise_varia, moved call packages_init_variables
6723 before convective_adjustment_init
6724 (corresponding adjustment of TAF tape initialisation).
6725 o in calc_diffusivity/calc_viscosity extended domain to full overlap.
6726
6727 checkpoint45a_post (2002/05/01)
6728 o compute Rho over the whole domain (extend iMin,jMin indices)
6729 o specific exchange for X-slice domain (case Ny=1)
6730 o argument futureIter of S/R obcs_calc missing in exp4 & internal_wave /code
6731 o solve_for_pressure : set cg2d_x to zero where OBCS are applied
6732
6733 checkpoint44h_post = checkpoint45
6734 o Fix to restore differentiability:
6735 place at which packages_init_variables is called in
6736 initialise_varia is crucial for reverse control flow.
6737 o modifications in GMRedi to enable stable adjoint
6738 (corresponding modif's in thermodynamics, dynamics)
6739 o added missing hook for sponge layer code in external_forcing
6740 o modified test cost functions
6741 o storing in gad_advection (plus removal of write(0,*)!
6742 o missing headers TR1.h added in convective_adjustment routines
6743 o errorMessageUnit set non-equal zero in eeboot
6744 (conflict on some platforms, e.g. IBM SP3)
6745 o modified carbon verif.
6746
6747 checkpoint44h_pre (2002/03/14)
6748 o vertical grid option: allow to put the Interface at the middle between
6749 2 cell-centers ; replace delZ in pkg/kpp by drF.
6750 o GM Advective form: Tracers are advected using the residual transport (=
6751 Euler+GM-bolus); set param GM_AdvSeparate=T to return to previous form.
6752
6753 checkpoint44g_post (2002/03/05)
6754 o fix surface correction term in multiDimAdvection (affects plume_on_slope
6755 results) ; ifdef missing in thermodynamics.F
6756
6757 checkpoint44f_pre,checkpoint44f_post
6758 o added PTRACERS package
6759 This allows an arbitrary number of passive tracers to be integrated
6760 forward simultaneously with the dynamicaly model.
6761 + Implemented so far:
6762 - basic forward algorithm (time-stepping, advection, diffusion, convection)
6763 - I/O and checkpointing
6764 - GM/Redi *but* using the GM/Redi coefficient of Salt
6765 + Not implemented so far:
6766 - KPP
6767 - OBCS
6768 + No specific example supplied (yet) but global_ocean.90x40x15 has the
6769 necessary data.ptracer file. Simply use -enable=ptracers and uncomment
6770 line in data.pkg.
6771 + This package is disabled by default since it increases storage.
6772
6773
6774 o testscript: added -cleanup option
6775 o Shap_filt: a) new shap_filt S/R to use no-slip BC with S2 filter
6776 b) enable to filter 2D fields.
6777
6778 checkpoint44e_pre,post
6779 o re-wrote convective adjustment to use pre-calculated weights
6780 Affects: model/src/convective_adjustment.F, convective_adjustment_ini.F
6781 Adds: model/src/convective_weights.F, convectively_mixtracer.F
6782 Original calls to convect() still in place.
6783
6784 chkpt44d_pre,post
6785 o added missing EXCLUDE_MONITOR flags
6786 o changed "e" to "_d" in gmredi_slope_limit, gmredi_slope_psi
6787 (incompatible typ in MIN/MAX expressions caused problems
6788 on IBM SP3)
6789 o in genmake added variable MAKEDEPEND
6790 plus resetting for case SunOS
6791 o added timer_stats.c routine for IBM SP3
6792 o removed variables in dynamics
6793 !!! I forgot to create tag chkpt44d_pre !!!
6794 !!! But chkpt44d_pre = chkpt44c_post !!!
6795
6796 o real fresh water flux implemented with non-linear free-surface.
6797
6798 chkpt44c_pre,post
6799 o few fix (mask in shap_s2, EmPmR in external_field_load,
6800 USE_NATURAL_BCS in solve_for_P);
6801 o add arguments myIter & myTime to S/R obcs_calc & solve_for_P
6802
6803 checkpoint44b_pre/_post
6804 o merge of relevant stuff from the ecco-branch:
6805 - genmake: removed $S64 overwrite for case SunOS
6806 - pkg/exf: update and corrections for field swapping and obcs
6807 - pkg/ecco: parameter lists for the_model_main, the_main_loop
6808 harmonized between ECCO and MITgcm
6809 - pkg/autodiff: added flow directives for obcs, mdsio_gl_slice
6810 updated checkpointing_lev... lists for obcs
6811 - model/src: minor changes in forward_step, plot_field
6812 added directive for divided adjoint in the_main_loop
6813 - pkg/mdsio: added mdsio_gl_slice
6814
6815 o check parameters & config (chkpt44a_pre,post)
6816 o OBC and NonLin_FrSurf.
6817
6818 checkpoint44 (2002/01/18)
6819 o fix bug in mom_vi_del2uv
6820 o select when filters are applied ; add options to zonal_filter (data.zonfilt)
6821 o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
6822 o update AIM experiments (NCEP input files)
6823 o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
6824 o added some stuff for AD
6825
6826 checkpoint43 (2001/09/28)
6827 o added two new advection tests
6828 o added global 4x4 degree ocean test
6829 o added test of H&S94 with free surface on cube
6830 o some final mods for gradient check, adjoint,...
6831
6832 checkpoint42 (2001/09/27)
6833 Fixed AD-related problems:
6834 o Store directives up-to-date with re-arranged Adams-Bashforth
6835 (mainly thermodynamics.F)
6836 o New store directives for multi-dim. advection schemes
6837 * new CPP flag ALLOW_MULTI_DIM_ADVECTION
6838 * new common block and key passkey
6839 (mainly gad_advection.F)
6840 o Modified store directives for split of dynamics/thermodynamics
6841 for the case ALLOW_KPP
6842 o Cleaned argument list for timestep_tracer.F
6843
6844 checkpoint41 (2001/09/27)
6845 o re-formatted/added comments in prologues of key subroutines
6846 to work with protex
6847
6848 checkpoint40 (2001/09/27)
6849 o moved calc_gs, calc_gt and calc_tr1 back to model/src
6850 o added FLT (floats) package from Arne along with demo. experiment
6851 o re-arranged Adams-Bashforth scheme for tracers to allow easier
6852 implementation of forward-in-time forcing terms
6853 o more mods for non-linear free-surface including new variable
6854 o modified multi-dim method to work on cube
6855 o bug fix in KPP (from DM)
6856
6857 checkpoint40pre9 (2001/09/27)
6858 o added DST advection schemes
6859 o fix MPI bug on SGI's
6860 o modifications for non-linear free-surface
6861 o fixed conditionals for fixed flow/passive tracer only mode
6862 o added tension/strain form of stress tensor
6863 o changes to commenting of arguments for TAF/TAMC
6864 o added/updated many matlab scripts
6865 o added multi-dimensional advection method for tracers
6866
6867 checkpoint40pre8 (2001/09/05)
6868 o new package rw/
6869 Added method for dumping intermediate local arrays:
6870 mdsio_writetile - same as mdsio_writefield except works from inside
6871 bi,bj loop
6872 mdsio_writelocal - same as mdsio_writetile except works for local
6873 arrays
6874 write_local_r? - higher-level wrapper for mdsio_writelocal
6875 Controlled by diagFreq. Defaults to zero (ie. no dumps)
6876 Example given at end of mom_vecinv.F that dumps some local arrays.
6877 o replaced calc_mom_rhs.F by mom_fluxform.F/mom_vecinc.F to
6878 control flux-form versus vector invariant code.
6879 Switch is runtime flag vectorInvariantMomentum (defaults to false)
6880 or genmake -DISABLE ...
6881 o TAMC-related update to cope with mom_fluxform.F/mom_vecinc.F
6882 (additional storing is now needed for case vecinv;
6883 currently nothing implemented to switch this storing off
6884 in case fluxform is used since no CPP flag available).
6885
6886 checkpoint40pre7 (2001/08/14)
6887 o bug fix in dynamics.F
6888 calc_viscosity called before k=1,Nr loop.
6889 o added some #ifdef's ALLOW_PASSIVE_TRACER
6890 o cleaned initialisations in ctrl_map_ini
6891 related to TAF
6892
6893 checkpoint40pre6 (2001/08/13)
6894 o split dynamics into thermodynamics & dynamics
6895 o corresponding split of calc_diffusivity into
6896 calc_diffusivity, calc_viscosity
6897 (kpp_calc_diff, kpp_calc_visc).
6898 o Added diffkr, kapgm to control variables
6899 o bug fix in gmredi_slope_limit for ldd97
6900
6901 checkpoint40pre5 (2001/07/31)
6902 o proper initialization of Adams-Bashforth time stepping
6903 + uses forward step for very first step of model (iter=0)
6904 o re-generated *all* output since almost all output is modified by this
6905 change (sorry but we've been putting this one off for about 2 years)
6906 + natl_box, aim.5l_Equatorial_Channel and aim.5l_zon-ave were
6907 *not* regenerated since they are already out of date and I don't
6908 want to create the impression that they are suddenly working.
6909 o removed KAP stuff for DEC's
6910 o modified/added many .cvsignore files in */code and */input
6911 o added new expt "solid-body.cs-32x32x1"
6912 + this uses an alternative form of ini_curvilinear_grid.F which
6913 is not necessarily any better than the current one...
6914
6915 checkpoint40pre4 (2001/07/30)
6916 o added re-initialisations of utrans,vtrans,rtrans in
6917 calc_common_factors which are crucial for TAF.
6918 o extended iMin,jMin range for calc_common_factors,
6919 calc_diffusivity
6920 o added option ALLOW_PASSIVE_TRACER
6921 o a few minor updates and fixes
6922
6923 checkpoint40pre3 (2001/07/13)
6924 o created calc_gtr1.F for gad package
6925 o split the_main_loop and re-introduced forward_step
6926 o some recomputations of nIter0 for TAMC
6927
6928 checkpoint40pre2 (2001/07/13)
6929 o Updated to latest branch of AJA, JMC
6930 o Added gradient check package
6931 o Added routines for passive tracer handling
6932 o Added carbon sequestration sensitivity experiment
6933
6934 checkpoint39 (2001/05/14)
6935 o Modifications and fixes to support TAMC
6936 (mainly missing or wrong directives)
6937 o Corrected common blocks when fooling TAMC to produce adjoint I/O
6938 in addummy_in_stepping
6939 o Updated verification/vero/ (bug fixes in code/, correct pickups in input/)
6940 o Enabled "sliced" (xz-,yz-) exchanges, needed for obcs.
6941 o Included following packages:
6942 cal: calendar
6943 exf: external forcing
6944 ecco: essential routines to control use of cal, exf
6945 (NB: this is not the full ECCO environment)
6946 o disabled some packages by default in genmake
6947
6948 checkpoint38 (2001/04/10)
6949 o see notes_c37_adj.txt
6950 o corrected wrong layer index in external_forcing_t
6951 o replaced the_main_loop/forward_step by the_main_loop
6952 o removed forceoutput from write_state
6953 (replaced criteria for initial/final state)
6954 o added runtime flag for pre-C35 pickups: usePickupBeforeC35
6955
6956 checkpoint37 (2001/03/13)
6957 o mdsio.F routine split and packaged in pkg/mdsio
6958 (mdsio.F and mdsio_gl.F still exist in eesupp/src but are not
6959 used unless genmake -disable=mdsio)
6960 o allow a more precise surface-geopotential gradient for the atmosphere
6961 taking into account the change in space of Alpha (=1/rho) at the surface.
6962 o variable "etaN" (replace cg2d_x) is the surface R-anomaly [r unit]
6963 (ocean: sea surface height [m] / atmos: surface pressure anomaly [Pa])
6964 o Change units: Phi_Hydrostatic (=phiHyd), Phi_Surface(=cg2d_x) and
6965 Phi_NonHydrostatic (=cg3d_x), all have now the dimension of a potential
6966 [m2/s2] (pressure/rhoConst in the ocean ; Geo-Potential in the atmosphere).
6967 o Time-Average diagnostics defined as a pseudo package "timeave".
6968 o pickup files : old pickup (before c35) did not work with new code (c35
6969 and after) unless activating 2 commented lines in initialise-varia.
6970 o Non-Hydrostatic pickup file Pb fixed.
6971 o bug with Rigid-lid version (since c35) fixed.
6972
6973 checkpoint36 (2001/02/20)
6974 o implement Crank-Nickelson barotropic time-stepping
6975 o recover Time-Average diagnostics
6976 o fix Pb in checkpoint (PR#19)
6977 o AIM become a standard package ; clean unused CPP_kees
6978
6979 checkpoint35 (2001/02/08)
6980 o subtantial rewrite of dynamics.f
6981 o allows staggered time-stepping
6982 o packaged obcs, aim (Atmospheric Physics), zonal_filt, shap_filt
6983 o added bottom drag (linear + quadratic)
6984
6985 checkpoint34 (2001/01/30)
6986 o Modified exchange routines for correct reverse simulation.
6987 o Added verification output to comply with bug fix in impldiff.F
6988 as of c33 (exp2, natl_box).
6989 o Corrected store directives in dynamics.F
6990 o Corrected array boundaries in impldiff.F
6991 o Corrected array dimensions in gmredi.
6992 Added temporary scalars to avoid storage by TAMC (gmredi, kpp).
6993 o Added routine GLOBAL_SUM_INT to global_sum.F
6994 o Added mdsio_gl.F for ECCO purposes.
6995
6996 checkpoint33 (2000/11/30)
6997 o Fixed bug in lower BC in impldiff.F
6998 o Fixed confusion about units of forcing arrays in FFIELDS.h
6999 namely Fu,Fv,Qnet,Qsw,EmPmR:
7000 - Removed verification/natl_box/code/external_fields_scale.F
7001 (did not differ from that in model/src)
7002 - Changed units of fu,fv,Qnet,Qsw,EmPmR back to proper units
7003 (see FFIELDS.h for description)
7004 - Scale fu,fv,Qnet,Qsw,EmPmR when used in external_forcing_surf.F,
7005 kpp_calc.F and kpp_transport_t.F
7006 - Removed model/src/external_fields_scale.F and calls to it
7007 - verification/natl_box uses flux data with "atmospheric" sign so
7008 a special version of external_fields_load.F is used to
7009 change the data as it's read in. This way, the arrays
7010 have the right units and signs at all times tha a user could
7011 possibly use them.
7012 o Corrected genmake to delete a temporary file during configuration
7013
7014 checkpoint32 (2000/11/13)
7015 o Scaling of forcing fields moved from external_forcing.F to
7016 external_fields_scale.F, called directly after loading fields.
7017 o Surface relaxation terms added to surface tendency fields in
7018 extra subroutine.
7019 o impldiff.F changed to avoid storing by TAMC of huge intermediate
7020 fields.
7021 o Changes in GMRedi to comply with packaging structure.
7022 o Modifications and bug fixes in KPP package.
7023 o Verification experiment for KPP added (verification/nat_box/)
7024
7025 checkpoint31 (2000/09/11)
7026 o Packages interface brought in line with defined standard
7027 -> new routines packages_...F
7028 -> changes in initialise_fixed.F, initialise_varia.F
7029 -> enables initialisation interface for ECCO package
7030 o Rescaling of external forcing fields immediately after read
7031 (removed from external_forcing.F)
7032 -> new: surface_fields_scale.F
7033 -> affects ini_foorcing.F, external_fields_load.F
7034 o Computation of surface tendencies before tendency updates.
7035 -> new: external_forcing_surf.F
7036 o Change of variable names useGMRedi, useKPP, useECCO
7037 o Further changes in dynamics.F, impldiff.F for TAMC
7038 o Tested for experiments 0, 2, 4.
7039 - not yet tested for GMRedi.
7040 - not yet tested for KPP.
7041
7042 checkpoint30 (2000/07/13)
7043 o Updates for OBCs
7044 o New experiment for test OBCs (internal_wave)
7045 o New output.txt in verification/exp4/results/
7046 o Updates for KPP: calculation of viscosity corrected, new variables
7047 kpp_dumpFreq and kpp_taveFreq
7048 o CPP'd calls to system routines for TARGET_CRAY_VECTOR (P.H.)
7049 and entry for T90 in genmake
7050
7051 checkpoint29 (2000/06/21)
7052 o packaged KPP and GM/Redi
7053
7054 checkpoint28 (2000/06/09)
7055 o Corrected initialization of hFacMin for difference vertical coordinates
7056 o Modified calculation of partial cell thickness to more robust algorithm
7057 o config_summary.F: replaced write_1D_... by write_0D_...
7058 read_write.F: added subroutines write_0D_...
7059 o routines calc_common_factors, calc_gs, calc_gt, calc_phi_hyd, find_rho:
7060 included some initialisations required for TAMC.
7061 o routine calc_isoslopes: modified sqrt computation to make it
7062 differentiable for zero argument.
7063 o routines dynamics, impldiff:
7064 included store directives and tape key computations required for TAMC.
7065 o ALL TAMC related changes are between ifdef ALLOW_AUTODIFF_TAMC
7066
7067 checkpoint27 (2000/04/10)
7068 o fixed calc_isoslopes() to so that cancellation of terms in tensor
7069 formulation works properly with variable resolution.
7070 o restructured the calling tree between the_model_main() and dynamics()
7071 o split initialise() into initialise_fixed() and initialise_varia()
7072 o introduced initialization file pSurfInitFile for free surface (cg2d_x)
7073 in new routine ini_psurf()
7074
7075 checkpoint26 (2000/04/05)
7076 o moved some #ifdef in optional routines to encompass everything
7077 except the argument declarations. This was using up some memory.
7078 o fixed macros like _ADT to work with both versions of Linux cpp
7079 o cleaned up some unused and uninitialized variables
7080 (helps when debugging with strict compile options)
7081 o split up CPP_EEOPTIONS.h into options and macros
7082 (macros are now in eesupp/inc/CPP_EEMACROS.h)
7083 o patch for 2 processor JAM mode
7084
7085 checkpoint25 (2000/03/15)
7086 o updates for OBCs and NH
7087 o dramatically reduced memory usage
7088 o added "JAM" routines for use on Artic network
7089 o parameterization of convection by implicit vertical diffusion
7090 o added a diagnostic of convective index
7091 o moved call to calc_divg_hat() from dynamics() to solve_for_pressure()
7092 (this is was partly for OBCs and NH but also in anticipation of
7093 an explicit free-surface option)
7094 o initial state input files for U and V
7095
7096 checkpoint24 (1999/08/02)
7097 o Removed some spurious "REAL"s
7098 o Updated KPP to latest version from JPL
7099 o Added a COS(latitude) in horizontal viscosity
7100
7101 checkpoint23 (1999/05/26)
7102 o Added del^4 diffusion for salt and temperature
7103 o Multiple minor fixes (implicit none's, arguments to global_sum, etc.)
7104
7105 checkpoint22 (1999/05/18)
7106 o Made many small changes: implicit none, format(i5), etc...
7107 o Introduced KPP mixing scheme (compiles and runs but *not* tested)
7108
7109 checkpoint21 (1999/05/18)
7110 o Introduced new I/O package that supports direct-access records (mdsio.F)
7111 o Split-up mid-level I/O routines
7112 o Updated input data for experiments 0,1,2,4 and 5
7113 o Finally removed the genmake.* scripts (everyone seems happy with genmake)
7114
7115 checkpoint20 (1999/03/22)
7116 o Tidied up open-boundaries some more
7117 o Added non-hydrostatic code
7118 o Fixed some input data
7119 o Modified MPI start-up to work in "coupled" context.
7120
7121 checkpoint19 (1998/12/15)
7122 o Tidied up directory structure for verification experiments.
7123 o Added new code for open boundaries.
7124 o Corrected advective terms near boundaries.
7125 o Added CPP flag for "old UV" geometry and corrected spherical geometry.
7126 o Implemented free-slip/no-slip BCs and del^4 dissipation.
7127 o Split default parameters out of ini_parms.F into set_defaults.F.
7128
7129 checkpoint18 (1998/11/30)
7130 o Further changes for optional code generation with
7131 CPP - ugh!
7132
7133 checkpoint17 (1998/11/03)
7134 o Beginning to incorporating modularity
7135 for supporting atmos. and ocean configs.
7136 o Small changes for TAMC complinace
7137 o New ultra simple test case. Barotropic box
7138 configuration "exp0".
7139
7140 checkpoint16 (1998/10/28)
7141 o Minor changes to exchange routines to support
7142 accumulation in reverse mode. Adjoint of an
7143 assignment is an addition.
7144 o Changes to support compilation by TAMC (LR(1)
7145 syntax) and by g77 under Linux ( 72 character
7146 limit ).
7147
7148 checkpoint15 (1998/09/29)
7149 Rewrote exchange routines to allow
7150 o General tile <-> tile connectivity.
7151 o TAMC reverse mode flag ( is this really needed? )
7152 o Variable width overlap and exchange region widths.
7153 o Hooks for sharing data via DMA, Arctic, Memory Channel,
7154 shmput/shmget, VIA, SYSV shmem and every other cool
7155 communication method.
7156
7157 checkpoint14 (1998/09/09)
7158 Consistent isomorphism chages made. These allow dynamical core
7159 to support both pressure and meters as a vertical coordinate.
7160
7161 checkpoint13 (1998/07/17)
7162 Release which corrects global_max problem and a couple
7163 of KGM time-averaging diagnostic errors. Also contains
7164 a double-gyre experiment setup as well as the baseline
7165 4 degree global template. The double gyre template is
7166 organised to allow it to be applied automatically to
7167 the baseline configuration.
7168
7169 branch-point-rdot
7170 A few tidy-ups have been made bt the real point of this
7171 check-point (excuse the pun) is to allow a branch to be
7172 made for the purposes of adding the rDot alterations.
7173 I don't want to commit the rDot to the main-trunk until
7174 we've actually tested it...
7175
7176 checkpoint12 (1998/07/08)
7177 Tidy up and added generic genmake script (formerly
7178 configure script).
7179 Released to testers.
7180
7181 checkpoint11 (1998/07/02)
7182 Re-arranged initialise() and introduced ini_vertical_grid()
7183 and ini_masks_etc().
7184
7185 checkpoint10 (1998/07/01)
7186 Introduced the configure script.
7187 Separated out the diags package.
7188 Added template for writing time-averages of tile/intermediate quantities.
7189 Updated SIZE.h in exp2 and made the data big-endian.
7190
7191 checkpoint9 (1998/06/22)
7192 MPI fix. Filename changes (meta/data). salbin*y stuff.
7193 General tidy-up.
7194 SST.bin SSS.bin added to verification/exp2
7195
7196 checkpoint8 (1998/06/22)
7197 Inludes time-dependant forcing and time-averaging.
7198 Works at 4x4 and 2.8125x2.8125 global
7199
7200 checkpoint7-4degree-ref
7201 Branch from checkpoint7. Released for application to
7202 global modeling and general modeling - process studies, regional
7203 model etc..
7204 Configured for verification/exp2 - 4 degree global, two process.
7205
7206 checkpoint7 (1998/06/15)
7207 Created by cnh
7208 Simple 4 degree global simulation
7209 configuration.
7210 Includes climatological wind,
7211 hydrography, bathymetry etc
7212 Does not include Heat Flux and E-P
7213
7214 checkpoint6 (1998/06/08)
7215 Created by cnh
7216 merged checkpoint5 with CD and
7217 spherical polar code.
7218 Still some problems with GM Redi
7219 abd full topography.
7220
7221 checkpoint5 (1998/06/08)
7222 Created by AJA
7223 contains updates to GM Redi
7224 and reordered timestepping loop
7225 for Implicit Diffusion.
7226
7227 checkpoint4 (1998/05/30)
7228 Created by cnh
7229 Contains memory saving macros ( _rdxc etc..) for when
7230 grid variations are limited.
7231 Contains polynomial coeffs for EOS and knudsen program
7232 for generation.
7233
7234 checkpoint3 (1998/05/26)
7235 Created by cnh
7236 Added extra flags for runtime options
7237 Added this file
7238 Added implicit free-surface
7239 Added pre-conditioner
7240 Put compare01 into repository ( compare01/... )
7241 Put data and eedata into repository ( verification/exp1 )
7242
7243 checkpoint2
7244 Created by AJA
7245 Added GM/Redi
7246
7247 checkpoint1
7248 Created by AJA
7249 Restructured kloop in dynamics.F
7250 Added non-linear EOS
7251
7252 baseline
7253 Original checked in code

  ViewVC Help
Powered by ViewVC 1.1.22