/[MITgcm]/MITgcm/doc/tag-index
ViewVC logotype

Diff of /MITgcm/doc/tag-index

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2014 by mlosch, Fri Jun 27 14:49:22 2014 UTC revision 1.2025 by mlosch, Wed Jul 16 12:03:54 2014 UTC
# Line 4  $Name$ Line 4  $Name$
4      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
5      ==============================      ==============================
6    
7    o pkg/seaice: more clean up
8      - rename TAF common block tapes to be more consistent and remove
9        unnecessary duplicates
10      - add store directives to remove more recomputations,
11        but use smaller tapes (and adjust keys) when
12        SEAICE_LSR_ADJOINT_ITER is undefined. The idea behind this flag is
13        to reduce the memory footprint when the adjoint of the LSR is not
14        required. As of now, defining the flag SEAICE_LSR_ADJOINT_ITER
15        increase 4 common block tapes for 2D field by a factor of
16        SOLV_MAX_FIXED (=500 by default in SEAICE_SIZE.h). For experiment
17        offline_exf_seaice, this means on a linux box with gfortran nearly
18        a factor of 10 (but keep in mind there is mostly seaice code
19        in this experiment)
20        > size mitgcmuv_ad
21        text    data        bss     dec        hex  
22        5100659 1216  220458952  225560827  d71c8fb
23        5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
24        but only a moderate increase of 36% for global_ocean.cs32x15
25        text    data        bss     dec        hex
26        6695027 1648 1014578664 1021275339 3cdf6ccb
27        6695203 1648 1382505320 1389202171 52cd8afb (SEAICE_LSR_ADJOINT_ITER)
28      - note: there are still recomputations in global_ocean.cs32x15 and
29        the gradient agreement changes (gets a little worse)
30      - in general, the AD gradients still are wrong
31    o OpenAD
32      - clean up code_oad/ directories somewhat by moving files
33        dontCompile, dontTransform, keepOriginal to OAD_support/
34    o model/src:
35      - using MOM fluxform and Non-Lin Free-Surf with momDissip_In_AB=F
36        (not currently tested): add dissipation terms before NLFS rescaling of
37        tendencies (previously done after).
38    o pkg/diagnostics:
39      - write stats-diags in ascii file with more digits (same as in monitor).
40    o pkg/down_slope:
41      - drop the bi,bj dimension of argument recip_hFac in S/R DWNSLP_APPLY; with
42        NLFS (not tested), use new recip_hFac value in order to conserve tracer.
43    o model/src:
44      - new file "apply_forcing.F" containing all the code previously in
45        external_forcing.F, but with new argument list: pass, as new argument,
46        the current level tendency array to update (instead of a direct update
47        of the common bloc array). Change the corresponding calls.
48      - add CPP option USE_OLD_EXTERNAL_FORCING (default is undef) to use
49        EXTERNAL_FORCING_U,V,T,S subroutines (for backward compatibility).
50    o pkg/seaice/seaice_lsr, a little bit of clean up
51      - rearrange some code blocks, so that now all calculations for
52        setting up the right-hand-sides done within one single block
53        (I find that easier to read and understand)
54      - rearrange freedrift-code to reduce the number of ifdefs
55      - adjust some indentations and comments
56    
57    checkpoint64z (2014/07/10)
58    o model/src and several pkgs:
59      - change argument list of all S/R called from external_forcing.F and
60        called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F)
61        to pass, as argument, the current level tendency array to update
62        (instead of a direct update of the common bloc array).
63      - change also (in the same way) argument list of PTRACERS_APPLY_FORCING;
64      - rename taueddy_external_forcing.f to taueddy_tendency_apply.F
65    o pkg/seaice/seaice_lsr.F
66      - always initialize local arrays in seaice_lsr_tridiagu/v
67      - add more local tapes to seaice_lsr_tridiagu/v
68      - move storing u/vice(:,:,bi,bj) out of seaice_lsr_tridiagu/v, but
69        keep it in bi/bj loop; this seems to be essential
70      - gradients are still wrong but only by 4-7 orders of magnitude
71        instead of 15 orders of magnitude, lab_sea improves a little
72  o pkg/seaice  o pkg/seaice
73    - remove unnecessary u/vTmp from subroutine call of    - (pkg/autodiff) remove storing/restoring of seaiceMaskU/V that
74      seaice_lsr_tridiagu/v      generates unnecessary code in seaice_lsr_ad
75      - add more store directives in seaice_lsr to avoid unnecessary code
76        in seaice_lsr_ad
77      - exclude some residual computations in seaice_lsr when
78        ALLOW_AUTODIFF_TAMC is defined in order to avoid unnecessary code
79        in seaice_lsr_ad
80      - add more storing, a new tape (model/src/the_main_loop.F) and
81        another key for SEAICE_LSR_VECTORIZE_ZEBRA (the local keys ilockey
82        and klockey should be checked by a specialist)
83      - modify ( define SEAICE_VECTORIZE_LSR and SEAICE_LSR_ADJOINT_ITER )
84        and update lab_sea after previous changes in pkg/seaice below
85    o pkg/autodiff:
86      - introduce useSmoothCorrel2DinAdMode, SEAICEapproxLevInAd, and
87        viscFacInAd : run time parameters allowing for adjoint switches
88        note : logic for useSmoothCorrel2DinAdMode is in ctrl_readparms.F
89    o pkg/ecco:
90      - introduce cost_gencost_boxmean.F that computes a box mean
91        temperature (for use in adjoint sensitivity studies).
92    o model/src/set_defaults.F : initialize viscFacAdj to 1.
93    o pkg/mom_common/mom_calc_visc.F:
94      - ifdef ALLOW_AUTODIFF then include viscFacAdj factor.
95    o pkg/seaice/seaice_summary.F:
96      - statement for SEAICEadjMODE now in autodiff_readparms.F
97    o pkg/seaice:
98    - remove some store directives and add new ones in an effort to get    - remove some store directives and add new ones in an effort to get
99      finally rid off the recomputation warnings. This is successful      finally rid off the recomputation warnings. This is successful
100      when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are      when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are

Legend:
Removed from v.1.2014  
changed lines
  Added in v.1.2025

  ViewVC Help
Powered by ViewVC 1.1.22