4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/ctrl/ecco/grdchk: |
8 |
|
- remove global declaration of tmpfldx/yz and tmpfldx/yz2. |
9 |
|
Fortunately, we do no have any tests for the numerous cpp-flagged |
10 |
|
option of "obcs as control parameters" so we will never know |
11 |
|
if this is an improvement (but at least now things compile). |
12 |
|
- remove an obsolete initialization from ecco_cost_init_barfiles.F |
13 |
|
- fix some problems within never used ifdefs to make the code compile |
14 |
|
o pkg/obcs: |
15 |
|
- Refine Interior mask definition to work with more complex OB (e.g. |
16 |
|
if OB_Ie < OB_Iw); In case default setting is not sufficient, allows to |
17 |
|
read in Interior mask from file. Check if Interior mask is consistent |
18 |
|
with OB list of indices. |
19 |
|
o pkg/seaice |
20 |
|
- beginning code for a seaice tracer package, |
21 |
|
but currently only used for seaice age: SEAICE_AGE |
22 |
|
SEAICE_num = 4 |
23 |
|
iTracer = 1: area-weighted ice age |
24 |
|
= 2: volume-weighted ice age |
25 |
|
= 3, 4: template for one-year vs. multi-year ice |
26 |
|
data.seaice has new namelist SEAICE_PARM03 for arrays related to |
27 |
|
SEAICE_num |
28 |
|
|
29 |
|
checkpoint62t (2011/03/05) |
30 |
|
o pkg/obcs: |
31 |
|
- obcs_apply_uv.F: change to a 2 steps method, first tangential component; |
32 |
|
then normal component. This ensures that the normal component is set |
33 |
|
correctly even when it conficts with tangential setting from an other OB. |
34 |
|
Affects results of test-experiment seaice_obcs: update the output.txt |
35 |
|
o pkg/obcs: |
36 |
|
- add code to monitor statistics of dynamical fields at OB. |
37 |
|
- take OBCS_BALANCE code out of obcs_calc.F into new S/R OBCS_BALANCE_FLOW : |
38 |
|
- fix to OBCS_BALANCE code (right hFac ; deal with simple OB intersection). |
39 |
|
- change default: balance the Net inflow through all OB (instead of balancing |
40 |
|
each OB separately); keep the old method if setting OBC_balanceFacX < 0. |
41 |
|
- switch on useOBCSbalance in dome experiment: only correct Western OB outflow |
42 |
|
to match Nortern OB inflow (OBCS_balanceFacN=0). |
43 |
|
o pkg/seaice: |
44 |
|
- redefined actual sea ice age to be ICEAGE/HEFF ifdef SEAICE_AGE_VOL |
45 |
|
o pkg/seaice (seaice_growth v 1.113): |
46 |
|
- reverting seaice_growth to v 1.111 in order to have code with exact bit |
47 |
|
compatibility with MITgcm_contrib/ifenty/Fenty_seaice_thermo_code_merge |
48 |
|
CPP option SEAICE_OCN_MELT_ACT_ON_AREA removed in v 1.112 is reintroduced |
49 |
|
runtime flag SEAICEareaFormula is kept but is inactive |
50 |
|
o model/src: |
51 |
|
- add new param to scale curvilinear grid distance and area when using |
52 |
|
a different sphere radius from the grid-files. |
53 |
|
- test/check multi-threads EXCH applied to local variable (cg2d_x) |
54 |
|
o adjoint: |
55 |
|
- enable adjoint of Stevens OB |
56 |
|
- add dummy_in_dynamics to enable extraction of ADJrhoinsitu |
57 |
|
(a bit delicate because of potentially modified adj. common block structure; |
58 |
|
current switch is ALLOW_AUTODIFF_MONITOR_DIAG, could be changed later) |
59 |
|
|
60 |
|
checkpoint62s (2011/02/15) |
61 |
|
o pkg/seaice (seaice_growth v 1.112): |
62 |
|
- introduce SEAICEareaFormula run time parameter, which selects the recipe for |
63 |
|
computing the ice cover tendency from effective thickness tendencies. Include |
64 |
|
Ian Fenty's formula. |
65 |
|
- remove 'undef SEAICE_OCN_MELT_ACT_ON_AREA' which may now be achieved using |
66 |
|
SEAICEareaFormula. |
67 |
|
- simplify notations for the various d_HEFF/d_AREA terms. |
68 |
|
o pkg/gmredi: |
69 |
|
- add Boundary-Value-Problem bolus transport (Ferrari etal, OM 2010) code |
70 |
|
from Christopher Wolfe (UCSD); add partial cell factor in vertical derivative; |
71 |
|
add a verification test-run (front_relax.bvp) to test GM_useBVP. |
72 |
|
o pkg/seaice (seaice_growth v 1.111): |
73 |
|
- for SEAICE_DO_OPEN_WATER_GROWTH, replace Gael's implementation with Ian's. |
74 |
|
- the new SEAICE_DO_OPEN_WATER_MELT allows open-water air-sea heat fluxes to |
75 |
|
also melt ice. |
76 |
|
o pkg/seaice: |
77 |
|
- McPhee formula for Ice-Ocean fluxes (provided by Ian Fenty). |
78 |
|
- can be used by #define MCPHEE_OCEAN_ICE_HEAT_FLUX in SEAICE_OPTIONS.h |
79 |
|
o pkg/cheapaml: |
80 |
|
- from Nico Wienders: New version of this package. |
81 |
|
o pkg/flt: |
82 |
|
- add CPP options to prevent floats to re-enter the opposite side of |
83 |
|
a periodic domain (default: keep periodicity) |
84 |
|
o pkg/gmredi: |
85 |
|
- apply exchange to GM_PsiX,GM_PsiY to get valid values near CS-corners |
86 |
|
(needed for multi-dim advection). |
87 |
|
- switch on GM Advective form in global_ocean.cs32x15 and update output.txt |
88 |
|
o model/src: |
89 |
|
- fix wrong re-setting of addMass array (ALLOW_ADDFLUID) for atmospheric run. |
90 |
|
o tutorial_tracer_adjsens |
91 |
|
- extend to NLFS and replace maskC by hFacC |
92 |
|
(change reference output accordingly) |
93 |
|
|
94 |
|
checkpoint62r (2011/01/24) |
95 |
|
o testreport: |
96 |
|
- add option -deloutp (-do) to remove output file after successful run |
97 |
|
- add option -mfile (-mf) for MPI machile-file and for each test-exp, |
98 |
|
extract exact list of procs from this file ; adjust COMMAND by |
99 |
|
replacing TR_MFILE & TR_NPROC with local machile-file & Nb of MPI procs. |
100 |
|
o pkg/ecco: replace old ineffective way of penalizing deviations from |
101 |
|
first guess (of obcs) with code by Matt Mazloff |
102 |
|
o pkg/ctrl: add code that allows the use of ALLOW_OBCS?_CONTROL without |
103 |
|
exf/cal |
104 |
|
- ctrl_init: fix initialisation (computation of diffrec) for obcs-ctrl |
105 |
|
and handle case of obcs?period == 0 |
106 |
|
Not affected by these changes: There is still an inconsistency in |
107 |
|
the computation of start/endrec for the obcs variables for ALLOW_CAL |
108 |
|
defined (see comment by Menemenlis, 7-Mar-2003) |
109 |
|
- make S/R ctrl_get_gen_rec return something meaningful even if |
110 |
|
ALLOW_CAL is not defined |
111 |
|
- ctrl_getobcs?: simplify code so that it does not need to use |
112 |
|
S/R exf_swapfields |
113 |
|
o testreport: |
114 |
|
allow to test MPI with different number of processors for each experiment: |
115 |
|
create file "SIZE.h.mpi" in each build dir. |
116 |
|
Note: update of "-command" argument not yet implemented. |
117 |
|
o model/src, pkg/autodiff, pkg/ecco, pkg/seaice: |
118 |
|
alleviate the need for additional 3D tapes when using |
119 |
|
the non-inear free surface in the adjoint. This is done |
120 |
|
by adding an 'update' of hfacc etc. to their current |
121 |
|
value at the beginning of forward_step.F. |
122 |
|
o pkg/seaice |
123 |
|
seaice_lsr: move stress-divergence computations out of outer pseudo- |
124 |
|
timestepping loop |
125 |
|
o pkg/obcs/obcs_prescribe_read.F: move 'CALL OBCS_EXTERNAL_FIELDS_LOAD' |
126 |
|
up, so that the calls of the ctrl_* subroutines are really at the end |
127 |
|
of the routine. |
128 |
|
o pkg/gmredi: |
129 |
|
allow to specify a 2-D horizontal map and a 1-D vertical profil |
130 |
|
as scaling factor for Isopycnal diffusivity (Redi) and GM diffusivity. |
131 |
|
o pkg/seaice: |
132 |
|
move lsr iterations from seaice_dynsolver to seaice_lsr. |
133 |
|
o pkg/seaice: |
134 |
|
reduce memory footprint of seaice mutldim advection tapes, |
135 |
|
by using a 2D tape independent of the generic_advdiff ones, |
136 |
|
and setting GAD_AREA=1 etc. rather than GAD_AREA=101 etc. |
137 |
|
|
138 |
|
checkpoint62q (2010/12/29) |
139 |
|
o model/src: |
140 |
|
- check horizontal grid-spacing for unset or zero/negative values. |
141 |
|
- change AD test hs94.1x64x5 to be truly a 2-D set-up. |
142 |
|
o pkg/flt: |
143 |
|
- use (recent) mdsio S/R MDS_READVEC_LOC instead of local FLT_MDSREADVECTOR |
144 |
|
- precision of input and output files set according to readBinaryPrec |
145 |
|
and writeBinaryPrec (previously always 64.b), pickup remains at 64 bits. |
146 |
|
- initial float position from tiled file was not converted to index space |
147 |
|
(looks like a bug): fixed to make it similar to initial pos. global file. |
148 |
|
o global_ocean.cs32x15: |
149 |
|
change SIZE.h of AD set-up to get same tiling as with MPI. |
150 |
|
Update output_adm, output_adm.thsice (pass@14) & output_adm.seaice (fail@11) |
151 |
|
o model/src: |
152 |
|
add flag to control printing of domain fields (bathymetry, hFac ...) in |
153 |
|
ini_mask_etc (call to plot_fieds_xy*). |
154 |
|
o pkg/thsice: |
155 |
|
if useEXF, some forcing fields are not valid in overlap: fixed by computing |
156 |
|
over the interior only + apply EXCH at the end (like with SEAICE advection). |
157 |
|
o pkg/mdsio: |
158 |
|
- add 2 arguments to S/R MDS_PASS_R4/8toRL/S for overlap size of buffer |
159 |
|
to copy to/from, so that it can be used to replace MDS_PASS_WH_R8toRL/RS. |
160 |
|
- change barrier call for safe multi-threads access to 3-D shared buffer. |
161 |
|
- MDS_READ/WRITEVEC_LOC use buffers from MDSIO_BUFF_3D.h (instead of local ones) |
162 |
|
- replace call to MDS_PASS_WH_R4/8toRL with call to MDS_PASS_R4/8toRL and |
163 |
|
remove the 4 S/R MDS_PASS_WH_R4/8toRL/S. |
164 |
|
o pkg/flt: |
165 |
|
- add fourth-order Runge-Kutta integration |
166 |
|
- add basic exch2 support (only 1 facet supported so far!) |
167 |
|
o pkg/mdsio+rw: |
168 |
|
new S/R to read local (or tile independent) vector (read counterpart of |
169 |
|
mds_writevec_loc, and front-end write_glvec_rl/rs). |
170 |
|
o global_ocean.cs32x15: additional input_ad.seaice experiment |
171 |
|
that uses pkg/seaice rather than pkg/thsice. |
172 |
|
(using multidim advection for seaice) |
173 |
|
o towards more F95 syntax for array specification in namelist: |
174 |
|
- change "data.diagnostics" (data.ptracers was changed before checkpoint62p) |
175 |
|
of all verification experiments. |
176 |
|
e.g.: line: fields(1,3)='ETAN ','ETANSQ ', |
177 |
|
was changed to: fields(1:2,3)='ETAN ','ETANSQ ', |
178 |
|
- finish adding "-DNML_EXTENDED_F77" to DEFINES list in pgf77 and g77 optfiles |
179 |
|
o global_ocean.cs32x15: additional input.seaice experiment |
180 |
|
that uses pkg/seaice rather than pkg/thsice. |
181 |
|
|
182 |
|
checkpoint62p (2010/12/17) |
183 |
|
o pkg/thsice: rename (ad tape index) iicekey as ticekey, and move it |
184 |
|
to THSICE_SIZE.h to avoid conflict with pkg/seaice. |
185 |
|
o pkg/seaice: add seaice_diffusion.f seaice_map_thsice.f to adjoint. |
186 |
|
allow for use of multim. advection in seaice adjoint. |
187 |
|
o pkg/seaice: add diagnostics for snow precipitation and sublimation flux |
188 |
|
- first attempt to close budgets by taking into account the freshwater |
189 |
|
flux implied by the sublimation of snow and ice. So far only the |
190 |
|
volume budget is closed, turn on with soon-to-be-retired-again CPP-Flag |
191 |
|
SEAICE_ADD_SUBLIMATION_TO_FWBUDGET |
192 |
|
o eesupp/src: |
193 |
|
new S/R with new option (NML_EXTENDED_F77) to change array specification |
194 |
|
from F95 standard to commonly accepted extended F77 form. |
195 |
|
This would allow to use F95 syntax in namelist (needed with gfortran 4.4.5) |
196 |
|
and to revert back to the original syntax (with -DNML_EXTENDED_F77) |
197 |
|
for less tolerant f77 compiler (e.g., pgf77, g77). |
198 |
|
o globalFiles: |
199 |
|
commented out in parameter file "data" since it's not safe with MPI |
200 |
|
(e.g., wrong on aces); keep it if useSingleCpuIO=T (but not doing much |
201 |
|
in this case); no longer commented out in restart test (tst_2+2). |
202 |
|
o add adTapeDir to specify a special directory where adjoint tapes are |
203 |
|
written/read (adread_adwrite.F). adTapeDir is specified in data/PARM05 |
204 |
|
and cannot be used together with mdsioLocalDir. |
205 |
|
o nesting pkgs: |
206 |
|
- packages_init_variables : put call to OBCS_INIT_VARIABLES in last position |
207 |
|
- update Gianmaria's Nesting pkgs (from Contrib/nesting_sannino) |
208 |
|
- add parameter files + utils dir + output from short run on beagle. |
209 |
|
o pkg/seaice: |
210 |
|
fix seaice_growth.F store directives; update results of exp. lab_sea.ad |
211 |
|
o pkg/seaice: explicitly store tsurfloc in seaice_solve4temp.F to avoid |
212 |
|
unnecessary copying in adjoint code, requires new parameter NMAX_ITER |
213 |
|
|
214 |
|
checkpoint62o (2010/11/25) |
215 |
|
o pkg/exf: |
216 |
|
- change CPP option EXF_VERBOSE to run-time logical param exf_verbose. |
217 |
|
o pkg/seaice: |
218 |
|
- seaice_ocean_stress: split a loop for better vectorization of the |
219 |
|
adjoint code |
220 |
|
- seaice_growth.F: fix bug in conservation of freshwater connected to |
221 |
|
capping of heff, put contribution into d_HEFFbyNEG |
222 |
|
- replace irritating parameters SEAICE_latentWater/Ice and SEAICE_sensHeat |
223 |
|
by something more sensible (parameters that are what their name implies) |
224 |
|
- change some defaults, so that by default exf-parameters are used for |
225 |
|
things like rhoAir, cpAir,latent/sensible heat parameters, in order |
226 |
|
to reproduce the old results, many data.seaice now contain funny values |
227 |
|
for cpAir and latent heat of sublimation |
228 |
|
o packages_readparms.F: move exf_readparms up in line so that |
229 |
|
exf-parameters are visible for other packages (e.g. seaice) |
230 |
|
o debugMode & debugLevel=2: |
231 |
|
- differentiate between debugMode & debugLevel=2: |
232 |
|
debugMode: controls printing of debug messages (sequence of S/R calls). |
233 |
|
debugLevel: controls printing of algorithm intermediate results and stats. |
234 |
|
- remove "if debugLevel=2 => debugMode" but keep "debugMode => debugLevel=2"; |
235 |
|
=> allows to print debug-stats without all sequence of call messages. |
236 |
|
- switch control of debug print from debugLevel to debugMode in many S/R. |
237 |
|
o pkg/obcs (obcs-sponge): |
238 |
|
fix bug that was introduced on Oct 25 (in dynamics.F v1.151): put back the |
239 |
|
call to OBCS_PRESCRIBE_EXCHANGES (need to exch gU,gV when using obcs-sponge) |
240 |
|
o pkg/generic_advdiff: |
241 |
|
- record overlap minimum size for each advection scheme; |
242 |
|
- refine criteria on overlap minimum size; |
243 |
|
- check and stop (in gad_check) if overlap size is too small. |
244 |
|
o pkg/obcs: |
245 |
|
- with ptracers: remove multiple calls to obcs_apply_ptracer (only done |
246 |
|
once, in ptracers_implicit.F) |
247 |
|
- with seaice: remove test on empty file name in obcs_apply_seaice (always |
248 |
|
apply OB values when tile has OB) |
249 |
|
o model/src, coriolis setting: |
250 |
|
- integer parameter "selectCoriMap" (=0,1,2) replaces 3 logical |
251 |
|
useConstantF, useBetaPlaneF, useSphereF ; can now read coriolis from |
252 |
|
files (selectCoriMap=3) with any grid. |
253 |
|
- add parameter "fPrime" for constant second Coriolis coeff (default=0). |
254 |
|
o pkg/seaice/seaice_growth.F: |
255 |
|
a few cosmetic changes that reduce the number of lines of code |
256 |
|
o pkg/obcs: add boundary conditions following Stevens (1990) |
257 |
|
- the code follows old MOM/NAOSIM code |
258 |
|
- so far it is only implemented for the eastern and western boundaries |
259 |
|
and NOT for pTracers |
260 |
|
o pkg/rbcs: |
261 |
|
- replace rbcsInIter by rbcsForcingOffset, the time in seconds at the |
262 |
|
beginning of the first rbcs forcing period. |
263 |
|
- add option rbcsSingleTimeFiles that makes rbcs read forcing data like the |
264 |
|
offline package, i.e., one file per time, labeled by iteration number; |
265 |
|
deltaTrbcs sets the timestep with which the data was generated; |
266 |
|
rbcsIter0 is the forcing iteration corresponding to rbcsForcingOffset. |
267 |
|
- rbcsForcingCycle=0 makes forcing non-cyclic. |
268 |
|
- make arithmetic safe for negative times and odd forcing periods. |
269 |
|
|
270 |
|
checkpoint62n (2010/11/09) |
271 |
|
o pkg/seaice: |
272 |
|
fix masking in free-drift S/R ; update results of exp. lab_sea.fd |
273 |
|
o pkg/obcs: |
274 |
|
New S/R to copy tracer value from the OB location to narrow band region |
275 |
|
(width = same as overlap) beyond the OB: preserve OB value (needed for |
276 |
|
high-order scheme) which were overwritten by EXCH call if in overlap |
277 |
|
region. Applied to theta, salt, ptracer and advected seaice variables. |
278 |
|
With seaice: use maskInC in similar way as in gad_advection.F, |
279 |
|
in seaice_advection.F and advect.F. |
280 |
|
Update output of experiment seaice_obcs and change exp4 to test OBCS with |
281 |
|
4th order Adv.Scheme. for pasive salt and ptracer. |
282 |
|
o tools/genmake2: |
283 |
|
- when looking for an optfile (not specified), only search for Fortran compiler |
284 |
|
(remove sym-link test + setting of CPP + makedepend check + C-compiler check) |
285 |
|
- in get_fortran_c_namemangling: use "$CC $CFLAG" to compile C test programm |
286 |
|
(instead of "$MAKE genmake_test.o" since an existing Makefile can be wrong) |
287 |
|
- set default for CPP to "cpp -traditional -P" (was the case without specifying |
288 |
|
an optfile, but otherwise default was just "cpp". |
289 |
|
- comment out PLATFORM=$p_PLATFORM (no idea where p_PLATFORM comes from) |
290 |
|
- when "CC" is not set in the optfile, look for possible C compiler |
291 |
|
(instead of just setting CC=cc) |
292 |
|
- put back version v.169 modif (from 2008/02/15), was dropped in v.173 changes: |
293 |
|
=> add a ".F" to ".o" rule for source files with no "#include" (such as |
294 |
|
port_rand.F); otherwise, default ignores FOPTIM and just uses FFLAGS. |
295 |
|
- move gfortran before g77 in list of possible Fortran compiler (consistent |
296 |
|
with reference compiler switch from g77 to gfortran) |
297 |
|
o pkg/seaice: |
298 |
|
o remove SEAICE_OLD_AND_BAD_DISCRETIZATION-code, add a test to |
299 |
|
seaice_check that stops the model, when the CPP flag is used. |
300 |
|
o seaice_growth.F: make capping of ice volume conserving by returning the |
301 |
|
capped ice as freshwater to EmPmR. This does not change the verification |
302 |
|
experiments but will change runs where the capping is acutally active |
303 |
|
o change reference platform+compiler from faulks+g77 to baudelaire+gfortran |
304 |
|
(except the 2 fizhi test exp.); update output of exp.: bottom_ctrl_5x5, |
305 |
|
global_ocean.cs32x15 (icedyn, thsice, AD thsice), global_ocean_ebm (AD), |
306 |
|
lab_sea (fd, hb87, salt_plume), MLAdjust (3/5) and vermix (dd) |
307 |
|
o tools/genmake2: |
308 |
|
- merge genmake_warnings & genmake_errors into 1 log file: "genmake.log") |
309 |
|
- change DUMPSTATE default to false (can use "-ds" option to switch it to T) |
310 |
|
- clean previous genmake log files before anything else. |
311 |
|
- change Makefile to remove testreport log files (*.tr_log) and genmake log |
312 |
|
files only with "CLEAN" target (instead of "Clean"); |
313 |
|
o pkg/generic_advdiff: |
314 |
|
Change OBCS in multiDim advection (gad_advection.F): |
315 |
|
Use maskInC to prevent intermediate update of tracer-field in OB regions, |
316 |
|
thus keeping current-time-step OB values; and remove the call to OBCS_APPLY |
317 |
|
which were applying future time-step OB values. |
318 |
|
This way, all explicit calculations use current-time-step OB values |
319 |
|
(simpler and more consistent). |
320 |
|
Affects results when set-up uses time-varying OBC and multi-dim advection; |
321 |
|
update output of experiment seaice_obcs. |
322 |
|
o pkg/seaice: |
323 |
|
move OPTIONS (formerly locally defined) to SEAICE_OPTIONS.h: |
324 |
|
this includes SEAICE_GROWTH_LEGACY (+ SEAICE_DO_OPEN_WATER_GROWTH & |
325 |
|
SEAICE_OCN_MELT_ACT_ON_AREA ) and SEAICE_SOLVE4TEMP_LEGACY. |
326 |
|
Default (pkg/seaice/SEAICE_OPTIONS.h) is to define SEAICE_SOLVE4TEMP_LEGACY |
327 |
|
but leave SEAICE_GROWTH_LEGACY undef ; For now, keep verification exp |
328 |
|
unchanged (SEAICE_GROWTH_LEGACY defined in */code*/SEAICE_OPTIONS.h) |
329 |
o pkg aim (2010/10/26): |
o pkg aim (2010/10/26): |
330 |
- Introduce ALLOW_INSOLATION, moving toward a more general incoming solar radiation |
- Introduce ALLOW_INSOLATION, moving toward a more general incoming solar radiation |
331 |
formulation with obliquity, eccentricity, ... as run-time parameters, |
formulation with obliquity, eccentricity, ... as run-time parameters, |
332 |
- Introduce diagnostics for top-of-the-atmaophere incoming solar radiation and |
- Introduce diagnostics for top-of-the-atmaophere incoming solar radiation and |
333 |
upward shortwave radition at the surface (all-sky and clear-sky). |
upward shortwave radition at the surface (all-sky and clear-sky). |
|
|
|
334 |
o pkg/obcs: |
o pkg/obcs: |
335 |
- writing sections with globalFiles=T does not work: switch to tiled-files |
- writing sections with globalFiles=T does not work: switch to tiled-files |
336 |
when writing sections for OBCS (change pkg/rw/write_rec.F accordingly). |
when writing sections for OBCS (change pkg/rw/write_rec.F accordingly). |