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