4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/ctrl: require a specific set of control variables and exf-flags for |
8 |
|
adjoint of seaice (stop in ctrl_check.F if conditions are not satisfied) |
9 |
|
o model/src: |
10 |
|
a) 1rst version of a new driver S/R to turn-off output freq and flags after the |
11 |
|
1rst forward sweep, to avoid over-writing output files during recomputations |
12 |
|
recomputations (& grdchk); called from cost_final.F (& ctrl_init_ctrlvar.F ?) |
13 |
|
b) 2nd version: |
14 |
|
- add specific pkg S/R for seaice & ptracers (called from S/R TURNOFF_MODEL_IO); |
15 |
|
- switch-off more output flags (exf_monFreq, chkPtFreq, dumpInitAndLast, |
16 |
|
writePickupAtEnd) + seaice & ptracers output; |
17 |
|
- do not switch off MNC flags (otherwise, won't get admonitor netcdf file) |
18 |
|
o model/src: |
19 |
|
- new S/R rotate_uv2en_rl (..._rs) that rotates vector fields. |
20 |
|
o pkg/exch2: |
21 |
|
- remove "simulationMode" from arg. list of S/R EXCH2_RX1,2_CUBE ; |
22 |
|
- add argument "signOption" to EXCH2_RX1_CUBE (will be needed for SM exch). |
23 |
|
o pkg/autodiff & exch2: |
24 |
|
process exch_uv_agrid_3d_rx.f & exch2_uv_agrid_3d_rx.f through TAF |
25 |
|
(for now, only if ALLOW_EXCH2 is defined). |
26 |
|
o pkg/autodiff: |
27 |
|
- include PACKAGES_CONFIG.h in exch*ad.flow & exch*ad.F |
28 |
|
(not supposed to be in CPP_OPTIONS.h) to get ALLOW_EXCH2 defined correctly. |
29 |
|
+ clean-up comments (_RS is not always real*4) |
30 |
|
- fix bug in ADEXCH_UV_3D_RX (without EXCH2, was calling the forward exch S/R) |
31 |
|
- add a stop in ADEXCH_UV_AGRID_3D_RX if trying to use it with EXCH2: |
32 |
|
was calling a forward exch2, which is wrong ; used in SEAICE & EXF pkgs. |
33 |
|
o testreport (AD-tests): |
34 |
|
no longer link files from dir "../input" (1rst link files from |
35 |
|
"../input_ad.[xx]" if secondary test "xx" and then from "../input_ad") |
36 |
|
|
37 |
|
checkpoint62f (2010/04/29) |
38 |
|
o model/src/the_main_loop.F: |
39 |
|
adjust store directives for seaice evp and multicategory according to |
40 |
|
pkg/ecco/the_main_loop.F |
41 |
|
o adjoint: |
42 |
|
global_sum_ad was incomplete (noted many times by many people ;) |
43 |
|
nice description by Jean U. as follows: |
44 |
|
* allreduce(var) in global_sum.F can be interpreted as |
45 |
|
reduce(sum) followed by broadcast of sum. |
46 |
|
* The adjoint of that is |
47 |
|
sum(adjoint) followed by broadcast(summed adjoint value) |
48 |
|
or in other words, allreduce(sum, adjoint vars) |
49 |
|
We were missing the sum(adjoint)! |
50 |
|
Benign, except(!) for "global" scalars appearing in tile loops (bi,bj) |
51 |
|
(noted by J.M. Campin, e.g., in cost_ssh_mean, variable offset). |
52 |
|
The fix should produce 16-digit accuracy between |
53 |
|
single-CPU multi-tile (e.g. nSx=2, nPx=1) and |
54 |
|
multi-CPU single-tile (e.g. nSx=1, nPx-2) |
55 |
|
We'll probably change this yet again shortly |
56 |
|
o eesupp/src: |
57 |
|
- fix global_sum_r4 (wrong from previous modif in Jun 2009; ever used ?) |
58 |
|
o pkg/icefront |
59 |
|
- ALLOW_SUBGLACIAL_RUNOFF option adds capability for time-evolving |
60 |
|
specification of addmass array based on a 2D field, which is added |
61 |
|
at bottommost wet level at each horizontal location. |
62 |
|
o model/src: |
63 |
|
horizontal grid initialisation (other than curvilinear): add code for Exch2 IO |
64 |
|
layout; (not always compatible with delX,delY setting; commented out for now). |
65 |
|
o pkg/exch2: |
66 |
|
change tile to processor setting (case nSy*nPy > 1): allows default model mapping |
67 |
|
(myX and myYGlobalLow) to be used for simple (1 facet, no blank tile) config. |
68 |
|
|
69 |
|
checkpoint62e (2010/04/15) |
70 |
|
o pkg/obcs: |
71 |
|
- fix wrong index in OBCS_SPONGE_V for Eastern-OB (reported by David Hebert). |
72 |
|
o pkg/dic: |
73 |
|
-fix bug in fe_chem.F for multi-tile (nSx*nSy > 1) set-up; |
74 |
|
(note: not presently tested in any forward verification exp.) |
75 |
|
update tutorial_global_oce_biogeo AD output file. |
76 |
|
o pkg/exf: |
77 |
|
- account for the variation of albedo as a function of zenith angle |
78 |
|
by defining ALLOW_ZENITHANGLE in EXF_OPTIONS.h |
79 |
|
o build_options: |
80 |
|
- rename "linux_ia64_ifort+mpi_ice_nas" to "linux_amd64_ifort+mpi_ice_nas" |
81 |
|
o pkg/dic: |
82 |
|
change DIC atmos-CO2 box (method 3, dic_int1=3) initialisation & restart: |
83 |
|
- use binary pickup file for restart; |
84 |
|
- initialise atmos-CO2 box from dic_pCO2 parameter; |
85 |
|
- fix multi-threaded. |
86 |
|
o pkg/rbcs: |
87 |
|
- clean-up RBCS code: add RBCS_OPTIONS.h file ; fix multi-threaded ; |
88 |
|
change (+ fix IO calls) type of array RBC_mask from _RL to _RS. |
89 |
|
- add RBCS to exp4 passive tracer 01 (rbcs was previously untested) |
90 |
|
and update output.txt |
91 |
|
o pkg/kpp: |
92 |
|
- add diagnostics for KPP non-local flux of Temp, Salinity and pTracers; |
93 |
|
- change diagnostic of KPP non-local term: output average of KPPghat*KPPdiffKzS |
94 |
|
(= ratio of KPP non-local (salt) flux relative to surface-flux) when |
95 |
|
using pkg/timeave & pkg/diagnostics (diag 'KPPghatK' replaces 'KPPghat '); |
96 |
|
- change pkg/offline to read-in average KPPghat*KPPdiffKzS from file |
97 |
|
KPP_ghatKFile (instead of the average of KPPghat from file KPP_ghatFile). |
98 |
|
o pkg/offline: |
99 |
|
fix bug in S/R OFFLINE_FIELDS_LOAD regarding surfaceForcing conversion factor |
100 |
|
(bug was added in version 1.10 on 2007-08-23). |
101 |
|
o pkg/offline: |
102 |
|
- no need to specify periodicExternalForcing, etc ... to use offline pack |
103 |
|
- offline input files no longer just single prec --> parameter offlineLoadPrec |
104 |
|
o verification/lab_sea: |
105 |
|
change AD test to multi-tile setup and update all 4 AD output. |
106 |
|
NOTE: while cost function values remain very similar, |
107 |
|
gradients are very different, although gradient checks are self-consistent |
108 |
|
Should try to get to the bottom of this (cost function summation order?) |
109 |
|
o pkg/dic: |
110 |
|
in carbon_chem.F, replace log10 (AUTODIFF) with explicit form to avoid |
111 |
|
a weakness of TAF that drops part of double precision in log10 derivative. |
112 |
|
<= changes removed since problem has been fixed in current TAF version 1.9.71 |
113 |
|
update AD output of exp. tutorial_dic_adjoffline & tutorial_global_oce_biogeo. |
114 |
|
o pkg/ecco: |
115 |
|
add missing "_d 0" in cost_readers.F, cost_readtopex.F & cost_readtopexmean.F |
116 |
|
update all 4 lab_sea AD output. |
117 |
|
|
118 |
|
checkpoint62d (2010/03/22) |
119 |
|
o build_options: |
120 |
|
remove '-r8' (and '-i4') from linux_*pgf and linux_*ifort optfiles. |
121 |
|
o remove unbalanced quote (single or double) in commented line of source code |
122 |
|
(may cause some warning with some preprocessor/makedepend versions). |
123 |
|
o pkg/seaice: |
124 |
|
fix seaice_model.F for adjoint (gael) and update AD results of experiments |
125 |
|
lab_sea (std + evp + noseaicedyn) and offline_exf_seaice. |
126 |
|
o testreport: |
127 |
|
add option '-runonly' (short: '-ro') to just do the run part (without make). |
128 |
|
o eesupp: remove JAM communication code (obsolete). |
129 |
|
o add option to genmake2 & testreport to switch "_RS" type to "real*4" |
130 |
|
(if allowed in CPP_EEOPTIONS.h); update default CPP_EEOPTIONS.h and return |
131 |
|
to default CPP_EEOPTIONS.h for exp. inverted_barometer & solid-body.cs-32x32x1 |
132 |
|
(update also the output). |
133 |
|
|
134 |
|
checkpoint62c (2010/03/02) |
135 |
|
o tools/build_options : |
136 |
|
move (some) old optfiles from build_options/ to build_options/unsupported/ |
137 |
|
o model/src and pkg/exf |
138 |
|
surface relaxation -- separating data and data.exf options |
139 |
|
The point is to ensure that we specify the surface relaxation |
140 |
|
either in data or in data.exf (but not half and half) and to |
141 |
|
avoid an accidental relaxation to 0 (which happened if a time |
142 |
|
scale was specified but the file name was left empty) |
143 |
|
o model/src model/inc and pkg/mom_common |
144 |
|
ALLOW_3D_VISCAH/ALLOW_3D_VISCA4 => 3D specification of Viscosity |
145 |
|
=> addition to the viscosity field as computed by others schemes |
146 |
|
o tools/build_options: |
147 |
|
- rename "_generic_mpi" -> "+mpi_generic" (like other "+mpi" optfile) |
148 |
|
but keep the former optfile for few weeks for smooth transition |
149 |
|
o pkg/ecco |
150 |
|
- allow user defined cost function contributions |
151 |
|
CPP: ALLOW_USERCOST_CONTRIBUTION |
152 |
|
USAGE: compute contributions in cost_usercost_all.F |
153 |
|
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
154 |
|
the two options are complementary. |
155 |
o pkg/smooth |
o pkg/smooth |
156 |
- migration from contrib to the main repository |
- migration from contrib to the main repository |
157 |
|
|
158 |
checkpoint62b (2010/01/26) |
checkpoint62b (2010/01/26) |
159 |
o pkg/monitor: |
o pkg/monitor: |
160 |
- change back mon_printstats_rl.F & mon_stats_rl.F and add a stop |
- change back mon_printstats_rl.F & mon_stats_rl.F and add a stop |