4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exf/exf_bulk_largeyeager04.F: rewrite for better vectorization, changes |
8 |
|
global_ocean.cs32x15/input.icedyn (11 digits of agreement), updated |
9 |
|
o eesupp/src (exch-1): |
10 |
|
- Fix AD EXCH code for 2-D domain special cases (Nx=1 or Ny=1). |
11 |
|
- Separate buffer filling and MPI sending: allow EXCH-1 to work for local |
12 |
|
array (non-shared) when using MPI+MTH. Also reduces number of BARRIER |
13 |
|
(even without using MPI). |
14 |
|
- Message mode: move RecvAck setting (indicator of buffer being ready) |
15 |
|
from send_put to recv_get S/R (was useless before, but not sure if |
16 |
|
it's much more useful now); |
17 |
|
- switch the order of sync: MPI-proc 1rst and then threads; |
18 |
|
- take out spin-waiting code (#undef EXCH_USE_SPINNING), use BARRIER instead. |
19 |
|
o model/src: |
20 |
|
initialise dPhiHydX,dPhiHydY inside calc_grad_phi_hyd.F (so that TAF does |
21 |
|
not drop it in S/R mddynamics, producing NaN in hs94.1x64x5 AD-test exp). |
22 |
|
o utils/matlab/rdmnc.m: adapt to be able to use the generic matlab netcdf API |
23 |
|
o pkg/ctrl: require a specific set of control variables and exf-flags for |
24 |
|
adjoint of seaice (stop in ctrl_check.F if conditions are not satisfied) |
25 |
|
o model/src: |
26 |
|
a) 1rst version of a new driver S/R to turn-off output freq and flags after the |
27 |
|
1rst forward sweep, to avoid over-writing output files during recomputations |
28 |
|
recomputations (& grdchk); called from cost_final.F (& ctrl_init_ctrlvar.F ?) |
29 |
|
b) 2nd version: |
30 |
|
- add specific pkg S/R for seaice & ptracers (called from S/R TURNOFF_MODEL_IO); |
31 |
|
- switch-off more output flags (exf_monFreq, chkPtFreq, dumpInitAndLast, |
32 |
|
writePickupAtEnd) + seaice & ptracers output; |
33 |
|
- do not switch off MNC flags (otherwise, won't get admonitor netcdf file) |
34 |
|
o model/src: |
35 |
|
- new S/R rotate_uv2en_rl (..._rs) that rotates vector fields. |
36 |
|
o pkg/exch2: |
37 |
|
- remove "simulationMode" from arg. list of S/R EXCH2_RX1,2_CUBE ; |
38 |
|
- add argument "signOption" to EXCH2_RX1_CUBE (will be needed for SM exch). |
39 |
|
o pkg/autodiff & exch2: |
40 |
|
process exch_uv_agrid_3d_rx.f & exch2_uv_agrid_3d_rx.f through TAF |
41 |
|
(for now, only if ALLOW_EXCH2 is defined). |
42 |
|
o pkg/autodiff: |
43 |
|
- include PACKAGES_CONFIG.h in exch*ad.flow & exch*ad.F |
44 |
|
(not supposed to be in CPP_OPTIONS.h) to get ALLOW_EXCH2 defined correctly. |
45 |
|
+ clean-up comments (_RS is not always real*4) |
46 |
|
- fix bug in ADEXCH_UV_3D_RX (without EXCH2, was calling the forward exch S/R) |
47 |
|
- add a stop in ADEXCH_UV_AGRID_3D_RX if trying to use it with EXCH2: |
48 |
|
was calling a forward exch2, which is wrong ; used in SEAICE & EXF pkgs. |
49 |
|
o testreport (AD-tests): |
50 |
|
no longer link files from dir "../input" (1rst link files from |
51 |
|
"../input_ad.[xx]" if secondary test "xx" and then from "../input_ad") |
52 |
|
|
53 |
|
checkpoint62f (2010/04/29) |
54 |
|
o model/src/the_main_loop.F: |
55 |
|
adjust store directives for seaice evp and multicategory according to |
56 |
|
pkg/ecco/the_main_loop.F |
57 |
|
o adjoint: |
58 |
|
global_sum_ad was incomplete (noted many times by many people ;) |
59 |
|
nice description by Jean U. as follows: |
60 |
|
* allreduce(var) in global_sum.F can be interpreted as |
61 |
|
reduce(sum) followed by broadcast of sum. |
62 |
|
* The adjoint of that is |
63 |
|
sum(adjoint) followed by broadcast(summed adjoint value) |
64 |
|
or in other words, allreduce(sum, adjoint vars) |
65 |
|
We were missing the sum(adjoint)! |
66 |
|
Benign, except(!) for "global" scalars appearing in tile loops (bi,bj) |
67 |
|
(noted by J.M. Campin, e.g., in cost_ssh_mean, variable offset). |
68 |
|
The fix should produce 16-digit accuracy between |
69 |
|
single-CPU multi-tile (e.g. nSx=2, nPx=1) and |
70 |
|
multi-CPU single-tile (e.g. nSx=1, nPx-2) |
71 |
|
We'll probably change this yet again shortly |
72 |
|
o eesupp/src: |
73 |
|
- fix global_sum_r4 (wrong from previous modif in Jun 2009; ever used ?) |
74 |
|
o pkg/icefront |
75 |
|
- ALLOW_SUBGLACIAL_RUNOFF option adds capability for time-evolving |
76 |
|
specification of addmass array based on a 2D field, which is added |
77 |
|
at bottommost wet level at each horizontal location. |
78 |
|
o model/src: |
79 |
|
horizontal grid initialisation (other than curvilinear): add code for Exch2 IO |
80 |
|
layout; (not always compatible with delX,delY setting; commented out for now). |
81 |
|
o pkg/exch2: |
82 |
|
change tile to processor setting (case nSy*nPy > 1): allows default model mapping |
83 |
|
(myX and myYGlobalLow) to be used for simple (1 facet, no blank tile) config. |
84 |
|
|
85 |
|
checkpoint62e (2010/04/15) |
86 |
|
o pkg/obcs: |
87 |
|
- fix wrong index in OBCS_SPONGE_V for Eastern-OB (reported by David Hebert). |
88 |
|
o pkg/dic: |
89 |
|
-fix bug in fe_chem.F for multi-tile (nSx*nSy > 1) set-up; |
90 |
|
(note: not presently tested in any forward verification exp.) |
91 |
|
update tutorial_global_oce_biogeo AD output file. |
92 |
|
o pkg/exf: |
93 |
|
- account for the variation of albedo as a function of zenith angle |
94 |
|
by defining ALLOW_ZENITHANGLE in EXF_OPTIONS.h |
95 |
|
o build_options: |
96 |
|
- rename "linux_ia64_ifort+mpi_ice_nas" to "linux_amd64_ifort+mpi_ice_nas" |
97 |
|
o pkg/dic: |
98 |
|
change DIC atmos-CO2 box (method 3, dic_int1=3) initialisation & restart: |
99 |
|
- use binary pickup file for restart; |
100 |
|
- initialise atmos-CO2 box from dic_pCO2 parameter; |
101 |
|
- fix multi-threaded. |
102 |
|
o pkg/rbcs: |
103 |
|
- clean-up RBCS code: add RBCS_OPTIONS.h file ; fix multi-threaded ; |
104 |
|
change (+ fix IO calls) type of array RBC_mask from _RL to _RS. |
105 |
|
- add RBCS to exp4 passive tracer 01 (rbcs was previously untested) |
106 |
|
and update output.txt |
107 |
|
o pkg/kpp: |
108 |
|
- add diagnostics for KPP non-local flux of Temp, Salinity and pTracers; |
109 |
|
- change diagnostic of KPP non-local term: output average of KPPghat*KPPdiffKzS |
110 |
|
(= ratio of KPP non-local (salt) flux relative to surface-flux) when |
111 |
|
using pkg/timeave & pkg/diagnostics (diag 'KPPghatK' replaces 'KPPghat '); |
112 |
|
- change pkg/offline to read-in average KPPghat*KPPdiffKzS from file |
113 |
|
KPP_ghatKFile (instead of the average of KPPghat from file KPP_ghatFile). |
114 |
|
o pkg/offline: |
115 |
|
fix bug in S/R OFFLINE_FIELDS_LOAD regarding surfaceForcing conversion factor |
116 |
|
(bug was added in version 1.10 on 2007-08-23). |
117 |
|
o pkg/offline: |
118 |
|
- no need to specify periodicExternalForcing, etc ... to use offline pack |
119 |
|
- offline input files no longer just single prec --> parameter offlineLoadPrec |
120 |
|
o verification/lab_sea: |
121 |
|
change AD test to multi-tile setup and update all 4 AD output. |
122 |
|
NOTE: while cost function values remain very similar, |
123 |
|
gradients are very different, although gradient checks are self-consistent |
124 |
|
Should try to get to the bottom of this (cost function summation order?) |
125 |
|
o pkg/dic: |
126 |
|
in carbon_chem.F, replace log10 (AUTODIFF) with explicit form to avoid |
127 |
|
a weakness of TAF that drops part of double precision in log10 derivative. |
128 |
|
<= changes removed since problem has been fixed in current TAF version 1.9.71 |
129 |
|
update AD output of exp. tutorial_dic_adjoffline & tutorial_global_oce_biogeo. |
130 |
|
o pkg/ecco: |
131 |
|
add missing "_d 0" in cost_readers.F, cost_readtopex.F & cost_readtopexmean.F |
132 |
|
update all 4 lab_sea AD output. |
133 |
|
|
134 |
|
checkpoint62d (2010/03/22) |
135 |
|
o build_options: |
136 |
|
remove '-r8' (and '-i4') from linux_*pgf and linux_*ifort optfiles. |
137 |
|
o remove unbalanced quote (single or double) in commented line of source code |
138 |
|
(may cause some warning with some preprocessor/makedepend versions). |
139 |
|
o pkg/seaice: |
140 |
|
fix seaice_model.F for adjoint (gael) and update AD results of experiments |
141 |
|
lab_sea (std + evp + noseaicedyn) and offline_exf_seaice. |
142 |
|
o testreport: |
143 |
|
add option '-runonly' (short: '-ro') to just do the run part (without make). |
144 |
|
o eesupp: remove JAM communication code (obsolete). |
145 |
|
o add option to genmake2 & testreport to switch "_RS" type to "real*4" |
146 |
|
(if allowed in CPP_EEOPTIONS.h); update default CPP_EEOPTIONS.h and return |
147 |
|
to default CPP_EEOPTIONS.h for exp. inverted_barometer & solid-body.cs-32x32x1 |
148 |
|
(update also the output). |
149 |
|
|
150 |
|
checkpoint62c (2010/03/02) |
151 |
|
o tools/build_options : |
152 |
|
move (some) old optfiles from build_options/ to build_options/unsupported/ |
153 |
|
o model/src and pkg/exf |
154 |
|
surface relaxation -- separating data and data.exf options |
155 |
|
The point is to ensure that we specify the surface relaxation |
156 |
|
either in data or in data.exf (but not half and half) and to |
157 |
|
avoid an accidental relaxation to 0 (which happened if a time |
158 |
|
scale was specified but the file name was left empty) |
159 |
|
o model/src model/inc and pkg/mom_common |
160 |
|
ALLOW_3D_VISCAH/ALLOW_3D_VISCA4 => 3D specification of Viscosity |
161 |
|
=> addition to the viscosity field as computed by others schemes |
162 |
|
o tools/build_options: |
163 |
|
- rename "_generic_mpi" -> "+mpi_generic" (like other "+mpi" optfile) |
164 |
|
but keep the former optfile for few weeks for smooth transition |
165 |
|
o pkg/ecco |
166 |
|
- allow user defined cost function contributions |
167 |
|
CPP: ALLOW_USERCOST_CONTRIBUTION |
168 |
|
USAGE: compute contributions in cost_usercost_all.F |
169 |
|
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
170 |
|
the two options are complementary. |
171 |
|
o pkg/smooth |
172 |
|
- migration from contrib to the main repository |
173 |
|
|
174 |
|
checkpoint62b (2010/01/26) |
175 |
|
o pkg/monitor: |
176 |
|
- change back mon_printstats_rl.F & mon_stats_rl.F and add a stop |
177 |
|
(in case someone forgot to update customized pieces of code) |
178 |
|
o nonHydrostatic: |
179 |
|
- add Non-hydrostatic free-surface form (selectNHfreeSurf=1)(not fully tested); |
180 |
|
- add a simple 2-D experiment (short_surf_wave) to test it. |
181 |
|
o pkg/icefront: |
182 |
|
adding the shell of, and the hooks to, a new package that |
183 |
|
will model melting and freezing of vertical glacier ice fronts |
184 |
|
o momentum: |
185 |
|
add diagnostics of momentum tendency from Hydrostatic pressure gradient |
186 |
|
(without surf.pressure term: would need a 2nd filling since implicit term). |
187 |
|
o add 3 "_d 0"s so that fizhi compiles with xlf on iblade, and replace |
188 |
|
two " &end" by " &" (in fizhi-cs-*) because S/R NML_SET_TERMINATOR |
189 |
|
cannot deal with the former |
190 |
|
o cleaning: |
191 |
|
- remove all (except OpenAD) old TLM output from results_ad dirs. |
192 |
|
- remove unused S/R (MDSWRITEMETA, DIAGNOSTICS_ADD2LIST, old DFILE IO S/R) |
193 |
|
- comment out maskH definition (replaced by maskInC) |
194 |
|
o pkg/monitor: |
195 |
|
- change mon_printstats_rl.F & mon_stats_rl.F (were similar to mon_writestats_rl |
196 |
|
& mon_calc_stats_rl) to be the RL equivalent of mon_printstats_rs & mon_stats_rs. |
197 |
|
|
198 |
|
checkpoint62a (2010/01/15) |
199 |
|
o model/src: |
200 |
|
- bottom pressure diagnostic: correct for r* (when nonlinFreeSurf >= 4) |
201 |
|
o pkg/diagnostics: |
202 |
|
- add optional level number diagnostics (i.e., level number to be define |
203 |
|
explictly with S/R DIAGNOSTICS_SETKLEV) with parser-code(10)="X". |
204 |
|
- strictly check for valid parser-code(10) ; |
205 |
|
- check if adding diag to the list from the right place. |
206 |
|
o pkg/longstep: |
207 |
|
- change parameters and fix tracer conservation with rstar/nonlinear free surface |
208 |
|
o diagnostics: |
209 |
|
- in all pkgs, replace remaining calls to old S/R DIAGNOSTICS_ADD2LIST with newer |
210 |
|
S/R DIAGNOSTICS_ADDTOLIST ; fix seaice VICE diagnostics. |
211 |
|
o pkg/diagnostics: |
212 |
|
- Add option for writing vertical integral (sum of selected levels) of an output |
213 |
|
field instead of writing output field levels. Activate this option on a per |
214 |
|
output-file basis, by setting the 2nd character of fileflag to 'I'. |
215 |
|
- Add field-specific information relative to level integral in 3rd postion |
216 |
|
of parser diagnostics code (gdiag): " "=cumulate levels, "R"=integrate |
217 |
|
vertically (x level-thickness x hFac), "r"=same but without hFac. |
218 |
|
o do_the_model_io: |
219 |
|
- pass end-of-model-run flag as argument, from forward_step to diagnostics_write: |
220 |
|
in case useSIGREG, will write (averaged) diagnostics (if dumpAtLast) before |
221 |
|
writing pickups and stopping. |
222 |
|
o pkg/diagnostics (for now, only with mdsio): |
223 |
|
- write time information to meta file (and modify accordingly rdmds.m) : |
224 |
|
time-averaged diagnostics output: write starting and ending time of the |
225 |
|
time-averaging interval ; snap-shot diagnostics output remains unchanged; |
226 |
|
o pkg/timeave: |
227 |
|
- S/R TIMEAVE_NORMALIZ: change size of cumulated-time array (was previously |
228 |
|
always Nr), now assumed to be equal to number of levels of averaged field; |
229 |
|
only used for DIC_COST monthly mean arrays: this fixes dic_aver_final.F |
230 |
|
o pkg/sbo: |
231 |
|
- fix ocean bottom pressure global-average & 2-D time-ave output (was |
232 |
|
neither initialised nor filled). |
233 |
|
- add starting iteration in suffix of global-average output file |
234 |
|
(to avoid over-writing the file after a restart) |
235 |
|
- use standard MDSIO pkg S/R instead of SBO_WRITEVECTOR (fix byte-swap Pb). |
236 |
|
o time-average: |
237 |
|
- use simple cumulative-time array (no k index) in all pkgs: {PKG}_timeAve(bi,bj) |
238 |
|
(pkgs: aim_v23, bulk_force, dic, gmredi, kpp, land, ocn_compon_interf, |
239 |
|
ggl90, my82, opps, pp81, ptracers, sbo, seaice, shelfice, thsice) |
240 |
|
this fix DIC_COST cumulative-time array (previously: bi,bj,k) |
241 |
|
- fix 1rst call (nIter0) snap-shot output and accumulation (pkg/shelfice) |
242 |
|
- fix missing accumulation for pkg/opps. |
243 |
|
- cumulate fields only if doing time-ave output ({PKG}_taveFreq > 0) |
244 |
|
(pkgs: ptracers, kpp, ocn_compon_interf, ggl90, my82, pp81); |
245 |
|
- fix initialisation of time-ave vars and do only full time-step increment |
246 |
|
(i.e.: no first & last "half time-step") (pkgs: ggl90, my82, opps, pp81); |
247 |
|
o pkg/layers: |
248 |
|
- use standard RW pkg S/R to write the output |
249 |
|
and remove local write_fld version (which had a problem). |
250 |
|
- use simple cumulative-time array (no level index) to fix time-ave S/R calls. |
251 |
|
- fix LAYERS_CALC argument list. |
252 |
|
o pkg/timeave: |
253 |
|
- store cumulative-time in a simple tiled array (drop the level index) |
254 |
|
- add new S/R (TIMEAVE_NORMALIZE) which uses simple cumulative-time array. |
255 |
|
o pkg/ocn,aim_compon_interf |
256 |
|
- changes for multi-threaded coupled run. (tested with ifort-11 on danton) |
257 |
|
|
258 |
|
checkpoint62 (2009/12/23) |
259 |
o switch on useOBCSbalance in tutorial_plume_on_slope exp. and update output. |
o switch on useOBCSbalance in tutorial_plume_on_slope exp. and update output. |
260 |
(was not previously tested in any other exp.) |
(was not previously tested in any other exp.) |
261 |
o pkg/monitor: |
o pkg/monitor: |
262 |
- clean-up _RL/_RS version: add specific S/R for statistics with mask & volume: |
- clean-up _RL/_RS version: add specific S/R for statistics with mask & volume: |
263 |
mon_writestats_rl/s,F mon_calc_stats_rl/s.F ; will keep the old one |
mon_writestats_rl/s,F mon_calc_stats_rl/s.F ; will keep the old one |
264 |
(mon_printstats_rl/s,F mon_stats_rl/s.F) just for bare statistics. |
(mon_printstats_rl/s,F mon_stats_rl/s.F) just for bare statistics. |
265 |
- use hFac & 2-D mask (instead of 3-D mask + hFac in previous mon_stats_rl.F). |
- use hFac & 2-D mask (instead of 3-D mask + hFac in previous mon_stats_rl.F). |
266 |
- change del2 calculation. |
- change del2 calculation. |
268 |
- shorter monitor suffix for forcing stats ("forcing" instead of "extforcing"). |
- shorter monitor suffix for forcing stats ("forcing" instead of "extforcing"). |
269 |
o mask & obcs: |
o mask & obcs: |
270 |
- define 2-D "interior" masks (i.e., zero beyond OB) at 3 locations (C, W & S). |
- define 2-D "interior" masks (i.e., zero beyond OB) at 3 locations (C, W & S). |
271 |
- move global area computation from ini_masks_etc.F to ini_linear_phisurf.F |
- move global area computation from ini_masks_etc.F to ini_linear_phisurf.F |
272 |
(called after packages_init_fixed) |
(called after packages_init_fixed) |
273 |
o pkg/obcs: |
o pkg/obcs: |
274 |
- move bi,bj loops into obcs_calc, so obcs_prescribe_read is called only once. |
- move bi,bj loops into obcs_calc, so obcs_prescribe_read is called only once. |
282 |
(in prep. for new NH free surface form). |
(in prep. for new NH free surface form). |
283 |
o pkg/obcs: |
o pkg/obcs: |
284 |
add files & OB-variables for wVel (Non-Hydrostatic) with useOBCSprescribe |
add files & OB-variables for wVel (Non-Hydrostatic) with useOBCSprescribe |
285 |
o model/src: |
o model/src: |
286 |
fix 2-D solver initialisation for deep-atmosphere (p-coord) with topography |
fix 2-D solver initialisation for deep-atmosphere (p-coord) with topography |
287 |
|
|
288 |
checkpoint61z (2009/12/01) |
checkpoint61z (2009/12/01) |