/[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.1675 by heimbach, Mon Jun 25 19:25:41 2012 UTC revision 1.1730 by jmc, Wed Sep 5 15:07:03 2012 UTC
# Line 4  $Name$ Line 4  $Name$
4      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
5      ==============================      ==============================
6    
7    checkpoint63s (2012/09/05)
8    o pkg/exch2:
9      - add "if usingMPI" where it was missing (in exch2_rx?_cube*.template)
10        + to remove ALWAYS_USE_MPI in source code that TAF does not see.
11      - make new S/R W2_MAP_PROCS out of w2_eeboot.F to setup exch2 CommonFlag
12        and tiles to process mapping.
13      - re-arrange 3 header files (W2_EXCH2_PARAMS.h, _BUFFER.h & _TOPOLOGY.h)
14        moving /EXCH2_FILLVAL_RX/ & /W2_EXCH2_COMMFLAG/ to W2_EXCH2_TOPOLOGY.h;
15        rename "exch2_tProc" to "W2_tileProc" and move seting of e2FillValue_RX
16        from w2_eeboot.F to w2_readparms.F.
17    o eesupp/src:
18      - set exchNeedsMemsync & exchUsesBarrier according to "usingMPI" (instead of
19        ALWAYS_USE_MPI) + moved from ini_communication_patterns.F to eeset_parms.F;
20        also move setting of exchCollectStatistics from exch_init.F to eeset_parms.F
21      - in eedie.F and all_proc_die.F, always call MPI_FINALIZE when ALLOW_USE_MPI
22        is defined (remove condition on usingMPI) to match cases where MPI_INIT
23        has been called.
24      - fix bug I put in previous modif of exch_sm_3d_rx.template (not much used);
25      - change default (non-MPI) value of myPid (from 1 to 0) to match MPI settings
26        (so that on 1 proc, get same myPid independently of usingMPI)
27      - add a stop if multi-procs but usingMPI=F ; stop also if usingMPI=T and
28        useCubedSphereExchange with EXCH-1 (safer).
29      - add "if usingMPI" where it was missing (+ start to remove ALWAYS_USE_MPI).
30    o pkg/ggl90:
31      - fix bug in filling corner mask array "mskCor" (FILL_CS_CORNER_TR_RL call)
32        used in ALLOW_GGL90_SMOOTH code.
33    o pkg/flt:
34      - fix typo in FLT_WITHOUT_Y_PERIODICITY (the effect was to ignore stopping
35        floats at the Southern end of the domain).
36    o eesupp/inc:
37      - add a list of CPP-options which can be set by Makefile (DEF_IN_MAKEFILE.h);
38        but not used (and not to be used) anywhere, just for documentation.
39    o pkg/autodiff, exf, ptracers & seaice (AD & TL output):
40      - comment out the very nasty "writeBinaryPrec = writeStatePrec" line, since:
41        a) can damage previously written records in any other multi-record files.
42        b) if needed, can easily do it cleanly, by calling S/R WRITE_REC_3D_RL/S.
43    o tools/genmake2:
44      - define variable MAKE within Makefile and use it in place of 'make';
45      - update AD_CONFIG.h (if needed) before building any of the executable
46        (forward, adjoint or tangent-lin); this involves a 2nd invocation of make;
47        and add the usual #ifndef/#define AD_CONFIG_H in AD_CONFIG.h;
48      - always print usual warning comment 'this file is automatically generated'
49        from script convert_cpp_cmd2defines (+ remove this warning from genmake2).
50    o pkg/cheapaml:
51      - updated to correspond to the code used in accepted paper (Nico Wienders).
52    o pkg/exf:
53        added run time switch useAtmWind to replace ALLOW_ATM_WIND cpp switch.
54        ALLOW_ATM_WIND now just sets the useAtmWind default (see exf_readparms.F)
55        and force defines ALLOW_BULKFORMULAE (EXF_OPTIONS.h).
56    o pkg/exf, autodiff, ctrl, ecco and seaice:
57        remove ALLOW_ATM_WIND brackets, or replace them with useAtmWind ones.
58    o pkg/ctrl, ecco:
59        allow to compile both ALLOW_U/VSTRESS_CONTROL and ALLOW_U/VWIND_CONTROL.
60        Depending on useAtmWind, one is inactive, and the other is active (see
61        exf_getffields.F/exf_getsurfacefluxes.F).
62    o tools/genmake2:
63      - improve error msg when failing in 2nd test of check_for_broken_Ff
64      - fix option '-makefile' short-name (-mf according to genmake2 -help)
65      - source local config file "genmake_local" just after processing the genmake2
66        command arguments (previously done before processing arg).
67    o pkg/grdchk:
68      - add a call to TURNOFF_MODEL_IO for Tangent-Linear run (in this case, call
69        to this routine from cost_final has been dropped in g_cost_final)
70      - improve printed information (more explicit msg, no longer using "print *,"
71         fix fcpertminus printed value).
72    o model/src:
73      - move call to COST_INIT_VARIA out of packages_init_variables.F directly
74        into initialise_varia.F (just after calling PACKAGES_INIT_VARIABLES):
75        this prevents getting cost-funct reset in adinitialise_varia recomputations.
76    o pkg/dic:
77      - move initialisation of "freefe" array from from dic_biotic_forcing.F to
78        fe_chem.F: this prevents TAF from dropping this initialisation in TLM code.
79    o pkg/grdchk:
80      - grdchk_main.F : added CALL GLOBAL_SUM_INT( ierr , myThid )
81      - grdchk_getadxx.F etc. : omit I/O if ierr.EQ.0
82    o pkg/autodiff/ctrl/grdchk :
83      - attempt to sort out what works and what does not,
84        with regard to I/O, and to warn/stop accordingly.
85    o pkg/grdchk:
86      - attempt to fix grdchk in the case of useSingleCpuIO.
87      - "if ( myProcId .EQ. grdchkwhichproc .AND. ierr .EQ. 0 )"
88       statements were moved from grdchk_main.F and into
89       grdchk_getadxx.F grdchk_getxx.F grdchk_setxx.F.
90      - a global sum is applied to record numbers icvrec/layer
91       out of grdchk_loc so that they be passed to I/O routines.
92    o pkg/smooth:
93      - fix recomputation that appeared with nlfs : use smooth_recip_hFacC,
94        smooth_hFacW, smooth_hFacS (copied at init_fixed) in 3d case.
95    o verification/testreport:
96      - add option '-tlm' for Tangent-Linear test (-adm,-oad,-tlm are all exclusive);
97      - can also use compressed (gzip) reference output file;
98      - change format (in pkg/grdchk) of TLM output (+ add forward gradient)
99        to be easier to collect by testreport.
100      - update existing TLM output (half out-of-date by more than 3 yrs).
101      - report NETCDF & LAPACK settings (from genmake2) in output dir.
102      - report run-time in each individual summary (previously only for AD test);
103        for TLM test, add also TAF version.
104      - add daily TLM test on (old) aces cluster + weekly test on baudelaire.
105    
106    checkpoint63r (2012/08/15)
107    o tools/genmake2:
108      - fix Makefile for target ftlall (+ update files to clean after make ftlall)
109    o pkg/ecco/ecco_cost_final.F :
110      - fix fc print statements (to stdout and costfunction0000) so
111        that the printed value is always after the global sum.
112    o pkg/seaice/seaice_dynsolver.F :
113      - fix ice strength assymptote at SEAICE_area_max<1
114        (no change for the standard case of SEAICE_area_max=1)
115    o some cleaning:
116      - pkg source files: ensure that all *.F files from each pkg included the
117        corresponding ${PKG}_OPTIONS.h file (except stand-alone src file which
118        only includes CPP_EEOPTIONS.h); fix S/R CTRL_SMOOTH ; update AD experiment
119        code_ad/*.F src files; add new option-file in pkg/admtlm + corresponding
120        includes;
121      - model/src: add PACKAGES_CONFIG.h wherever ALLOW_AUTODIFF[_TAMC] is used.
122      - ALLOW_DIFFKR_CONTROL: add a stop in S/R CTRL_CHECK in case ALLOW_3D_DIFFKR
123        is undef; also define /DYNVARS_DIFFKR/ common block in DYNVARS.h when
124        ALLOW_DIFFKR_CONTROL is defined, to allow to compile and reach this stop.
125      - update option-file CPP_OPTIONS.h of all AD experiments:
126        * no longer include PACKAGES_CONFIG.h ;
127        * includes ECCO_CPPOPTIONS.h if PACKAGES_CONFIG.h has been included ;
128        * def/undef ALLOW_3D_DIFFKR independently of ALLOW_DIFFKR_CONTROL (before
129          including ECCO_CPPOPTIONS.h).
130    o pkg/cost, pkg/ctrl, pkg/ecco option-file:
131      - clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into
132        separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h,
133        not necessary accurate).
134      - add a template for option-file ECCO_CPPOPTIONS.h, mostly empty, in
135        pkg/autodiff, i.e., the 1rst pkg to compile for adjoint built, with lines to
136        deliberately break compilation (a remainder that it needs to be customized)
137      - in pkg/ecco, includes ECCO_OPTIONS.h instead of COST_OPTIONS.h
138      - rename COST_CPPOPTIONS.h to COST_OPTIONS.h
139      - rename CTRL_CPPOPTIONS.h to CTRL_OPTIONS.h
140    o tools/genamke2:
141      - check for lapack.
142    o pkg/cost and pkg/ecco : attempt to sort out some of the limiting intricacies.
143      - pkg/cost.cost_final.F : allow for use of pkg/ecco and pkg/cost cost functions
144        jointly. The exclusive ifdefs were removed, to add costs terms (when defined)
145        from both packages.
146      - the fc global sum in pkg/ecco/ecco_cost_final.F was removed accordingly.
147      - for objf_atl we use either the pkg/ecco or the pkg/cost term depending on CPPs.
148      - pkg/ecco and model/src : add CPP brackets around pkg/cost and pkg/ctrl includes
149        of "CTRL_SIZE.h" "ctrl.h" "ctrl_dummy.h" "optim.h" / "cost.h" accordingly.
150    o pkg/cost : add comments to explain special and/or untested setups.
151    o pkg/exf:
152      - use EXF_OPTIONS.h to set pkg/exf options except if done in ECCO_CPPOPTIONS.h
153        (previously, ALLOW_AUTODIFF_TAMC was controling this switch).
154    o verification/*/code_ad:
155      mimimal cleaning of AD experiments ECCO_CPPOPTIONS.h option-file:
156      - reccord when this file is included (define ECCO_CPPOPTIONS_H)
157      - remove the most obvious obsolete features (e.g., #define ALLOW_COST not
158        allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h)
159    o pkg/seaice :
160      - added possibility to change ice strength/PRESS0 relationship to
161        HEFF, according to the following run time parameters
162        SEAICEpresPow0 :: HEFF exponent for ice strength below SEAICEpresH0 (integer, >0)
163        SEAICEpresPow1 :: HEFF exponent for ice strength above SEAICEpresH0 (integer, >0)
164        SEAICEpresH0   :: HEFF threshold for ice strength            (m)
165    o pkg/ggl90 :
166      - added run time flag mxlSurfFlag to include the code that ensure
167        mixing between first and second level (previously included as a comment)
168    o verification/1D_ocean_ice_column/input_ad/data.autodiff :
169      - add test of newly added dumpAdByRec=T option where
170        we write all records to one file per variable.
171    o verification/global_ocean.cs32x15/code_ad/CPP_OPTIONS.h :
172      - switch to #define ALLOW_BALANCE_RELAX and ALLOW_BALANCE_FLUXES
173        to check that this code is ok with taf and compiles in adjoint.
174    o pkg/autodiff :
175      - added run time param dumpAdByRec : ad dump format switch.
176        If true then write all records to one file per variable.
177        Else write one file per record (remains the default).
178      - revise seaice_ad_dump.F and exf_adjoint_snapshots_ad.F accordingly.
179    o pkg/seaice:
180     - Added SEAICEuseTILT run time switch : if set to
181       false then omit the tilt term in seaice dynamics.
182     - Fix free drift calculation.
183    o pkg/shelfice:
184      When initializing SHELFICEDragQuadratic, set default to be
185      consistent with shiCdrag in case SHELFICEuseGammaFrict is used,
186      but retain option to set it independently
187      (inconsistenty spotted by Veronique Dansereau)
188    o eesupp/inc:
189      - in EEPARAMS.h, add real-type constant for some frequently used simple number
190         (0,1,2,1/2), with name explicitly referring to RS/RL type.
191    o model/src:
192      - move balancing of relaxation terms to new S/R balance_relax.F.
193    o pkg/autodiff:
194      re-write active I/O high-level (control) S/R:
195      - rename  S/R ACTIVE_READ/WRITE_RL to ACTIVE_READ/WRITE_3D_RL
196      - add 1 more argument (useCurrentDir) to replace the "_LOC" 2nd set of S/R.
197      - use standard pkg/mdsio I/O routines (MDS_READ/WRITE_SEC_XZ/YZ  and
198        MDS_READ/WRITE_FIELD); change loops to multi-threads.
199      - update and merge active_file_control_slice.flow into active_file_control.flow
200      - update the calls in lower level S/R (active_file.F, active_file_g.F and
201        active_file_ad.F) keeping the argument list and function unchanged.
202      - also update lower-level "_LOC" version (call same S/R with "useCurrentDir
203        =.TRUE.") and remove high-level (control) _loc version (not called anymore).
204      - new low-level active I/O routines, one for each type (RL/RS), for active var
205        of various (XY,XZ,YZ) shape and level number (arguments: arrShape, myNr);
206        fix ctrl_init_wet.F & ecco_cost_weights.F by calling the new S/R with the
207        right type.
208    o autodiff and RS=real*4:
209      - call the right type (_RS instead of _RL) of S/R in few output S/R (pkg/exf
210        ad-monitor and snapshots); disable arrType='RS' in mdsio_gl*.F ;
211      - change argument type of 3-D mask argument to _RS to match type in the call
212        (in seaice_cost*.F, ctrl_*_gen.F and *ctrl_bound.F); to be continued.
213    o pkg/thsice:
214      - re-anable balanceEmPmR when useSEAICE=T with useThSIce=T.
215      - option to correct ocean fresh-water flux for imbalance of Atmos+Land
216        fresh-water flux: uniform correction or proportional to local precip.
217    o pkg/ctrl:
218      - new header file CTRL_SIZE.h for parameters maxCtrlArr2D, maxCtrlArr3D
219      - redefine CPP option ALLOW_BOTTOMDRAG_CONTROL to
220                            ALLOW_BOTTOMDRAG_CONTROL_NONGENERIC
221      - verification/hs94.1x64x5/ tests ALLOW_GENARR{2D,3D}_CONTROL
222    
223    checkpoint63q (2012/07/30)
224    o pkg/autodiff:
225      note about monitor and snap-shot of ad-variables:
226      a) need to apply ADEXCH before monitor or output of ad-vars to include
227       overlap contributions (was done for adjDump but missing for monitor).
228      b) since ADEXCH implies adding overlap values to interior array, machine
229       truncation error is expected when adding an ADEXCH call in the middle of
230       the time-stepping (although mathematically identical).
231      modifs:
232      - fix some incorrect type (RL/RS, UV/scalar) in ADEXCH calls and ad-vars
233        declaration (adEddyPsiX,adEddyPsiY in adcommon.h).
234      - add new run-time params (dumpAdVarExch & mon_AdVarExch) to select how  to
235        apply ADEXCH before monitor or snap-shot of ad-variables:
236           =0 : no ADEXCH ; =1 : do ADEXCH ; =2 : apply ADEXCH on a local copy.
237      - implement new method (copy+adexch) for snap-shot and monitor of main model
238        ad-vars (initially not used by default -> output unchanged).
239      - change default (set to 2) to use new method and update few output_adm.txt
240        with accurate ad-monitor (global_ocean.90x40x15, tutorial_global_oce_biogeo
241        and both tutorial_tracer_adjsens tests).
242      - switch 2 global_ocean.cs32x15 AD-tests to AB-2 (seaice_dynmix & thsice)
243        and turn off momDissip_In_AB in the 2 other (needed for stable AB-3).
244    o pkg/ctrl:
245      enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of
246      generic control variables via
247      #define ALLOW_GENARR2D_CONTROL and/or #define ALLOW_GENARR3D_CONTROL
248      Only required customization should be S/R ctrl_map_ini_genarr.F
249      (routine in repository contains example)
250    o pkg/exf:
251      - fix and refine checking of surface-relaxation setting when using EXF
252    o verification (adjoint exp):
253      - reduce length of simulation by half for experiment global_ocean.cs32x15
254        (std, seaice & seaice_dynmix) and exp tutorial_dic_adjoffline; update output.
255    o pkg/mom_common (mom_u/v_bottomdrag), pkg/shelfice (shelfice_u/v_drag)
256      - replace if statements KE.ne.0 with KE.gt.0 to avoid sqrt of negative numbers
257        of KE that can occur with aggressive optimization
258      + put quadratic bottom drag calculation in separated loops (only done if
259        using bottomDragQuadratic)
260    o model/src: CG2D_NSA
261      - clean-up:  stop if cg2dNormaliseRHS=T and AUTODIFF
262         and replace GLOBAL_SUM calls with GLOBAL_SUM_TILE.
263      - in test-exp that uses CG2D_NSA (bottom_ctrl & tutorial_tracer_adjsens),
264         change cg2d residual target to be expressed in Wunits (=> do not normalise
265         RHS ; this fix global_max Pb with TAF); update output.
266    o verification/tutorial_tracer_adjsens:
267       improve parameter consistency (and get rid of warnings):
268       - use deltaTFreeSurf=deltaTtracer (better with NonLin FreeSurf);
269       - switch Temp Adv Scheme from 81 to 80 (no limiter since theta < 0 is physical)
270       - use staggerTimeStep (for stability) in som81; use default rotation period.
271    o pkg/exch2:
272      - with empty facet: fix compact-format (W2_mapIO=1) definition (was previously
273        reset to 0 = 1 long line in X)
274    o pkg/mdsio:
275      - fix reading of dimensions from meta file for large-size domain
276    o model/src:
277      - fix saltIsActiveTr setting for IdealGas eosType (eosType is 6 character long);
278      - to refine CS-grid check, add logical flag "hasWetCSCorners": true if using
279        Cubed-Sphere Exch with CS-corners inside the domain;
280        make new S/R INI_GLOBAL_DOMAIN from code in ini_linear_phisurf.F to calculate
281        globalArea and to set hasWetCSCorners.
282      - add warning if usingCurvilinearGrid and momAdvection in flux-form (missing
283        metric terms); stop if hasWetCSCorners=T and momAdvection in flux-form.
284      - re-activate the stop if useCDscheme and hasWetCSCorners=T (previously if
285        useCDscheme and useCubedSphereExchange).
286    o pkg/seaice/seaice_growth.F :
287      - compute the SEAICE_DISABLE_HEATCONSFIX term accordingly
288        for the (.NOT.useRealFreshWaterFlux).OR.(nonlinFreeSurf.EQ.0)
289        when the previous code was not correct.
290      - in all cases diagnoze the boundary condition mismatch to SIaaflux
291      - in the case of useRealFreshWaterFlux.AND.(nonlinFreeSurf.GT.0) add
292        that term to QNET (essentially to set the melt/freeze water to 0degC).
293        when SEAICEheatConsFix is true, so that the ocean+ice budget heat is closed.
294    o verification/global_ocean.cs32x15/input.seaice :
295      - add SEAICEheatConsFix in data.seaice, ensuring closed ocean+ice heat budget.
296      - add diagnostics (commented out) for budget test using my matlab codes (gcmfaces).
297      - update results (output.seaice.txt) accordingly.
298    o verification/lab_sea/input/data.seaice :
299      - remove SEAICEheatConsFix, which is now be tested
300        in global_ocean.cs32x15. The presently coded fix
301        is only consistent with real fresh water + nlfs.
302      - update results (output.txt) accordingly.
303    o pkg/salt_plume: added diagnotic for salt tendency (oceSPtnd).
304    o AD_CONFIG.h file:
305      - in genmake2: remove "#undef ALLOW_ECCO_OPTIMIZATION" from AD_CONFIG.h;
306      - remove #include "AD_CONFIG.h" from all included OPTIONS files and
307        add it explicitly in each fortran src file where it is needed.
308        motivation: header file AD_CONFIG.h is generated/modified after "make depend"
309        thus introducing potentially wrong dependency; therefore, better to include
310        it only where it's really needed, and after any other included OPTIONS file
311        (less tempting to bring conditional includes according to ALLOW_ADJOINT_RUN
312        or ALLOW_TANGENTLINEAR_RUN).
313    
314    checkpoint63p (2012/07/06)
315    o pkg/autodiff:
316      - rename S/R INI_AUTODIFF to AUTODIFF_INIT_VARIA ;
317      - create new header file "AUTODIFF_PARAMS.h" for pkg/autodiff parameters
318        which are now read from new parameter file "data.autodiff" (inAdExact
319        previously in "data", use{KPP/GMRedi/SEAICE}inAdMode previously in data.pkg)
320      - add file "data.autodiff" in all verification/*/input_ad/ directories.
321      - add run-time parameter to turn On/Off SEAICEuseFREEDRIFT in adjoint/forward
322        mode (used in global_ocean.cs32x15.seaice_dynmix test exp.)
323    o verification/tutorial_tracer_adjsens/
324      - add extra sub-verification which uses "SOM" advection scheme
325        (2nd Order-Moment Advection Scheme, Prather Limiter) with
326          #define GAD_ALLOW_TS_SOM_ADV in GAD_OPTIONS.h
327        and in data:
328          multiDimAdvection=.TRUE.,
329          tempAdvScheme=81,
330          saltAdvScheme=81,
331    o model/src:
332      - introduce ALLOW_BALANCE_RELAX which allow the removal
333       of the global mean of relaxation terms by setting
334       balanceThetaClimRelax and balanceSaltClimRelax
335      - disable balanceEmPmR and balanceQnet in the case when useSeaice.
336       This case is now treated appropriately in seaice_growth.F
337    o pkg/seaice:
338      - do balanceEmPmR and balanceQnet based on the net fluxes
339        (SItflux) that enter the ocean+ice system rather than QNET
340        and EMPMR. Works best in real fresh water.
341      - SIatmFW, SIatmQnet, and SItflux computations had to be moved
342        out of the diagnotics bloc, and stored in global arrays.
343    
344    checkpoint63o (2012/06/29)
345    o vertical mixing schemes:
346      - remove unused S/R CALC_BUOYANCY (left from branch-atmos merging)
347      - replace computation of density (in Function STATE1, opps_calc.F) by a call
348        to S/R FIND_RHO_SCALAR
349      - pass sigmaR to S/R PP81_CALC, MY82_CALC (but not yet used) and to GGL90_CALC
350        and use it for N^2 calculation in ggl90_calc.F (save 2 density computations);
351        affects output (vermix.ggl90) at truncation level.
352    o testreport:
353      - change adjustment of SIZE.h for mpi+mth testing: preserve enough tiles
354        (nSx,nSy) for the number of threads (from eedata.mth)
355    o model/src:
356      - remove 2nd set of calls at the top of initialise_varia.F (Adjoint part)
357        related to Non_Lin Free-Surf or Bottom-Control (but not longer necessary).
358  o verification/tutorial_tracer_adjsens/  o verification/tutorial_tracer_adjsens/
359    - compile with ALLOW_CG2D_NSA    - compile with ALLOW_CG2D_NSA
360    - run with nonlinFreeSurf=3    - run with nonlinFreeSurf=3

Legend:
Removed from v.1.1675  
changed lines
  Added in v.1.1730

  ViewVC Help
Powered by ViewVC 1.1.22