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

Diff of /MITgcm/doc/tag-index

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

revision 1.1248 by jmc, Mon Apr 12 20:29:44 2010 UTC revision 1.1324 by jmc, Mon Nov 1 00:27:53 2010 UTC
# Line 4  $Name$ Line 4  $Name$
4      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
5      ==============================      ==============================
6    
7    o pkg/generic_advdiff:
8      Change OBCS in multiDim advection (gad_advection.F):
9       Use maskInC to prevent intermediate update of tracer-field in OB regions,
10       thus keeping current-time-step OB values; and remove the call to OBCS_APPLY
11       which were applying future time-step OB values.
12      This way, all explicit calculations use current-time-step OB values
13       (simpler and more consistent).
14      Affects results when set-up uses time-varying OBC and multi-dim advection;
15       update output of experiment seaice_obcs.
16    o pkg/seaice:
17      move OPTIONS (formerly locally defined) to SEAICE_OPTIONS.h:
18       this includes SEAICE_GROWTH_LEGACY (+ SEAICE_DO_OPEN_WATER_GROWTH &
19         SEAICE_OCN_MELT_ACT_ON_AREA ) and SEAICE_SOLVE4TEMP_LEGACY.
20      Default (pkg/seaice/SEAICE_OPTIONS.h) is to define SEAICE_SOLVE4TEMP_LEGACY
21       but leave SEAICE_GROWTH_LEGACY undef ; For now, keep verification exp
22       unchanged (SEAICE_GROWTH_LEGACY defined in */code*/SEAICE_OPTIONS.h)
23    o pkg aim (2010/10/26):
24      - Introduce ALLOW_INSOLATION, moving toward a more general incoming solar radiation
25        formulation with obliquity, eccentricity, ... as run-time parameters,
26      - Introduce diagnostics for top-of-the-atmaophere incoming solar radiation and
27        upward shortwave radition at the surface (all-sky and clear-sky).
28    o pkg/obcs:
29      - writing sections with globalFiles=T does not work: switch to tiled-files
30        when writing sections for OBCS (change pkg/rw/write_rec.F accordingly).
31      - fix index bug (OB_Ie -> OB_Iw_) in obcs_apply_uvice.F
32      - apply OBCS_SEAICE_COMPUTE_UVICE to both uice and vice at all obcs
33    
34    checkpoint62m (2010/10/21)
35    o pkg/seaice: vectorize seaice_solve4temp.F
36      - move iterations loops outside of i/j-loops
37      - requires 2D arrays for TB and effConduct
38      - add 2D iceOrNot to replace HICE_ACTUAL.GT.0, as HICE_ACTUAL is
39        modified in this routine
40      - a little bit of clean up, adjusting indentation, etc.
41      - replaced a few TEN**a by exp(a*log(10.)) in new code for better
42        performance and '**TWO' by '**2' (because TWO is a float),
43        replaced ONE, ZERO
44    o eesupp/src:
45       fix flow dir for exch1_z_RX_cube, exch1_uv_RX_cube & exch1_bg_RX_cube
46    o pkg/seaice/seaice_growth.F
47      Revision 1.89 of seaice_growth.F completes the overall october 2010 revision and
48      merging process. The merged routine has two branches, and one activates the 'evolution'
49      branch by setting SEAICE_GROWTH_LEGACY to undef (at the top of the routine for now).
50      In summary, here is what the '10/10 revision' did consist of
51        part 1: seaice_growth.F revisions 1.71 to 1.75
52          - Preliminary seaice_growth.F clean-up, keeping test results strictly unchanged.
53            The emphasis here was on improving readability (e.g. by trying to use meaningful
54            variable names) and modularity (e.g. by adding arrays to store heff etc. updates).
55        part 1.5:
56          - revising the lab_sea experiment to make it a more useful (i.e. stable
57            and representative of an actual model run). This was done by generating a
58            (winter) pickup to start from, switching back the main experiment dynamic
59            solver from evp to lsr, having one of the experiments use the free drift solution.
60        part 2: seaice_growth.F revisions 1.76 to 1.85
61          - Sorting out hard-coded constants that prevented heat and fresh water conservation.
62          - Sorting out the various fields units and sign (set early on and reset at the end)
63            to avoid numerous scalings/re-scalings. By v1.85 the basic unit for ice, heat and
64            fresh water stock is 'effective ice meters', and >0 implies more ice/snow.
65          - Using tendency terms arrays (d_HEFF* etc.) to alleviate remaining code locks,
66            and simplifying logical expressions to further improve readibility.
67        part 3: seaice_growth.F revisions 1.86 to 1.89
68          - Re-organize the blocks of code more logically.
69          - Merging the '_if.F' pieces that add something new.
70    o pkg/thsice:
71      - vectorize thsice_solve4temp and thsice_get_exf.
72        Problem: thsice_solve4temp has an unvectorizable statement that
73        might also be problematic for TAF
74      - thsice_get_exf: add the ALLOW_BULK_LARGEYEAGER04 CPP-flag. This
75        does not change the verifcation experiment, but will change all
76        experiments that have this flag undefined (not tested in verification);
77        a little reorganization to save a few 2D fields and recomputations
78      - 1st step of revisiting thsice adjoint (major recomp. sorted out)
79      - 2nd step:  fix some store dirs
80        o seems to work somewhat, i.e. using ifort but not g77
81        o likely cause are incomplete init. or recomputation
82        o start verification/global_ocean.cs32x15/input_ad.thsice
83    o pkg/obcs: add support for exch2
84      - the position of the boundary and prescribed values are specified using
85        a global domain with exch2 facets stacked
86        - in x for N,S boundaries (like W2_mapIO=-1)
87        - in y for E,W boundaries (so E,W boundaries do not overlap)
88    o pkg/mdsio: add support for writing global sections with exch2
89        file layout is as for obcs described above:
90        - for x-z sections, facets are stacked in x (like W2_mapIO=-1)
91        - for y-z sections, facets are stacked in y
92    o pkg/thsice:
93       - change a few routines for better vectorization: thsice_albedo.F,
94         thsice_step_temp.F, and in thsice_calc_thickn.F. Results are
95         not affected, but in particular the latter routine has changed
96         dramatically (not necessarily easier to read now).
97       - re-arrange calculation in THSICE_SOLVE4TEMP: move outside of i,j loops
98       iteration loop and call to S/R THSICE_GET_BULKF & THSICE_GET_EXF.
99    o verification/lab_sea:
100      - overhaul of the forward model experiments. The main motivation
101        for this revision is that lab_sea has proven quite fragile (when
102        changing the sea-ice code, and switching platforms) to a point
103        when failures were very hard to attribute to specific code problems.
104      - the suspected reason for this fragility is noise amplification by evp so,
105        to start with, we decided to replace evp with lsr in the main experiment.
106      - the input.lsr experiment thus became obsolete and was removed.
107      - it was replaced with the input.fd experiment that uses an
108        analytical "free drift" solution as the ice velocity field.
109      - Taken together, input (lsr), input.fd (free drift) and input.hb87 (evp)
110        will hopefully allow us to discriminate problems due to dynamic solvers
111        from problems due to the thermodynamic code. input.salt_plume (lsr) allows
112        us to test additional options, along with the salt plume package.
113      - Finally a pickup was generated (at the end of a one year run) to
114        make the tests more representative of an actual model run. Previously
115        the tests starting point was a 1m thickness of ice everywhere.
116    o pkg/seaice:
117      - introducing S\R seaice_freedrift.F that compute the
118        analytical solution to an approximate ice momentum
119        equation (i.e. the simple stress/coriolis balance).
120      - define SEAICE_ALLOW_FREEDRIFT to trigger the computation
121        of the free drift velocity field, and enable its use.
122        To actually use the free drift solution as the model ice
123        velocity field set SEAICEuseFREEDRIFT to .TRUE. in data.seaice.
124    o move "useOASIS" from PARAMS.h to EEPARAMS.h and read it from "eedata"
125    
126    checkpoint62l (2010/10/04)
127    o pkg/seaice:
128      -fix the USE_ORIGINAL_SBI version (for variable freezing point);
129      -use "celsius2K" in SEAICE_VARIABLE_FREEZING_POINT and in new
130       version (with USE_ORIGINAL_SBI undef);
131    o add hooks for new packages OASIS, the package will follow
132      (hooks exclude the seaice pkg for now)
133    o pkg/autodiff: ALLOW_AUTODIFF_WHTAPEIO
134      Option to use mdsio_read_whalos.F/mdsio_write_whalos.F,
135      rather than mdsio_readvector.F/mdsio_writevector.F, within
136      adread_adwrite.F to read/write adjoint-related tapes to disk.
137    o eesupp and pkg/mdsio: ALLOW_WHIO
138      Option to write/read 2D fields to files including tiles halos.
139      The main purpose is for adjoint related "tape I/O".
140      The secondary purpose is for debugging phases.
141      A word on those rather specifically intended purposes.
142      The code was meant to be stripped down to the bare minimum.
143      Typically, there is a unique and basic mapping to the global
144      buffer (tile by tile, then proc by proc, then level by level), and
145      byteswaps and meta-files are omitted. Indeed the (*_WH*) code is not
146      meant to generate user friendly outputs of various shapes and forms.
147      Rather it is intended, for the knowledgeabale developers,
148      to be largely independent of the many mdsio options, to allow
149      outputs of tiles+halos in debugging phases and in adjoint runs,
150      and to allow some flexibility in tuning (adoint) I/O depending on each
151      file system behavior. With regard to tuning, most of the potential knobs
152      (to leave files open, to allocate the I/O indep. of usesinglecpuio,
153      to specify directories, to specify the typical size of I/O calls, etc.)
154      are not yet included, and will be added if they prove useful.
155    o pkg/seaice:
156       fix uninitialised arrays in USE_ORIGINAL_SBI version of seaice_solve4temp.F
157    o pkg/seaice:
158       new S/R seaice_solve4temp.F: this is the merged version of Ian Fenty
159       code (seaice_budget_ice_if.F) which enable to recover old standard
160       code (seaice_budget_ice.F) when option USE_ORIGINAL_SBI is defined.
161       temporary: add "#define USE_ORIGINAL_SBI" at the top of seaice_solve4temp.F.
162    o model/src (rStar):
163       use simple average (not area weighted) of rStarFac at U,V point when using
164       vectorInvariant and selectKEscheme=1,3 (consistent with mom. vertical advection)
165       update output of exp. fizhi-cs-32x32x40 and fizhi-cs-aqualev20.
166    
167    checkpoint62k (2010/09/17)
168    o adjoint
169       * changed verification/global_ocean.cs32x15 ; adjoint now tests
170         Adams-Bashforth 3 + NLFS + RSTAR
171       * some more modifs required for ECCO-GODAE v4
172    o pkg/seaice
173       add SEAICE_AGE_VOL option to use volume instead of area for
174       integrating SEAICE_AGE
175    o model/src:
176       first check-in of sigma & hybrid-sigma coordinate code ; also includes
177       non-linear free-surface parts ; but pressure-gradient not yet coded.
178    o pkg/ptracers:
179       option for ptracer to convert Salt Relax into additional EmP.
180        tested in exp. global_ocean.90x40x15.dwnslp (update output)
181    
182    checkpoint62j (2010/08/25)
183    o pkg/ggl90:
184       other minor changes: remove 3-D temp array gTKE (+ add argument myIter)
185    o pkg/dic: car_flux.F, phos_flux.F
186      - reduce number of exp-calls in order to improve performance
187      - clean up a little (replace fields by their macros, etc., fix
188        typo in CPP-flag)
189    o pkg/ggl90: minor changes
190      - GGL90diffKrS was removed --> always use GGL90diffKr
191      - GGL90viscAr was removed --> replaced with GGL90viscArU, GGL90viscArV
192      - hack of mxlMaxFlag=2 --> ensure mixing between first and second level
193        (commented out for now)
194      - change in max/min operations to ensure that smoothing is ok
195      - smoothing of GGL90viscAr was moved to ggl90_calc.F (as done for GGL90diffKr)
196      - always use diffKrNrT as background profile (i.e. never use diffKr field)
197    o pkg/cfc: bug fix, AREA(i,j,1,bi,bj) -> AREA(i,j,bi,bj)
198    o pkg/dic:
199      - model/src/impldiff.F: if TARGET_NEC_SX, extend loop ranges for better
200        vectorization
201      - small bug fix in insol for the unlikely case of a cartesian grid
202      - towards vectorizing the dic package: bio_export.F, car_flux.F, phos_flux.F
203        + now vectorize, which also removes adjoint recomputations;
204        + replace integer maksp1 by _RL maskp1
205        + replace a**x by exp(x*log(a)) in phos_flux.F for speed
206    
207    checkpoint62i (2010/07/21)
208    o pkg/flt:
209      - with OBCS: stop floats which enter the OB region
210    o model/src:
211      - use tempVertAdvScheme & saltVertAdvScheme (instead of horizontal ones)
212        for implicit vertical advection.
213    o pkg/seaice:
214     - account for melting in seaice age evolution.
215     - remove double counting of seaice ridging effect on seaice age.
216    
217    checkpoint62h (2010/06/18)
218    o pkg/exch2:
219     - remove exch2_*xy_rx files: call was replaced with exch2_*3d_rx(myNz=1).
220    o tools/genmake2
221      - remove "-pdefault" option: redundant with the use of "packages.conf";
222      - remove file pkg/pkg_default : set the default as a pkg group
223        ("default_pkg_list") defined in pkg/pkg_groups;
224      - fix for case pkg/pkg_depend is missing (was hanging before);
225      - add option "-pgroups" to specify a different pkg_groups than the default.
226    o verification/adjustment.cs-32x32x1:
227       add a "minimal" set-up test (code_min & input_min) which only compiles
228       eesupp/src and the 2 pkgs (exch2 & debug) which don't need model/src & inc.
229    o tools/genmake2
230      - extend pkg_depend rules to model & eesupp (e.g., if model depend on [pkg]))
231      - fix details of checking for mnc & profile pkg when NetCDF is unavailable.
232    o pkg/exf: merge exf_bulk_largeyeager04 into exf_bulkformulae because these
233      files are nearly the same anyway.
234      Step 1: make exf_bulkformulae look like exf_bulk_largeyeager04:
235       - redefinition of tau(i,i) (by a factor of ustar)
236       - 1./exf(Const/T) -> exf(-Const/T) (big change in the results)
237       - replace rhonil by rhoConstFresh in computation of evap (bug fix)
238       - replace u/vstress=tau*rd*ws*cw by tau*rd*u/vwind (changes results)
239       - replace
240         rd(i,j)= rdn(i,j)/(exf_one - rdn(i,j)/karman*psimh )
241         shn    = sh(i,j,bi,bj)*rd(i,j)/rdn(i,j)
242         by
243         shn    = sh(i,j,bi,bj)/(exf_one - rdn(i,j)/karman*psimh )
244         (changes results)
245       -> exf_bulkformulae v1.22,
246          update verification experiments lab_sea, offline_exf_seaice, seaice_obcs
247          (lab_sea: output.hb87.txt 1.11, output.lsr.txt 1.25, output.salt_plume.txt 1.13,
248                    output.txt 1.63
249           offline_exf_seaice: output.seaicetd.txt 1.7
250           seaice_obcs: output.txt 1.10)
251      Step 2: do the actual merge and remove exf_bulk_largeyeager04.F
252       -> exf_bulkformulae v1.23,
253          unfortunately requires updating lab_sea.salt_plume (6 matching digits),
254          and global_ocean.cs32x15.icedyn (only 11 matching digits)
255      Also update output_adm of exp. lab_sea (all 4) and offline_exf_seaice.
256    o adjoint of exch-1:
257     - pass high-level EXCH S/R through TAF (eesupp/src/exch_ad_diff.list)
258       (note: was already like this when using EXCH-2) and remove flow dir
259       and hand-written AD version of high-level EXCH S/R (pkg/autodiff);
260     - provide flow-dir for low-level exch1 S/R (eesupp/src/exch1_ad.flow);
261     - update pkg/exch2 diff list.
262    
263    checkpoint62g (2010/05/19)
264    o eesupp/src (exch-1):
265     - split exch_rx.F into Forward S/R (exch1_rx.F) and Adjoint S/R (exch1_rx_ad.F)
266       and remove argument "simulationMode"; same thing for all exch_*rx_cube.F
267       (renamed to exch1_*rx_cube.F).
268     - change accordingly exch_*_rx.template and AD version in pkg/autodiff
269       to call new exch1 S/R ; update Makefile and .cvsignore.
270     - replace call to exch2_xy_rx S/R with exch2_*3d_rx(myNz=1) (will remove
271       exch2_xy_rx later)
272      Note: after updating your code, need to run "make clean" in eesupp/src
273    o test experiment bottom_ctrl_5x5:
274       new output_adm.txt with fewer grdchk & less monitor output.
275    o model/src:
276      remove the call to ini_cori in initialise_varia.F (just keep the usual one
277       in initialise_fixed.F). More consistent with coriolis & horizontal grid
278       beeing treated in the same way (ini_grid is not called a 2nd time).
279    o pkg/exf:
280      - rewrite exf_bulk_largeyeager04.F for better vectorization, changes
281      global_ocean.cs32x15/input.icedyn (11 digits of agreement), updated
282      - fix adjoint (used worked for ALLOW_ATM_WIND defined, works for this now)
283      - cosmetic changes to exf_bulkformulae.F to make it look more like
284        exf_bulk_largeyeager04.F
285    o eesupp/src (exch-1):
286      - Fix AD EXCH code for 2-D domain special cases (Nx=1 or Ny=1).
287      - Separate buffer filling and MPI sending: allow EXCH-1 to work for local
288        array (non-shared) when using MPI+MTH. Also reduces number of BARRIER
289        (even without using MPI).
290      - Message mode: move RecvAck setting (indicator of buffer being ready)
291        from send_put to recv_get S/R (was useless before, but not sure if
292        it's much more useful now);
293      - Switch the order of sync: MPI-proc 1rst and then threads;
294      - take out spin-waiting code (#undef EXCH_USE_SPINNING), use BARRIER instead.
295      - fix AD code for communication mode ='get' (but not used).
296    o model/src:
297      initialise dPhiHydX,dPhiHydY inside calc_grad_phi_hyd.F (so that TAF does
298      not drop it in S/R mddynamics, producing NaN in hs94.1x64x5 AD-test exp).
299    o utils/matlab/rdmnc.m: adapt to be able to use the generic matlab netcdf API
300    o pkg/ctrl: require a specific set of control variables and exf-flags for
301      adjoint of seaice (stop in ctrl_check.F if conditions are not satisfied)
302    o model/src:
303     a) 1rst version of a new driver S/R to turn-off output freq and flags after the
304       1rst forward sweep, to avoid over-writing output files during recomputations
305       recomputations (& grdchk); called from cost_final.F (& ctrl_init_ctrlvar.F ?)
306     b) 2nd version:
307      - add specific pkg S/R for seaice & ptracers (called from S/R TURNOFF_MODEL_IO);
308      - switch-off more output flags (exf_monFreq, chkPtFreq, dumpInitAndLast,
309         writePickupAtEnd) + seaice & ptracers output;
310      - do not switch off MNC flags (otherwise, won't get admonitor netcdf file)
311    o model/src:
312      - new S/R rotate_uv2en_rl (..._rs) that rotates vector fields.
313    o pkg/exch2:
314      - remove "simulationMode" from arg. list of S/R EXCH2_RX1,2_CUBE ;
315      - add argument "signOption" to EXCH2_RX1_CUBE (will be needed for SM exch).
316    o pkg/autodiff & exch2:
317      process exch_uv_agrid_3d_rx.f & exch2_uv_agrid_3d_rx.f through TAF
318      (for now, only if ALLOW_EXCH2 is defined).
319    o pkg/autodiff:
320      - include PACKAGES_CONFIG.h in exch*ad.flow & exch*ad.F
321        (not supposed to be in CPP_OPTIONS.h) to get ALLOW_EXCH2 defined correctly.
322       + clean-up comments (_RS is not always real*4)
323      - fix bug in ADEXCH_UV_3D_RX (without EXCH2, was calling the forward exch S/R)
324      - add a stop in ADEXCH_UV_AGRID_3D_RX if trying to use it with EXCH2:
325        was calling a forward exch2, which is wrong ; used in SEAICE & EXF pkgs.
326    o testreport (AD-tests):
327      no longer link files from dir "../input" (1rst link files from
328      "../input_ad.[xx]" if secondary test "xx" and then from "../input_ad")
329    
330    checkpoint62f (2010/04/29)
331    o model/src/the_main_loop.F:
332      adjust store directives for seaice evp and multicategory according to
333      pkg/ecco/the_main_loop.F
334    o adjoint:
335      global_sum_ad was incomplete (noted many times by many people ;)
336      nice description by Jean U. as follows:
337      * allreduce(var) in global_sum.F can be interpreted as
338        reduce(sum) followed by broadcast of sum.
339      * The adjoint of that is
340        sum(adjoint) followed by broadcast(summed adjoint value)
341        or in other words, allreduce(sum, adjoint vars)
342      We were missing the sum(adjoint)!
343      Benign, except(!) for "global" scalars appearing in tile loops (bi,bj)
344      (noted by J.M. Campin, e.g., in cost_ssh_mean, variable offset).
345      The fix should produce 16-digit accuracy between
346      single-CPU multi-tile (e.g. nSx=2, nPx=1) and
347      multi-CPU single-tile (e.g. nSx=1, nPx-2)
348      We'll probably change this yet again shortly
349    o eesupp/src:
350      - fix global_sum_r4 (wrong from previous modif in Jun 2009; ever used ?)
351    o pkg/icefront
352      - ALLOW_SUBGLACIAL_RUNOFF option adds capability for time-evolving
353        specification of addmass array based on a 2D field, which is added
354        at bottommost wet level at each horizontal location.
355    o model/src:
356     horizontal grid initialisation (other than curvilinear): add code for Exch2 IO
357     layout; (not always compatible with delX,delY setting; commented out for now).
358    o pkg/exch2:
359     change tile to processor setting (case nSy*nPy > 1): allows default model mapping
360     (myX and myYGlobalLow) to be used for simple (1 facet, no blank tile) config.
361    
362    checkpoint62e (2010/04/15)
363    o pkg/obcs:
364      - fix wrong index in OBCS_SPONGE_V for Eastern-OB (reported by David Hebert).
365    o pkg/dic:
366      -fix bug in fe_chem.F for multi-tile (nSx*nSy > 1) set-up;
367        (note: not presently tested in any forward verification exp.)
368       update tutorial_global_oce_biogeo AD output file.
369    o pkg/exf:
370      - account for the variation of albedo as a function of zenith angle
371        by defining ALLOW_ZENITHANGLE in EXF_OPTIONS.h
372  o build_options:  o build_options:
373   - rename "linux_ia64_ifort+mpi_ice_nas" to "linux_amd64_ifort+mpi_ice_nas"   - rename "linux_ia64_ifort+mpi_ice_nas" to "linux_amd64_ifort+mpi_ice_nas"
374  o pkg/dic:  o pkg/dic:
# Line 76  o tools/build_options: Line 441  o tools/build_options:
441      but keep the former optfile for few weeks for smooth transition      but keep the former optfile for few weeks for smooth transition
442  o pkg/ecco  o pkg/ecco
443    - allow user defined cost function contributions    - allow user defined cost function contributions
444          CPP: ALLOW_USERCOST_CONTRIBUTION       CPP: ALLOW_USERCOST_CONTRIBUTION
445          USAGE: compute contributions in cost_usercost_all.F       USAGE: compute contributions in cost_usercost_all.F
446    - note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was.    - note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was.
447        the two options are complementary.        the two options are complementary.
448  o pkg/smooth  o pkg/smooth

Legend:
Removed from v.1.1248  
changed lines
  Added in v.1.1324

  ViewVC Help
Powered by ViewVC 1.1.22