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