4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: add the option to compute no-slip du/dy, dv/dx (i.e. |
8 |
|
the offdiagonal strain rate e12) by a second order approximation |
9 |
|
on the boundary; works only with JFNK, KRYLOV, or EVP solvers, because |
10 |
|
it is too messy to implement for the implicit LSR matrix. |
11 |
|
SEAICE_2ndOrderBC = .FALSE. by default |
12 |
|
|
13 |
|
checkpoint66h (2017/06/02) |
14 |
|
o pkg/seaice: |
15 |
|
- add new routines to compute stress tensor components and stress tensor |
16 |
|
divergence to be reused in s/r seaice_lsr and s/r seaice_calc_lhs |
17 |
|
- change names of diagnostics SIsigI/II (commonly used for invariants) |
18 |
|
to SIsig1/sig2 (more common for principal components) to avoid confusion |
19 |
|
o pkf/exf: |
20 |
|
- add a stop if useRelativeWind with un-updated uwind/vwind (e.g., constant); |
21 |
|
similarly, stop if rotateStressOnAgrid with constant wind-stress. |
22 |
|
o pkg/seaice: |
23 |
|
- remove (comment out) diagnostics SIuwind,SIvwind,SIfu,SIfv (duplicate of |
24 |
|
EXFuwind,EXFvwind,oceTAUX,oceTAUY) and point them to their equivalent. |
25 |
|
- add diagnostics of wind-stress over seaice (SItaux,SItauy) and seaice |
26 |
|
fraction weighted wind stress over ocean+seaice (SIatmTx,SIatmTy). |
27 |
|
o pkg/diagnostics: |
28 |
|
- small piece of code to rename (old) diagnostics, when namelist is processed. |
29 |
|
o model/src: |
30 |
|
- new run-time param (useMin4hFacEdges) to select method for setting hFacW,S: |
31 |
|
originally, set as minimum of adjacent hFacC factor ; now (new default) |
32 |
|
computed from rSurfW,S and rLowW,S by applying same rules as for hFacC. |
33 |
|
Only matters when useShelfIce=T with particular ice-shelf cavity geometry. |
34 |
|
o pkg/seaice: |
35 |
|
- add momemtum advection, off by default, still in test phase |
36 |
|
most of the momentum advection code is adapted and reused from mom_vecinv |
37 |
|
o pkg/mom_vecinv: |
38 |
|
- pass these runtime flags: |
39 |
|
selectVortScheme, highOrderVorticity, upwindVorticity, useJamartMomAdv |
40 |
|
as formal parameters to s/r mom_vi_u/v_coriolis, mom_vi_u/v_coriolis_c4, |
41 |
|
so that these routines can also be used in pkg/seaice. |
42 |
|
|
43 |
|
checkpoint66g (2017/04/24) |
44 |
|
o model/src: |
45 |
|
- more robust ordering of column thickness integral (=Sum_k(drF*hFac) ) |
46 |
|
to get same expression (regarding machine truncation) in different places |
47 |
|
in ini_masks_etc.F (e.g., rSurfC,W,S is now exactly zero when it should). |
48 |
|
Update forward output of experiments: global_ocean.cs32x15 (all 5 except |
49 |
|
viscA4), isomip (x3), tutorial_global_oce_in_p & tutorial_plume_on_slope. |
50 |
|
o pkg/shelfice: |
51 |
|
- ALLOW_SHIFWFLX_CONTROL: move setting of maskSHI from shelfice_update_masks.F |
52 |
|
to shelfice_init_fixed.F |
53 |
|
- change S/R SHELFICE_UPDATE_MASKS to SHELFICE_INIT_DEPTHS (still called from |
54 |
|
ini_masks_etc.F for now) to update ocean upper boundary position according |
55 |
|
to ice-shelf topography (instead of directly updating hFacC). |
56 |
|
o model/src: |
57 |
|
- move call to CTRL_INIT & CTRL_ADMTLM from the middle to the bottom of |
58 |
|
packages_init_fixed.F to allow other pkgs to set mask and weight fields. |
59 |
|
|
60 |
|
checkpoint66f (2017/04/06) |
61 |
|
o model/src: |
62 |
|
- add specific run-time param to select level of printed plot-field-maps, |
63 |
|
set by default to debugLevel. Remove internal param "printDomain". |
64 |
|
o pkg/seaice: |
65 |
|
- add flag to add snow mass to seaiceMassC/U/V, the default is |
66 |
|
SEAICEaddSnowMass=.FALSE., not to change previous results |
67 |
|
o pkg/bling |
68 |
|
- Bug fix in bling_production regarding unit conversion for diagnostics |
69 |
|
being put in the wrong place |
70 |
|
o model/src: |
71 |
|
- add back recomputation of rSurfW & S to ensure consistent column thickness |
72 |
|
(needed for rStar) between Sum_k(hFac*drF) and rSurf-rLow, for now only |
73 |
|
when using pkg/shelfice; was initially added on 2012/06/01 (ini_masks_etc.F |
74 |
|
revision 1.51) but was removed accidentally on 2014/02/08 (v1.53). |
75 |
|
o pkg/autodiff: |
76 |
|
- clean-up "checkpoint.flow" |
77 |
|
o pkg/rw (Contribution from Jody Klymak): |
78 |
|
option to set mds file suffix as function of time in simulation: |
79 |
|
*) new input parameter "rwSuffixType" (read from PARM03 namelist) |
80 |
|
to select file suffix format; by default (=0), use iteration number; |
81 |
|
*) add simple routine to return file suffix according to rwSuffixType; |
82 |
|
*) in model/src and in most pkgs (except: atm2d, fizhi, regrid & streamice), |
83 |
|
use new S/R to get file suffix, except for debug output file (diagFreq) |
84 |
|
and pkgs offline & rbcs input files. |
85 |
|
o pkg/rw: |
86 |
|
- uniform processing of "I10" suffix across writing fld routines; used to |
87 |
|
simplify debug writing of cg2/3d_b/x in solve_for_pressure.F & post_cg3d.F |
88 |
|
(similar to cg3d.F, cg3d_ex0.F) |
89 |
|
o pkg/mom_vecinv: |
90 |
|
- highOrderVorticity in selectVortScheme=2 case: fix c4 coeff in splitted |
91 |
|
vorticity flux (keep same sum in case vBarXm=vBaXp, uBarYm=uBarYp). |
92 |
|
o pkg/bling: |
93 |
|
- Many small changes intended to clean the code. |
94 |
|
Unnecessary ADJOINT_SAFEs removed ; |
95 |
|
removed BLING_COST.h BLING_CTRL.h bling_cost.F ; |
96 |
|
diagnostics added. |
97 |
|
|
98 |
|
checkpoint66e (2017/03/14) |
99 |
|
o pkg/exf: |
100 |
|
- interpolation with #undef EXF_INTERP_USE_DYNALLOC: move buffer size |
101 |
|
definition outside EXF_PARAM.h in new header file: EXF_INTERP_SIZE.h; |
102 |
|
use fixed size buffer (passed to S/R EXF_INTERP & EXF_INTERP_UV) to |
103 |
|
avoid any dynamic allocation ; |
104 |
|
- S/R EXF_CHECK: add new check & stop when file-name is defined but not |
105 |
|
read-in ; add warning when file is read-in but not used within pkg/exf ; |
106 |
|
+ check for buffer-size (if #undef EXF_INTERP_USE_DYNALLOC). |
107 |
|
- update exf_summary.F (print {FLD}RepCycle). |
108 |
|
o verification/global_with_exf: |
109 |
|
- switch on exf interpolation in AD test (just like the forward test) |
110 |
|
o pkg/mom_vecinv: |
111 |
|
- add storage directives to avoid recomputations within mom_vecinv.F |
112 |
|
which were generating seg. fault with gfortran -devel |
113 |
|
o pkg/ctrl, pkg/smooth: |
114 |
|
- initialize array halos which were generating seg. fault with |
115 |
|
gfortran -devel in adjoint mode |
116 |
|
o pkg/exf: |
117 |
|
- for each input field, enable to specify a field specific repeat-cycle |
118 |
|
({FLD}RepCycle) which defaults to pkg/exf main "repeatPeriod". |
119 |
|
o verification/lab_sea: |
120 |
|
- update AD results of primary test and noseaicedyn test after switching |
121 |
|
to new version of TAF (5.3.13 vs 5.3.2 before); agreement with gradient |
122 |
|
check stays about the same. |
123 |
|
o pkg/exf: |
124 |
|
- fix bug in exf_zenithangle.F for cases select_ZenAlbedo > 0 with useCAL=T. |
125 |
|
- exf_check: MAX_LAT_INC need only be "loc_nlat-1", not equal to loc_nlat |
126 |
|
o pkg/bling, USE_EXFCO2 code: |
127 |
|
- add parameter "apco2RepCycle" (set to pkg/exf "repeatPeriod" by default); |
128 |
|
- update calls to EXF S/R (use new version: EXF_INIT_FLD & EXF_SET_FLD). |
129 |
|
o pkg/exf: |
130 |
|
- rename S/R EXF_INIT to EXF_INIT_VARIA ; |
131 |
|
- add arguments: fldName (for debug msg) and fldRepeatCycle (set to |
132 |
|
repeatPeriod) to S/R EXF_SET_UV and to S/R EXF_SET_GEN (renamed EXF_SET_FLD) |
133 |
|
and update calls in pkg/exf calling S/R (exf_getffields.F & exf_getclim.F) ; |
134 |
|
- add argument: fldName (for debug msg) to S/R EXF_INIT_GEN (renamed |
135 |
|
EXF_INIT_FLD) and update calls in exf_init_varia.F |
136 |
|
- For now, for backward compatibility, keep a simplified version of S/Rs |
137 |
|
EXF_SET_GEN & EXF_INIT_GEN in file exf_set_gen.F |
138 |
|
- add and pass new arguments: fldName (for debug msg) and fldRepeatCycle |
139 |
|
to S/R EXF_GetFFieldRec ; update calls in pkg/obcs/obcs_exf_load.F |
140 |
|
o tools/genmake2: |
141 |
|
- replace "bc -l" (only used once) by "expr" (already used). |
142 |
|
o verification/global_ocean.cs32x15: |
143 |
|
- turn off pkg/cal (useCAL=F) in secondary FWD exp. "icedyn". |
144 |
|
Note: exf setting (data.exf) can be compared to other exf secondary exp |
145 |
|
"seaice" (kept with useCAL=T) which has same time dependent forcing. |
146 |
|
|
147 |
|
checkpoint66d (2017/02/13) |
148 |
|
o pkg/exf: |
149 |
|
- remove setting of useCAL=T when using pkg/exf (useEXF=T); add warning |
150 |
|
early on (in packages_boot.F) to stress this change in pkg setting. |
151 |
|
- In (most) verification exp. that use pkg/exf, add useCAL=.TRUE. to data.pkg |
152 |
|
o model/src: |
153 |
|
- move call to ecco_phys to end of time step; this may induce minor |
154 |
|
cost function changes by shifting time averages by one time step |
155 |
|
for some variables; this revision resulted in changed adjoint results |
156 |
|
in MITgcm_contrib/verification_other/global_oce_cs32 |
157 |
|
o pkg/exf: |
158 |
|
- Change EXF_READ_EVAP to only activate code within #ifdef ALLOW_ATM_TEMP ; |
159 |
|
this prevents to read evap when ALLOW_ATM_TEMP is undef and other fields, |
160 |
|
e.g. precip, are not available. |
161 |
|
o pkg/flt: |
162 |
|
- flt_init_varia.F: use pickupSuff if specified |
163 |
|
- add code (within #ifdef DEVEL_FLT_EXCH2) and test case as a first, |
164 |
|
intermediate, step towards completing pkg/exch2 support within pkg/flt; |
165 |
|
ifdef DEVEL_FLT_EXCH2 then: |
166 |
|
- flt_init_fixed.F: comment out stop |
167 |
|
- flt_exch2.F: conserve ipart, jpart (grid coordinates) |
168 |
|
- exch2_recv_get_vec.F: transform ipart, jpart (grid coordinates) |
169 |
|
- flt_mapping.F: attempt to fix longitude diagnostic near date-line |
170 |
|
- flt_init_varia.F: hack initialization (for testing purposes w. LLC90) |
171 |
|
o tools/genmake2 & pkg/pkg_depend: |
172 |
|
- define new type of pkg dependency rule ("=pkg_x"), less strict than |
173 |
|
the "+" rule, that add the dependent pkg (pkg_x) unless it's disabled |
174 |
|
(-pkg_x in packages.conf). |
175 |
|
- change pkg/exf dependency rule from "exf +cal" to "exf =cal"; |
176 |
|
- add "+cal" to dependency list of pkg/ecco (needed to compile). |
177 |
|
- simplify FWD experiment "offline_exf_seaice" by removing pkg/cal. |
178 |
|
o utils/matlab: |
179 |
|
- adding ocean_basin routines for defining basin masks. |
180 |
|
o pkg/exf: |
181 |
|
- new S/R EXF_GETFFIELD_START replacing EXF_GETFIELD_START, but with more |
182 |
|
arguments, allowing to check (and stop) if parameter setting of |
183 |
|
{FLD}startdate1 & date2 and of {FLD}StartTime are consistent with |
184 |
|
useCAL= T or F. For now, kept a simplified version of EXF_GETFIELD_START |
185 |
|
for backward compatibility. |
186 |
|
- change accordingly calls in exf_init_fixed.F + default {FLD}StartTime in |
187 |
|
exf_readparms.F ; apply same changes to pkg/icefront (for SGRunOff field). |
188 |
|
o pkg/bling (USE_EXFCO2 code): |
189 |
|
- fix missing setting of apco2StartTime according to apco2startdate1 & date2 |
190 |
|
by adding a call to S/R EXF_GETFFIELD_START. |
191 |
|
o pkg/exf: |
192 |
|
- allows to compile without pkg/cal (but disabled by current dependency |
193 |
|
rules, i.e., default "pkg/pkg_depend"). Minimal changes to enable to |
194 |
|
run with useCAL=F ; this involves setting directly {FLD}StartTime instead |
195 |
|
of {FLD}startdate1 & date2 ; consistency check not yet coded. |
196 |
|
o verification/global_ocean.cs32x15: |
197 |
|
- fix all data.exf for a shift of 1 day in all field startdate1 so that it now |
198 |
|
corresponds to middle of 1rst month; update outputs (2 fwd + 3 adm + 3 tlm). |
199 |
|
o pkg/exf: |
200 |
|
- allow to use EXF_ZENITHANGLE without pkg/cal + simplify (saving some |
201 |
|
calculations); change FWD experiment global_ocean.cs32x15 |
202 |
|
(#define ALLOW_ZENITHANGLE) to test/check that this code compiles. |
203 |
|
o pkg/exf: |
204 |
|
- In preparation for addition to NAMELIST, rename internal (_RL) parameter |
205 |
|
{FIELD}startdate to {FIELD}StartTime |
206 |
|
Note: new name also fit better the content, i.e, a start time in second. |
207 |
|
o eesupp/src: |
208 |
|
- add 1 argument to S/R EEBOOT & EEBOOT_MINIMAL for interface with ESMF |
209 |
|
o pkg/exf: |
210 |
|
- add option ALLOW_READ_TURBFLUXES (and corresponding set of parameters) |
211 |
|
to allow to read-in Sensible & Latent Heat flux ; |
212 |
|
- simplify pkg/exf main options: |
213 |
|
1) move small piece of code (case ALLOW_ATM_TEMP undef) out of |
214 |
|
exf_bulkformulae.F into exf_wind.F so that exf_bulkformulae.F is |
215 |
|
compiled only when both ALLOW_ATM_TEMP & ALLOW_BULKFORMULAE are defined; |
216 |
|
2) make call to EXF_RADIATION and to EXF_WIND independent of CPP option |
217 |
|
ALLOW_BULKFORMULAE which now only applies to S/R EXF_BULKFORMULAE ; |
218 |
|
3) improve options documentation in EXF_OPTIONS.h. |
219 |
|
o pkg/ecco: |
220 |
|
- cost_gencost_customize.F,ecco.h,ecco_phys.F,ecco_readparms.F, and |
221 |
|
ecco_summary.F: add passive tracer cost functions to gencost; |
222 |
|
m_ptracer and m_boxmean_ptracer |
223 |
|
o pkg/ctrl: |
224 |
|
- ctrl_map_forcing.F: pass myIter and myTime to ctrl_map_forcing as input |
225 |
|
parameters; move myIter .EQ. nIter0 inside ctrl_map_forcing; add to list |
226 |
|
of implemented gentim2d contol parameters: xx_qnet, xx_empmr, xx_qsw, |
227 |
|
xx_sst, xx_sss, xx_pload, xx_saltflux, xx_fu, xx_fv, xx_fe, xx_fn |
228 |
|
o model/src: |
229 |
|
- forward_step.F: pass myIter and myTime to ctrl_map_forcing as input |
230 |
|
parameters; move myIter .EQ. nIter0 inside ctrl_map_forcing |
231 |
|
o pkg/exf: |
232 |
|
- exf_getffields.F: add to list of implemented gentim2d contol parameters: |
233 |
|
xx_lwflux, xx_swflux, xx_evap, xx_apressure, xx_areamask |
234 |
|
|
235 |
|
checkpoint66c (2017/01/19) |
236 |
|
o verification: |
237 |
|
- add new option "-src" to testreport to only produce source code (*.f), |
238 |
|
including taf output src code (if using '-adm'/'-tlm' option). |
239 |
|
o pkg/exf: |
240 |
|
- add saltflx :: Net upward salt flux in psu.kg/m^2/s |
241 |
|
o pkg/diagnostics: |
242 |
|
- add run-time variable diagMdsDir to specify a subdirectory for |
243 |
|
diagnostic output when mds is being used and mdsioLocalDir is not. |
244 |
|
o pkg/mnc: |
245 |
|
- mnc_utils.F: edit stop message |
246 |
|
o pkg/autodiff: |
247 |
|
- autodiff_ini_model_io.F: PRINT_MESSAGE, clean-up comments, add _*_MASTER, |
248 |
|
add HAVE_SYSTEM bracket around system call to mkdir |
249 |
|
o pkg/profiles: |
250 |
|
- profiles_findunit.F, profiles_init_fixed.F, profiles_interp.F, |
251 |
|
profiles_readparms.F: call ALL_PROC_DIE before 'stop' |
252 |
|
- profiles_ini_io.F: use PRINT_MESSAGE, clean-up comments, add _*_MASTER, |
253 |
|
add HAVE_SYSTEM bracket around system call to mkdir |
254 |
|
o pkg/smooth: |
255 |
|
- smooth_filtervar2d.F, smooth_filtervar3d.F: call ALL_PROC_DIE before 'stop' |
256 |
|
- smooth_init2d.F, smooth_init3d.F: move print statements to readparms |
257 |
|
- smooth_readparms.F: add cleaner print statements from smooth_init?d.F |
258 |
|
o pkg/exf: |
259 |
|
- check: count errors and stop cleanly at the end (call to ALL_PROC_DIE); |
260 |
|
issue error message when climsst_interpMethod.GT.0 and climsst_lon_inc > 500 |
261 |
|
generalize tests on interpMethod, nlat, and lon_inc to all exf variables. |
262 |
|
- summary: skip detailed field report if not used (empty file-name). |
263 |
|
o tools/xmakedepend: |
264 |
|
- In case line editor "ed" is missing, switch to "sed" command to clean-up |
265 |
|
Makefile from previous dependencies (anything after "# DO NOT DELETE" line). |
266 |
|
o pkg/exf: |
267 |
|
- change definition of "hflux" input file to always include Short-Wave; |
268 |
|
this is now consistent with hflux computation (if using bulk-formulae) |
269 |
|
and hflux diagnostic & documentation (in EXF_FIELDS.h). |
270 |
|
|
271 |
|
checkpoint66b (2016/12/01) |
272 |
|
o model & momentum pkgs: |
273 |
|
- implement fully implicit bottom friction combined with implicit surf. |
274 |
|
pressure, for now, only in hydrostic formulation: |
275 |
|
+ to use: compile with #define ALLOW_SOLVE4_PS_AND_DRAG in CPP_OPTIONS.h |
276 |
|
and run with selectImplicitDrag=2 ; |
277 |
|
+ currently missing diagnostics of bottom drag and vert. viscosity tendency; |
278 |
|
- partial implicit time-stepping (bot. friction + vert. visc first, then |
279 |
|
surf. press) corresponding to selectImplicitDrag=1 should be applicable |
280 |
|
to NH formulation but not available until we solve for surf. pressure |
281 |
|
increment (instead of full etaN). |
282 |
|
- change exp. global_ocean.cs32x15.thsice to test implicit bottom drag |
283 |
|
with implicit vertical viscosity. |
284 |
|
o pkg/seaice: add linear remapping scheme (Lipscomb 2001) to ITD model |
285 |
|
- this is a first version that includes many regularisations that may |
286 |
|
not all be necessary, to be sorted out, |
287 |
|
- turned on by runtime parameter SEAICEuseLinRemapITD (true by default) |
288 |
|
- change one verification experiment in seaice_itd to use and test new code |
289 |
|
- seaice_growth: catch a case where the argument of log can be zero |
290 |
|
or smaller (important for code stability) |
291 |
|
o model/src: |
292 |
|
- modify SOLVE_DIAGONAL_LOWMEMORY version of solve_tridiagonal.F |
293 |
|
& solve_pentadiagonal.F to enable to re-used inverse matrix for solving |
294 |
|
similar A.X'=Y' system (with same matrix A) in subsequent calls; |
295 |
|
switch based on errCode (In/Out) argument value; in calling routines, |
296 |
|
initialise errCode before first call. |
297 |
|
|
298 |
|
checkpoint66a (2016/10/18) |
299 |
|
o pkg/bling: |
300 |
|
- BLING package now loads in atmospheric pCO2 file using exf package routines |
301 |
|
Enable with #define USE_EXFCO2 in BLING_OPTIONS.h |
302 |
|
o model/src & pkg/ptracers: |
303 |
|
- with INCLUDE_IMPLVERTADV_CODE defined, also call MOM_U,V_IMPLICIT_R & |
304 |
|
GAD_IMPLICIT_R (instead of IMPLDIFF) when just implicitViscosity and |
305 |
|
implicitDiffusion (respectively) are used (even without momImplVertAdv |
306 |
|
or temp,salt,PTRACERS_ImplVertAdv). |
307 |
|
o model/src & generic_advdiff: |
308 |
|
- add parenthesis in main diagonal calculation of implicit vertical |
309 |
|
diffusion matrix (impldiff.F & gad_implicit_r.F). |
310 |
|
This affects results at machine truncation level; update output of many |
311 |
|
verification experiments (31 fwd ; 10 adm ; 8 tlm ; 3 oad). |
312 |
|
o pkg/mom_commom & generic_advdiff: |
313 |
|
- add deep atmosphere and anelastic scaling factor in implicit vertical |
314 |
|
advection routines (mom_u,v_implicit_r.F & gad*_impl*_r.F). |
315 |
|
o model/src: |
316 |
|
- remove few unnecessary temp array copies in solve_tridiagonal.F |
317 |
|
& solve_pentadiagonal.F |
318 |
|
|
319 |
|
checkpoint65z (2016/09/28) |
320 |
|
o pkg/seaice: fix multithreading for seaice_fgmres.F |
321 |
|
- remove unecessary variables from common blocks |
322 |
|
- use extra dimension MAX_NO_THREADS for all variables of the Krylov space |
323 |
|
basis, that are stored in commom blocks (including integer variable i1) |
324 |
|
- clean up code a little by removing commented lines that refer to |
325 |
|
original code |
326 |
|
- turn on multi-threaded test for experiment offline_exf_seaice.dyn_jfnk. |
327 |
|
o MITgcm manual: |
328 |
|
- add uptodate pkg/ecco documentation to the manual (section 8.1; ecco.tex), |
329 |
|
preliminary documentation for generic controls (8.3; ctrl.tex), |
330 |
|
a placeholder for smooth (8.4; smooth.tex), and comment out the deprecated |
331 |
|
ecco_costfunction.tex |
332 |
|
o pkg/ecco: |
333 |
|
- update and cleanup list of CCP options |
334 |
|
- re-assign gencost_mask to specify masks rather than gencost_errfile; 'c' |
335 |
|
is now always passed to cost_generic; gencost_mask is now MAX_LEN_FNAM |
336 |
|
- add checks that retired run-time options are not used, and in relation |
337 |
|
to gencost_mask and gencost_errfile |
338 |
|
- finish deprecating gencost_scalefile, gencost_smooth2Ddiffnbt, and |
339 |
|
gencost_nrecperiod |
340 |
|
- fix m_eta computation for virtual salt flux case |
341 |
|
- add m_horflux_vol case (selected via gencost_barfile) that computes |
342 |
|
transports via cost_gencost_boxmean (gencost_flag=-3) |
343 |
|
- use gencost_flag more systematically (i.e., avoid using gencost_name) |
344 |
|
for code switches (aside from physical variable selection) |
345 |
|
o pkg/seaice: make seaice_fgmres.F fit for multithreading; this first |
346 |
|
attempt appears to be a bit of a hack and my need some repair down the road |
347 |
|
o pkg/exf: |
348 |
|
- interpolation near South Pole: fix criteria on input field latitude. |
349 |
|
o pkg/icefront & pkg/exf: |
350 |
|
- move setting of icefront Sub-Glacial RunOff forcing (currently unused) |
351 |
|
from pkg/exf (read from data.exf) to pkg/icefront (read from data.icefront) |
352 |
|
o pkg/exf: |
353 |
|
- replace CPP option ALLOW_EXF_OUTPUT_INTERP with run-time parameter |
354 |
|
"exf_output_interp" (in namelist: EXF_NML_04); change output file name |
355 |
|
(add suffix "_out" instead of a prefix); keep same record number as in |
356 |
|
input file but always write record 1 first (to avoid a STOP in I/O S/R). |
357 |
|
Change output file content by writing interpolated field before applying |
358 |
|
land-sea mask (helpful for debug). |
359 |
|
- 2 compon. vector interpolation with rotation: apply scaling factor on |
360 |
|
each compon. (Eastward and Northward) just before rotation. |
361 |
|
o pkg/bling: |
362 |
|
- Cleaned package. Removed not needed code and comments. |
363 |
|
- adjoint example now works |
364 |
|
(MITgcm_contrib/verification_other/global_oce_biogeo_bling/code_ad) |
365 |
|
o pkg/ptracers: |
366 |
|
- add Bruno Deremble's code to complete the linear surface correction |
367 |
|
for tracer conservation; |
368 |
|
- enabled for individual ptracers by PTRACERS_linFSConserve(iTr)=.TRUE. |
369 |
|
|
370 |
|
checkpoint65y (2016/07/29) |
371 |
|
o pkg/debug (stats): |
372 |
|
- change GLOBAL_SUM to GLOBAL_SUM_TILE (result independent of tile to |
373 |
|
proc/thread mapping); |
374 |
|
- fix Min & Max for case where 1 thread has only empty tiles; |
375 |
|
- use RL variable to count number of wet grid points (with big domain, |
376 |
|
can be too large to fit into integer*4). |
377 |
|
o pkg/monitor: |
378 |
|
- use RL variable to count number of wet grid points (but used only for del2) |
379 |
|
- add new routine to compute Advective CFL within tracer time-stepping with |
380 |
|
writing delayed until next monitor output. |
381 |
|
o pkg/obcs: |
382 |
|
- fix bug in OBCS_BALANCE_FLOW (OBCS_balanceFacN misspelled OBCS_balanceFacW) |
383 |
|
o pkg/cal: |
384 |
|
- calandar-dump: treat case myTime < timePhase in the same way as in |
385 |
|
eesupp/src/diff_phase_multiple.F (when not using calandar-dump). |
386 |
|
o pkg/dic & seaice: |
387 |
|
- fix compilation of ocean component for coupled atm+ocn model with |
388 |
|
seaice dynamics & dic. |
389 |
|
|
390 |
|
checkpoint65x (2016/06/11) |
391 |
|
o add a license text file in main MITgcm tree. |
392 |
|
o added pkg/bling: |
393 |
|
- intermediate complexity biogeochemical model |
394 |
|
- see bling_description.txt for details |
395 |
|
- verification experiment is global_oce_biogeo_bling (for now, in |
396 |
|
Contrib/verification_other/); tested daily on baudelaire with gfortran. |
397 |
|
- add entry point in pkg/gchem for new pkg "bling". |
398 |
|
o pkg/seaice: fix tensile stength computation |
399 |
|
- replace global field tensileStrength by tensileStrFac |
400 |
|
- tensileStrFac can be computed once in S/R seaice_init_varia |
401 |
|
- fortunately that does not affect any verification results |
402 |
|
|
403 |
|
checkpoint65w (2016/05/12) |
404 |
|
o pkg/ctrl/ctrl.h: fix a comma in common block list, so that code compiles |
405 |
|
with ECCO_CTRL_DEPRECATED defined |
406 |
|
o verification/global_ocean.cs32x15: |
407 |
|
- change secondary test "viscA4" to also test "selectP_inEOS_Zc=3" |
408 |
|
with "selectNHfreeSurf=1". |
409 |
|
o model/src (non-hydrostatic free-surface): |
410 |
|
- More "natural" expression of NH free-surface term (case selectNHfreeSurf=1): |
411 |
|
was: tmpSurf/(1+tmpSurf); changed to: 1/(1+Gamma) with Gamma=1/tmpSurf. |
412 |
|
- Calculate surface vertical velocity after 2-D solver adjustment (accounts |
413 |
|
for EmPmR if RealFreshWaterFlux); used in RHS (cg3d_b) if exactConserv |
414 |
|
and used to compute dPhiNH (in post_cg3d.F) if selectNHfreeSurf=1. |
415 |
|
This fixes EmPmR contribution when selectNHfreeSurf=1 & RealFreshWaterFlux. |
416 |
|
- Update output (changes at machine truncation level) of verification exp: |
417 |
|
exp4 (11 digits for cg2d), global_ocean.cs32x15.viscA4 (11.d), |
418 |
|
short_surf_wave (13.d) and tutorial_deep_convection.smag3d (12.d). |
419 |
|
o pkg/seaice: ITD code |
420 |
|
- fix picking up from a single category model by initialising |
421 |
|
heff/area/hsnowITD = 0. in seaice_itd_pickup.F |
422 |
|
- split a long warning message in seaice_check_pickup.F into two lines, |
423 |
|
because NEC SX-ACE cannot deal with the long line. |
424 |
|
o model/src: |
425 |
|
- fix missing dPhiNH in pressure_for_eos.F (case: selectP_inEOS_Zc=3) |
426 |
|
o pkg/seaice: |
427 |
|
- add missing checks for SEAICE_ALLOW_KRYLOV and SEAICE_ALLOW_BOTTOMDRAG |
428 |
|
o pkg/seaice: |
429 |
|
- add basal stress as parameterisation for grounding ice |
430 |
|
following Lemieux et al. (2015) |
431 |
|
- turn on by setting new parameter SEAICEbasalDragK2 to a value |
432 |
|
larger than 0. Lemieux et al. (2015) recommend 15. |
433 |
|
- The adjoint complains with extra recomputations so there is also a |
434 |
|
new cpp-flag SEAICE_ALLOW_BOTTOMDRAG that is undefined by default in |
435 |
|
order to postpone the problem |
436 |
|
- compile the new code in lab_sea |
437 |
|
o verification/halfpipe_streamice: |
438 |
|
- update both TAF and OpenAD adm output (machine truncation differences) |
439 |
|
|
440 |
|
checkpoint65v (2016/04/08) |
441 |
|
o verification/advect_xz: |
442 |
|
- increase overlap size from 3 to 4 and add new secondary test for PQM |
443 |
|
advection scheme (with mono & wino limiter). |
444 |
|
- change main exp. to test PPM (with weno limiter) adv.scheme on Temp. |
445 |
|
o model/src: |
446 |
|
- new parameters "top_Pres" & "seaLev_Z" (replacing Ro_SeaLevel and recently |
447 |
|
added phi0Ref) to set vertical axis origin and phiRef origin; |
448 |
|
keep Ro_SeaLevel for backward compatibility (with a warning). |
449 |
|
According to coordinate and fluid type: |
450 |
|
OCN in Z: top_Pres(Ref) (=rhoConst*PhiRef(1)), seaLev_Z (=rF(1), @ the top) |
451 |
|
ATM in Z: top_Pres(Ref) (=rhoConst*PhiRef(1)), seaLev_Z (=rF(Nr+1) @ bottom) |
452 |
|
OCN in P: top_Pres (=rF(Nr+1)), seaLev_Z (= PhiRef(Nr+1)/g, @ the top) |
453 |
|
ATM in P: top_Pres (=rF(Nr+1)), seaLev_Z (= PhiRef(1)/g, @ the bottom) |
454 |
|
- remove Ro_SeaLevel from ATM experiment parameter files; |
455 |
|
- in tutorial_global_oce_in_p, remove Ro_SeaLevel and set top_Pres to the |
456 |
|
complement; update output.txt (changes at machine truncation level). |
457 |
|
o pkg/seaice/seaice_evp.F |
458 |
|
- simplify computation of deltaZ and zetaZ to simple averaging following |
459 |
|
Bouillon et al. (2013). This removes a lot of code, but also changes |
460 |
|
verification experiment lab_sea.hb87 -> updated |
461 |
|
|
462 |
|
checkpoint65u (2016/03/14) |
463 |
|
o pkg/generic_advdiff: |
464 |
|
- from Darren: add PPM and PQM advection schemes (number 40-42 and 50-52) |
465 |
|
with 2 types of limiter (see: Engwirda & Kelley, submit. to JCP); |
466 |
|
Note (from Darren): unlimited PPM/PQM scheme (40 & 50) are just for |
467 |
|
testing and not for actual use. |
468 |
|
o model/src: |
469 |
|
- add parameter "phi0Ref" to specify reference [pressure/geo] potential at |
470 |
|
origin r = rF(1); |
471 |
|
- add options (parameter selectP_inEOS_Zc) to select which pressure to use |
472 |
|
in EOS for height coordinate: enable to include NH Pressure or to use |
473 |
|
more accurate pressure vertical profile; options not linked to EOS type |
474 |
|
(as previously, e.g., JMD95P/JMD95Z) but set default according to EOS type; |
475 |
|
- start to implement variable gravity (along vertical): for now, only with |
476 |
|
z-coords (not even z*). |
477 |
|
- add Ideal Gas equation of state for height coordinate. |
478 |
|
- update OpenAD output (affected at machine truncation level) of exp: |
479 |
|
global_ocean.90x40x15, OpenAD (std) and tutorial_global_oce_biogeo. |
480 |
|
o pkg/exf: |
481 |
|
- add ALLOW_EXF_OUTPUT_INTERP cpp switch to output the result |
482 |
|
of exf interpolation (before any rescaling, rotation or interpolation |
483 |
|
to velocity point) for each field that gets loaded from file. This option |
484 |
|
identically mimics the input file organization (e.g. record numbers in year |
485 |
|
by year input files) besides the change in horizontal grid. |
486 |
|
- add rotateStressOnAgrid run-time switch so that wind stress fields |
487 |
|
can be provided on the A-grid in zonal/meridional direction and |
488 |
|
rotated on the fly. This only applies to the case when the exf |
489 |
|
interpolation is off and rotateStressOnAgrid is false by default. |
490 |
|
o model/src: |
491 |
|
- rename internal parameter "useDynP_inEos_Zc" to "storePhiHyd4Phys" (since |
492 |
|
it's also used with pkg/atm_phys) and add few more parameters (but still |
493 |
|
inactive, src code yet to come) |
494 |
|
|
495 |
|
checkpoint65t (2016/02/10) |
496 |
|
o pkg/atm_phys: |
497 |
|
- from Ruth Geen: add optical depth dependence on CO2 concentration. |
498 |
|
o model/src: |
499 |
|
- fix vertical inter/extra-polation of density factor rhoFacF (for anelastic) |
500 |
|
for the case setCenterDr=T (delRc set from "data"); add output of rhoFacC&F. |
501 |
|
Update output of exp. deep_anelastic (changes at truncation level). |
502 |
|
o tools: |
503 |
|
- add a hack in "remove_comments_sed" (used only with TAF) for recent |
504 |
|
version of OpenMPI (shipped with FC.23): comment out the new header |
505 |
|
file "mpif-sizeof.h" which causes problems to TAF. |
506 |
|
o pkg/seaice: |
507 |
|
- change the termination criterion so that maxits (SEAICElinearIterMax) |
508 |
|
has an effect |
509 |
|
- unify iteration parameters for implicit solvers (JFNK and Picard) |
510 |
|
SEAICEnonLinIterMax replaces SEAICEnewtonIterMax/NPSEUDOTIMESTEPS |
511 |
|
SEAICElinearIterMax replaces SEAICEkrylovIterMax/SOLV_MAX_ITER |
512 |
|
SEAICEpreLinIterMax replaces SOLV_MAX_ITER in preconditioner |
513 |
|
SEAICEpreNL_IterMax replaces NPSEUDOTIMESTEPS in preconditioner |
514 |
|
SEAICEnonLinTol replaces JFNKgamma_nonlin |
515 |
|
- remove S/R SEAICE_FGMRES_DRIVER and put content into S/R SEAICE_JFKN |
516 |
|
- add new Picard-Krylov solver, compile with SEAICE_ALLOW_KRYLOV and |
517 |
|
use with SEAICEuseKrylov |
518 |
|
o pkg/seaice/seaice_lsr.F |
519 |
|
fix small bug: replace zetaZ by zetaZloc in S/R seaice_lsr_rhsu/v; only |
520 |
|
relevant if SEAICEuseStrImpCpl=T, and even then it does not seem to have |
521 |
|
an effect. |
522 |
|
o pkg/seaice: add two new parameters |
523 |
|
- SEAICEuseLSR to simplify the logic in seaice_dynsolver (this |
524 |
|
parameter is not in any namelist) |
525 |
|
- SEAICEusrPicardAsPrecon to allow s/r seaice_lsr to be used as |
526 |
|
a preconditioner for the non-linear Newton iteration of the JFNK |
527 |
|
solver |
528 |
|
o pkg/seaice/seaice_lsr.F: replace 1./SEAICE_deltaTdyn with recip_deltaT, |
529 |
|
affects some experiments at truncation level: |
530 |
|
- global_ocean.cs32x15.icedyn (11 digits), |
531 |
|
- global_ocean.cs32x15.seaice (11 digits), |
532 |
|
- seaice_itd (12 digits), seaice_itd.lipscomb07 (12 digits) -> update |
533 |
|
- also update global_ocean.cs32x15 adjoint and tangent-linear results |
534 |
|
o pkg/salt_plume & pkg/thsice: |
535 |
|
- for coupled set-up with pkg/thsice in ATM and pkg/salt_plume in OCN, |
536 |
|
connect salt_plume flux to ATM-OCN coupling pkgs interface: |
537 |
|
a) in ATM: also cumulate salt-plume flux in S/R THSICE_SALT_PLUME (for |
538 |
|
export to coupler interface) even without compiling pkg/salt_plume ; |
539 |
|
b) in OCN: apply coupler salt-plume flux to pkg/salt_plume field |
540 |
|
(saltPlumeFlux) just before exch call, in S/R SALT_PLUME_DO_EXCH. |
541 |
|
o pkg/dic: |
542 |
|
- use the updated seaice fraction (from seaice pkgs) for DIC forcing |
543 |
|
instead of the previous time-step value ; done in new S/R DIC_FIELDS_UPDATE |
544 |
|
called from the top of dic_biotic_forcing.F (instead of in DIC_FIELDS_LOAD); |
545 |
|
- move also update with values from ATM-OCN Coupler in the same new S/R |
546 |
|
(previously done in ocn_apply_import.F). |
547 |
|
o tools/adjoint_options: |
548 |
|
- specify explicitly "-f77" or "-f90" in default ad-optfile since TAF (default) |
549 |
|
has been changed on Jan 14, 2016. |
550 |
|
o pkg/ggl90: |
551 |
|
- add alternative discretisation of vertical shear (off by default), to |
552 |
|
compute the mean (@ grid-cell center) of vertical shear compon instead of |
553 |
|
vertical shear of mean flow (@ grid-cell center). |
554 |
|
- add correct parenthesis in ALLOW_GGL90_SMOOTH code to get the same truncated |
555 |
|
results on adjacent faces of cubed-sphere grids; this fix the restart. |
556 |
|
o pkg/atm_compon_interf: |
557 |
|
- skip time-ave over cpl_atmSendFrq of Sea-Level Pressure (atmSLPr) and just |
558 |
|
pass last value, stored directly before export to CPL ; |
559 |
|
Note: this affects results of Coupled set-up where OCN uses useImportSLP=T |
560 |
|
- remove atmSLPr from pickup files (no longer needed for restart) |
561 |
|
|
562 |
|
checkpoint65s (2016/01/13) |
563 |
|
o eesupp & genmake2: |
564 |
|
- first check for Function ETIME and, if it fails, then check for subroutine |
565 |
|
ETIME and consistent output; use the appropriate version in timers.F |
566 |
|
o model/src: |
567 |
|
- to check restart test, add option to apply EXCH to U,V earlier, just before |
568 |
|
integr_continuity; turned off by default. |
569 |
|
o pkg/dic: |
570 |
|
- remove CPP option USE_ATMOSCO2 (not needed) |
571 |
|
o tools/tst_2+2: |
572 |
|
- try to ignore difference between +0 and -0 in binary file, causing test |
573 |
|
to fail for no good reason. |
574 |
|
o eesupp & genmake2: |
575 |
|
- put back modif from Jinxuan Zhu - change etime fct call to S/R call - |
576 |
|
but also check (in genmake2) that test runs and returns meaningful results. |
577 |
|
o coupler pkgs: |
578 |
|
Finish implementation of optionally-exchanged variable switches (started on |
579 |
|
Nov 12) with addition of few more exchanged fields, including 2-way exchange |
580 |
|
of pkg/thsice vars to allow to use seaice dynamics (from pkg/seaice) & seaice |
581 |
|
advection in OCN component; this requires sequential coupling. |
582 |
|
coupler (pkg/atm_ocn_coupler): |
583 |
|
- add argument msgUnit and iter number to CPL_SEND/RECV_ATM/OCN_FIELDS |
584 |
|
routines (useful for debug). |
585 |
|
- only export/import optionally exchanged fields (RunOff, seaice, Salt-Plume |
586 |
|
flux, DIC fields) if corresponding switch is ON. |
587 |
|
- add option to export RunOff to OCN (to use for DIC river input) |
588 |
|
- add 2-way thSIce vars exchange; check for consistent cpl_sequential setting. |
589 |
|
components (pkg/atm_ & ocn_compon_interf): |
590 |
|
- to save memory space in ATM & OCN comp: add some #ifdef ALLOW_${PKG} around |
591 |
|
optionally exchanged fields; add a check & stop in cpl_readparms.F. |
592 |
|
ATMCPL.h: ALLOW_LAND for RunOff, ALLOW_THSICE for seaice, ALLOW_AIM for CO2; |
593 |
|
OCNCPL.h: ALLOW_SALT_PLUME, ALLOW_DIC for DIC, ALLOW_THSICE for 2-W thsice. |
594 |
|
- rename: fracIce -> sIceFrac_cpl (<- match coupler var name) |
595 |
|
+ in ATM: fracIceTime -> sIceFracTime ; seaIceTime -> sIceMassTime. |
596 |
|
- add 2-way thSIce vars exchange ; add Salt-Plume flux ; add RunOff in OCN. |
597 |
|
- hold in common block coupler optionally-exchanged variable switch |
598 |
|
and set default "useImportXXX" accordingly; + check & stop if inconsistent. |
599 |
|
- add diagnostics for all imported fields from coupler (in both OCN & ATM); |
600 |
|
this is intended to replace the OCN cplFldtave.* output files (not updated |
601 |
|
to contain new additional exchanged fields). |
602 |
|
o pkg/dic: |
603 |
|
- fix an other bug (also from 2014/08/30) in dic_atmos.F, in dic_int1=3 code. |
604 |
|
o pkg/thsice: |
605 |
|
- when coupled to ATM (useCoupler) with thSIce_skipThermo=T, skip reading |
606 |
|
and writing of thsice pickup files. |
607 |
|
o pkg/atm_compon_interf: |
608 |
|
- move all field individual export-call out of cpl_export_import_data.F |
609 |
|
into new S/R ATM_EXPORT_FIELDS |
610 |
|
o pkg/atm_compon_interf: |
611 |
|
- store state variables (for now, only thSIce fields) just before beeing |
612 |
|
exported (in cpl_export_import_data.F, like on ocean side) instead of from |
613 |
|
atm_store_my_data.F like all exported fluxes. |
614 |
|
- new version of pickup_cpl: write field names into meta file and read meta |
615 |
|
file to find field postion in pickup. Also only write/read fields meeded for |
616 |
|
restart (same logic as main pickup file ; also using pickupStrictlyMatch) |
617 |
|
o pkg/dic: |
618 |
|
- fix bug (added on 2014/08/30) in dic_atmos.F for the case dic_int1= 2 or 3. |
619 |
|
o pkg/seaice: add new parameter SEAICEpressReplFac to choose between |
620 |
|
pressure replacement method (=1., default) or original Hibler (1979) (=0.) |
621 |
|
value can be from domain [0,1] to average between the two methods |
622 |
|
o pkg/atm_phys: |
623 |
|
- allow to provide 2-d map of albedo and mixed-layer depth from files (but |
624 |
|
hold fixed in time). |
625 |
|
|
626 |
|
checkpoint65r (2015/12/21) |
627 |
|
o pkg/seaice: |
628 |
|
fix bug in tridiagonal solvers for SEAICE_OLx/y>0, this affects the JFNK |
629 |
|
solver (offline.dyn_jfnk) and global_ocean.cs32x15.seaice -> updated |
630 |
|
o pkg/seaice: |
631 |
|
- fix a bug in computing areaS in (J-J -> J-1) that affects runs |
632 |
|
when SEAICEscaleSurfStress=.TRUE., |
633 |
|
- apply areaW and areaS in S/R seaice_calc_lhs |
634 |
|
o pkg/atm_phys: |
635 |
|
- add diagnostics for 3-D, Nr+1 levels diagnostics of radiative fluxes |
636 |
|
(shortwave & longwave, net & downward) and diagnostics of temp. tendency |
637 |
|
for individual contribution (convection, LSC cond, radiation) |
638 |
|
- add Ruth Geen etal, GRL 2016, radiation options (see paper supp. |
639 |
|
information); activated with: solar_exponent=0. and wv_exponent=-1. |
640 |
|
o pkg/ggl90: |
641 |
|
- within IDEMIX add upper limit for horizontal group velocity to |
642 |
|
avoid instability problems in the explicit horizontal diffusion term for |
643 |
|
long time steps or high resolution |
644 |
|
o pkg/diagnostics: |
645 |
|
- simplify setting of local-array size in diagstats_output.F: uses "numLevels" |
646 |
|
(from DIAGNOSTICS_SIZE.h) to allow to write out more than Nr levels. |
647 |
|
o testreport: |
648 |
|
- remove "-v" (verbose option) in default mpirun command. |
649 |
|
o pkg/seaice/seaice_growth: |
650 |
|
- catch potential division by zero in ITD code, does not change |
651 |
|
verification results |
652 |
|
o pkg/ecco: |
653 |
|
- retire old codes to the Attic. The calls to retired functions are |
654 |
|
left in a commented form in case they ever need to be re-activated. |
655 |
|
- ecco_check.F: issue warning if any old CPP option is |
656 |
|
defined that corresponds to retired codes -- then stop. |
657 |
|
o pkg/atm_compon_interf: |
658 |
|
- change seaice fraction (use for OCN dic surf.flux) stored and sent to |
659 |
|
coupler: use last time-step value instead of average over cplSendFrq_iter |
660 |
|
time-step, similar to what is done for seaIceMass. |
661 |
|
This will affect results (pkg/dic) of coupled ATM-OCN+dic set-up. |
662 |
|
o eesupp & genmake2: |
663 |
|
- from Jinxuan Zhu: change etime fct call to S/R call (fix gfortran ETIME); |
664 |
|
<= remove until a fix is found for some ifort version on ia32 machine. |
665 |
|
o pkg/seaice/seaice_evp: |
666 |
|
- refine residual computation |
667 |
|
|
668 |
|
checkpoint65q (2015/11/18) |
669 |
|
o pkg/seaice/seaice_evp: |
670 |
|
- fix residual computations so that they no longer affect the actual |
671 |
|
simulation code |
672 |
|
- fix seaice_readparams to be able to actually set new parameters |
673 |
|
SEAICEaEVPcStar and SEAICEaEVPalphaMin, also fix logic a little |
674 |
|
o model/src: |
675 |
|
- fix wrong truncation (single prec) from "FLOAT" function in expressions |
676 |
|
like: deltaT*FLOAT(myIter) when myIter is large: |
677 |
|
a) replaced by DFLOAT (if not seen by TAF); |
678 |
|
b) remove "FLOAT" and use implicit type conversion (if seen by TAF). |
679 |
|
o pkg/aim_v23: |
680 |
|
- write/read the expected CO2 pickups (from S/R AIM_DO_CO2): fix reading |
681 |
|
when pickupSuff is set ; do write rolling pickups + at the end of the run. |
682 |
|
o pkg/atm_ocn_coupler + ocn_compon_interf: |
683 |
|
- in prep for using pkg/seaice Dyn in coupled set-up, implement sequential |
684 |
|
coupling option-1: ATM -(cpl)-> OCN and then OCN -(cpl)-> ATM ; |
685 |
|
add corresponding call in DO_OCEANIC_PHYS. |
686 |
|
o coupler pkgs: |
687 |
|
Start a new way to set-up optionally-exchanged variables (previously, only |
688 |
|
there for exchange_DIC): switch on/off from 1 place, at run-time, in coupler |
689 |
|
data.cpl (new) instead of at compile time in ATMIDS.h & OCNIDS.h ; |
690 |
|
send switch to ATM & OCN compon before reading their own "data.cpl" (so that |
691 |
|
compononent param default can be set accordingly). |
692 |
|
Note: this new switch (cpl_exchange_[xxx]) is not a per variable switch |
693 |
|
but rather applies to a group a fields (going both ways like for DIC) |
694 |
|
and corresponds to an option of coupling config. |
695 |
|
coupler (pkg/atm_ocn_coupler): |
696 |
|
- change parameter file from "data" to "data.cpl" (in cpl_read_params.F), |
697 |
|
and read namelist directly (without eessup S/R calls) instead of |
698 |
|
in the very un-flexible old way, 1 param per line, in fixed order; |
699 |
|
- add error-counter to track errors (e.g., missing "data.cpl") and to stop |
700 |
|
cleanly in CPL_CHECK_CPLCONFIG |
701 |
|
- add new coupling-exchange selectors (some not yet active) including |
702 |
|
cpl_exchange_DIC (to set to 3 to replace atmCpl_exchange_DIC=T in ATMIDS.h |
703 |
|
and ocnCpl_exchange_DIC=T in OCNIDS.h); |
704 |
|
- add 2 new S/R (CPL_SEND_ATM/OCN_CPLPARMS) to send coupler-params to each |
705 |
|
component ; called directly from coupler.F, after comp. registrations; |
706 |
|
- rename few variable-ID names (in ATMIDS.h & OCNIDS.h): |
707 |
|
atm/ocnSeaIceName --> atm/ocnSIceMassName ; atm/ocnFCO2Name -> |
708 |
|
-> atm/ocnCO2FluxName ; atm/ocnWSpdName --> atm/ocnWindSpdName |
709 |
|
components (pkg/atm_ & ocn_compon_interf): |
710 |
|
- add ATM/OCN_CPL_OPTIONS.h in component pkgs and include the corresponding |
711 |
|
CPP header file in all pkg source files. |
712 |
|
- move checking of comp. configs out of cpl_exch_configs.F into new S/R |
713 |
|
ATM/OCN_CHECK_CPLCONFIG; |
714 |
|
- add error-counter to track errors (e.g., in "data.cpl") and to stop |
715 |
|
cleanly in ATM/OCN_CHECK_CPLCONFIG; |
716 |
|
- add new S/R CPL_IMPORT_CPLPARMS to import coupling-exchange selectors |
717 |
|
from coupler ; called from initialise_fixed.F, after PACKAGES_BOOT and |
718 |
|
before PACKAGES_READPARMS; |
719 |
|
verification/cpl_aim+ocn/: |
720 |
|
- update ATMIDS.h & OCNIDS.h (in shared_code) and use new parameter file |
721 |
|
"data.cpl" for coupler (in input_cpl). |
722 |
|
o eesupp/inc: |
723 |
|
- change the MPI-global-sum default (in CPP_EEOPTIONS.h) to: |
724 |
|
#define GLOBAL_SUM_ORDER_TILES (only affects MPI built of global_sum_tile.F) |
725 |
|
to always cumulate tile local-sum in the same order (still uses |
726 |
|
MPI_Allreduce like standard code). |
727 |
|
- in verification experiment code, remove local CPP_EEOPTIONS.h_mpi files |
728 |
|
that are now identical to standard version (in eesupp/inc). |
729 |
|
o pkg/shelfice: |
730 |
|
- add SHELFICETransCoeffTFile for initializing spatially varying |
731 |
|
heat and salt transfer coefficients |
732 |
|
o pkg/atm_compon_interf & ocn_compon_interf: |
733 |
|
- combine into 1 (new) S/R CPL_EXPORT_IMPORT_DATA the two previous |
734 |
|
S/R CPL_EXPORT_MY_DATA & CPL_IMPORT_EXTERNAL_DATA |
735 |
|
- move bi,bj loops inside S/R OCN_STORE_MY_DATA |
736 |
|
o pkg/atm_ocn_coupler: |
737 |
|
- initialise to zero ATMVARS.h & OCNVARS.h arrays. |
738 |
|
o pkg/rbcs: |
739 |
|
- select RBCS-mask for Temp & Salt the same way as for pTracer ; this allows |
740 |
|
to compile with maskLEN=1 when all tracers use the same RBCS-mask. |
741 |
|
- add a short report (to STDOUT) about RBCS-mask settings. |
742 |
|
|
743 |
|
checkpoint65p (2015/10/23) |
744 |
|
o pkg/seaice/seaice_evp.F: fix store directives and key computations, since |
745 |
|
there is no adjoint test for EVP, we don't know what it does to the adjoint |
746 |
|
solution, but at least there are no more recomputation warnings left |
747 |
|
o pkg/seaice/seaice_evp.F: slight modification of averaging so that EVP stands |
748 |
|
a chance of giving the same results as a fully converged VP (JFNK) solver |
749 |
|
o tools/adjoint_options/adjoint_diva: |
750 |
|
- fix bug (typo) in Tang-Linear FLAGS setting for MPI + DIVA |
751 |
|
o pkg/streamice: |
752 |
|
- spotted bug in streamice_driving_stress using dyG where should have been dxG |
753 |
|
o pkg/exf: |
754 |
|
- remove STOP statement that prevented to use wind or (wind-)stress |
755 |
|
interpolation for constant-in-time forcing fields (wind/stress period = 0). |
756 |
|
o pkg/seaice: |
757 |
|
- replace SEAICE_EVP_USE_ADAPTATION by run time parameters, requires |
758 |
|
5 additionals 2D fields and 6 new store directives |
759 |
|
- change logic in seaice_readparms.F: EVP code can now be turned on in |
760 |
|
various ways, setting SEAICE_deltaTev is no longer required, |
761 |
|
alternatively set SEAICE_evpAlpha/Beta, SEAICEuseEVPstar, SEAICEuseEVPrev, |
762 |
|
or SEAICEaEVPcoeff |
763 |
|
o pkg/shelfice/shelfice_thermodynamics.F |
764 |
|
- redefining uLoc/vLoc to u/v, instead of 2u/v |
765 |
|
o pkg/seaice/seaice_evp.F: introduce "adaptive EVP" by Madlen Kimmritz |
766 |
|
- this is an intermediate state of a truely converging EVP that has |
767 |
|
the potential of outperforming implicit VP methods, I do not recommend |
768 |
|
using it yet. |
769 |
|
- for now, "adaptive EVP" is turned on by setting SEAICE_EVP_USE_ADAPTATION |
770 |
|
and all parameters are hardwired |
771 |
|
- for convergence it still requires very smooth regularisations, that means, |
772 |
|
if SEAICE_DELTA_SMOOTHREG is defined, deltaCreg=deltaC+deltaMin, which is |
773 |
|
different from the VP case with deltaCreg=sqrt(deltaC**2+deltaMin**2); also |
774 |
|
specific averaging appears to be required, still subject to tuning |
775 |
|
- still needs cleaning and I need to turn parameter into runtime parameters |
776 |
|
- add code to compute and print residuals of iteration, compile with |
777 |
|
defining ALLOW_SEAICE_EVP_RESIDUAL to enable it |
778 |
|
o pkg/seaice/seaice_evp.F: fix a bug (factor of four in front of e12Csq) |
779 |
|
that entered with r1.54 on Sep04, 2015, -> update results |
780 |
|
|
781 |
|
checkpoint65o (2015/09/14) |
782 |
|
o pkg/mom_vecinv & mom_common: |
783 |
|
- add deep-atmosphere geometry factor in mom_calc_visc.F + in routines |
784 |
|
called from there. |
785 |
|
- add anelastic and deep-atmosphere geometry factor in pkg/mom_vecinv ; this |
786 |
|
allows to use Vector-Invariant form in deep atmos and anelastic formulation |
787 |
o pkg/seaice: introduce fast ice parameterisation following Itkin et al. (2015) |
o pkg/seaice: introduce fast ice parameterisation following Itkin et al. (2015) |
788 |
and Koenig-Beatty+Holland (2012) |
and Koenig-Beatty+Holland (2012) |
789 |
- two new parameters SEAICE_tensilFac and SEAICE_tensilDepth |
- two new parameters SEAICE_tensilFac and SEAICE_tensilDepth |
795 |
- if TRUE scale ice-ocean and ice-atmosphere stress acting on sea ice |
- if TRUE scale ice-ocean and ice-atmosphere stress acting on sea ice |
796 |
by AREA according to Connelly et al. (2004), JPO. |
by AREA according to Connelly et al. (2004), JPO. |
797 |
- For EVP and the LSR solver, the implicit part of the drag term is |
- For EVP and the LSR solver, the implicit part of the drag term is |
798 |
the only non-zero term in the denominator when there is no ice (which |
the only non-zero term in the denominator when there is no ice (which |
799 |
prevented running the model with zero ice-ocean drag). If |
prevented running the model with zero ice-ocean drag). If |
800 |
SEAICEscaleSurfStress = .TRUE., this results in a division by zero |
SEAICEscaleSurfStress = .TRUE., this results in a division by zero |
801 |
(or zero main diagonals BU/BV) which need to be caught. A practical |
(or zero main diagonals BU/BV) which need to be caught. A practical |
802 |
consequence is that for open water, the momentum equation reduce |
consequence is that for open water, the momentum equation reduce |
803 |
to trivially 0 = 0 + 0 (for EVP). For LSR, BU/BV are reset to 1, if |
to trivially 0 = 0 + 0 (for EVP). For LSR, BU/BV are reset to 1, if |
804 |
they happen to be zero, often leading to a non-zero solution over |
they happen to be zero, often leading to a non-zero solution over |
805 |
open water. |
open water. |
806 |
o pkg/seaice: revise EVP code (seaice_evp.F) in preparation for a more |
o pkg/seaice: revise EVP code (seaice_evp.F) in preparation for a more |
807 |
efficient EVP method. |
efficient EVP method. |
808 |
- introduce area-weighted averages for e12 (analogously to |
- introduce area-weighted averages for e12 (analogously to |
809 |
seaice_calc_viscosities.F); this totally changes lab_sea.hb87 (2 digits |
seaice_calc_viscosities.F); this totally changes lab_sea.hb87 (2 digits |
810 |
remain, but also changing the order of terms in the previous average |
remain, but also changing the order of terms in the previous average |
811 |
changed the results as much) -> update experiment |
changed the results as much) -> update experiment |
812 |
- add SEAICE_DELTA_SMOOTHREG code |
- add SEAICE_DELTA_SMOOTHREG code |
813 |
- disentangle computation of zetaC/deltaC and zetaZ/deltaZ, also for |
- disentangle computation of zetaC/deltaC and zetaZ/deltaZ, also for |
814 |
TEM-code |
TEM-code |
815 |
- adjust loop bounds so that only required fields are computed |
- adjust loop bounds so that only required fields are computed |
816 |
- add new averaging code for zetaZ/deltaZ (again similar to |
- add new averaging code for zetaZ/deltaZ (again similar to |
817 |
seaice_calc_viscosities.F), inactive by default for now (will change |
seaice_calc_viscosities.F), inactive by default for now (will change |
818 |
results again), but will replace old code eventually |
results again), but will replace old code eventually |
819 |
o eesupp/src: |
o eesupp/src: |
824 |
and should be faster than GLOBAL_SUM_SEND_RECV code. |
and should be faster than GLOBAL_SUM_SEND_RECV code. |
825 |
- switch almost all verification experiments that use GLOBAL_SUM_SEND_RECV |
- switch almost all verification experiments that use GLOBAL_SUM_SEND_RECV |
826 |
(defined in CPP_EEOPTIONS.h_mpi) to GLOBAL_SUM_ORDER_TILES instead. |
(defined in CPP_EEOPTIONS.h_mpi) to GLOBAL_SUM_ORDER_TILES instead. |
827 |
- add CPP_EEOPTIONS.h_mpi with GLOBAL_SUM_ORDER_TILES defined in 13 more exp.: |
- add CPP_EEOPTIONS.h_mpi with GLOBAL_SUM_ORDER_TILES defined in 14 more exp.: |
828 |
aim.5l_cs, cheapAML_box, deep_anelastic, dome, fizhi-cs-32x32x40, |
aim.5l_cs, cheapAML_box, deep_anelastic, dome, fizhi-cs-32x32x40, |
829 |
fizhi-cs-aqualev20, global_ocean_ebm, matrix_example, natl_box, |
fizhi-cs-aqualev20, fizhi-gridalt-hs, global_ocean_ebm, matrix_example, |
830 |
solid-body.cs-32x32x1, tutorial_advection_in_gyre, tutorial_baroclinic_gyre |
natl_box, solid-body.cs-32x32x1, tutorial_advection_in_gyre, |
831 |
and tutorial_held_suarez_cs. |
tutorial_baroclinic_gyre and tutorial_held_suarez_cs. |
832 |
|
|
833 |
checkpoint65n (2015/07/29) |
checkpoint65n (2015/07/29) |
834 |
o pkg/thsice: |
o pkg/thsice: |
1158 |
just copy level Nr value to level Nr+1. |
just copy level Nr value to level Nr+1. |
1159 |
o doc: |
o doc: |
1160 |
- add notes form Abhisek Chakraborty on how to close Heat & Salt budgets. |
- add notes form Abhisek Chakraborty on how to close Heat & Salt budgets. |
1161 |
o pkg/streamice: |
o pkg/shelfice: |
1162 |
- shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F, |
- shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F, |
1163 |
SHELFICE.h: move array shelficemass to init_varia, initialise |
SHELFICE.h: move array shelficemass to init_varia, initialise |
1164 |
from array shelficemassinit, which is set in init_fixed and |
from array shelficemassinit, which is set in init_fixed and |