3 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
4 |
============================== |
============================== |
5 |
|
|
6 |
|
Branch icebear |
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
7 mar 03 |
11 |
|
Branched off ecco_c44_e27 |
12 |
|
Bug fix in pkg/ctrl/ctrl_init.F |
13 |
|
|
14 |
|
|
15 |
|
==================================================================== |
16 |
|
|
17 |
|
ecco_c44_e27 |
18 |
|
o exf: |
19 |
|
- Enable initialisation of forcing fields to constant |
20 |
|
(runtime) values. |
21 |
|
- in exf_getffields.F |
22 |
|
Reduce i-/j-loop to interior domain, discarding overlaps. |
23 |
|
That also fixes wrong TAF-key computations for key_1, key_2 |
24 |
|
with bulf formulae. |
25 |
|
- exf_init.F modify #ifdef for exf_init_evap |
26 |
|
- exf_getffieldrec.F, ctrl_getrec.F |
27 |
|
The following INT-usages are not safe: |
28 |
|
fldsecs = int(fldsecs/fldperiod)*fldperiod |
29 |
|
fldcount = int(fldsecs/fldperiod) + 1 |
30 |
|
and were modified. |
31 |
|
- added repeatPeriod (from MAIN branch) |
32 |
|
o grdchk: updated and merged |
33 |
|
- has both ADM and TLM checks |
34 |
|
- works for single- and multi-proc. |
35 |
|
- output cleaned |
36 |
|
- worked successfully for parallel DIVA |
37 |
|
Needed one update in EEPARAMS.h and updates in ctrl package |
38 |
|
More modif's may be necessary for ECCO code to support TLM. |
39 |
|
o autodiff: checkpoint_lev... |
40 |
|
- updated storing for bulk formulae (some arrays were missing) |
41 |
|
- added state for seaice package |
42 |
|
- synchronized with main branch |
43 |
|
o DIVA: |
44 |
|
Modif.s in |
45 |
|
- cost_init.F |
46 |
|
- cost_averagesfields.F |
47 |
|
- ecco_the_main_loop.F |
48 |
|
- ecco_the_model_main.F |
49 |
|
and added cost_final_restore.F cost_final_store.F |
50 |
|
o With these changes, it is possible to fully separate |
51 |
|
the first forward run to compute the cost function (mdthe_main_loop) |
52 |
|
and adjoint runs over individual DIVA intervals (adthe_main_loop) |
53 |
|
into separate model executions. |
54 |
|
This enables better tuning of DIVA to given queue sizes. |
55 |
|
o Loss of cost function value in consecutive DIVA runs is |
56 |
|
fixed by storing to 'costfinal' file. |
57 |
|
o Appropriate call of ctrl_unpack/_pack,grdchk_main at |
58 |
|
beginning/end of adjoint integration is accounted for. |
59 |
|
The current changes apply to TAF-1.4.26. |
60 |
|
TAF has one remaining bug, requiring one manual change |
61 |
|
(see MITgcm manual). |
62 |
|
o bug fix plus modif for ubar, vbar in cost_averagesfields |
63 |
|
o cal: synchronized between MAIN and ecco-branch |
64 |
|
|
65 |
|
icebear4 |
66 |
|
o Added cost_ice for sea-ice volume sensitivity experiment. |
67 |
|
o ecco_the_model_main.F: SEAICE_WRITE_PICKUP must precede WRITE_CHECKPOINT |
68 |
|
o Reduced derivative singularities in pkg/seaice. |
69 |
|
o Updated verification/natl_box_adjoint |
70 |
|
|
71 |
|
icebear3 |
72 |
|
o Removed spurious iikey and idkey |
73 |
|
o pkg/exf |
74 |
|
- bug fix in treatment of downward radiation |
75 |
|
o pkg/seaice |
76 |
|
- added initial sea-ice thickness parameter SEAICE_initialHEFF |
77 |
|
o updated verification/natl_box_adjoint |
78 |
|
|
79 |
|
icebear2 |
80 |
|
o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf, |
81 |
|
kpp_transport_t.F,and ecco_the_main_loop.F |
82 |
|
o adjoint-friendly modifications to pkg/seaice |
83 |
|
o added verification/lab_sea as per release1_p12_pre |
84 |
|
|
85 |
|
ecco_c44_e26 |
86 |
|
o Merging pkg/exf and pkg/seaice from cvs tag ecco_ice2 |
87 |
|
o exf: Modifications to correctly handle evap field for adjoint |
88 |
|
o grdchk: |
89 |
|
Added code to perform gradient checks for bulk formulae/atmos. state |
90 |
|
(atemp, aqh, uwind, vwind). |
91 |
|
NOTE: |
92 |
|
This package is out of synch with c48 package. |
93 |
|
The latter also has the tangent linear gradient checks. |
94 |
|
Need to be merged. |
95 |
|
o verification/natl_box_adjoint: |
96 |
|
* added new setup: code_bulk/, input_bulk, results_bulk |
97 |
|
(Experiment 2, described in README) |
98 |
|
uses bulk formulae and atmos. state as control instead of |
99 |
|
air-sea fluxes. |
100 |
|
Performs gradient checks for first 4 elements of atemp control. |
101 |
|
* changed standard verification to perform |
102 |
|
gradient checks on first 4 elements on hflux control. |
103 |
|
* gmredi switched off (will come after merge with c48). |
104 |
|
|
105 |
|
ecco_c44_e25 |
106 |
|
o Merging some GM changes from main trunk (c47) to ecco-branch. |
107 |
|
o Updating verif. natl_box_adjoint with GMRedi. |
108 |
|
o Adding setup with explicit differentiaton of pressure solver. |
109 |
|
o Bug fix: missing OBCS_OPTIONS.h for sponge layer code. |
110 |
|
o (Re-?) Commiting old bug fixes in kpp to ecco-branch |
111 |
|
(kpp_calc.F, kpp_routines.F) |
112 |
|
o exf: |
113 |
|
updated external forcing package |
114 |
|
- cleaned old exfa stuff |
115 |
|
- bug fixes |
116 |
|
(missing OBCS_OPTIONS.h in two routines) |
117 |
|
- enable easy to use "no forcing". |
118 |
|
- added exf I/O for atmospheric loading |
119 |
|
- added exf I/O for runoff data |
120 |
|
- transfered scaling between exf <-> MITgcm to exf namelist |
121 |
|
|
122 |
|
ecco_c44_e24 |
123 |
|
o modifications to gradient check package (Martin Losch) |
124 |
|
- enable centered differences |
125 |
|
- modified format of standard output |
126 |
|
o bug fix for nwettile contents |
127 |
|
so far assumed global sum in first entry (1,1,k), |
128 |
|
needed for global control vector |
129 |
|
-> introduced new variable nwet[c/w/s]global(nr) |
130 |
|
o shifts of calls to cal/exf package to be accessible |
131 |
|
in MITgcm stand-alone |
132 |
|
o shifted packages_init_variables before convective_adjustment_ini |
133 |
|
(corresponding update of TAF tape initialisation). |
134 |
|
o removed auxiliary field in impldiff |
135 |
|
(caused numerical differences for GMRedi cases) |
136 |
|
o updated obcs control part (G. Gebbie) |
137 |
|
o removed some f90 comments ("!") |
138 |
|
o Bug fixes and updates in cost package |
139 |
|
* cost_final: correct multiplier mult_tauv, mult_sflux |
140 |
|
* cost_hyd: added call cost_ssh |
141 |
|
* cost_init_barfiles.F: replaced arrays by tmpfld's |
142 |
|
* cost_readtopexmean.F: ersmask -> tpmeanmask |
143 |
|
* cost_weights.F: corrected wtheta[2], wsalt[2] |
144 |
|
o cleaned exchanges in cg2d.F |
145 |
|
|
146 |
|
ecco_c44_e23 |
147 |
|
merged patches between release1_p1 and release1_p2: |
148 |
|
o fixed array boundary problem for adjoint |
149 |
|
(related to partial recomputation within subroutine |
150 |
|
related to dynamics -> calc_viscosity -> mom_... |
151 |
|
o fixed recomputation in thermodynamics |
152 |
|
o prepare (but not complete) recomputation problem in impldiff |
153 |
|
o fixed problem for adjoint of global_max |
154 |
|
o switched off sponge layer code in external_forcing |
155 |
|
Bug fix in ctrl_mask_set_yz (spotted by G. Gebbie) |
156 |
|
|
157 |
|
ecco_c44_e22 |
158 |
|
o Finally, the merges with the Scripps cost function terms: |
159 |
|
Various additions, modifications, quality checks. |
160 |
|
o Plus: Included switch ALLOW_AUTODIFF_MONITOR to handle |
161 |
|
monitoring of adjoint state. |
162 |
|
o Plus: removed comm_stats, ini_communication_patterns from diff. list |
163 |
|
(no more need to "keep" MPI headers for adjoint generation) |
164 |
|
o Plus: exf changes: |
165 |
|
o added run-off routine |
166 |
|
o additional storing needed for ustress,vstess |
167 |
|
because of state-dependent quality check |
168 |
|
o added missing initialisations |
169 |
|
o Plus: genmake with MAKEDEPEND variable was still missing in ecco-branch |
170 |
|
NB: - verification/natl_box_adjoint/ 240 steps run |
171 |
|
* looks ok under Linux (twain.lcs.mit.edu) |
172 |
|
* looks ok on MIT SUN's (fjord.mit.edu) |
173 |
|
* NaN in reverse mode on Scripps SUN's at iter=214 |
174 |
|
* NaN in reverse mode on IBM SP3 (BlueHorizon) at iter=204 |
175 |
|
- 1 year forward int. global 2x2 deg. produces similar cost functions |
176 |
|
* all cost terms of new code are slightly smaller (0.5 to 3%). |
177 |
|
|
178 |
|
ecco_c44_e21 |
179 |
|
o reversed order of ctrl/cost initialisation |
180 |
|
o gmredi_slope_psi.F: Inconsistent types in MIN/MAX expressions |
181 |
|
o modified to enable ctrl field swapping |
182 |
|
o bug fix for global sum of ncvarlength in ctrl_init |
183 |
|
o no more call to ctrl_unpack from ctrl_init |
184 |
|
o no more write of ctrl vector in ctrl_pack |
185 |
|
however, init. of control vector from ctrl_unpack |
186 |
|
o various bug fixes & consistent nobcs handling in |
187 |
|
ctrl_pack/unpack routines (by G. Gebbie) |
188 |
|
o optim package: Added obcs control part for lsopt I/O |
189 |
|
(by G. Gebbie) |
190 |
|
o missing call to obcs_diags |
191 |
|
o moved calls in packages_init_fixed to packages_readparms |
192 |
|
because some quantities are needed earlier. |
193 |
|
|
194 |
|
ecco_c44_e20 |
195 |
|
o before major merges from the Scripps setup |
196 |
|
here are two small updates: |
197 |
|
- field swapping for surface flux controls enabled |
198 |
|
(remains t.b.d. for atmos. state plus obcs) |
199 |
|
- bug fix in active_file.F for xz-/yz- routines |
200 |
|
- added missing xz-/yz- routines to active_file_ad.F |
201 |
|
|
202 |
|
ecco_c44_e19 |
203 |
|
o merged necessary patches: |
204 |
|
- AD-related changes for GMRedi |
205 |
|
- fixes i KPP (delZ -> drF) |
206 |
|
- hook to OBCS songe layer code in external_forcing |
207 |
|
- errorMessageUnit non-zero in eeboot.F |
208 |
|
- included GMREDI, EXACT_CONSERV to natl_box_adjoint verif. |
209 |
|
|
210 |
|
ecco_c44_e18 |
211 |
|
o sponge layer code for obcs was missing |
212 |
|
- added hook in external_forcing.F |
213 |
|
- added storing for TAF |
214 |
|
o new routine cost_init_barfiles to initialise |
215 |
|
adjoint fields adtbar, adsbar, adpsbar |
216 |
|
(needed in conjunction with corrected ladinit for active I/O) |
217 |
|
o cleaned up and corrected order in packages_readparms, ecco_readparms |
218 |
|
o corrected and simplified weights for obcs controls |
219 |
|
- weight fields simplified |
220 |
|
- bug fix in ctrl_pack |
221 |
|
- no more write of control vector in ctrl_pack |
222 |
|
o i/j index bug fixes in cost_ssh_mean |
223 |
|
|
224 |
|
ecco_c44_e17 |
225 |
|
o bug fixes in cost package |
226 |
|
* wrong identifier for active I/O of monthly mean psbar |
227 |
|
(cost_averagesfields, cost_ssh) xx_psbar_dummy |
228 |
|
* cleaned all identifier for active I/O of monthly fields |
229 |
|
* wrong ladinit in various cost routines |
230 |
|
o merge with interval (chkpt44c_post - chkpt44d_post) |
231 |
|
* added missing EXCLUDE_MONITOR flags |
232 |
|
* changed "e" to "_d" in gmredi_slope_limit, gmredi_slope_psi |
233 |
|
(incompatible typ in MIN/MAX expressions caused problems |
234 |
|
on IBM SP3) |
235 |
|
* in genmake added variable MAKEDEPEND |
236 |
|
plus resetting for case SunOS |
237 |
|
added timer_stats.c routine for IBM SP3 |
238 |
|
* removed variables in dynamics |
239 |
|
|
240 |
|
ecco_c44_e16 |
241 |
|
o new ECCO checkpoint, the first since ecco_c43_e15 |
242 |
|
which is branched from MITgcm. |
243 |
|
All changes were merged in between (see ecco-branch-mod? tags). |
244 |
|
o last changes: |
245 |
|
* assuming path for TAF and TAMC are known (e.g. in $path) |
246 |
|
* genmake: |
247 |
|
- added tools/xmakedepend to circumvene shortcoming of |
248 |
|
SUN's makedepend (size too small) |
249 |
|
- invoking ../tools/xmakedepend instead of makedepend |
250 |
|
- changed compiler flags for case SunOS |
251 |
|
|
252 |
|
ecco-branch-mod5 |
253 |
|
o mod's to reproduce open boundary run |
254 |
|
o enable field swapping for OB's and climatology |
255 |
|
o update store directives for OB control |
256 |
|
o added option ALLOW_OBCS_PRESCRIBE |
257 |
|
o call of getobcs now out of obcs_calc (param. list modified) |
258 |
|
|
259 |
|
ecco-branch-mod4 |
260 |
|
o this is the second part of changes necessary to reconcile |
261 |
|
the natl_box_adjoint verification (with and without grdchk). |
262 |
|
>>>!!! CHANGES BETWEEN THE TAGS ecco-branch-mod3 !!!<<< |
263 |
|
>>>!!! AND ecco-branch-mod4 !!!<<< |
264 |
|
>>>!!! SHOULD BE MERGED INTO THE MAIN TRUNK !!!<<< |
265 |
|
- genmake: removed $S64 overwrite for case SunOS |
266 |
|
- pkg/exf: update and corrections for field swapping and obcs |
267 |
|
- pkg/ecco: parameter lists for the_model_main, the_main_loop |
268 |
|
harmonized between ECCO and MITgcm |
269 |
|
- pkg/autodiff: added flow directives for obcs, mdsio_gl_slice |
270 |
|
updated checkpointing_lev... lists for obcs |
271 |
|
- model/src: minor changes in forward_step, plot_field |
272 |
|
- pkg/mdsio: added mdsio_gl_slice |
273 |
|
|
274 |
|
ecco-branch-mod3 |
275 |
|
o this is the first part of changes necessary to reconcile |
276 |
|
natl_box_adjoint verification (with and without grdchk). |
277 |
|
This set of changes is relevant for ECCO only. |
278 |
|
The next set/tag of changes (ecco-branch-mod4) |
279 |
|
should be merged into the main trunk. |
280 |
|
- update some options |
281 |
|
- parameter lists of ecco_the_model_main and ecco_the_main_loop |
282 |
|
differed from those of the MITgcm counterparts. |
283 |
|
|
284 |
|
ecco-branch-mod2 |
285 |
|
o update ecco-branch-mod1 to checkpoint44 |
286 |
|
o exclude from updates: |
287 |
|
- verification/ |
288 |
|
- adjoint/ |
289 |
|
- pkg/cost |
290 |
|
- pkg/ctrl |
291 |
|
- pkg/ecco |
292 |
|
- pkg/obcs |
293 |
|
- model/src/the_model_main.F |
294 |
|
- model/src/the_main_loop.F |
295 |
|
|
296 |
|
checkpoint44 |
297 |
|
o apply Shapiro filter on T&S before calc_PhiHyd (stagger time stepping) |
298 |
|
o fix bug in mom_vi_del2uv |
299 |
|
o added some stuff for AD |
300 |
|
|
301 |
|
ecco-branch-mod1 |
302 |
|
o based on c43 |
303 |
|
o replaced packages cost, ctrl, ecco, obcs |
304 |
|
o removed MITgcm verif.'s, added ECCO verif.'s |
305 |
|
o added lsopt, optim for line search optimization. |
306 |
|
|
307 |
|
checkpoint43 |
308 |
|
o added two new advection tests |
309 |
|
o added global 4x4 degree ocean test |
310 |
|
o added test of H&S94 with free surface on cube |
311 |
|
o some final mods for gradient check, adjoint,... |
312 |
|
|
313 |
|
checkpoint42 |
314 |
|
Fixed AD-related problems: |
315 |
|
o Store directives up-to-date with re-arranged Adams-Bashforth |
316 |
|
(mainly thermodynamics.F) |
317 |
|
o New store directives for multi-dim. advection schemes |
318 |
|
* new CPP flag ALLOW_MULTI_DIM_ADVECTION |
319 |
|
* new common block and key passkey |
320 |
|
(mainly gad_advection.F) |
321 |
|
o Modified store directives for split of dynamics/thermodynamics |
322 |
|
for the case ALLOW_KPP |
323 |
|
o Cleaned argument list for timestep_tracer.F |
324 |
|
|
325 |
|
checkpoint41 |
326 |
|
o re-formatted/added comments in prologues of key subroutines |
327 |
|
to work with protex |
328 |
|
|
329 |
checkpoint40 |
checkpoint40 |
330 |
o moved calc_gs, calc_gt and calc_tr1 back to model/src |
o moved calc_gs, calc_gt and calc_tr1 back to model/src |
331 |
o added FLT (floats) package from Arne along with demo. experiment |
o added FLT (floats) package from Arne along with demo. experiment |