4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/aim_v23: |
8 |
|
- fix an other bug in dissipation heating (grid-cell area was missing). |
9 |
|
o model/src + pkg/seaice: |
10 |
|
- add global (multi-tile) linear solver for pair of tri-diagonal system |
11 |
|
along X and Y lines, respectively for U and V component. |
12 |
|
Note: 1) MPI and cube-exchange not yet coded. |
13 |
|
2) probably not accurate for poorly conditioned / large size problem. |
14 |
|
- add option for SEAICE_LSR to use global (multi-tile) tri-diagonal solver; |
15 |
|
default: not compiled and not used. |
16 |
|
o pkg/seaice: |
17 |
|
- first attempt at a multi-threaded fgmres solver for the JFNK solver: |
18 |
|
introduce bi/bj loops and use global_sum_tile_rl instead of |
19 |
|
mpi_allreduce in seaice_fgmres.F |
20 |
|
- improve diagnostics output for fgmres solver (seaice_fgmres.F) |
21 |
|
- replace a few unnecessary goto statements by if-blocks (seaice_fgmres.F) |
22 |
|
- add a verification experiment for JFNK in offline_exf_seaice |
23 |
|
o verification: |
24 |
|
- change (for now, only fwd test) offline_exf_seaice experiment: |
25 |
|
use a re-entrant channel with idealized costline (trapezoidal shape) |
26 |
|
at southern boundary to explore seaice dynamics and thermodynamics |
27 |
|
with simple forcing. Main set-up has dynamics+thermo and SST relaxation; |
28 |
|
secondary test (input.thsice) use thermodynamics only with SST relaxation. |
29 |
|
- add seaice-dynamics only secondary test using LSR and pkg/thsice advection. |
30 |
|
o pkg/exf: |
31 |
|
- disable "sstExtrapol" when Nr=1 |
32 |
|
o verification: |
33 |
|
- add new experiment "cheapAML_box" (simple 1 layer set-up from Bruno Deremble) |
34 |
|
to test pkg/cheapaml. |
35 |
|
o pkg/aim_v23 & pkg/shap_filt: |
36 |
|
- fix dissipation heating (erroneous gravity multiplication factor). |
37 |
|
o pkg/seaice: |
38 |
|
- remove unused field pressPre from jfnk solver |
39 |
|
- rename two subroutines in seaice_preconditioner.F |
40 |
|
o eesupp/src: |
41 |
|
- S/R MDSFINDUNIT avoids reserved unit numbers (scrUnit1, eeDataUnit ...) |
42 |
|
o pkg/seaice/seaice_preconditioner.F: fix preconditioner once again |
43 |
|
- remove wrong parts of the rhs and the lhs (were in there |
44 |
|
because I did not understand the concept of this preconditioner) |
45 |
|
- add an exchange between u- and v-sweep. This increases communication |
46 |
|
by a factor of two but improves the convergence of jfnk. Ideally, |
47 |
|
one would like the u- and v-sweep to be independent. So far within |
48 |
|
undocumented ifdefs |
49 |
|
- reorganize the extra computations for printing the residuals |
50 |
|
o tools/genmake2: |
51 |
|
- comment out the "mpif.h" include in NetCDF test programm (for MPI built) |
52 |
|
since it's not necessary (and was preventing to use MNC in some cases). |
53 |
|
|
54 |
|
checkpoint64a (2012/11/16) |
55 |
|
o pkg/autodiff: |
56 |
|
- improve pkg-internal logical parameter switch (inAd/inFwd mode) so that |
57 |
|
autodiff_readparms.F no longer depends on calling order (within |
58 |
|
packages_readparms.F) and no longer requires to include ${PKG}_PARMS.h): |
59 |
|
rename param turnFreeDriftInAdMode to SEAICEuseFREEDRIFTswitchInAd |
60 |
|
and change param SEAICEuseDYNAMICSinAdMode to SEAICEuseDYNAMICSswitchInAd. |
61 |
|
o pkg/obcs: |
62 |
|
- adding tidal velocity forcing capability to obcs |
63 |
|
for usage example, see verification/seaice_obcs/input.tides |
64 |
|
o pkg/seaice: |
65 |
|
- turn the LSR-relaxation parameters WFAU/V into runtime parameters |
66 |
|
SEAICE_LSRrelaxU/V |
67 |
|
- introduce runtime parameter SEAICEetaZmethod (=0 by default) |
68 |
|
o pkg/aim_v23: |
69 |
|
- implement heating from friction (bottom friction and stratospheric drag). |
70 |
|
o pkg/shap_filt: |
71 |
|
- fix diagnostic "SHAP_dKE" (was 2 time smaller); implement heating from |
72 |
|
dissipation but only for Shap_funct=2, active when addFrictionHeating=T. |
73 |
|
o model/src: |
74 |
|
- move AddMass common block from DYNVARS.h to FFIELDS.h; allow to read-in |
75 |
|
time-constant addMass field from file (addMassFile); |
76 |
|
- support for heating due to friction (and Kinetic Energy dissipation): |
77 |
|
add option, run-time switch and 3-D field array + support code ; each pkg |
78 |
|
or S/R can add heating contribution (if there is a sink of KE); the sum is |
79 |
|
accounted for as a Temperature tendency term (EXTERNAL_FORCING_T). |
80 |
|
o pkg/seaice: |
81 |
|
- complete merge of ITD code into seaice_growth.F |
82 |
|
from MITgcm_contrib/torge/itd/code/ |
83 |
|
no verification so far, but Torge Martin tested |
84 |
|
"1-D test case and Beaufort set up; |
85 |
|
deliver okay results after 1 model year." |
86 |
|
- complete merge of SEAICE_SIZE.h into all relevant routines |
87 |
|
- move computation of eta at Z-points into calc_viscosities |
88 |
|
+ introduce global field etaZ |
89 |
|
+ add different methods for computing etaZ, for now the old |
90 |
|
method (simple averages of eta to Z-points) is hardwired |
91 |
|
+ replace etaMeanZ by etaZ in seaice_lsr, seaice_calc_residual, |
92 |
|
seaice_preconditioner |
93 |
|
- simplify computations for SEAICE_ZETA_SMOOTHREG |
94 |
|
- seaice_preconditioner: |
95 |
|
+ replace one remaining press by pressLoc (mistake) |
96 |
|
+ adjust printing of residuals |
97 |
|
- improve I/O of diagnostics of JFNK in seaice_jfnk.F: |
98 |
|
+ add (SEAICE.h) and rename some counters (initiliased in |
99 |
|
seaice_init_fixed.F) |
100 |
|
+ add _BEGIN/END_MASTER (myThid) around print statements |
101 |
|
+ print total number of iterations and failures over SEAICE_monFreq |
102 |
|
interval to STDOUT |
103 |
|
- move control over output-messages by fgmres to seaice_jfnk to save |
104 |
|
some operations |
105 |
|
- move resetting initial guess for fgmres outside of seaice_fgmres_driver |
106 |
|
in order to make restarts with sol .ne. zero (fgmres with restarts) |
107 |
|
(seaice_jfnk.F, seaice_fgmres.F) |
108 |
|
- seaice_calc_l/rhs.F: replace maskW/S by maskInW/S; this fixes |
109 |
|
a serious convergence problem when open boundaries are involved |
110 |
|
o pkg/ggl90: fix computation of control volumes for the case of |
111 |
|
ALLOW_GGL90_HORIZDIFF (probably not used very often): move control volumes |
112 |
|
up half a grid cell from C-centered to W-centered (pointed out by C. Eden) |
113 |
|
o pkg/seaice: simplify seaice_evp by avoiding use of extra fields u/vIceC |
114 |
|
o pkg/autodiff |
115 |
|
- Add inAdMode switch for SEAICEuseDYNAMICS: |
116 |
|
SEAICEuseDYNAMICSinAdMode |
117 |
|
(extend logic in ADAUTODIFF_INADMODE_SET) |
118 |
|
o pkg/seaice |
119 |
|
- Step 1 of merging ice-thickness distribution (ITD) code from |
120 |
|
MITgcm_contrib/torge/itd/ (author: Torge Martin) |
121 |
|
The code implements concept laid out in Thorndike et al. (1975); |
122 |
|
code is enabled via CPP flag SEAICE_ITD |
123 |
|
nITD (in SEAICE_SIZE.h) defines number of ice thickness categories; |
124 |
|
code is not complete yet!! |
125 |
|
- SEAICE_SIZE.h now included in almost all seaice routines |
126 |
|
o verification (using seaice): |
127 |
|
- switch back seaice-dynamics (+ lower SOLV_MAX_ITERS) in ADM exp. |
128 |
|
global_ocean.cs32x15.seaice ; update results. |
129 |
|
- compile B-grid dynamics in FW test exp 1D_ocean_ice_column ; |
130 |
|
- compile C-grid dynamics with #define SEAICE_ALLOW_JFNK in FW test exp |
131 |
|
offline_exf_seaice (previously compiling B-grid). |
132 |
|
o pkg/exf: |
133 |
|
- fix some STOP conditions in exf_check.F (from Aug 28, modifs did not allow |
134 |
|
to specify neither just 1 comp of wind or wind-stress, nor no surface momentum |
135 |
|
forcing): just replace CPP option ALLOW_ATM_WIND with run-time param useAtmWind. |
136 |
|
o pkg/layers (adjust changes from Sept 19): |
137 |
|
- do snap-shot output and fill diagnostics from inside iLa loop (layers_calc.F) |
138 |
|
this allows to remove "layers_maxNum" dimension from all layers arrays. |
139 |
|
o pkg/layers (adjust changes from Sept 19): |
140 |
|
- remove ALLOW_LAYERS_OUTPUT ; fix snap-shot and time-ave output ; |
141 |
|
- snap-shot extended to all type of layers (not just the 1rst type); |
142 |
|
- remove layers variables when corresponding CPP option is undef. |
143 |
|
o pkg/layers: |
144 |
|
- rename pkg/layers variable and add new output (layer exist & un-weighted |
145 |
|
velocity in layer) |
146 |
|
o pkg/seaice: |
147 |
|
- simplify (?) ocean-drag coefficent computations by using |
148 |
|
the same routine in all three solvers (saves some code lines) |
149 |
|
- remove global fields DRAGA and DRAGS from C-grid code and |
150 |
|
declare them locally in lsr.F (the only place where they are |
151 |
|
still used) |
152 |
|
- update AD output of lab_sea.evp (very sensitive anyway). |
153 |
|
o pkg/seaice: add Jacobian-free Newton Krylov solver for ice dynamics |
154 |
|
(Lemieux et al. 2010, 2012). Turn on with the usual SEAICE_ALLOW_JFNK |
155 |
|
and SEAICEuseJFNK=.true. A few things to note: |
156 |
|
- involves a FGMRES, that is parallel but very inefficient, |
157 |
|
because of many scalar products (global sums) in the Gram-Schmidt |
158 |
|
orthogonalization method. Needs to be replaced. Original code |
159 |
|
from J.-F. Lemieux |
160 |
|
- preconditioner for FGMRES is a stripped down version of LSOR |
161 |
|
- SOLV_MAX_ITERS is now used for LSOR as a solver and as a |
162 |
|
preconditioner. For the preconditioner, the default is set to 10. |
163 |
|
- Jacobian times vector is computed with finite differences |
164 |
|
- marginally related to JFNK-solver: add a smooth regularization for |
165 |
|
zeta with tanh that will improve convergence (Lemieux and Tremblay, |
166 |
|
2009) for any implicit solver (not implemented for EVP because EVP |
167 |
|
does not need this regularization in the first place). Define |
168 |
|
SEAICE_ZETA_SMOOTHREG in SEAICE_OPTIONS.h to use. |
169 |
|
o eesupp/src: |
170 |
|
- check in genmake2 that intrinsic S/R flush is available. |
171 |
|
- add S/R to flush IO unit (if intrinsic S/R flush is available) |
172 |
|
- flush standard & error msg unit before MPI termination |
173 |
|
- if debugMode, flush IO unit after printing msg |
174 |
|
o pkg/ctrl: |
175 |
|
- ctrl_unpack.F, ALLOW_GENARR3D_CONTROL code: fix missing argument in call |
176 |
|
to ctrl_set_unpack_xyz. |
177 |
|
|
178 |
|
checkpoint64 (2012/10/09) |
179 |
|
o pkg/shelfice |
180 |
|
- in mom_fluxform.F, mom_vecinv.F: |
181 |
|
CALL SHELFICE_V_DRAG(bi,bj,k,vFld,KE,KappaRU,vF,myThid) |
182 |
|
Bug fix KappaRU -> KappaRV |
183 |
|
does not change verification/isomip but may change other setups |
184 |
|
(presumably constant KappaRU=KappaRV) |
185 |
|
- fix diagnostics SHIU/Vdrag (thanks to Tom Millgate) |
186 |
|
o pkg/obcs: |
187 |
|
- fixed some indexing bugs in obcs_seaice_sponge.F |
188 |
|
- added obcs relaxation subroutines for HSALT and HSNOW |
189 |
|
- changes verification/seaice_obcs/results/obcs_seaice_sponge.F |
190 |
|
o pkg/seaice: |
191 |
|
- add "multicategory" parameterization for snow in analogy to ice, |
192 |
|
default is off for now. |
193 |
|
o pkg/obcs: |
194 |
|
- added obcs_seaice_sponge.F for obcs relaxation of seaice variables; |
195 |
|
see verification/seaice_obcs/input.seaiceSponge for example application. |
196 |
|
- remove local commom bloc "OBCS_GLOBAL" in obcs_readparms.F and do all the OB |
197 |
|
index setting by master-thread. This fix multi-threads Pb in previous modifs. |
198 |
|
o pkg/layers : |
199 |
|
- add diagnostics to pkg/layers |
200 |
|
- move the meat of pkg/layers from layers_calc.F to layers_fluxcalc.F |
201 |
|
(from R.Tulloch). Layers_calc.F now calls layers_fluxcalc.F accordingly. |
202 |
|
o pkg/generic_advdiff/gad_implicit_r.F : |
203 |
|
- fix ADVr diagnostics in case of both implicit vertical advection and diffusion. |
204 |
|
o pkg/seaice/seaice_growth.F: |
205 |
|
- fix SItflux diagnostics in virtual salt flux + balanceEmpmr case. |
206 |
o pkg/obcs: |
o pkg/obcs: |
207 |
- change default setting of OBCS_UVICE_OLD from defined to undef; |
- change default setting of OBCS_UVICE_OLD from defined to undef; |
208 |
- use new parameter OB_indexNone for null index value (instead of hard-coded 0) |
- use new parameter OB_indexNone for null index value (instead of hard-coded 0) |