4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o tools/genmake2: |
8 |
|
- change default makedepend from the system default to tools/xmakedepend: |
9 |
|
When no makedepend is specified, select tools/xmakedepend it the test pass, |
10 |
|
otherwise select the system default (if exist and pass the test) or |
11 |
|
try to build cyrus-makedepend ; stop if none of the 3 works. |
12 |
|
o pkg/exf & pkg/thsice: |
13 |
|
- In case Energy-Reference-Level (ERL) is used (temp_EvPrRn=0), account |
14 |
|
for energy content of Precip + RunOff & Evap. Assumes: |
15 |
|
1) Rain has same temp as Air. |
16 |
|
2) Snow has no heat capacity (consistent with seaice & thsice pkgs) |
17 |
|
3) Run-Off comes at the temp of surface water (with same Cp) |
18 |
|
4) Evap over ocean is released to the Atmos @ surf-temp (=SST); should be |
19 |
|
put directly into Latent Heat flux & should use water-vapor heat capacity. |
20 |
|
5) Evap over snow/seaice (pkg/thsice) assumes constant Lf+Lv (consistent |
21 |
|
with snow having no Cp) => water vapor is released to Atmos @ 0^oC (=ERL). |
22 |
|
o pkg/seaice: simplify the use of CPP flags in JFNK-related files |
23 |
|
(compile when SEAICE_ALLOW_JFNK is defined) |
24 |
|
o pkg/thsice: |
25 |
|
- fix oceanic flux diagnostics & timeave (left from new sequence of calls |
26 |
|
implementation): move THSICE_AVE call after the advection (called directly |
27 |
|
from thsice_do_advect.F). |
28 |
|
o verification/global_ocean.90x40x15 and OpenAD: |
29 |
|
New experiment for OpenAD is identical to the one in input_ad except that |
30 |
|
multiDimAdvection=.FALSE., |
31 |
|
There is still an issue with this. |
32 |
|
o pkg/thsice: |
33 |
|
- account for ice velocity (ocean relative velocity) in turbulent heat flux |
34 |
|
at the base of the ice; update output of global_ocean.cs32x15 (icedyn) |
35 |
|
and offline_exf_seaice (main test). |
36 |
|
|
37 |
|
checkpoint64f (2013/03/31) |
38 |
|
o verification/OpenAD: |
39 |
|
- new (smaller, without OAD_DEBUG) output_oadm.txt generated using gfortran. |
40 |
|
o verification/isomip, pkg/shelfice and OpenAD: |
41 |
|
- add OpenAD setup to this exp and make shelfice package work with OpenAD |
42 |
|
o verification/tutorial_global_oce_biogeo: |
43 |
|
- update AD and TLM output after turning off ALLOW_FE (in DIC_OPTIONS.h) |
44 |
|
o verification/offline_exf_seaice: |
45 |
|
- replace adjoint experiment (now similar to fwd input.thermo/ setup). |
46 |
|
o verification/tutorial_tracer_adjsens, pkg/ptracers and OpenAD: |
47 |
|
- add OpenAD setup to this exp and make ptracers package work with OpenAD |
48 |
|
o pkg/seaice/seaice_evp.F: |
49 |
|
mask the asymmetric contribution of the ice-ocean stress (when |
50 |
|
the turningAngle is non-zero) over open water to avoid stripes |
51 |
|
in the EVP-solutions after many EVP-substeps. This does not change |
52 |
|
the verification experiment (because turningAngle=0 in that experiment), |
53 |
|
but will affect other EVP solutions with turningAngle.ne.0 |
54 |
|
o verification, AD & TLM output: |
55 |
|
- new TAF version 2.3.10 (previously 2.3.8) add more parenthesis in multiple |
56 |
|
additions and multiplications which affect results at machine truncation |
57 |
|
level. Update few AD output (1D_ocean_ice_column, bottom_ctrl_5x5, |
58 |
|
lab_sea.noseaicedyn & offline_exf_seaice) and TLM output |
59 |
|
(1D_ocean_ice_column & tutorial_tracer_adjsens.som81) which had only 12 |
60 |
|
digits of matching. |
61 |
|
o pkg/seaice: |
62 |
|
modify lsr-algorithm so that it vectorizes AND converges by using a |
63 |
|
"zebra" method: split vector loop into two with step size 2; this |
64 |
|
solves a general convergence problem for the JFNK solver on a vector |
65 |
|
computer. It has the potential to even improve convergence for |
66 |
|
non-vector machines, but it does change the results so it is turned |
67 |
|
off by default. To turn on define CPP-flags SEAICE_VECTORIZE_LSR and |
68 |
|
SEAICE_VECTORIZE_LSR_ZEBRA in SEAICE_OPTIONS.h |
69 |
|
|
70 |
|
checkpoint64e (2013/03/05) |
71 |
|
o pkg/ecco and several verification experiments: |
72 |
|
Remove special versions of the_model_main.F, the_main_loop.F, forward_step.F |
73 |
|
from ecco package, and revert to unified routine in model/src/ |
74 |
|
Adjust verification experiments accordingly, especially gloal_oce_llc90 |
75 |
|
Should conclude long-standing work by Gael to reconsile the_main_loop with |
76 |
|
ECCO and will enable OpenAD's revolve loop in ECCO setup. |
77 |
|
o pkg/generic_advdiff: |
78 |
|
- implement compressible flow method for multi-dim advection (similar to |
79 |
|
gad_som_advect.F); add new option "GAD_MULTIDIM_COMPRESSIBLE" (since |
80 |
|
TAF generates many recomputations) to use it; no yet coded with implicit |
81 |
|
vertical advection. |
82 |
|
- change experiment advect_cs (new output) and advect_xy (same output) |
83 |
|
to test compressible flow multi-dim advection. |
84 |
|
o pkg/generic_advdiff: |
85 |
|
- fix SOM advection for unusual cases (linear Free-Surf in r*, other |
86 |
|
cases where linear Free-Surf is not @ k=1, e.g., useShelfIce) |
87 |
|
o pkg/seaice: |
88 |
|
- fix bug in the no-slip implementation in seaice_calc_strainrates.F, this |
89 |
|
bug affects two verification experiments (lab_sea and lab_sea.hb87), |
90 |
|
recover old (wrong) results by setting noSlipFac = 2. in |
91 |
|
seaice_calc_strainrates.F; |
92 |
|
- add another averaging method for etaZ (etaZmethod=3), a mix of 2 and 0 |
93 |
|
- add runtime parameter SEAICE_JFNKepsilon for that finite difference |
94 |
|
gradient in the Jacobian times vector operation (s/r seaice_jacvec) |
95 |
|
- fix line search in seaice_jfnk.F (s/r seaice_jfnk_update) |
96 |
|
o pkg/seaice: reorganize seaice_lsr.F to be able to reuse more code: |
97 |
|
- new subroutines seaice_lsr_tridiagu/v |
98 |
|
- introduce loop bounds i/jmin/max to be able to use a restricted |
99 |
|
additive Schwarz method, but not used for now. |
100 |
|
- rename SEAICE_CALC_LSR_COEFFS into SEAICE_LSR_CALC_COEFFS |
101 |
|
- use new subroutines seaice_lsr_tridiagu/v in s/r seaice_preconditioner |
102 |
|
o OpenAD support |
103 |
|
Reorganize S/R call for overall time-stepping loop to facilitate |
104 |
|
OpenAD revolve loop replacement |
105 |
|
(new S/R main_do_loop.F) |
106 |
|
o model/src: |
107 |
|
- add 3-D array 3rd dimension to argument list of S/R ADAMS_BASHFORTH2/3; |
108 |
|
- pkg/cheapaml: remove local S/R ADAMS2d and use instead standard S/R |
109 |
|
ADAMS_BASHFORTH2. |
110 |
|
o pkg/cheapaml: |
111 |
|
- add new parameter (default=F, same as before) to disable full domain |
112 |
|
(including land) periodicity in X & Y dir. |
113 |
|
- new S/R CHEAPAML_COPY_EDGES to copy relaxation field into edges of |
114 |
|
prognostics field ; merge the 2 S/R cycle_2d_tracer and timestep_2d_tracer |
115 |
|
into single S/R CHEAPAML_TIMESTEP. |
116 |
|
|
117 |
|
checkpoint64d (2013/02/17) |
118 |
|
o pkg/monitor (angular momentum): |
119 |
|
- do not add Eta contribution to the total AM if using rigid-lid; |
120 |
|
- correct for Adams-Bashforth in zonal-wind part (instead of in AM_eta). |
121 |
|
- horizontal discretisation: compute Zonal wind contribution separately for |
122 |
|
each component (instead of from cell centered averaged) and use the 4 |
123 |
|
grid-cell corner averaged value of Omega*(R*cos_Phi)^2 in AM_eta part. |
124 |
|
- Check that AM is conserved with linear dynamics (momAdvection=F and linear |
125 |
|
FreeSurf) if using vectorInvariant momentum. |
126 |
|
o model/src (horizontal grid): |
127 |
|
- move initialisation of all horizontal grid arrays to null value |
128 |
|
from specific horizontal grid S/R to main S/R INI_GRID; |
129 |
|
- add 2 new arrays to project model C-grid velocity on to zonal direction |
130 |
|
(similar to AngleCosC & -AngleSinC but at U and V point location) and |
131 |
|
compute them in S/R CALC_GRID_ANGLES. |
132 |
|
o pkg/seaice: replace a hard coded parameter by a runtime parameter |
133 |
|
SEAICE_JFNK_tolIter |
134 |
|
o pkg/seaice: introduce a restricted additive Schwarz (RAS) method in |
135 |
|
preconditioner for JFNK (run LSR into the overlaps as far as possible, |
136 |
|
i.e OLx/y-2, but overwrite the solution in the overlaps) |
137 |
|
- extend loop range in seaice_calc_viscosity |
138 |
|
- add new parameters SEAICE_OLx/y (default = OLx/y-2) |
139 |
|
- add flexible loop ranges to seaice_preconditioner, seaice_calc_lsr_coeffs |
140 |
|
- slightly modify loops in tridiagonal solver lsr-preconditioner |
141 |
|
- by default remove the extra exchange in seaice_preconditioner with a |
142 |
|
replacement of an undocumented CPP flag by SEAICE_PRECOND_EXTRA_EXCHANGE |
143 |
|
- modify offline_exf_seaice so that old results without RAS are reproduced |
144 |
|
for output.dyn_jfnk.txt |
145 |
|
in seaice_fgmres.F (unrelated to RAS) |
146 |
|
- add a cpp-flag option for a re-ordered mapping (potentially more |
147 |
|
efficient), but because this changes the results, turn it off by |
148 |
|
default |
149 |
|
- replace the save statement by local common blocks |
150 |
|
o utils/matlab: |
151 |
|
- fix tile-offset in rdmnc.m when output was produced using EXCH2. |
152 |
|
- update cs_grid/bk_line scripts to use load_grid.m (in utils/matlab) |
153 |
|
instead of local script "load_cs.m". |
154 |
|
o pkg/seaice: |
155 |
|
- fix a serious bug in seaice_fgmres.F, s/r seaice_scalprod, connected |
156 |
|
to the scalarProductMetric and the unrolling. By chance this does not |
157 |
|
change the verification experiment, because of the particular domain |
158 |
|
decomposition |
159 |
o pkg/diagnostics: |
o pkg/diagnostics: |
160 |
- change default missing_value from UNSET_RL to -999. |
- change default missing_value from UNSET_RL to -999. |
161 |
o pkg/layers: improve vectorization of layers_fluxcalc.F |
o pkg/layers: improve vectorization of layers_fluxcalc.F |
162 |
- step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu |
- step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu |
163 |
time spent in this routine by more than a factor of 3 on an NEC-SX8 |
time spent in this routine by more than a factor of 3 on an NEC-SX8 |
164 |
- step 2: replace search algorithm by a bisection algorithm found in |
- step 2: replace search algorithm by a bisection algorithm found in |
165 |
Press et al. Numerical Recipes in Fortran. This algorithm can be |
Press et al. Numerical Recipes in Fortran. This algorithm can be |
166 |
vectorized and finds the correct bin in approx. log2(Nlayers) steps. |
vectorized and finds the correct bin in approx. log2(Nlayers) steps. |
167 |
For now, use this algorithm only for TARGET_NEC_SX defined. |
For now, use this algorithm only for TARGET_NEC_SX defined. |
168 |
- moved the search algorithm into a separate subroutine, that is kept |
- moved the search algorithm into a separate subroutine, that is kept |