4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o adjoint: |
8 |
|
global_sum_ad was incomplete (noted many times by many people ;) |
9 |
|
nice description by Jean U. as follows: |
10 |
|
* allreduce(var) in global_sum.F can be interpreted as |
11 |
|
reduce(sum) followed by broadcast of sum. |
12 |
|
* The adjoint of that is |
13 |
|
sum(adjoint) followed by broadcast(summed adjoint value) |
14 |
|
or in other words, allreduce(sum, adjoint vars) |
15 |
|
We were missing the sum(adjoint)! |
16 |
|
Benign, except(!) for "global" scalars appearing in tile loops (bi,bj) |
17 |
|
(noted by J.M. Campin, e.g., in cost_ssh_mean, variable offset). |
18 |
|
The fix should produce 16-digit accuracy between |
19 |
|
single-CPU multi-tile (e.g. nSx=2, nPx=1) and |
20 |
|
multi-CPU single-tile (e.g. nSx=1, nPx-2) |
21 |
|
We'll probably change this yet again shortly |
22 |
|
o pkg/icefront |
23 |
|
- ALLOW_SUBGLACIAL_RUNOFF option adds capability for time-evolving |
24 |
|
specification of addmass array based on a 2D field, which is added |
25 |
|
at bottommost wet level at each horizontal location. |
26 |
|
o model/src: |
27 |
|
horizontal grid initialisation (other than curvilinear): add code for Exch2 IO |
28 |
|
layout; (not always compatible with delX,delY setting; commented out for now). |
29 |
|
o pkg/exch2: |
30 |
|
change tile to processor setting (case nSy*nPy > 1): allows default model mapping |
31 |
|
(myX and myYGlobalLow) to be used for simple (1 facet, no blank tile) config. |
32 |
|
|
33 |
|
checkpoint62e (2010/04/15) |
34 |
|
o pkg/obcs: |
35 |
|
- fix wrong index in OBCS_SPONGE_V for Eastern-OB (reported by David Hebert). |
36 |
|
o pkg/dic: |
37 |
|
-fix bug in fe_chem.F for multi-tile (nSx*nSy > 1) set-up; |
38 |
|
(note: not presently tested in any forward verification exp.) |
39 |
|
update tutorial_global_oce_biogeo AD output file. |
40 |
|
o pkg/exf: |
41 |
|
- account for the variation of albedo as a function of zenith angle |
42 |
|
by defining ALLOW_ZENITHANGLE in EXF_OPTIONS.h |
43 |
|
o build_options: |
44 |
|
- rename "linux_ia64_ifort+mpi_ice_nas" to "linux_amd64_ifort+mpi_ice_nas" |
45 |
|
o pkg/dic: |
46 |
|
change DIC atmos-CO2 box (method 3, dic_int1=3) initialisation & restart: |
47 |
|
- use binary pickup file for restart; |
48 |
|
- initialise atmos-CO2 box from dic_pCO2 parameter; |
49 |
|
- fix multi-threaded. |
50 |
|
o pkg/rbcs: |
51 |
|
- clean-up RBCS code: add RBCS_OPTIONS.h file ; fix multi-threaded ; |
52 |
|
change (+ fix IO calls) type of array RBC_mask from _RL to _RS. |
53 |
|
- add RBCS to exp4 passive tracer 01 (rbcs was previously untested) |
54 |
|
and update output.txt |
55 |
|
o pkg/kpp: |
56 |
|
- add diagnostics for KPP non-local flux of Temp, Salinity and pTracers; |
57 |
|
- change diagnostic of KPP non-local term: output average of KPPghat*KPPdiffKzS |
58 |
|
(= ratio of KPP non-local (salt) flux relative to surface-flux) when |
59 |
|
using pkg/timeave & pkg/diagnostics (diag 'KPPghatK' replaces 'KPPghat '); |
60 |
|
- change pkg/offline to read-in average KPPghat*KPPdiffKzS from file |
61 |
|
KPP_ghatKFile (instead of the average of KPPghat from file KPP_ghatFile). |
62 |
|
o pkg/offline: |
63 |
|
fix bug in S/R OFFLINE_FIELDS_LOAD regarding surfaceForcing conversion factor |
64 |
|
(bug was added in version 1.10 on 2007-08-23). |
65 |
|
o pkg/offline: |
66 |
|
- no need to specify periodicExternalForcing, etc ... to use offline pack |
67 |
|
- offline input files no longer just single prec --> parameter offlineLoadPrec |
68 |
|
o verification/lab_sea: |
69 |
|
change AD test to multi-tile setup and update all 4 AD output. |
70 |
|
NOTE: while cost function values remain very similar, |
71 |
|
gradients are very different, although gradient checks are self-consistent |
72 |
|
Should try to get to the bottom of this (cost function summation order?) |
73 |
|
o pkg/dic: |
74 |
|
in carbon_chem.F, replace log10 (AUTODIFF) with explicit form to avoid |
75 |
|
a weakness of TAF that drops part of double precision in log10 derivative. |
76 |
|
<= changes removed since problem has been fixed in current TAF version 1.9.71 |
77 |
|
update AD output of exp. tutorial_dic_adjoffline & tutorial_global_oce_biogeo. |
78 |
|
o pkg/ecco: |
79 |
|
add missing "_d 0" in cost_readers.F, cost_readtopex.F & cost_readtopexmean.F |
80 |
|
update all 4 lab_sea AD output. |
81 |
|
|
82 |
|
checkpoint62d (2010/03/22) |
83 |
|
o build_options: |
84 |
|
remove '-r8' (and '-i4') from linux_*pgf and linux_*ifort optfiles. |
85 |
|
o remove unbalanced quote (single or double) in commented line of source code |
86 |
|
(may cause some warning with some preprocessor/makedepend versions). |
87 |
|
o pkg/seaice: |
88 |
|
fix seaice_model.F for adjoint (gael) and update AD results of experiments |
89 |
|
lab_sea (std + evp + noseaicedyn) and offline_exf_seaice. |
90 |
|
o testreport: |
91 |
|
add option '-runonly' (short: '-ro') to just do the run part (without make). |
92 |
|
o eesupp: remove JAM communication code (obsolete). |
93 |
|
o add option to genmake2 & testreport to switch "_RS" type to "real*4" |
94 |
|
(if allowed in CPP_EEOPTIONS.h); update default CPP_EEOPTIONS.h and return |
95 |
|
to default CPP_EEOPTIONS.h for exp. inverted_barometer & solid-body.cs-32x32x1 |
96 |
|
(update also the output). |
97 |
|
|
98 |
|
checkpoint62c (2010/03/02) |
99 |
|
o tools/build_options : |
100 |
|
move (some) old optfiles from build_options/ to build_options/unsupported/ |
101 |
|
o model/src and pkg/exf |
102 |
|
surface relaxation -- separating data and data.exf options |
103 |
|
The point is to ensure that we specify the surface relaxation |
104 |
|
either in data or in data.exf (but not half and half) and to |
105 |
|
avoid an accidental relaxation to 0 (which happened if a time |
106 |
|
scale was specified but the file name was left empty) |
107 |
|
o model/src model/inc and pkg/mom_common |
108 |
|
ALLOW_3D_VISCAH/ALLOW_3D_VISCA4 => 3D specification of Viscosity |
109 |
|
=> addition to the viscosity field as computed by others schemes |
110 |
|
o tools/build_options: |
111 |
|
- rename "_generic_mpi" -> "+mpi_generic" (like other "+mpi" optfile) |
112 |
|
but keep the former optfile for few weeks for smooth transition |
113 |
|
o pkg/ecco |
114 |
|
- allow user defined cost function contributions |
115 |
|
CPP: ALLOW_USERCOST_CONTRIBUTION |
116 |
|
USAGE: compute contributions in cost_usercost_all.F |
117 |
|
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
118 |
|
the two options are complementary. |
119 |
|
o pkg/smooth |
120 |
|
- migration from contrib to the main repository |
121 |
|
|
122 |
|
checkpoint62b (2010/01/26) |
123 |
|
o pkg/monitor: |
124 |
|
- change back mon_printstats_rl.F & mon_stats_rl.F and add a stop |
125 |
|
(in case someone forgot to update customized pieces of code) |
126 |
|
o nonHydrostatic: |
127 |
|
- add Non-hydrostatic free-surface form (selectNHfreeSurf=1)(not fully tested); |
128 |
|
- add a simple 2-D experiment (short_surf_wave) to test it. |
129 |
|
o pkg/icefront: |
130 |
|
adding the shell of, and the hooks to, a new package that |
131 |
|
will model melting and freezing of vertical glacier ice fronts |
132 |
|
o momentum: |
133 |
|
add diagnostics of momentum tendency from Hydrostatic pressure gradient |
134 |
|
(without surf.pressure term: would need a 2nd filling since implicit term). |
135 |
|
o add 3 "_d 0"s so that fizhi compiles with xlf on iblade, and replace |
136 |
|
two " &end" by " &" (in fizhi-cs-*) because S/R NML_SET_TERMINATOR |
137 |
|
cannot deal with the former |
138 |
|
o cleaning: |
139 |
|
- remove all (except OpenAD) old TLM output from results_ad dirs. |
140 |
|
- remove unused S/R (MDSWRITEMETA, DIAGNOSTICS_ADD2LIST, old DFILE IO S/R) |
141 |
|
- comment out maskH definition (replaced by maskInC) |
142 |
|
o pkg/monitor: |
143 |
|
- change mon_printstats_rl.F & mon_stats_rl.F (were similar to mon_writestats_rl |
144 |
|
& mon_calc_stats_rl) to be the RL equivalent of mon_printstats_rs & mon_stats_rs. |
145 |
|
|
146 |
|
checkpoint62a (2010/01/15) |
147 |
|
o model/src: |
148 |
|
- bottom pressure diagnostic: correct for r* (when nonlinFreeSurf >= 4) |
149 |
|
o pkg/diagnostics: |
150 |
|
- add optional level number diagnostics (i.e., level number to be define |
151 |
|
explictly with S/R DIAGNOSTICS_SETKLEV) with parser-code(10)="X". |
152 |
|
- strictly check for valid parser-code(10) ; |
153 |
|
- check if adding diag to the list from the right place. |
154 |
|
o pkg/longstep: |
155 |
|
- change parameters and fix tracer conservation with rstar/nonlinear free surface |
156 |
|
o diagnostics: |
157 |
|
- in all pkgs, replace remaining calls to old S/R DIAGNOSTICS_ADD2LIST with newer |
158 |
|
S/R DIAGNOSTICS_ADDTOLIST ; fix seaice VICE diagnostics. |
159 |
|
o pkg/diagnostics: |
160 |
|
- Add option for writing vertical integral (sum of selected levels) of an output |
161 |
|
field instead of writing output field levels. Activate this option on a per |
162 |
|
output-file basis, by setting the 2nd character of fileflag to 'I'. |
163 |
|
- Add field-specific information relative to level integral in 3rd postion |
164 |
|
of parser diagnostics code (gdiag): " "=cumulate levels, "R"=integrate |
165 |
|
vertically (x level-thickness x hFac), "r"=same but without hFac. |
166 |
|
o do_the_model_io: |
167 |
|
- pass end-of-model-run flag as argument, from forward_step to diagnostics_write: |
168 |
|
in case useSIGREG, will write (averaged) diagnostics (if dumpAtLast) before |
169 |
|
writing pickups and stopping. |
170 |
|
o pkg/diagnostics (for now, only with mdsio): |
171 |
|
- write time information to meta file (and modify accordingly rdmds.m) : |
172 |
|
time-averaged diagnostics output: write starting and ending time of the |
173 |
|
time-averaging interval ; snap-shot diagnostics output remains unchanged; |
174 |
|
o pkg/timeave: |
175 |
|
- S/R TIMEAVE_NORMALIZ: change size of cumulated-time array (was previously |
176 |
|
always Nr), now assumed to be equal to number of levels of averaged field; |
177 |
|
only used for DIC_COST monthly mean arrays: this fixes dic_aver_final.F |
178 |
|
o pkg/sbo: |
179 |
|
- fix ocean bottom pressure global-average & 2-D time-ave output (was |
180 |
|
neither initialised nor filled). |
181 |
|
- add starting iteration in suffix of global-average output file |
182 |
|
(to avoid over-writing the file after a restart) |
183 |
|
- use standard MDSIO pkg S/R instead of SBO_WRITEVECTOR (fix byte-swap Pb). |
184 |
|
o time-average: |
185 |
|
- use simple cumulative-time array (no k index) in all pkgs: {PKG}_timeAve(bi,bj) |
186 |
|
(pkgs: aim_v23, bulk_force, dic, gmredi, kpp, land, ocn_compon_interf, |
187 |
|
ggl90, my82, opps, pp81, ptracers, sbo, seaice, shelfice, thsice) |
188 |
|
this fix DIC_COST cumulative-time array (previously: bi,bj,k) |
189 |
|
- fix 1rst call (nIter0) snap-shot output and accumulation (pkg/shelfice) |
190 |
|
- fix missing accumulation for pkg/opps. |
191 |
|
- cumulate fields only if doing time-ave output ({PKG}_taveFreq > 0) |
192 |
|
(pkgs: ptracers, kpp, ocn_compon_interf, ggl90, my82, pp81); |
193 |
|
- fix initialisation of time-ave vars and do only full time-step increment |
194 |
|
(i.e.: no first & last "half time-step") (pkgs: ggl90, my82, opps, pp81); |
195 |
o pkg/layers: |
o pkg/layers: |
196 |
- use standard RW pkg S/R to write the output |
- use standard RW pkg S/R to write the output |
197 |
and remove local write_fld version (which had a problem). |
and remove local write_fld version (which had a problem). |