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