4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o exch2: |
8 |
|
change index bounds in rx2_cube exchanges (new S/R: EXCH2_GET_UV_BOUNDS) |
9 |
|
- no longer depend on the order sequence (N,S,E,W). |
10 |
|
- 3rd exchange no longer needed (tested with 24 tiles). |
11 |
|
- same modif to hand-written adjoint S/R (global_ocean.cs32x15: zero diff) |
12 |
|
- exch_UV_A-grid readily available (but not yet tested). |
13 |
|
comment out 3rd exch call and remove copy of V to U at SE & NE face-corners |
14 |
|
(both are no longer needed) in exch_uv: no effect in forward run; but |
15 |
|
get truncation error differences with adjoint exch. |
16 |
|
o exch2: |
17 |
|
- change index-bounds storage (moved from target to local tile, |
18 |
|
more intuitive this way) ; rename/remove some variables. |
19 |
|
- change utils/exch2/matlab-topology-generator & code_mods accordingly. |
20 |
|
|
21 |
|
checkpoint61a |
22 |
|
o exch2/matlab-topology-generator: |
23 |
|
fix bug in index bounds for N-S internal exchange (hard to tell if this |
24 |
|
had any effect on the solution). |
25 |
|
o pkg/mnc: small fix in mnc_handle_err: make sure that length of msgbuf |
26 |
|
is exceeded |
27 |
|
o testreport: modify syntax of awk, so that it works also with |
28 |
|
awk, and not only with nawk and gawk |
29 |
|
|
30 |
|
checkpoint61 |
31 |
|
o autodiff |
32 |
|
Change default for TAF usage by removing argument '-nonew_arg' |
33 |
|
This changes TAF subroutine argument list (ordering of active var.) |
34 |
|
Omission of this flag leads to incompatibility w.r.t. TAMC |
35 |
|
To restore TAMC-compatibility, need following modifs: |
36 |
|
* use adoptfile tools/adjoint_options/adjoint_tamc_compatibility |
37 |
|
* use CPP option #define AUTODIFF_TAMC_COMPATIBILITY |
38 |
|
Tested TAF version is 1.9.22 |
39 |
|
N.B.: exch2 hand-written adjoint code currently not TAMC compatible |
40 |
|
|
41 |
|
checkpoint60 |
42 |
|
--->>> This is the last checkpoint for which generating the adjoint |
43 |
|
--->>> is done via the TAMC-compatibility TAF-flag "-nonewarg" |
44 |
|
--->>> by default. |
45 |
|
--->>> Future checkpoints will ommit this flag by default. |
46 |
|
o pkg/generic_advdiff, os7mp: simplify and avoid division by zero. |
47 |
|
o pkg/grdchk: Add gradient check to etan0 perturbations. |
48 |
|
o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK). |
49 |
|
o pkg/autodiff: more flexibility in zeroadj. |
50 |
|
model/src: modifying do_oceanic_phys.F accordingly. |
51 |
|
o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation. |
52 |
|
o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option |
53 |
|
special setup of gmredi for which the adjoint is stable |
54 |
|
enough for parameter optimization. |
55 |
o bridging the gap between eddy stress and GM. |
o bridging the gap between eddy stress and GM. |
56 |
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
57 |
along with a change in CPP option (now ALLOW_EDDYPSI). |
along with a change in CPP option (now ALLOW_EDDYPSI). |
62 |
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
63 |
The key modifications are in model/src/taueddy_external_forcing.F |
The key modifications are in model/src/taueddy_external_forcing.F |
64 |
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
65 |
|
|
66 |
checkpoint59r |
checkpoint59r |
67 |
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
68 |
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |