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: |
o build_options: |
100 |
- rename "linux_ia64_ifort+mpi_ice_nas" to "linux_amd64_ifort+mpi_ice_nas" |
- rename "linux_ia64_ifort+mpi_ice_nas" to "linux_amd64_ifort+mpi_ice_nas" |
101 |
o pkg/dic: |
o pkg/dic: |