4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
o model/src: move balancing of relaxation terms to new S/R balance_relax.F. |
o verification/testreport: |
8 |
|
- add option '-tlm' for Tangent-Linear test (-adm,-oad,-tlm are all exclusive); |
9 |
|
- can also use compressed (gzip) reference output file; |
10 |
|
- change format (in pkg/grdchk) of TLM output (+ add forward gradient) |
11 |
|
to be easier to collect by testreport. |
12 |
|
- update existing TLM output (half out-of-date by more than 3 yrs). |
13 |
|
|
14 |
|
checkpoint63r (2012/08/15) |
15 |
|
o tools/genmake2: |
16 |
|
- fix Makefile for target ftlall (+ update files to clean after make ftlall) |
17 |
|
o pkg/ecco/ecco_cost_final.F : |
18 |
|
- fix fc print statements (to stdout and costfunction0000) so |
19 |
|
that the printed value is always after the global sum. |
20 |
|
o pkg/seaice/seaice_dynsolver.F : |
21 |
|
- fix ice strength assymptote at SEAICE_area_max<1 |
22 |
|
(no change for the standard case of SEAICE_area_max=1) |
23 |
|
o some cleaning: |
24 |
|
- pkg source files: ensure that all *.F files from each pkg included the |
25 |
|
corresponding ${PKG}_OPTIONS.h file (except stand-alone src file which |
26 |
|
only includes CPP_EEOPTIONS.h); fix S/R CTRL_SMOOTH ; update AD experiment |
27 |
|
code_ad/*.F src files; add new option-file in pkg/admtlm + corresponding |
28 |
|
includes; |
29 |
|
- model/src: add PACKAGES_CONFIG.h wherever ALLOW_AUTODIFF[_TAMC] is used. |
30 |
|
- ALLOW_DIFFKR_CONTROL: add a stop in S/R CTRL_CHECK in case ALLOW_3D_DIFFKR |
31 |
|
is undef; also define /DYNVARS_DIFFKR/ common block in DYNVARS.h when |
32 |
|
ALLOW_DIFFKR_CONTROL is defined, to allow to compile and reach this stop. |
33 |
|
- update option-file CPP_OPTIONS.h of all AD experiments: |
34 |
|
* no longer include PACKAGES_CONFIG.h ; |
35 |
|
* includes ECCO_CPPOPTIONS.h if PACKAGES_CONFIG.h has been included ; |
36 |
|
* def/undef ALLOW_3D_DIFFKR independently of ALLOW_DIFFKR_CONTROL (before |
37 |
|
including ECCO_CPPOPTIONS.h). |
38 |
|
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
39 |
|
- clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into |
40 |
|
separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h, |
41 |
|
not necessary accurate). |
42 |
|
- add a template for option-file ECCO_CPPOPTIONS.h, mostly empty, in |
43 |
|
pkg/autodiff, i.e., the 1rst pkg to compile for adjoint built, with lines to |
44 |
|
deliberately break compilation (a remainder that it needs to be customized) |
45 |
|
- in pkg/ecco, includes ECCO_OPTIONS.h instead of COST_OPTIONS.h |
46 |
|
- rename COST_CPPOPTIONS.h to COST_OPTIONS.h |
47 |
|
- rename CTRL_CPPOPTIONS.h to CTRL_OPTIONS.h |
48 |
|
o tools/genamke2: |
49 |
|
- check for lapack. |
50 |
|
o pkg/cost and pkg/ecco : attempt to sort out some of the limiting intricacies. |
51 |
|
- pkg/cost.cost_final.F : allow for use of pkg/ecco and pkg/cost cost functions |
52 |
|
jointly. The exclusive ifdefs were removed, to add costs terms (when defined) |
53 |
|
from both packages. |
54 |
|
- the fc global sum in pkg/ecco/ecco_cost_final.F was removed accordingly. |
55 |
|
- for objf_atl we use either the pkg/ecco or the pkg/cost term depending on CPPs. |
56 |
|
- pkg/ecco and model/src : add CPP brackets around pkg/cost and pkg/ctrl includes |
57 |
|
of "CTRL_SIZE.h" "ctrl.h" "ctrl_dummy.h" "optim.h" / "cost.h" accordingly. |
58 |
|
o pkg/cost : add comments to explain special and/or untested setups. |
59 |
|
o pkg/exf: |
60 |
|
- use EXF_OPTIONS.h to set pkg/exf options except if done in ECCO_CPPOPTIONS.h |
61 |
|
(previously, ALLOW_AUTODIFF_TAMC was controling this switch). |
62 |
|
o verification/*/code_ad: |
63 |
|
mimimal cleaning of AD experiments ECCO_CPPOPTIONS.h option-file: |
64 |
|
- reccord when this file is included (define ECCO_CPPOPTIONS_H) |
65 |
|
- remove the most obvious obsolete features (e.g., #define ALLOW_COST not |
66 |
|
allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h) |
67 |
|
o pkg/seaice : |
68 |
|
- added possibility to change ice strength/PRESS0 relationship to |
69 |
|
HEFF, according to the following run time parameters |
70 |
|
SEAICEpresPow0 :: HEFF exponent for ice strength below SEAICEpresH0 (integer, >0) |
71 |
|
SEAICEpresPow1 :: HEFF exponent for ice strength above SEAICEpresH0 (integer, >0) |
72 |
|
SEAICEpresH0 :: HEFF threshold for ice strength (m) |
73 |
|
o pkg/ggl90 : |
74 |
|
- added run time flag mxlSurfFlag to include the code that ensure |
75 |
|
mixing between first and second level (previously included as a comment) |
76 |
|
o verification/1D_ocean_ice_column/input_ad/data.autodiff : |
77 |
|
- add test of newly added dumpAdByRec=T option where |
78 |
|
we write all records to one file per variable. |
79 |
|
o verification/global_ocean.cs32x15/code_ad/CPP_OPTIONS.h : |
80 |
|
- switch to #define ALLOW_BALANCE_RELAX and ALLOW_BALANCE_FLUXES |
81 |
|
to check that this code is ok with taf and compiles in adjoint. |
82 |
|
o pkg/autodiff : |
83 |
|
- added run time param dumpAdByRec : ad dump format switch. |
84 |
|
If true then write all records to one file per variable. |
85 |
|
Else write one file per record (remains the default). |
86 |
|
- revise seaice_ad_dump.F and exf_adjoint_snapshots_ad.F accordingly. |
87 |
|
o pkg/seaice: |
88 |
|
- Added SEAICEuseTILT run time switch : if set to |
89 |
|
false then omit the tilt term in seaice dynamics. |
90 |
|
- Fix free drift calculation. |
91 |
|
o pkg/shelfice: |
92 |
|
When initializing SHELFICEDragQuadratic, set default to be |
93 |
|
consistent with shiCdrag in case SHELFICEuseGammaFrict is used, |
94 |
|
but retain option to set it independently |
95 |
|
(inconsistenty spotted by Veronique Dansereau) |
96 |
|
o eesupp/inc: |
97 |
|
- in EEPARAMS.h, add real-type constant for some frequently used simple number |
98 |
|
(0,1,2,1/2), with name explicitly referring to RS/RL type. |
99 |
|
o model/src: |
100 |
|
- move balancing of relaxation terms to new S/R balance_relax.F. |
101 |
o pkg/autodiff: |
o pkg/autodiff: |
102 |
re-write active I/O high-level (control) S/R: |
re-write active I/O high-level (control) S/R: |
103 |
- rename S/R ACTIVE_READ/WRITE_RL to ACTIVE_READ/WRITE_3D_RL |
- rename S/R ACTIVE_READ/WRITE_RL to ACTIVE_READ/WRITE_3D_RL |