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: |
o pkg/kpp: |
108 |
- add diagnostics for KPP non-local flux of Temp, Salinity and pTracers; |
- 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 |
- 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 |
(= ratio of KPP non-local (salt) flux relative to surface-flux) when |
111 |
using pkg/timeave & pkg/diagnostics (diag 'KPPghatK' replaces 'KPPghat '); |
using pkg/timeave & pkg/diagnostics (diag 'KPPghatK' replaces 'KPPghat '); |
112 |
- change pkg/offline to read-in average KPPghat*KPPdiffKzS from file |
- change pkg/offline to read-in average KPPghat*KPPdiffKzS from file |
113 |
KPP_ghatKFile (instead of the average of KPPghat from file KPP_ghatFile). |
KPP_ghatKFile (instead of the average of KPPghat from file KPP_ghatFile). |