4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
8 |
|
- clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into |
9 |
|
separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h, |
10 |
|
not necessary accurate). |
11 |
|
- add a template for option-file ECCO_CPPOPTIONS.h, mostly empty, in |
12 |
|
pkg/autodiff, i.e., the 1rst pkg to compile for adjoint built, with lines to |
13 |
|
deliberately break compilation (a remainder that it needs to be customized) |
14 |
|
- in pkg/ecco, includes ECCO_OPTIONS.h instead of COST_OPTIONS.h |
15 |
|
- rename COST_CPPOPTIONS.h to COST_OPTIONS.h |
16 |
|
- rename CTRL_CPPOPTIONS.h to CTRL_OPTIONS.h |
17 |
|
o tools/genamke2: |
18 |
|
- check for lapack. |
19 |
|
o pkg/cost and pkg/ecco : attempt to sort out some of the limiting intricacies. |
20 |
|
- pkg/cost.cost_final.F : allow for use of pkg/ecco and pkg/cost cost functions |
21 |
|
jointly. The exclusive ifdefs were removed, to add costs terms (when defined) |
22 |
|
from both packages. |
23 |
|
- the fc global sum in pkg/ecco/ecco_cost_final.F was removed accordingly. |
24 |
|
- for objf_atl we use either the pkg/ecco or the pkg/cost term depending on CPPs. |
25 |
|
- pkg/ecco and model/src : add CPP brackets around pkg/cost and pkg/ctrl includes |
26 |
|
of "CTRL_SIZE.h" "ctrl.h" "ctrl_dummy.h" "optim.h" / "cost.h" accordingly. |
27 |
|
o pkg/cost : add comments to explain special and/or untested setups. |
28 |
|
o pkg/exf: |
29 |
|
- use EXF_OPTIONS.h to set pkg/exf options except if done in ECCO_CPPOPTIONS.h |
30 |
|
(previously, ALLOW_AUTODIFF_TAMC was controling this switch). |
31 |
|
o verification/*/code_ad: |
32 |
|
mimimal cleaning of AD experiments ECCO_CPPOPTIONS.h option-file: |
33 |
|
- reccord when this file is included (define ECCO_CPPOPTIONS_H) |
34 |
|
- remove the most obvious obsolete features (e.g., #define ALLOW_COST not |
35 |
|
allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h) |
36 |
|
o pkg/seaice : |
37 |
|
- added possibility to change ice strength/PRESS0 relationship to |
38 |
|
HEFF, according to the following run time parameters |
39 |
|
SEAICEpresPow0 :: HEFF exponent for ice strength below SEAICEpresH0 (integer, >0) |
40 |
|
SEAICEpresPow1 :: HEFF exponent for ice strength above SEAICEpresH0 (integer, >0) |
41 |
|
SEAICEpresH0 :: HEFF threshold for ice strength (m) |
42 |
|
o pkg/ggl90 : |
43 |
|
- added run time flag mxlSurfFlag to include the code that ensure |
44 |
|
mixing between first and second level (previously included as a comment) |
45 |
|
o verification/1D_ocean_ice_column/input_ad/data.autodiff : |
46 |
|
- add test of newly added dumpAdByRec=T option where |
47 |
|
we write all records to one file per variable. |
48 |
|
o verification/global_ocean.cs32x15/code_ad/CPP_OPTIONS.h : |
49 |
|
- switch to #define ALLOW_BALANCE_RELAX and ALLOW_BALANCE_FLUXES |
50 |
|
to check that this code is ok with taf and compiles in adjoint. |
51 |
|
o pkg/autodiff : |
52 |
|
- added run time param dumpAdByRec : ad dump format switch. |
53 |
|
If true then write all records to one file per variable. |
54 |
|
Else write one file per record (remains the default). |
55 |
|
- revise seaice_ad_dump.F and exf_adjoint_snapshots_ad.F accordingly. |
56 |
|
o pkg/seaice: |
57 |
|
- Added SEAICEuseTILT run time switch : if set to |
58 |
|
false then omit the tilt term in seaice dynamics. |
59 |
|
- Fix free drift calculation. |
60 |
|
o pkg/shelfice: |
61 |
|
When initializing SHELFICEDragQuadratic, set default to be |
62 |
|
consistent with shiCdrag in case SHELFICEuseGammaFrict is used, |
63 |
|
but retain option to set it independently |
64 |
|
(inconsistenty spotted by Veronique Dansereau) |
65 |
|
o eesupp/inc: |
66 |
|
- in EEPARAMS.h, add real-type constant for some frequently used simple number |
67 |
|
(0,1,2,1/2), with name explicitly referring to RS/RL type. |
68 |
|
o model/src: |
69 |
|
- move balancing of relaxation terms to new S/R balance_relax.F. |
70 |
|
o pkg/autodiff: |
71 |
|
re-write active I/O high-level (control) S/R: |
72 |
|
- rename S/R ACTIVE_READ/WRITE_RL to ACTIVE_READ/WRITE_3D_RL |
73 |
|
- add 1 more argument (useCurrentDir) to replace the "_LOC" 2nd set of S/R. |
74 |
|
- use standard pkg/mdsio I/O routines (MDS_READ/WRITE_SEC_XZ/YZ and |
75 |
|
MDS_READ/WRITE_FIELD); change loops to multi-threads. |
76 |
|
- update and merge active_file_control_slice.flow into active_file_control.flow |
77 |
|
- update the calls in lower level S/R (active_file.F, active_file_g.F and |
78 |
|
active_file_ad.F) keeping the argument list and function unchanged. |
79 |
|
- also update lower-level "_LOC" version (call same S/R with "useCurrentDir |
80 |
|
=.TRUE.") and remove high-level (control) _loc version (not called anymore). |
81 |
|
- new low-level active I/O routines, one for each type (RL/RS), for active var |
82 |
|
of various (XY,XZ,YZ) shape and level number (arguments: arrShape, myNr); |
83 |
|
fix ctrl_init_wet.F & ecco_cost_weights.F by calling the new S/R with the |
84 |
|
right type. |
85 |
|
o autodiff and RS=real*4: |
86 |
|
- call the right type (_RS instead of _RL) of S/R in few output S/R (pkg/exf |
87 |
|
ad-monitor and snapshots); disable arrType='RS' in mdsio_gl*.F ; |
88 |
|
- change argument type of 3-D mask argument to _RS to match type in the call |
89 |
|
(in seaice_cost*.F, ctrl_*_gen.F and *ctrl_bound.F); to be continued. |
90 |
|
o pkg/thsice: |
91 |
|
- re-anable balanceEmPmR when useSEAICE=T with useThSIce=T. |
92 |
|
- option to correct ocean fresh-water flux for imbalance of Atmos+Land |
93 |
|
fresh-water flux: uniform correction or proportional to local precip. |
94 |
|
o pkg/ctrl: |
95 |
|
- new header file CTRL_SIZE.h for parameters maxCtrlArr2D, maxCtrlArr3D |
96 |
|
- redefine CPP option ALLOW_BOTTOMDRAG_CONTROL to |
97 |
|
ALLOW_BOTTOMDRAG_CONTROL_NONGENERIC |
98 |
|
- verification/hs94.1x64x5/ tests ALLOW_GENARR{2D,3D}_CONTROL |
99 |
|
|
100 |
|
checkpoint63q (2012/07/30) |
101 |
|
o pkg/autodiff: |
102 |
|
note about monitor and snap-shot of ad-variables: |
103 |
|
a) need to apply ADEXCH before monitor or output of ad-vars to include |
104 |
|
overlap contributions (was done for adjDump but missing for monitor). |
105 |
|
b) since ADEXCH implies adding overlap values to interior array, machine |
106 |
|
truncation error is expected when adding an ADEXCH call in the middle of |
107 |
|
the time-stepping (although mathematically identical). |
108 |
|
modifs: |
109 |
|
- fix some incorrect type (RL/RS, UV/scalar) in ADEXCH calls and ad-vars |
110 |
|
declaration (adEddyPsiX,adEddyPsiY in adcommon.h). |
111 |
|
- add new run-time params (dumpAdVarExch & mon_AdVarExch) to select how to |
112 |
|
apply ADEXCH before monitor or snap-shot of ad-variables: |
113 |
|
=0 : no ADEXCH ; =1 : do ADEXCH ; =2 : apply ADEXCH on a local copy. |
114 |
|
- implement new method (copy+adexch) for snap-shot and monitor of main model |
115 |
|
ad-vars (initially not used by default -> output unchanged). |
116 |
|
- change default (set to 2) to use new method and update few output_adm.txt |
117 |
|
with accurate ad-monitor (global_ocean.90x40x15, tutorial_global_oce_biogeo |
118 |
|
and both tutorial_tracer_adjsens tests). |
119 |
|
- switch 2 global_ocean.cs32x15 AD-tests to AB-2 (seaice_dynmix & thsice) |
120 |
|
and turn off momDissip_In_AB in the 2 other (needed for stable AB-3). |
121 |
|
o pkg/ctrl: |
122 |
|
enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of |
123 |
|
generic control variables via |
124 |
|
#define ALLOW_GENARR2D_CONTROL and/or #define ALLOW_GENARR3D_CONTROL |
125 |
|
Only required customization should be S/R ctrl_map_ini_genarr.F |
126 |
|
(routine in repository contains example) |
127 |
|
o pkg/exf: |
128 |
|
- fix and refine checking of surface-relaxation setting when using EXF |
129 |
|
o verification (adjoint exp): |
130 |
|
- reduce length of simulation by half for experiment global_ocean.cs32x15 |
131 |
|
(std, seaice & seaice_dynmix) and exp tutorial_dic_adjoffline; update output. |
132 |
|
o pkg/mom_common (mom_u/v_bottomdrag), pkg/shelfice (shelfice_u/v_drag) |
133 |
|
- replace if statements KE.ne.0 with KE.gt.0 to avoid sqrt of negative numbers |
134 |
|
of KE that can occur with aggressive optimization |
135 |
|
+ put quadratic bottom drag calculation in separated loops (only done if |
136 |
|
using bottomDragQuadratic) |
137 |
|
o model/src: CG2D_NSA |
138 |
|
- clean-up: stop if cg2dNormaliseRHS=T and AUTODIFF |
139 |
|
and replace GLOBAL_SUM calls with GLOBAL_SUM_TILE. |
140 |
|
- in test-exp that uses CG2D_NSA (bottom_ctrl & tutorial_tracer_adjsens), |
141 |
|
change cg2d residual target to be expressed in Wunits (=> do not normalise |
142 |
|
RHS ; this fix global_max Pb with TAF); update output. |
143 |
|
o verification/tutorial_tracer_adjsens: |
144 |
|
improve parameter consistency (and get rid of warnings): |
145 |
|
- use deltaTFreeSurf=deltaTtracer (better with NonLin FreeSurf); |
146 |
|
- switch Temp Adv Scheme from 81 to 80 (no limiter since theta < 0 is physical) |
147 |
|
- use staggerTimeStep (for stability) in som81; use default rotation period. |
148 |
|
o pkg/exch2: |
149 |
|
- with empty facet: fix compact-format (W2_mapIO=1) definition (was previously |
150 |
|
reset to 0 = 1 long line in X) |
151 |
|
o pkg/mdsio: |
152 |
|
- fix reading of dimensions from meta file for large-size domain |
153 |
|
o model/src: |
154 |
|
- fix saltIsActiveTr setting for IdealGas eosType (eosType is 6 character long); |
155 |
|
- to refine CS-grid check, add logical flag "hasWetCSCorners": true if using |
156 |
|
Cubed-Sphere Exch with CS-corners inside the domain; |
157 |
|
make new S/R INI_GLOBAL_DOMAIN from code in ini_linear_phisurf.F to calculate |
158 |
|
globalArea and to set hasWetCSCorners. |
159 |
|
- add warning if usingCurvilinearGrid and momAdvection in flux-form (missing |
160 |
|
metric terms); stop if hasWetCSCorners=T and momAdvection in flux-form. |
161 |
|
- re-activate the stop if useCDscheme and hasWetCSCorners=T (previously if |
162 |
|
useCDscheme and useCubedSphereExchange). |
163 |
|
o pkg/seaice/seaice_growth.F : |
164 |
|
- compute the SEAICE_DISABLE_HEATCONSFIX term accordingly |
165 |
|
for the (.NOT.useRealFreshWaterFlux).OR.(nonlinFreeSurf.EQ.0) |
166 |
|
when the previous code was not correct. |
167 |
|
- in all cases diagnoze the boundary condition mismatch to SIaaflux |
168 |
|
- in the case of useRealFreshWaterFlux.AND.(nonlinFreeSurf.GT.0) add |
169 |
|
that term to QNET (essentially to set the melt/freeze water to 0degC). |
170 |
|
when SEAICEheatConsFix is true, so that the ocean+ice budget heat is closed. |
171 |
|
o verification/global_ocean.cs32x15/input.seaice : |
172 |
|
- add SEAICEheatConsFix in data.seaice, ensuring closed ocean+ice heat budget. |
173 |
|
- add diagnostics (commented out) for budget test using my matlab codes (gcmfaces). |
174 |
|
- update results (output.seaice.txt) accordingly. |
175 |
|
o verification/lab_sea/input/data.seaice : |
176 |
|
- remove SEAICEheatConsFix, which is now be tested |
177 |
|
in global_ocean.cs32x15. The presently coded fix |
178 |
|
is only consistent with real fresh water + nlfs. |
179 |
|
- update results (output.txt) accordingly. |
180 |
|
o pkg/salt_plume: added diagnotic for salt tendency (oceSPtnd). |
181 |
|
o AD_CONFIG.h file: |
182 |
|
- in genmake2: remove "#undef ALLOW_ECCO_OPTIMIZATION" from AD_CONFIG.h; |
183 |
|
- remove #include "AD_CONFIG.h" from all included OPTIONS files and |
184 |
|
add it explicitly in each fortran src file where it is needed. |
185 |
|
motivation: header file AD_CONFIG.h is generated/modified after "make depend" |
186 |
|
thus introducing potentially wrong dependency; therefore, better to include |
187 |
|
it only where it's really needed, and after any other included OPTIONS file |
188 |
|
(less tempting to bring conditional includes according to ALLOW_ADJOINT_RUN |
189 |
|
or ALLOW_TANGENTLINEAR_RUN). |
190 |
|
|
191 |
|
checkpoint63p (2012/07/06) |
192 |
|
o pkg/autodiff: |
193 |
|
- rename S/R INI_AUTODIFF to AUTODIFF_INIT_VARIA ; |
194 |
|
- create new header file "AUTODIFF_PARAMS.h" for pkg/autodiff parameters |
195 |
|
which are now read from new parameter file "data.autodiff" (inAdExact |
196 |
|
previously in "data", use{KPP/GMRedi/SEAICE}inAdMode previously in data.pkg) |
197 |
|
- add file "data.autodiff" in all verification/*/input_ad/ directories. |
198 |
|
- add run-time parameter to turn On/Off SEAICEuseFREEDRIFT in adjoint/forward |
199 |
|
mode (used in global_ocean.cs32x15.seaice_dynmix test exp.) |
200 |
|
o verification/tutorial_tracer_adjsens/ |
201 |
|
- add extra sub-verification which uses "SOM" advection scheme |
202 |
|
(2nd Order-Moment Advection Scheme, Prather Limiter) with |
203 |
|
#define GAD_ALLOW_TS_SOM_ADV in GAD_OPTIONS.h |
204 |
|
and in data: |
205 |
|
multiDimAdvection=.TRUE., |
206 |
|
tempAdvScheme=81, |
207 |
|
saltAdvScheme=81, |
208 |
|
o model/src: |
209 |
|
- introduce ALLOW_BALANCE_RELAX which allow the removal |
210 |
|
of the global mean of relaxation terms by setting |
211 |
|
balanceThetaClimRelax and balanceSaltClimRelax |
212 |
|
- disable balanceEmPmR and balanceQnet in the case when useSeaice. |
213 |
|
This case is now treated appropriately in seaice_growth.F |
214 |
|
o pkg/seaice: |
215 |
|
- do balanceEmPmR and balanceQnet based on the net fluxes |
216 |
|
(SItflux) that enter the ocean+ice system rather than QNET |
217 |
|
and EMPMR. Works best in real fresh water. |
218 |
|
- SIatmFW, SIatmQnet, and SItflux computations had to be moved |
219 |
|
out of the diagnotics bloc, and stored in global arrays. |
220 |
|
|
221 |
|
checkpoint63o (2012/06/29) |
222 |
|
o vertical mixing schemes: |
223 |
|
- remove unused S/R CALC_BUOYANCY (left from branch-atmos merging) |
224 |
|
- replace computation of density (in Function STATE1, opps_calc.F) by a call |
225 |
|
to S/R FIND_RHO_SCALAR |
226 |
|
- pass sigmaR to S/R PP81_CALC, MY82_CALC (but not yet used) and to GGL90_CALC |
227 |
|
and use it for N^2 calculation in ggl90_calc.F (save 2 density computations); |
228 |
|
affects output (vermix.ggl90) at truncation level. |
229 |
|
o testreport: |
230 |
|
- change adjustment of SIZE.h for mpi+mth testing: preserve enough tiles |
231 |
|
(nSx,nSy) for the number of threads (from eedata.mth) |
232 |
|
o model/src: |
233 |
|
- remove 2nd set of calls at the top of initialise_varia.F (Adjoint part) |
234 |
|
related to Non_Lin Free-Surf or Bottom-Control (but not longer necessary). |
235 |
|
o verification/tutorial_tracer_adjsens/ |
236 |
|
- compile with ALLOW_CG2D_NSA |
237 |
|
- run with nonlinFreeSurf=3 |
238 |
|
- update reference output_adm.txt |
239 |
|
o tools/genmake2: |
240 |
|
- add "-DHAVE_NETCDF" to the DEFINES list when NetCDF is available ; |
241 |
|
refine usePROFILES switching off (only when NetCDF is not available). |
242 |
|
o verification (atmospheric set-up): |
243 |
|
- change eosType='IDEALGAS' to eosType='IDEALG' to match variable declaration |
244 |
|
o pkg/profiles : refine profiles and files handling. |
245 |
|
o model/src and pkg/ecco : introduce run-time switch usePROFILES. |
246 |
|
o model/src/the_main_loop.F, forward_step.F and pkg/exf/EXF_OPTIONS.h : |
247 |
|
- changes to use model/src/the_main_loop.F rather than the ecco version |
248 |
|
in ecco type adjoint runs. |
249 |
|
o model/src: |
250 |
|
- move computation of recip of grid distance & area from INI_MASKS_ETC to INI_GRID |
251 |
|
- move setting of h0Fac[C,W,S] from INI_LINEAR_PHISURF to INI_MASKS_ETC |
252 |
|
- update_masks_etc.F: rename SMOOTH*_R4,R8 function to the corresponding type (RS,RL) |
253 |
|
o model/src: |
254 |
|
- fix S/R UPDATE_CG2D for ALLOW_DEPTH_CONTROL case (was empty before); |
255 |
|
update output of test experiment bottom_ctrl_5x5. |
256 |
|
o pkg/generic_advdiff: |
257 |
|
- implement vertical bi-harmonic diffusion (for now, only for T & S and |
258 |
|
only explicitly). |
259 |
|
o verification/bottom_ctrl_5x5/ |
260 |
|
update reference output (results changed quite some time ago, |
261 |
|
not sure when; but new reference results look ok in terms of grdchk) |
262 |
|
o verification/1D_ocean_ice_column/ |
263 |
|
For verification purposes, the exact adjoint rather than an approx. |
264 |
|
should be used (e.g., to comare against F.D. or TLM). |
265 |
|
removed autodiff_inadmode*_ad.F routines in code_ad/ |
266 |
|
Update results/ accordingly. |
267 |
|
o pkg/cal: |
268 |
|
- change cal_getdate.F so that output date is function of input time only |
269 |
|
(less ambiguous, not mixed up with input iteration number). |
270 |
|
- fix calendarDumps for non-zero phase-lag (S/R CAL_TIME2DUMP). |
271 |
|
o pkg/diagnostics: |
272 |
|
- implement calendarDumps also for stats-diags |
273 |
|
- implement calendarDumps also for snap-shot output (negative freq) |
274 |
|
- for now, ignores calendarDumps if non-zero phase-lag. |
275 |
|
|
276 |
|
checkpoint63n (2012/06/04) |
277 |
|
o model/src: |
278 |
|
- recompute rSurfW & S to ensure consistent column thickness (needed for rStar) |
279 |
|
between Sum_k(hFac*drF) and rSurf-rLow, for now only when using pkg/shelfice; |
280 |
|
- use h0FacC, W & S to compute hFac_surfC, W & S in calc_surf_dr.F (more |
281 |
|
similar to calc_r_star.F); update results of experiment internal_wave and |
282 |
|
tutorial_global_oce_in_p (affected @ truncation level). |
283 |
|
o pkg/shelfice: |
284 |
|
- add parameterisation of advective-diffusive flux into the ice shelf |
285 |
|
according to Holland and Jenkins (1999), eq.22-33, as suggested by Jan De Ryd |
286 |
|
- simply eps3/3a computation |
287 |
|
o eesupp: |
288 |
|
- add new CPP option (DISCONNECTED_TILES) to disconnect tiles (no exchange |
289 |
|
between tiles, just fill-in edges assuming locally periodic subdomain) and |
290 |
|
add corresponding exchange subroutines (EXCH0); |
291 |
|
- new CG-solver version (_EX0) for disconnected-tiles special case. |
292 |
|
o model/src (CG-solvers): |
293 |
|
- modify Single-Reduction version (CG2D_SR) in case cg2dMaxIters is reached |
294 |
|
(similar final residual output and max-Iter number as with standard version); |
295 |
|
- allows to store and use lowest-residual solution (standard & _SR versions); |
296 |
|
- cleaning up (remove old, commented out code, LETS_MAKE_JAM ...). |
297 |
|
- by default, also compile CG2D_SR version (define ALLOW_SRCG in CPP_OPTIONS.h) |
298 |
|
o eesup/src: |
299 |
|
- global_vec_sum.F cleaning: add a BARRIER ; update comments ; remove ndef |
300 |
|
ALWAYS_USE_MPI (no longer needed after fixing usingMPI settings - March 2012) |
301 |
|
o pkg/salt_plume added to lab_sea/input_ad.noseaicedyn |
302 |
|
|
303 |
|
checkpoint63m (2012/04/27) |
304 |
|
o pkg/shelfice: |
305 |
|
- account for partical cells in surface level below ice-shelf for hydrostatic |
306 |
|
pressure calculion (set uniformFreeSurfLev to F); update isomip experiments. |
307 |
|
o ad test experiments: |
308 |
|
- update and rename to "ad_optfile.local" local AD-optfile specific to a |
309 |
|
particular adjoint verification experiment (in verification/*/code_ad/) |
310 |
|
o pkg/seaice & pkg/exf: |
311 |
|
- Part two of ECCO-CLIVAR code merges. |
312 |
|
Completes merge of seaice area relax. code. |
313 |
|
Requires unified CPP option EXF_ALLOW_SEAICE_RELAX |
314 |
|
to be set in EXF_OPTIONS.h since this pkg controls its I/O |
315 |
|
(and avoids second CPP option in SEAICE_OPTIONS.h) |
316 |
|
- change default value of costIceStart & costIceEnd to a valid date. |
317 |
|
- add snowPrecip to HSNOW in seaice_growth |
318 |
|
o pkg/ptracers: |
319 |
|
- move ptracers summary and setup check into separated S/R ; add a check for |
320 |
|
valid PTRACERS_Iter0 value (error+stop or just warning). |
321 |
|
o pkg/cal (+ pkg/ecco): |
322 |
|
- avoid calling a S/R with 2 times the same arg (FWD: unless both are only used |
323 |
|
as input; and for AD, unless both are not differentiable (e.g., k index)). |
324 |
|
o model/src: |
325 |
|
- define internal flag "uniformFreeSurfLev" (=T when free-surface level-index |
326 |
|
is everywhere k=1) to speed-up some calculations (by pass kSurf reference); |
327 |
|
temporary set to usingZCoords value (to be changed to F when using shelfice). |
328 |
|
- hydrostatic pressure: implement partial cell near the surface also for |
329 |
|
Z-coordinates (for the case where uniformFreeSurfLev=F); replace test on |
330 |
|
usingZCoords with test on uniformFreeSurfLev where needed (in NonHyd code). |
331 |
|
o pkg/ctrl/ctrl_init.F: |
332 |
|
- add a formal parameter to s/r ctrl_init_rec to print |
333 |
|
xx_$(ctrl_valiable)_file for easier debugging |
334 |
|
- move call of cal_* routines into the if-block where they are really |
335 |
|
needed so that xx_$(ctrl_variable)_period can be 0 or -12 without having |
336 |
|
to specify a startdate |
337 |
|
o pkg/seaice: |
338 |
|
- update comments in SEAICE_OPTIONS.h (+ similar update of lab_sea/code and |
339 |
|
global_ocean.cs32x15/code versions). |
340 |
|
- turn on seaice Multi-category (in data.seaice, SEAICE_multDim=7) for |
341 |
|
verification experiment global_ocean.cs32x15.seaice and update results. |
342 |
|
o pkg/exf: |
343 |
|
- new S/R EXF_GETFIELD_START to return starting-time of a forcing field |
344 |
|
(according to useExfYearlyFields). |
345 |
|
o pkg/cal: |
346 |
|
- move calendar setting & summary (previously in cal_readparams.F) into new |
347 |
|
S/R CAL_INIT_FIXED to be called later in the initialisation process, once |
348 |
|
length of the simulation is set (after SET_PARMS call); This is an attempt |
349 |
|
to fix Pb when, e.g.: pkg/longstep, modifies the length of the run. |
350 |
|
- For safety: keep a record of pkg/cal parameter settings status |
351 |
|
to allow to STOP if one pkg/cal S/R is called too early. |
352 |
|
- add a stop in all basic pkg/cal subroutines if called before setting is done. |
353 |
|
- modify cal_getdate.F: stop when nothing was returned; |
354 |
|
if called with myIter=-1, simply retrun modelBaseDate (1,2 = startDate_1,_2); |
355 |
|
this allows to remove "cal.h" from seaice_read_parms.F & init_mnc_vars.F. |
356 |
|
|
357 |
|
checkpoint63l (2012/04/04) |
358 |
|
o pkg/bbl: |
359 |
|
- fix call to FIND_RHO_2D in bbl_calc_rho.F (case multi-tiles per proc); |
360 |
|
update global_with_exf output.yearly.txt file. |
361 |
|
o pkg/cal: |
362 |
|
- start to clean-up cal_set.F ; fix for the case where baseTime is non-zero. |
363 |
|
- remove 2 unsused and very short (1 line only) functions ; |
364 |
|
- remove unsused subroutines from AD-Diff list. |
365 |
|
o model/src: |
366 |
|
- start to implement clean wait to stop in initialization S/R (config_check.F, |
367 |
|
packages_check.F, ini_parms.F and pkg/obcs/obcs_check.F + pkg/mypackage) |
368 |
|
o folowing PRINT_MESSAGE changes: |
369 |
|
- remove reminder multiple print to the same file (STDOUT) when multi-threads. |
370 |
|
o pkg/bbl: |
371 |
|
- modification so it can work with z* |
372 |
|
- replace deltaT with dTtracerLev(k) for asynchronous time stepping |
373 |
|
- global_with_exf/input.yearly verification; changes output.yearly.txt |
374 |
|
o eesupp/src: |
375 |
|
- PRINT_MESSAGE: use OpenMP critical instruction (similar to PRINT_ERROR); |
376 |
|
writing to unit 0 (if unit=errorMessageUnit) extended to the case myThid=1 |
377 |
|
- CHECK_THREADS: specific code if using OpenMP threading: improve checking of |
378 |
|
# of threads across processors (e.g., different env OMP_NUM_THREADS setting) |
379 |
|
- improve special preliminary call to EESET_PARMS (if eedata is read 2 times). |
380 |
|
- when using MPI, always set usingMPI=T ; set default accordingly and stop |
381 |
|
if not consistent. |
382 |
|
- ALL_PROC_DIE: add a BARRIER after MPI_FINALIZE call ; skip this when thread |
383 |
|
argument is zero (in case called within single-thread section). |
384 |
|
o pkg/fizhi: |
385 |
|
clean-up turbulence cold-start switch: decided in fizhi_init_vars.F, stored |
386 |
|
in common bloc (fizhi_coms.h) and then passed as argument up to S/R TURBIO. |
387 |
|
o pkg/exch2: |
388 |
|
- add argument "updateCorners" to S/R exch2_get_uv_bounds (enable to |
389 |
|
activate EXCH_IGNORE_CORNERS in vector EXCH S/R). |
390 |
|
- switch 1rst EXCH call to IGNORE_CORNERS (instead of UPDATE_CORNERS) |
391 |
|
but keep the 2nd with UPDATE_CORNERS: this prevents overwriting good data |
392 |
|
with bad ones coming from a not-yet-updated halo. |
393 |
|
This should fix the problem when sNx <> sNy and GCD(sNx,sNy) < 2*Olx. |
394 |
|
o pkg/frazil: |
395 |
|
move FrzForcT diag from frazil_diagnostics_state.F to frazil_calc_rhs.F |
396 |
|
http://mitgcm.org/pipermail/mitgcm-devel/2012-March/005384.html |
397 |
|
o model/src/config_check.F: add a check for OLx>sNx/OLy>sNy |
398 |
|
o verification/lab_sea |
399 |
|
* #undef SEAICE_EXCLUDE_FOR_EXACT_AD_TESTING |
400 |
|
* #define ALLOW_SST_CONTROL & ALLOW_SST_CONTROL |
401 |
|
* nTimeSteps 3 -> 4 |
402 |
|
* changed reference output accordingly |
403 |
|
o pkg/ctrl: |
404 |
|
* fix ctrl_get_gen for xx_sst, xx_sss |
405 |
|
o pkg/fizhi: |
406 |
|
- fix 2 calls to S/R GRD2MSC (argument igrd) in update_earth_exports.F |
407 |
|
update results of exp. fizhi-cs-32x32x40 (fail with only 6 digits for cg2d) |
408 |
|
- by default, use new version of S/R GETPWHERE (#define TRY_NEW_GETPWHERE); |
409 |
|
fix few out-of-bounds indices in referencing vars (initialise igrd to 1); |
410 |
|
clean-up fizhi_turb.F (remove unused & uninitialised qdiaglsm array). |
411 |
|
o pkg/gmredi: |
412 |
|
- add diagnostic of Redi (main diagnonal) vertical diffusive flux of Temp |
413 |
|
o pkg/fizhi: |
414 |
|
- fix few initialisation and multi-tile Pb: aqualev & gridalt now pass the |
415 |
|
(old)aces open64 tuv test. |
416 |
|
o pkg/icefront: fix bug and reorder loop in icefront_init_varia.F |
417 |
|
o pkg/mom_vecinv: |
418 |
|
- fix 1 loop range in mom_vecinv.F to be like all the other loops which |
419 |
|
set/update gu,gv/Diss (fix Pb of uninitialised fVerUkp in admom_vecinv |
420 |
|
with non-lin free-surf). |
421 |
|
o model/src: move k-loop outside of i/j-loops when (re-)computing R_low |
422 |
|
in ini/update_masks_etc.F in order to avoid -O3 optimization problems with |
423 |
|
some compilers (gfortran 4.6.0 on MacOS) |
424 |
|
o momentum: |
425 |
|
- separate fVer?(:,:,kUp) & fVer?(:,:,kDown) in argument list of MOM_FLUXFORM |
426 |
|
& MOM_VECINV subroutines (to help TAF). This fixes Pb of uninitialised |
427 |
|
fVer?(kUp) in admom_fluxform with non-lin free-surf or bottom control. |
428 |
|
|
429 |
|
checkpoint63k (2012/03/17) |
430 |
|
o model/src: |
431 |
|
- selectAddFluid (ALLOW_ADDFLUID): add missing term in horizontal momentum |
432 |
|
flux-form (mom_fluxform.F) and vertical momentum (calc_gw.F) equations. |
433 |
|
- SOLVE_DIAGONAL: switch default to use adjoinable & vectorized version |
434 |
|
(#undef SOLVE_DIAGONAL_LOWMEMORY); update output of exp. front_relax.bvp. |
435 |
|
o model/src: solve_*diagonal.F |
436 |
|
- replace division with multiplication by inverse (similar to original version) |
437 |
|
update output of AD exp. global_ocean.90x40x15. |
438 |
|
- fix pkg/gmredi/gmredi_calc_psi_bvp.F & pkg/ggl90/ggl90_calc.F |
439 |
|
to enable the use of the vectorized & differentiable solve_tridiagonal.F |
440 |
|
- test exp. global_ocean.90x40x15/input_ad: switch to advection scheme 20 for |
441 |
|
vertical advection (to get solve_tridiagonal tested in AD mode). |
442 |
|
o pkg/seaice: ECCO-CLIVAR merge: |
443 |
|
1. seaice AREA relaxation |
444 |
|
* CPP option: SEAICE_ALLOW_AREA_RELAXATION |
445 |
|
* runtime flag: SEAICE_tauAreaObsRelax |
446 |
|
2. modified global mean cost imbalance code: CPP option |
447 |
|
ALLOW_SSH_GLOBMEAN_COST_CONTRIBUTION |
448 |
|
o another iteration on solve_*diagonal.F |
449 |
|
Make choices independent of AUTODIFF |
450 |
|
Default will be the adjoinable vectorized version. |
451 |
|
Alternative choices are: |
452 |
|
* non-adjoinable original version with low memory footprint: |
453 |
|
#define SOLVE_DIAGONAL_LOWMEMORY |
454 |
|
* still adjoinable but does not vectorize (k as inner-most loop): |
455 |
|
#define SOLVE_DIAGONAL_KINNER (keeping SOLVE_DIAGONAL_LOWMEMORY undef) |
456 |
|
o testreport |
457 |
|
- add option to use a home made wrapper around "make" |
458 |
|
- remove MITGCM_IEEE env. variable (no longer active) |
459 |
o pkg/shelfice |
o pkg/shelfice |
460 |
- improve computation of friction velocity for velocity dependent |
- improve computation of friction velocity for velocity dependent |
461 |
exchange coefficients: include velocities into SHELFICEBoundaryLayer |
exchange coefficients: include velocities into SHELFICEBoundaryLayer |