4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o tools/genmake2: |
8 |
|
- improve error msg when failing in 2nd test of check_for_broken_Ff |
9 |
|
- fix option '-makefile' short-name (-mf according to genmake2 -help) |
10 |
|
- source local config file "genmake_local" just after processing the genmake2 |
11 |
|
command arguments (previously done before processing arg). |
12 |
|
o pkg/grdchk: |
13 |
|
- add a call to TURNOFF_MODEL_IO for Tangent-Linear run (in this case, call |
14 |
|
to this routine from cost_final has been dropped in g_cost_final) |
15 |
|
- improve printed information (more explicit msg, no longer using "print *," |
16 |
|
fix fcpertminus printed value). |
17 |
|
o model/src: |
18 |
|
- move call to COST_INIT_VARIA out of packages_init_variables.F directly |
19 |
|
into initialise_varia.F (just after calling PACKAGES_INIT_VARIABLES): |
20 |
|
this prevents getting cost-funct reset in adinitialise_varia recomputations. |
21 |
|
o pkg/dic: |
22 |
|
- move initialisation of "freefe" array from from dic_biotic_forcing.F to |
23 |
|
fe_chem.F: this prevents TAF from dropping this initialisation in TLM code. |
24 |
|
o pkg/grdchk: |
25 |
|
- grdchk_main.F : added CALL GLOBAL_SUM_INT( ierr , myThid ) |
26 |
|
- grdchk_getadxx.F etc. : omit I/O if ierr.EQ.0 |
27 |
|
o pkg/autodiff/ctrl/grdchk : |
28 |
|
- attempt to sort out what works and what does not, |
29 |
|
with regard to I/O, and to warn/stop accordingly. |
30 |
|
o pkg/grdchk: |
31 |
|
- attempt to fix grdchk in the case of useSingleCpuIO. |
32 |
|
- "if ( myProcId .EQ. grdchkwhichproc .AND. ierr .EQ. 0 )" |
33 |
|
statements were moved from grdchk_main.F and into |
34 |
|
grdchk_getadxx.F grdchk_getxx.F grdchk_setxx.F. |
35 |
|
- a global sum is applied to record numbers icvrec/layer |
36 |
|
out of grdchk_loc so that they be passed to I/O routines. |
37 |
|
o pkg/smooth: |
38 |
|
- fix recomputation that appeared with nlfs : use smooth_recip_hFacC, |
39 |
|
smooth_hFacW, smooth_hFacS (copied at init_fixed) in 3d case. |
40 |
|
o verification/testreport: |
41 |
|
- add option '-tlm' for Tangent-Linear test (-adm,-oad,-tlm are all exclusive); |
42 |
|
- can also use compressed (gzip) reference output file; |
43 |
|
- change format (in pkg/grdchk) of TLM output (+ add forward gradient) |
44 |
|
to be easier to collect by testreport. |
45 |
|
- update existing TLM output (half out-of-date by more than 3 yrs). |
46 |
|
- report NETCDF & LAPACK settings (from genmake2) in output dir. |
47 |
|
- report run-time in each individual summary (previously only for AD test); |
48 |
|
for TLM test, add also TAF version. |
49 |
|
- add daily TLM test on (old) aces cluster + weekly test on baudelaire. |
50 |
|
|
51 |
|
checkpoint63r (2012/08/15) |
52 |
|
o tools/genmake2: |
53 |
|
- fix Makefile for target ftlall (+ update files to clean after make ftlall) |
54 |
|
o pkg/ecco/ecco_cost_final.F : |
55 |
|
- fix fc print statements (to stdout and costfunction0000) so |
56 |
|
that the printed value is always after the global sum. |
57 |
|
o pkg/seaice/seaice_dynsolver.F : |
58 |
|
- fix ice strength assymptote at SEAICE_area_max<1 |
59 |
|
(no change for the standard case of SEAICE_area_max=1) |
60 |
|
o some cleaning: |
61 |
|
- pkg source files: ensure that all *.F files from each pkg included the |
62 |
|
corresponding ${PKG}_OPTIONS.h file (except stand-alone src file which |
63 |
|
only includes CPP_EEOPTIONS.h); fix S/R CTRL_SMOOTH ; update AD experiment |
64 |
|
code_ad/*.F src files; add new option-file in pkg/admtlm + corresponding |
65 |
|
includes; |
66 |
|
- model/src: add PACKAGES_CONFIG.h wherever ALLOW_AUTODIFF[_TAMC] is used. |
67 |
|
- ALLOW_DIFFKR_CONTROL: add a stop in S/R CTRL_CHECK in case ALLOW_3D_DIFFKR |
68 |
|
is undef; also define /DYNVARS_DIFFKR/ common block in DYNVARS.h when |
69 |
|
ALLOW_DIFFKR_CONTROL is defined, to allow to compile and reach this stop. |
70 |
|
- update option-file CPP_OPTIONS.h of all AD experiments: |
71 |
|
* no longer include PACKAGES_CONFIG.h ; |
72 |
|
* includes ECCO_CPPOPTIONS.h if PACKAGES_CONFIG.h has been included ; |
73 |
|
* def/undef ALLOW_3D_DIFFKR independently of ALLOW_DIFFKR_CONTROL (before |
74 |
|
including ECCO_CPPOPTIONS.h). |
75 |
|
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
76 |
|
- clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into |
77 |
|
separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h, |
78 |
|
not necessary accurate). |
79 |
|
- add a template for option-file ECCO_CPPOPTIONS.h, mostly empty, in |
80 |
|
pkg/autodiff, i.e., the 1rst pkg to compile for adjoint built, with lines to |
81 |
|
deliberately break compilation (a remainder that it needs to be customized) |
82 |
|
- in pkg/ecco, includes ECCO_OPTIONS.h instead of COST_OPTIONS.h |
83 |
|
- rename COST_CPPOPTIONS.h to COST_OPTIONS.h |
84 |
|
- rename CTRL_CPPOPTIONS.h to CTRL_OPTIONS.h |
85 |
|
o tools/genamke2: |
86 |
|
- check for lapack. |
87 |
|
o pkg/cost and pkg/ecco : attempt to sort out some of the limiting intricacies. |
88 |
|
- pkg/cost.cost_final.F : allow for use of pkg/ecco and pkg/cost cost functions |
89 |
|
jointly. The exclusive ifdefs were removed, to add costs terms (when defined) |
90 |
|
from both packages. |
91 |
|
- the fc global sum in pkg/ecco/ecco_cost_final.F was removed accordingly. |
92 |
|
- for objf_atl we use either the pkg/ecco or the pkg/cost term depending on CPPs. |
93 |
|
- pkg/ecco and model/src : add CPP brackets around pkg/cost and pkg/ctrl includes |
94 |
|
of "CTRL_SIZE.h" "ctrl.h" "ctrl_dummy.h" "optim.h" / "cost.h" accordingly. |
95 |
|
o pkg/cost : add comments to explain special and/or untested setups. |
96 |
|
o pkg/exf: |
97 |
|
- use EXF_OPTIONS.h to set pkg/exf options except if done in ECCO_CPPOPTIONS.h |
98 |
|
(previously, ALLOW_AUTODIFF_TAMC was controling this switch). |
99 |
|
o verification/*/code_ad: |
100 |
|
mimimal cleaning of AD experiments ECCO_CPPOPTIONS.h option-file: |
101 |
|
- reccord when this file is included (define ECCO_CPPOPTIONS_H) |
102 |
|
- remove the most obvious obsolete features (e.g., #define ALLOW_COST not |
103 |
|
allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h) |
104 |
|
o pkg/seaice : |
105 |
|
- added possibility to change ice strength/PRESS0 relationship to |
106 |
|
HEFF, according to the following run time parameters |
107 |
|
SEAICEpresPow0 :: HEFF exponent for ice strength below SEAICEpresH0 (integer, >0) |
108 |
|
SEAICEpresPow1 :: HEFF exponent for ice strength above SEAICEpresH0 (integer, >0) |
109 |
|
SEAICEpresH0 :: HEFF threshold for ice strength (m) |
110 |
|
o pkg/ggl90 : |
111 |
|
- added run time flag mxlSurfFlag to include the code that ensure |
112 |
|
mixing between first and second level (previously included as a comment) |
113 |
|
o verification/1D_ocean_ice_column/input_ad/data.autodiff : |
114 |
|
- add test of newly added dumpAdByRec=T option where |
115 |
|
we write all records to one file per variable. |
116 |
|
o verification/global_ocean.cs32x15/code_ad/CPP_OPTIONS.h : |
117 |
|
- switch to #define ALLOW_BALANCE_RELAX and ALLOW_BALANCE_FLUXES |
118 |
|
to check that this code is ok with taf and compiles in adjoint. |
119 |
|
o pkg/autodiff : |
120 |
|
- added run time param dumpAdByRec : ad dump format switch. |
121 |
|
If true then write all records to one file per variable. |
122 |
|
Else write one file per record (remains the default). |
123 |
|
- revise seaice_ad_dump.F and exf_adjoint_snapshots_ad.F accordingly. |
124 |
o pkg/seaice: |
o pkg/seaice: |
125 |
- Added SEAICEuseTILT run time switch : if set to |
- Added SEAICEuseTILT run time switch : if set to |
126 |
false then omit the tilt term in seaice dynamics. |
false then omit the tilt term in seaice dynamics. |
127 |
- Fix free drift calculation. |
- Fix free drift calculation. |
128 |
o pkg/shelfice: |
o pkg/shelfice: |
129 |
When initializing SHELFICEDragQuadratic, set default to be |
When initializing SHELFICEDragQuadratic, set default to be |
130 |
consistent with shiCdrag in case SHELFICEuseGammaFrict is used, |
consistent with shiCdrag in case SHELFICEuseGammaFrict is used, |
131 |
but retain option to set it independently |
but retain option to set it independently |
132 |
(inconsistenty spotted by Veronique Dansereau) |
(inconsistenty spotted by Veronique Dansereau) |
133 |
o eesupp/inc: |
o eesupp/inc: |