4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/ctrl: add code that allows the use of ALLOW_OBCS?_CONTROL without |
8 |
|
exf/cal |
9 |
|
- ctrl_init: fix initialisation (computation of diffrec) for obcs-ctrl |
10 |
|
and handle case of obcs?period == 0 |
11 |
|
Not affected by these changes: There is still an inconsistency in |
12 |
|
the computation of start/endrec for the obcs variables for ALLOW_CAL |
13 |
|
defined (see comment by Menemenlis, 7-Mar-2003) |
14 |
|
- make S/R ctrl_get_gen_rec return something meaningful even if |
15 |
|
ALLOW_CAL is not defined |
16 |
|
- ctrl_getobcs?: simplify code so that it does not need to use |
17 |
|
S/R exf_swapfields |
18 |
|
o testreport: |
19 |
|
allow to test MPI with different number of processors for each experiment: |
20 |
|
create file "SIZE.h.mpi" in each build dir. |
21 |
|
Note: update of "-command" argument not yet implemented. |
22 |
|
o model/src, pkg/autodiff, pkg/ecco, pkg/seaice: |
23 |
|
alleviate the need for additional 3D tapes when using |
24 |
|
the non-inear free surface in the adjoint. This is done |
25 |
|
by adding an 'update' of hfacc etc. to their current |
26 |
|
value at the beginning of forward_step.F. |
27 |
|
o pkg/seaice |
28 |
|
seaice_lsr: move stress-divergence computations out of outer pseudo- |
29 |
|
timestepping loop |
30 |
|
o pkg/obcs/obcs_prescribe_read.F: move 'CALL OBCS_EXTERNAL_FIELDS_LOAD' |
31 |
|
up, so that the calls of the ctrl_* subroutines are really at the end |
32 |
|
of the routine. |
33 |
|
o pkg/gmredi: |
34 |
|
allow to specify a 2-D horizontal map and a 1-D vertical profil |
35 |
|
as scaling factor for Isopycnal diffusivity (Redi) and GM diffusivity. |
36 |
|
o pkg/seaice: |
37 |
|
move lsr iterations from seaice_dynsolver to seaice_lsr. |
38 |
|
o pkg/seaice: |
39 |
|
reduce memory footprint of seaice mutldim advection tapes, |
40 |
|
by using a 2D tape independent of the generic_advdiff ones, |
41 |
|
and setting GAD_AREA=1 etc. rather than GAD_AREA=101 etc. |
42 |
|
|
43 |
|
checkpoint62q (2010/12/29) |
44 |
|
o model/src: |
45 |
|
- check horizontal grid-spacing for unset or zero/negative values. |
46 |
|
- change AD test hs94.1x64x5 to be truly a 2-D set-up. |
47 |
|
o pkg/flt: |
48 |
|
- use (recent) mdsio S/R MDS_READVEC_LOC instead of local FLT_MDSREADVECTOR |
49 |
|
- precision of input and output files set according to readBinaryPrec |
50 |
|
and writeBinaryPrec (previously always 64.b), pickup remains at 64 bits. |
51 |
|
- initial float position from tiled file was not converted to index space |
52 |
|
(looks like a bug): fixed to make it similar to initial pos. global file. |
53 |
|
o global_ocean.cs32x15: |
54 |
|
change SIZE.h of AD set-up to get same tiling as with MPI. |
55 |
|
Update output_adm, output_adm.thsice (pass@14) & output_adm.seaice (fail@11) |
56 |
|
o model/src: |
57 |
|
add flag to control printing of domain fields (bathymetry, hFac ...) in |
58 |
|
ini_mask_etc (call to plot_fieds_xy*). |
59 |
|
o pkg/thsice: |
60 |
|
if useEXF, some forcing fields are not valid in overlap: fixed by computing |
61 |
|
over the interior only + apply EXCH at the end (like with SEAICE advection). |
62 |
|
o pkg/mdsio: |
63 |
|
- add 2 arguments to S/R MDS_PASS_R4/8toRL/S for overlap size of buffer |
64 |
|
to copy to/from, so that it can be used to replace MDS_PASS_WH_R8toRL/RS. |
65 |
|
- change barrier call for safe multi-threads access to 3-D shared buffer. |
66 |
|
- MDS_READ/WRITEVEC_LOC use buffers from MDSIO_BUFF_3D.h (instead of local ones) |
67 |
|
- replace call to MDS_PASS_WH_R4/8toRL with call to MDS_PASS_R4/8toRL and |
68 |
|
remove the 4 S/R MDS_PASS_WH_R4/8toRL/S. |
69 |
|
o pkg/flt: |
70 |
|
- add fourth-order Runge-Kutta integration |
71 |
|
- add basic exch2 support (only 1 facet supported so far!) |
72 |
|
o pkg/mdsio+rw: |
73 |
|
new S/R to read local (or tile independent) vector (read counterpart of |
74 |
|
mds_writevec_loc, and front-end write_glvec_rl/rs). |
75 |
|
o global_ocean.cs32x15: additional input_ad.seaice experiment |
76 |
|
that uses pkg/seaice rather than pkg/thsice. |
77 |
|
(using multidim advection for seaice) |
78 |
|
o towards more F95 syntax for array specification in namelist: |
79 |
|
- change "data.diagnostics" (data.ptracers was changed before checkpoint62p) |
80 |
|
of all verification experiments. |
81 |
|
e.g.: line: fields(1,3)='ETAN ','ETANSQ ', |
82 |
|
was changed to: fields(1:2,3)='ETAN ','ETANSQ ', |
83 |
|
- finish adding "-DNML_EXTENDED_F77" to DEFINES list in pgf77 and g77 optfiles |
84 |
|
o global_ocean.cs32x15: additional input.seaice experiment |
85 |
|
that uses pkg/seaice rather than pkg/thsice. |
86 |
|
|
87 |
|
checkpoint62p (2010/12/17) |
88 |
|
o pkg/thsice: rename (ad tape index) iicekey as ticekey, and move it |
89 |
|
to THSICE_SIZE.h to avoid conflict with pkg/seaice. |
90 |
|
o pkg/seaice: add seaice_diffusion.f seaice_map_thsice.f to adjoint. |
91 |
|
allow for use of multim. advection in seaice adjoint. |
92 |
|
o pkg/seaice: add diagnostics for snow precipitation and sublimation flux |
93 |
|
- first attempt to close budgets by taking into account the freshwater |
94 |
|
flux implied by the sublimation of snow and ice. So far only the |
95 |
|
volume budget is closed, turn on with soon-to-be-retired-again CPP-Flag |
96 |
|
SEAICE_ADD_SUBLIMATION_TO_FWBUDGET |
97 |
|
o eesupp/src: |
98 |
|
new S/R with new option (NML_EXTENDED_F77) to change array specification |
99 |
|
from F95 standard to commonly accepted extended F77 form. |
100 |
|
This would allow to use F95 syntax in namelist (needed with gfortran 4.4.5) |
101 |
|
and to revert back to the original syntax (with -DNML_EXTENDED_F77) |
102 |
|
for less tolerant f77 compiler (e.g., pgf77, g77). |
103 |
|
o globalFiles: |
104 |
|
commented out in parameter file "data" since it's not safe with MPI |
105 |
|
(e.g., wrong on aces); keep it if useSingleCpuIO=T (but not doing much |
106 |
|
in this case); no longer commented out in restart test (tst_2+2). |
107 |
|
o add adTapeDir to specify a special directory where adjoint tapes are |
108 |
|
written/read (adread_adwrite.F). adTapeDir is specified in data/PARM05 |
109 |
|
and cannot be used together with mdsioLocalDir. |
110 |
|
o nesting pkgs: |
111 |
|
- packages_init_variables : put call to OBCS_INIT_VARIABLES in last position |
112 |
|
- update Gianmaria's Nesting pkgs (from Contrib/nesting_sannino) |
113 |
|
- add parameter files + utils dir + output from short run on beagle. |
114 |
|
o pkg/seaice: |
115 |
|
fix seaice_growth.F store directives; update results of exp. lab_sea.ad |
116 |
|
o pkg/seaice: explicitly store tsurfloc in seaice_solve4temp.F to avoid |
117 |
|
unnecessary copying in adjoint code, requires new parameter NMAX_ITER |
118 |
|
|
119 |
|
checkpoint62o (2010/11/25) |
120 |
|
o pkg/exf: |
121 |
|
- change CPP option EXF_VERBOSE to run-time logical param exf_verbose. |
122 |
|
o pkg/seaice: |
123 |
|
- seaice_ocean_stress: split a loop for better vectorization of the |
124 |
|
adjoint code |
125 |
|
- seaice_growth.F: fix bug in conservation of freshwater connected to |
126 |
|
capping of heff, put contribution into d_HEFFbyNEG |
127 |
|
- replace irritating parameters SEAICE_latentWater/Ice and SEAICE_sensHeat |
128 |
|
by something more sensible (parameters that are what their name implies) |
129 |
|
- change some defaults, so that by default exf-parameters are used for |
130 |
|
things like rhoAir, cpAir,latent/sensible heat parameters, in order |
131 |
|
to reproduce the old results, many data.seaice now contain funny values |
132 |
|
for cpAir and latent heat of sublimation |
133 |
|
o packages_readparms.F: move exf_readparms up in line so that |
134 |
|
exf-parameters are visible for other packages (e.g. seaice) |
135 |
|
o debugMode & debugLevel=2: |
136 |
|
- differentiate between debugMode & debugLevel=2: |
137 |
|
debugMode: controls printing of debug messages (sequence of S/R calls). |
138 |
|
debugLevel: controls printing of algorithm intermediate results and stats. |
139 |
|
- remove "if debugLevel=2 => debugMode" but keep "debugMode => debugLevel=2"; |
140 |
|
=> allows to print debug-stats without all sequence of call messages. |
141 |
|
- switch control of debug print from debugLevel to debugMode in many S/R. |
142 |
|
o pkg/obcs (obcs-sponge): |
143 |
|
fix bug that was introduced on Oct 25 (in dynamics.F v1.151): put back the |
144 |
|
call to OBCS_PRESCRIBE_EXCHANGES (need to exch gU,gV when using obcs-sponge) |
145 |
|
o pkg/generic_advdiff: |
146 |
|
- record overlap minimum size for each advection scheme; |
147 |
|
- refine criteria on overlap minimum size; |
148 |
|
- check and stop (in gad_check) if overlap size is too small. |
149 |
|
o pkg/obcs: |
150 |
|
- with ptracers: remove multiple calls to obcs_apply_ptracer (only done |
151 |
|
once, in ptracers_implicit.F) |
152 |
|
- with seaice: remove test on empty file name in obcs_apply_seaice (always |
153 |
|
apply OB values when tile has OB) |
154 |
|
o model/src, coriolis setting: |
155 |
|
- integer parameter "selectCoriMap" (=0,1,2) replaces 3 logical |
156 |
|
useConstantF, useBetaPlaneF, useSphereF ; can now read coriolis from |
157 |
|
files (selectCoriMap=3) with any grid. |
158 |
|
- add parameter "fPrime" for constant second Coriolis coeff (default=0). |
159 |
|
o pkg/seaice/seaice_growth.F: |
160 |
|
a few cosmetic changes that reduce the number of lines of code |
161 |
|
o pkg/obcs: add boundary conditions following Stevens (1990) |
162 |
|
- the code follows old MOM/NAOSIM code |
163 |
|
- so far it is only implemented for the eastern and western boundaries |
164 |
|
and NOT for pTracers |
165 |
|
o pkg/rbcs: |
166 |
|
- replace rbcsInIter by rbcsForcingOffset, the time in seconds at the |
167 |
|
beginning of the first rbcs forcing period. |
168 |
|
- add option rbcsSingleTimeFiles that makes rbcs read forcing data like the |
169 |
|
offline package, i.e., one file per time, labeled by iteration number; |
170 |
|
deltaTrbcs sets the timestep with which the data was generated; |
171 |
|
rbcsIter0 is the forcing iteration corresponding to rbcsForcingOffset. |
172 |
|
- rbcsForcingCycle=0 makes forcing non-cyclic. |
173 |
|
- make arithmetic safe for negative times and odd forcing periods. |
174 |
|
|
175 |
|
checkpoint62n (2010/11/09) |
176 |
|
o pkg/seaice: |
177 |
|
fix masking in free-drift S/R ; update results of exp. lab_sea.fd |
178 |
|
o pkg/obcs: |
179 |
|
New S/R to copy tracer value from the OB location to narrow band region |
180 |
|
(width = same as overlap) beyond the OB: preserve OB value (needed for |
181 |
|
high-order scheme) which were overwritten by EXCH call if in overlap |
182 |
|
region. Applied to theta, salt, ptracer and advected seaice variables. |
183 |
|
With seaice: use maskInC in similar way as in gad_advection.F, |
184 |
|
in seaice_advection.F and advect.F. |
185 |
|
Update output of experiment seaice_obcs and change exp4 to test OBCS with |
186 |
|
4th order Adv.Scheme. for pasive salt and ptracer. |
187 |
|
o tools/genmake2: |
188 |
|
- when looking for an optfile (not specified), only search for Fortran compiler |
189 |
|
(remove sym-link test + setting of CPP + makedepend check + C-compiler check) |
190 |
|
- in get_fortran_c_namemangling: use "$CC $CFLAG" to compile C test programm |
191 |
|
(instead of "$MAKE genmake_test.o" since an existing Makefile can be wrong) |
192 |
|
- set default for CPP to "cpp -traditional -P" (was the case without specifying |
193 |
|
an optfile, but otherwise default was just "cpp". |
194 |
|
- comment out PLATFORM=$p_PLATFORM (no idea where p_PLATFORM comes from) |
195 |
|
- when "CC" is not set in the optfile, look for possible C compiler |
196 |
|
(instead of just setting CC=cc) |
197 |
|
- put back version v.169 modif (from 2008/02/15), was dropped in v.173 changes: |
198 |
|
=> add a ".F" to ".o" rule for source files with no "#include" (such as |
199 |
|
port_rand.F); otherwise, default ignores FOPTIM and just uses FFLAGS. |
200 |
|
- move gfortran before g77 in list of possible Fortran compiler (consistent |
201 |
|
with reference compiler switch from g77 to gfortran) |
202 |
|
o pkg/seaice: |
203 |
|
o remove SEAICE_OLD_AND_BAD_DISCRETIZATION-code, add a test to |
204 |
|
seaice_check that stops the model, when the CPP flag is used. |
205 |
|
o seaice_growth.F: make capping of ice volume conserving by returning the |
206 |
|
capped ice as freshwater to EmPmR. This does not change the verification |
207 |
|
experiments but will change runs where the capping is acutally active |
208 |
|
o change reference platform+compiler from faulks+g77 to baudelaire+gfortran |
209 |
|
(except the 2 fizhi test exp.); update output of exp.: bottom_ctrl_5x5, |
210 |
|
global_ocean.cs32x15 (icedyn, thsice, AD thsice), global_ocean_ebm (AD), |
211 |
|
lab_sea (fd, hb87, salt_plume), MLAdjust (3/5) and vermix (dd) |
212 |
|
o tools/genmake2: |
213 |
|
- merge genmake_warnings & genmake_errors into 1 log file: "genmake.log") |
214 |
|
- change DUMPSTATE default to false (can use "-ds" option to switch it to T) |
215 |
|
- clean previous genmake log files before anything else. |
216 |
|
- change Makefile to remove testreport log files (*.tr_log) and genmake log |
217 |
|
files only with "CLEAN" target (instead of "Clean"); |
218 |
|
o pkg/generic_advdiff: |
219 |
|
Change OBCS in multiDim advection (gad_advection.F): |
220 |
|
Use maskInC to prevent intermediate update of tracer-field in OB regions, |
221 |
|
thus keeping current-time-step OB values; and remove the call to OBCS_APPLY |
222 |
|
which were applying future time-step OB values. |
223 |
|
This way, all explicit calculations use current-time-step OB values |
224 |
|
(simpler and more consistent). |
225 |
|
Affects results when set-up uses time-varying OBC and multi-dim advection; |
226 |
|
update output of experiment seaice_obcs. |
227 |
|
o pkg/seaice: |
228 |
|
move OPTIONS (formerly locally defined) to SEAICE_OPTIONS.h: |
229 |
|
this includes SEAICE_GROWTH_LEGACY (+ SEAICE_DO_OPEN_WATER_GROWTH & |
230 |
|
SEAICE_OCN_MELT_ACT_ON_AREA ) and SEAICE_SOLVE4TEMP_LEGACY. |
231 |
|
Default (pkg/seaice/SEAICE_OPTIONS.h) is to define SEAICE_SOLVE4TEMP_LEGACY |
232 |
|
but leave SEAICE_GROWTH_LEGACY undef ; For now, keep verification exp |
233 |
|
unchanged (SEAICE_GROWTH_LEGACY defined in */code*/SEAICE_OPTIONS.h) |
234 |
|
o pkg aim (2010/10/26): |
235 |
|
- Introduce ALLOW_INSOLATION, moving toward a more general incoming solar radiation |
236 |
|
formulation with obliquity, eccentricity, ... as run-time parameters, |
237 |
|
- Introduce diagnostics for top-of-the-atmaophere incoming solar radiation and |
238 |
|
upward shortwave radition at the surface (all-sky and clear-sky). |
239 |
o pkg/obcs: |
o pkg/obcs: |
240 |
- writing sections with globalFiles=T does not work: switch to tiled-files |
- writing sections with globalFiles=T does not work: switch to tiled-files |
241 |
when writing sections for OBCS (change pkg/rw/write_rec.F accordingly). |
when writing sections for OBCS (change pkg/rw/write_rec.F accordingly). |
652 |
but keep the former optfile for few weeks for smooth transition |
but keep the former optfile for few weeks for smooth transition |
653 |
o pkg/ecco |
o pkg/ecco |
654 |
- allow user defined cost function contributions |
- allow user defined cost function contributions |
655 |
CPP: ALLOW_USERCOST_CONTRIBUTION |
CPP: ALLOW_USERCOST_CONTRIBUTION |
656 |
USAGE: compute contributions in cost_usercost_all.F |
USAGE: compute contributions in cost_usercost_all.F |
657 |
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
658 |
the two options are complementary. |
the two options are complementary. |
659 |
o pkg/smooth |
o pkg/smooth |