4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exch2: |
8 |
|
- remove "simulationMode" from arg. list of S/R EXCH2_RX1,2_CUBE ; |
9 |
|
- add argument "signOption" to EXCH2_RX1_CUBE (will be needed for SM exch). |
10 |
|
o pkg/autodiff & exch2: |
11 |
|
process exch_uv_agrid_3d_rx.f & exch2_uv_agrid_3d_rx.f through TAF |
12 |
|
(for now, only if ALLOW_EXCH2 is defined). |
13 |
|
o pkg/autodiff: |
14 |
|
- include PACKAGES_CONFIG.h in exch*ad.flow & exch*ad.F |
15 |
|
(not supposed to be in CPP_OPTIONS.h) to get ALLOW_EXCH2 defined correctly. |
16 |
|
+ clean-up comments (_RS is not always real*4) |
17 |
|
- fix bug in ADEXCH_UV_3D_RX (without EXCH2, was calling the forward exch S/R) |
18 |
|
- add a stop in ADEXCH_UV_AGRID_3D_RX if trying to use it with EXCH2: |
19 |
|
was calling a forward exch2, which is wrong ; used in SEAICE & EXF pkgs. |
20 |
|
o testreport (AD-tests): |
21 |
|
no longer link files from dir "../input" (1rst link files from |
22 |
|
"../input_ad.[xx]" if secondary test "xx" and then from "../input_ad") |
23 |
|
|
24 |
|
checkpoint62f (2010/04/29) |
25 |
o model/src/the_main_loop.F: |
o model/src/the_main_loop.F: |
26 |
adjust store directives for seaice evp and multicategory according to |
adjust store directives for seaice evp and multicategory according to |
27 |
pkg/ecco/the_main_loop.F |
pkg/ecco/the_main_loop.F |
28 |
o adjoint: |
o adjoint: |
29 |
global_sum_ad was incomplete (noted many times by many people ;) |
global_sum_ad was incomplete (noted many times by many people ;) |
30 |
nice description by Jean U. as follows: |
nice description by Jean U. as follows: |
31 |
* allreduce(var) in global_sum.F can be interpreted as |
* allreduce(var) in global_sum.F can be interpreted as |
32 |
reduce(sum) followed by broadcast of sum. |
reduce(sum) followed by broadcast of sum. |
33 |
* The adjoint of that is |
* The adjoint of that is |
34 |
sum(adjoint) followed by broadcast(summed adjoint value) |
sum(adjoint) followed by broadcast(summed adjoint value) |
35 |
or in other words, allreduce(sum, adjoint vars) |
or in other words, allreduce(sum, adjoint vars) |
36 |
We were missing the sum(adjoint)! |
We were missing the sum(adjoint)! |
37 |
Benign, except(!) for "global" scalars appearing in tile loops (bi,bj) |
Benign, except(!) for "global" scalars appearing in tile loops (bi,bj) |