4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o change the loop ordering in most gad_*_adv_x.F to improve vectorization: |
8 |
|
move a few statemens out the main loop into separate loops |
9 |
|
o pkg/shelfice: |
10 |
|
- sort out freshwater flux; convert freshwater fluxes to mass fluxes |
11 |
|
(kg/m^2/s), does not break tests, because in verification/isomip, |
12 |
|
rhoConstFresh=rhoConst (by accident) |
13 |
|
- rearrange computation of tLoc, sLoc, pLoc to make code more efficient |
14 |
|
- move S/R find_rho_scalar, pkg/ecco/sw_ptmp.F, pkg/ecco/sw_adtg.F into |
15 |
|
new file model/src/seawater.F, so that they are available for all pkgs. |
16 |
|
- convert potential temperature into in-situ temperature. This changes the |
17 |
|
isomip tests => update tests |
18 |
|
o add a flag writePickupAtEnd (default=true) to be able to suppress |
19 |
|
writing a pickup at the last timestep |
20 |
|
o pkg/profiles: |
21 |
|
rename profiles_interp_mean_genericgrid as profiles_interp_mean_gg |
22 |
|
(for "less than 32 characters name" compiler requirement) |
23 |
|
o pkg/obcs and pkg/exf: added capability to specify seaice open boundary |
24 |
|
conditions that have a different sampling frequency than S/T/U/V obcs |
25 |
|
o pkg/diagnostics (stats-diags): |
26 |
|
- fix global Min/Max in case 1 processor get only empty tiles |
27 |
|
o genmake2: replace (4 times) |
28 |
|
make genmake_tc_1.o >> genmake_warnings 2>&1 |
29 |
|
with |
30 |
|
COMM="$CC $CFLAGS -c genmake_tc_1.c" |
31 |
|
echo $COMM >> genmake_warnings |
32 |
|
$COMM >> genmake_warnings 2>&1 |
33 |
|
to make genmake2 always see the value of CC as specified in the optfile. |
34 |
|
o generic_advdiff: - prather advection scheme (SOM) coded for CS-grid. |
35 |
|
- add diagnostics for 1srt & 2nd Order moments and sub-grid variance. |
36 |
|
- modify verification advect_cs test to test SOM-advection on CS-grid. |
37 |
|
o pkg/ctrl: |
38 |
|
- Rewrite of ctrl_map_ini_ecco.F, |
39 |
|
introducing a generic routine (ctrl_map_ini_gen.F). |
40 |
|
- Modification of ctrl_bound/adctrl_bound handling control vector bounds. |
41 |
|
|
42 |
|
checkpoint59n |
43 |
|
o pkg/diagnostics: for large number of diagnostics, store diagnostic mate |
44 |
|
number in dedicate array "hdiag": |
45 |
|
- new version of S/R DIAGNOSTICS_ADD2LIST : DIAGNOSTICS_ADDTOLIST |
46 |
|
with 1 more argument (mate number); modify old version DIAGNOSTICS_ADD2LIST. |
47 |
|
- many small changes (integer format) for large number of diagnostics |
48 |
|
- start to use DIAGNOSTICS_ADDTOLIST (necessary for diagnostics with |
49 |
|
a counter mate) in pkg diagnostics, ptracers, thsice & aim_v23. |
50 |
|
o add parameter rotateGrid and Euler angles EulerPhi/Theta/Psi. For |
51 |
|
usingSphericalGrid, this allows to define the rotated grid coordinates |
52 |
|
via phiMin/thetaMin/dxSpacing/dySpacing, etc., but then re-compute the |
53 |
|
geographical coordinates according to the inverse of the rotation defined |
54 |
|
by the Euler angles, so that Coriolis parameter and online-interpolation by |
55 |
|
exf works with the geographical coordinates on XC/YC/XG/YG. |
56 |
|
Naturally, this feature does not work with all packages, so some |
57 |
|
combinations are prohibited in config_summary (flt, flt_zonal, ecco, |
58 |
|
profiles), because there the coordinates are assumed to be regular |
59 |
|
spherical grid coordinates. |
60 |
|
o pkg/gmredi,ctrl,ecco,autodiff,grdchk and model/src,inc: |
61 |
|
- introduce isopycnal diffusion coefficient control. |
62 |
|
o tools/adjoint_options: |
63 |
|
- additional control vector components. |
64 |
|
o pkg/mnc: have mnc create marginally meaning full coordinate variables |
65 |
|
(that is the grid indices) if usingCurvilinearGrid and NOT EXCH2 |
66 |
|
o pkg/mypackage: |
67 |
|
- add example of read/write pickup for state-var ; |
68 |
|
- add entry points to the main code for state-vars diags & write-pickup. |
69 |
|
o pkg/exf: rewrite of exf_getffieldrec.F to properly deal with year |
70 |
|
transitions for useExfYearlyFields |
71 |
|
- add new subroutine that determines the file to read from for |
72 |
|
use*YearlyFields = .TRUE. and .FALSE. |
73 |
|
- add a verification experiment to global_with_exf that tests |
74 |
|
useExfYearlyFields with USE_EXF_INTERPOLATION defined |
75 |
|
o pkg/obcs/exf: add useOBCSYearlyFields (=.FALSE.) to obcs with exf in |
76 |
|
analogy to useExfYearlyFields; rearrange obcs_prescribe_read: two new |
77 |
|
subroutines (which could be generated from a template, because they are |
78 |
|
almost identical), for now they are included in obcs_prescribe_read.F for |
79 |
|
simplicity |
80 |
|
o pkg/exf: |
81 |
|
- add a little more diagnostic to exf_interp_read (in analogy to |
82 |
|
mds_read_field, can be turned off with debugLevel < debugLevA=1) |
83 |
|
- improve vectorizability of exf_interp for TARGET_NEC_SX, makes code |
84 |
|
ugly but fast by unrolling short inner loops, inserting a unroll=8 |
85 |
|
directive in routine lagran, and splitting a loop and making do while the |
86 |
|
outermost loop (the latter requires the intoduction of index arrays) |
87 |
|
o pkg/obcs: replace obcs_apply_area/heff/hsalt/hsnow with obcs_apply_seaice |
88 |
|
o pkg/seaice: moved DIFFERENT_MULTIPLE from seaice_model to seaice_dynsolver |
89 |
|
http://forge.csail.mit.edu/pipermail/mitgcm-devel/2008-January/003173.html |
90 |
|
o verification/seaice_obcs: updated for restart test and latest options |
91 |
|
o pkg/seaice: add a new flag SEAICEuseTEM to use a slightly different |
92 |
|
ice rheology (so-called truncated ellipse, that gets rid of tensile stress); |
93 |
|
for now this is only available for the C-grid code and also within |
94 |
|
#ifdef SEAICE_ALLOW_TEM, because this option may slow down the EVP code |
95 |
|
|
96 |
|
checkpoint59m |
97 |
|
o pkg/seaice: use different time constant for melting (SEAICE_gamma_t) |
98 |
|
and freezing (SEAICE_gamma_t_frz) ice due to mixed layer temperature |
99 |
|
o gad_som : fix flux output (& diagnostics) to have same units as other |
100 |
|
advection scheme fluxes (was previously multiplied by deltaT). |
101 |
|
o added verification/seaice_obcs both to test seaice open boundaries |
102 |
|
and to provide an example matlab scrpt for generating them |
103 |
|
o added verification/lab_sea/input.salt_plume for testing pkg/salt_plume |
104 |
|
o pkg/salt_plume: clean up salt_plume_frac.F to |
105 |
|
remove redundancy in PlumeMethod 1 and 4 |
106 |
|
o pkg/kpp: added saltplume diagnostics |
107 |
|
o pkg/obcs and pkg/seaice: |
108 |
|
- do not set uice and vice to zero when OB*icefile are unspecified |
109 |
|
- OBCS_SEAICE_AVOID_CONVERGENCE is undefined by default |
110 |
|
- moved seaice tracer obcs after call to seaice_growth |
111 |
|
o pkg/salt_plume: added various options for salt plume depth |
112 |
|
criterion and for vertical distribution of the salt |
113 |
|
|
114 |
|
checkpoint59l |
115 |
|
o pkg/ptracers: new version of ptracers pickup: |
116 |
|
read meta file and write only fields which are needed to restart. |
117 |
|
( same logic as main pickup file ; also using pickupStrictlyMatch ) |
118 |
|
o pkg/seaice: |
119 |
|
- add timescale for melting due to warm mixed layer as a means of |
120 |
|
setting SEAICE_availHeatFrac more conveniently |
121 |
|
- add a CPP-flag/runtime parameter check for flooding algorithm |
122 |
|
- reformulated availHeat in seaice_growth.F to be independent of AREA |
123 |
|
o change units attribute of EmPmR netcdf variables to kg/m^2/s to reflect recent |
124 |
|
unit changes |
125 |
|
o pkg/obcs: added OBCS_SEAICE_AVOID_CONVERGENCE constraint |
126 |
|
o cg2d.F: add 3 compiler directives that speed up this routine by 30% on a NEC |
127 |
|
SX vector computer. |
128 |
|
o pkg/seaice: |
129 |
|
- removed SEAICE_FFIELDS.h and seaice_get_forcing.F |
130 |
|
seaice forcing fields can now be read only through pkg/exf |
131 |
|
- removed some unused halos |
132 |
|
o no longer write pickup from THE_MODEL_MAIN but always from FORWARD_STEP |
133 |
|
o pkg/exf: added useRelativeWind EXF_PARAM.h option for subtracting U/VVEL |
134 |
|
or U/VICE from U/VWIND before computing U/VSTRESS |
135 |
|
|
136 |
|
checkpoint59k |
137 |
|
o pkg/seaice: ICE2WATR=SEAICE_rhoIce/rhoConst for consistency between |
138 |
|
dynamics and thermodynamics. Set ICE2WATR=0.92 to reproduce older results. |
139 |
|
o fix un-initialised variable problem (in mom_vecinv & shap_filt): |
140 |
|
all experiments pass when compile with un-initialised var. checking option. |
141 |
|
o added pkg/salt_plume |
142 |
|
o script to test restart (for now, in MITgcm_contrib/jmc_script) |
143 |
|
o pkg/seaice: new read/write pickup version. |
144 |
|
read meta file and write only fields which are needed to restart. |
145 |
|
( same logic as main pickup file ; also using pickupStrictlyMatch ) |
146 |
|
o pkg/seaice: fix bug in seaice_ocean_stress (call of seaice_calc_strainrates) |
147 |
|
o lab_sea.hb87: modify the domain & update output.hb87.txt : |
148 |
|
lat-long grid & no-slip BC in seaice-dynamics produce different sigma12 |
149 |
|
at j=1 & j=Ny+1 : this case is not treated correctly in the restart |
150 |
|
process. Fixed here by closing the domain at the Northern boundary. |
151 |
|
o pkg/rw: cleaning-up: call directly new MDSIO S/R MDS_READ/WRITE_FIELD. |
152 |
|
o pkg/mdsio: add new arguments to MDS_READ/WRITE_FIELD for reading/writing |
153 |
|
a set of consecutive levels in/from a 3-D array. |
154 |
|
o pkg/ptracers: |
155 |
|
use a 2 characters string ioLabel to identify tracer (if more than 99 tracers). |
156 |
|
to-do: fix pkg/diagnostics when large number of diagnostics are defined. |
157 |
|
|
158 |
|
checkpoint59j |
159 |
|
o in pkgs: dic, obcs, offline, rbcs: |
160 |
|
standard way to compute coeff. for time interpolation between 2 time reccords |
161 |
|
which retains full precision (& make results less dependent on compiler). |
162 |
|
update output of exp: tutorial_cfc_offline & tutorial_global_oce_biogeo. |
163 |
|
o pkg/cfc: if compiled with exf and seaice, cfc now can use fields from those |
164 |
|
packages instead of reading ice cover and wind speed separately |
165 |
|
o split PTRACERS.h in 2 header files: PTRACERS_FIELDS.h & PTRACERS_PARAMS.h |
166 |
|
(keep a temporary version of PTRACERS.h in verification/OpenAD/code_ad_openad |
167 |
|
to allow to compile customized code before the update) |
168 |
|
o cleaning-up: |
169 |
|
- fix CPP instruction syntax in pkg/obcs |
170 |
|
- replace (some) call to MDSIO S/R with call to RW interface S/R ; and |
171 |
|
add #ifdef ALLOW_MDSIO elsewhere (allows to compile without pkg/mdsio) |
172 |
|
- fix some threads issue in IO parts. |
173 |
|
o pkg/dic: |
174 |
|
- add tons of "_d 0" (--> much better testreports !) |
175 |
|
and then update outputs of tutorial_global_oce_biogeo |
176 |
|
o pkg/mom_fluxform: |
177 |
|
add a special version of momentum advection intended to conserve momentum |
178 |
|
next to a bathymetry step or a coastline edge. (default = off = #undef) |
179 |
|
o new read/write pickup version: |
180 |
|
- for now, only implemented for main (mdsio) pickup file. |
181 |
|
- write out only what is needed to restart; merge pickup_nh , pickup_ph |
182 |
|
and main pickup together. |
183 |
|
- read meta file; read only what is needed to restart; stop if a field |
184 |
|
is missing (if pickupStrictlyMatch=T, = the default) or try to restart |
185 |
|
if it make sense (even if the restart is not perfect). |
186 |
|
- if no meta file, assume that pickup to read corresponds exactly to |
187 |
|
a pickup that would currently be written. |
188 |
|
- read pickup written in the old format (until checkpoint59i) if it |
189 |
|
recognizes an old meta file (no field-list). |
190 |
|
- add a meta file in exp. which starts from a pickup: 2 cases: |
191 |
|
a) minimal meta file (with just file precision) + pickupStrictlyMatch=F |
192 |
|
e.g.: global_ocean.90x40x15/input/pickup.0000036000.meta |
193 |
|
b) a meta file describing the content of the associated pickup file |
194 |
|
e.g.: tutorial_global_oce_biogeo/input/pickup.0004248000.meta |
195 |
|
o pkg/mdsio & pkg/rw: |
196 |
|
- new routine to read a meta file ; new set of routine to read |
197 |
|
Multiple-fields file (with meta file). |
198 |
|
o added open boundary conditions capability for seaice |
199 |
|
HSNOW, HSALT, UICE, and VICE |
200 |
|
|
201 |
|
checkpoint59i |
202 |
|
o adjoint: |
203 |
|
* fix multiDimAdvection adjoint |
204 |
|
(partial recomputation problem by TAF for fVerT(:,:,kDown) |
205 |
|
and comlev1 size definition (maxpass vs. max. number of tracers) |
206 |
|
* verification/global_ocean.90x45x15 adjoint now tests |
207 |
|
NLFS and multiDimAdvection using DST3 (=30) |
208 |
|
* verification/lab_sea now tests multiDimAdvection using DST3 (=30) |
209 |
|
o pkg/kpp: add "_d 0" to real constant (if missing); |
210 |
|
update output of exp: natl_box (10.digits); vermix (std, 7.digits) |
211 |
|
and lab_sea, 3.FW (only 6,4,6 digits match) & AD (8.digits). |
212 |
o prepare for "clever pickup" implementation: add new header file "RESTART.h" |
o prepare for "clever pickup" implementation: add new header file "RESTART.h" |
213 |
for internal parameters related to restart process (formerly from PARAMS.h) |
for internal parameters related to restart process (formerly from PARAMS.h) |
214 |
and add startAB parameter to argument list of S/R ADAMS_BASHFORTH2. |
and add startAB parameter to argument list of S/R ADAMS_BASHFORTH2. |
230 |
o add new diagnostics to seaice: advective, diffusive fluxes (only for |
o add new diagnostics to seaice: advective, diffusive fluxes (only for |
231 |
multidim-advection, for scheme 2 they are not filled) and transports, |
multidim-advection, for scheme 2 they are not filled) and transports, |
232 |
thermodynamic growth rates |
thermodynamic growth rates |
233 |
o change units of EmPmR (inside the code) from m/s to kg/m2/s (mass flux) but |
o change units of EmPmR (inside the code, + within coupling interface) |
234 |
leave input file unchanged. Affects results @ truncation level (cg2d match) |
from m/s to kg/m2/s (mass flux) but leave input file unchanged. |
235 |
and update output of experiments: lab_sea(6), global_ocean.90x40x15(10), |
Affects results @ truncation level (cg2d match) and update output of |
236 |
|
experiments: lab_sea(6), global_ocean.90x40x15(10), |
237 |
global_ocean.cs32x15(11x3,10), natl_box(11), tutorial_global_oce_latlon(11) |
global_ocean.cs32x15(11x3,10), natl_box(11), tutorial_global_oce_latlon(11) |
238 |
+ adjoint results: global_ocean_ebm(11) and lab_sea (12). |
+ adjoint results: global_ocean_ebm(11) and lab_sea (12). |
239 |
|
Coupled set-up: allow to restart from previous pickups (cpl_oldPickup=T). |
240 |
Next: will retire convertEmP2rUnit (simply using mass2rUnit instead). |
Next: will retire convertEmP2rUnit (simply using mass2rUnit instead). |
241 |
|
|
242 |
checkpoint59h |
checkpoint59h |