4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: |
8 |
|
fix masking in free-drift S/R ; update results of exp. lab_sea.fd |
9 |
|
o pkg/obcs: |
10 |
|
New S/R to copy tracer value from the OB location to narrow band region |
11 |
|
(width = same as overlap) beyond the OB: preserve OB value (needed for |
12 |
|
high-order scheme) which were overwritten by EXCH call if in overlap |
13 |
|
region. Applied to theta, salt, ptracer and advected seaice variables. |
14 |
|
With seaice: use maskInC in similar way as in gad_advection.F, |
15 |
|
in seaice_advection.F and advect.F. |
16 |
|
Update output of experiment seaice_obcs and change exp4 to test OBCS with |
17 |
|
4th order Adv.Scheme. for pasive salt and ptracer. |
18 |
|
o tools/genmake2: |
19 |
|
- when looking for an optfile (not specified), only search for Fortran compiler |
20 |
|
(remove sym-link test + setting of CPP + makedepend check + C-compiler check) |
21 |
|
- in get_fortran_c_namemangling: use "$CC $CFLAG" to compile C test programm |
22 |
|
(instead of "$MAKE genmake_test.o" since an existing Makefile can be wrong) |
23 |
|
- set default for CPP to "cpp -traditional -P" (was the case without specifying |
24 |
|
an optfile, but otherwise default was just "cpp". |
25 |
|
- comment out PLATFORM=$p_PLATFORM (no idea where p_PLATFORM comes from) |
26 |
|
- when "CC" is not set in the optfile, look for possible C compiler |
27 |
|
(instead of just setting CC=cc) |
28 |
|
- put back version v.169 modif (from 2008/02/15), was dropped in v.173 changes: |
29 |
|
=> add a ".F" to ".o" rule for source files with no "#include" (such as |
30 |
|
port_rand.F); otherwise, default ignores FOPTIM and just uses FFLAGS. |
31 |
|
- move gfortran before g77 in list of possible Fortran compiler (consistent |
32 |
|
with reference compiler switch from g77 to gfortran) |
33 |
|
o pkg/seaice: |
34 |
|
o remove SEAICE_OLD_AND_BAD_DISCRETIZATION-code, add a test to |
35 |
|
seaice_check that stops the model, when the CPP flag is used. |
36 |
|
o seaice_growth.F: make capping of ice volume conserving by returning the |
37 |
|
capped ice as freshwater to EmPmR. This does not change the verification |
38 |
|
experiments but will change runs where the capping is acutally active |
39 |
|
o change reference platform+compiler from faulks+g77 to baudelaire+gfortran |
40 |
|
(except the 2 fizhi test exp.); update output of exp.: bottom_ctrl_5x5, |
41 |
|
global_ocean.cs32x15 (icedyn, thsice, AD thsice), global_ocean_ebm (AD), |
42 |
|
lab_sea (fd, hb87, salt_plume), MLAdjust (3/5) and vermix (dd) |
43 |
|
o tools/genmake2: |
44 |
|
- merge genmake_warnings & genmake_errors into 1 log file: "genmake.log") |
45 |
|
- change DUMPSTATE default to false (can use "-ds" option to switch it to T) |
46 |
|
- clean previous genmake log files before anything else. |
47 |
|
- change Makefile to remove testreport log files (*.tr_log) and genmake log |
48 |
|
files only with "CLEAN" target (instead of "Clean"); |
49 |
|
o pkg/generic_advdiff: |
50 |
|
Change OBCS in multiDim advection (gad_advection.F): |
51 |
|
Use maskInC to prevent intermediate update of tracer-field in OB regions, |
52 |
|
thus keeping current-time-step OB values; and remove the call to OBCS_APPLY |
53 |
|
which were applying future time-step OB values. |
54 |
|
This way, all explicit calculations use current-time-step OB values |
55 |
|
(simpler and more consistent). |
56 |
|
Affects results when set-up uses time-varying OBC and multi-dim advection; |
57 |
|
update output of experiment seaice_obcs. |
58 |
|
o pkg/seaice: |
59 |
|
move OPTIONS (formerly locally defined) to SEAICE_OPTIONS.h: |
60 |
|
this includes SEAICE_GROWTH_LEGACY (+ SEAICE_DO_OPEN_WATER_GROWTH & |
61 |
|
SEAICE_OCN_MELT_ACT_ON_AREA ) and SEAICE_SOLVE4TEMP_LEGACY. |
62 |
|
Default (pkg/seaice/SEAICE_OPTIONS.h) is to define SEAICE_SOLVE4TEMP_LEGACY |
63 |
|
but leave SEAICE_GROWTH_LEGACY undef ; For now, keep verification exp |
64 |
|
unchanged (SEAICE_GROWTH_LEGACY defined in */code*/SEAICE_OPTIONS.h) |
65 |
|
o pkg aim (2010/10/26): |
66 |
|
- Introduce ALLOW_INSOLATION, moving toward a more general incoming solar radiation |
67 |
|
formulation with obliquity, eccentricity, ... as run-time parameters, |
68 |
|
- Introduce diagnostics for top-of-the-atmaophere incoming solar radiation and |
69 |
|
upward shortwave radition at the surface (all-sky and clear-sky). |
70 |
|
o pkg/obcs: |
71 |
|
- writing sections with globalFiles=T does not work: switch to tiled-files |
72 |
|
when writing sections for OBCS (change pkg/rw/write_rec.F accordingly). |
73 |
|
- fix index bug (OB_Ie -> OB_Iw_) in obcs_apply_uvice.F |
74 |
|
- apply OBCS_SEAICE_COMPUTE_UVICE to both uice and vice at all obcs |
75 |
|
|
76 |
|
checkpoint62m (2010/10/21) |
77 |
|
o pkg/seaice: vectorize seaice_solve4temp.F |
78 |
|
- move iterations loops outside of i/j-loops |
79 |
|
- requires 2D arrays for TB and effConduct |
80 |
|
- add 2D iceOrNot to replace HICE_ACTUAL.GT.0, as HICE_ACTUAL is |
81 |
|
modified in this routine |
82 |
|
- a little bit of clean up, adjusting indentation, etc. |
83 |
|
- replaced a few TEN**a by exp(a*log(10.)) in new code for better |
84 |
|
performance and '**TWO' by '**2' (because TWO is a float), |
85 |
|
replaced ONE, ZERO |
86 |
|
o eesupp/src: |
87 |
|
fix flow dir for exch1_z_RX_cube, exch1_uv_RX_cube & exch1_bg_RX_cube |
88 |
|
o pkg/seaice/seaice_growth.F |
89 |
|
Revision 1.89 of seaice_growth.F completes the overall october 2010 revision and |
90 |
|
merging process. The merged routine has two branches, and one activates the 'evolution' |
91 |
|
branch by setting SEAICE_GROWTH_LEGACY to undef (at the top of the routine for now). |
92 |
|
In summary, here is what the '10/10 revision' did consist of |
93 |
|
part 1: seaice_growth.F revisions 1.71 to 1.75 |
94 |
|
- Preliminary seaice_growth.F clean-up, keeping test results strictly unchanged. |
95 |
|
The emphasis here was on improving readability (e.g. by trying to use meaningful |
96 |
|
variable names) and modularity (e.g. by adding arrays to store heff etc. updates). |
97 |
|
part 1.5: |
98 |
|
- revising the lab_sea experiment to make it a more useful (i.e. stable |
99 |
|
and representative of an actual model run). This was done by generating a |
100 |
|
(winter) pickup to start from, switching back the main experiment dynamic |
101 |
|
solver from evp to lsr, having one of the experiments use the free drift solution. |
102 |
|
part 2: seaice_growth.F revisions 1.76 to 1.85 |
103 |
|
- Sorting out hard-coded constants that prevented heat and fresh water conservation. |
104 |
|
- Sorting out the various fields units and sign (set early on and reset at the end) |
105 |
|
to avoid numerous scalings/re-scalings. By v1.85 the basic unit for ice, heat and |
106 |
|
fresh water stock is 'effective ice meters', and >0 implies more ice/snow. |
107 |
|
- Using tendency terms arrays (d_HEFF* etc.) to alleviate remaining code locks, |
108 |
|
and simplifying logical expressions to further improve readibility. |
109 |
|
part 3: seaice_growth.F revisions 1.86 to 1.89 |
110 |
|
- Re-organize the blocks of code more logically. |
111 |
|
- Merging the '_if.F' pieces that add something new. |
112 |
|
o pkg/thsice: |
113 |
|
- vectorize thsice_solve4temp and thsice_get_exf. |
114 |
|
Problem: thsice_solve4temp has an unvectorizable statement that |
115 |
|
might also be problematic for TAF |
116 |
|
- thsice_get_exf: add the ALLOW_BULK_LARGEYEAGER04 CPP-flag. This |
117 |
|
does not change the verifcation experiment, but will change all |
118 |
|
experiments that have this flag undefined (not tested in verification); |
119 |
|
a little reorganization to save a few 2D fields and recomputations |
120 |
|
- 1st step of revisiting thsice adjoint (major recomp. sorted out) |
121 |
|
- 2nd step: fix some store dirs |
122 |
|
o seems to work somewhat, i.e. using ifort but not g77 |
123 |
|
o likely cause are incomplete init. or recomputation |
124 |
|
o start verification/global_ocean.cs32x15/input_ad.thsice |
125 |
|
o pkg/obcs: add support for exch2 |
126 |
|
- the position of the boundary and prescribed values are specified using |
127 |
|
a global domain with exch2 facets stacked |
128 |
|
- in x for N,S boundaries (like W2_mapIO=-1) |
129 |
|
- in y for E,W boundaries (so E,W boundaries do not overlap) |
130 |
|
o pkg/mdsio: add support for writing global sections with exch2 |
131 |
|
file layout is as for obcs described above: |
132 |
|
- for x-z sections, facets are stacked in x (like W2_mapIO=-1) |
133 |
|
- for y-z sections, facets are stacked in y |
134 |
|
o pkg/thsice: |
135 |
|
- change a few routines for better vectorization: thsice_albedo.F, |
136 |
|
thsice_step_temp.F, and in thsice_calc_thickn.F. Results are |
137 |
|
not affected, but in particular the latter routine has changed |
138 |
|
dramatically (not necessarily easier to read now). |
139 |
|
- re-arrange calculation in THSICE_SOLVE4TEMP: move outside of i,j loops |
140 |
|
iteration loop and call to S/R THSICE_GET_BULKF & THSICE_GET_EXF. |
141 |
|
o verification/lab_sea: |
142 |
|
- overhaul of the forward model experiments. The main motivation |
143 |
|
for this revision is that lab_sea has proven quite fragile (when |
144 |
|
changing the sea-ice code, and switching platforms) to a point |
145 |
|
when failures were very hard to attribute to specific code problems. |
146 |
|
- the suspected reason for this fragility is noise amplification by evp so, |
147 |
|
to start with, we decided to replace evp with lsr in the main experiment. |
148 |
|
- the input.lsr experiment thus became obsolete and was removed. |
149 |
|
- it was replaced with the input.fd experiment that uses an |
150 |
|
analytical "free drift" solution as the ice velocity field. |
151 |
|
- Taken together, input (lsr), input.fd (free drift) and input.hb87 (evp) |
152 |
|
will hopefully allow us to discriminate problems due to dynamic solvers |
153 |
|
from problems due to the thermodynamic code. input.salt_plume (lsr) allows |
154 |
|
us to test additional options, along with the salt plume package. |
155 |
|
- Finally a pickup was generated (at the end of a one year run) to |
156 |
|
make the tests more representative of an actual model run. Previously |
157 |
|
the tests starting point was a 1m thickness of ice everywhere. |
158 |
|
o pkg/seaice: |
159 |
|
- introducing S\R seaice_freedrift.F that compute the |
160 |
|
analytical solution to an approximate ice momentum |
161 |
|
equation (i.e. the simple stress/coriolis balance). |
162 |
|
- define SEAICE_ALLOW_FREEDRIFT to trigger the computation |
163 |
|
of the free drift velocity field, and enable its use. |
164 |
|
To actually use the free drift solution as the model ice |
165 |
|
velocity field set SEAICEuseFREEDRIFT to .TRUE. in data.seaice. |
166 |
|
o move "useOASIS" from PARAMS.h to EEPARAMS.h and read it from "eedata" |
167 |
|
|
168 |
|
checkpoint62l (2010/10/04) |
169 |
|
o pkg/seaice: |
170 |
|
-fix the USE_ORIGINAL_SBI version (for variable freezing point); |
171 |
|
-use "celsius2K" in SEAICE_VARIABLE_FREEZING_POINT and in new |
172 |
|
version (with USE_ORIGINAL_SBI undef); |
173 |
|
o add hooks for new packages OASIS, the package will follow |
174 |
|
(hooks exclude the seaice pkg for now) |
175 |
|
o pkg/autodiff: ALLOW_AUTODIFF_WHTAPEIO |
176 |
|
Option to use mdsio_read_whalos.F/mdsio_write_whalos.F, |
177 |
|
rather than mdsio_readvector.F/mdsio_writevector.F, within |
178 |
|
adread_adwrite.F to read/write adjoint-related tapes to disk. |
179 |
|
o eesupp and pkg/mdsio: ALLOW_WHIO |
180 |
|
Option to write/read 2D fields to files including tiles halos. |
181 |
|
The main purpose is for adjoint related "tape I/O". |
182 |
|
The secondary purpose is for debugging phases. |
183 |
|
A word on those rather specifically intended purposes. |
184 |
|
The code was meant to be stripped down to the bare minimum. |
185 |
|
Typically, there is a unique and basic mapping to the global |
186 |
|
buffer (tile by tile, then proc by proc, then level by level), and |
187 |
|
byteswaps and meta-files are omitted. Indeed the (*_WH*) code is not |
188 |
|
meant to generate user friendly outputs of various shapes and forms. |
189 |
|
Rather it is intended, for the knowledgeabale developers, |
190 |
|
to be largely independent of the many mdsio options, to allow |
191 |
|
outputs of tiles+halos in debugging phases and in adjoint runs, |
192 |
|
and to allow some flexibility in tuning (adoint) I/O depending on each |
193 |
|
file system behavior. With regard to tuning, most of the potential knobs |
194 |
|
(to leave files open, to allocate the I/O indep. of usesinglecpuio, |
195 |
|
to specify directories, to specify the typical size of I/O calls, etc.) |
196 |
|
are not yet included, and will be added if they prove useful. |
197 |
|
o pkg/seaice: |
198 |
|
fix uninitialised arrays in USE_ORIGINAL_SBI version of seaice_solve4temp.F |
199 |
|
o pkg/seaice: |
200 |
|
new S/R seaice_solve4temp.F: this is the merged version of Ian Fenty |
201 |
|
code (seaice_budget_ice_if.F) which enable to recover old standard |
202 |
|
code (seaice_budget_ice.F) when option USE_ORIGINAL_SBI is defined. |
203 |
|
temporary: add "#define USE_ORIGINAL_SBI" at the top of seaice_solve4temp.F. |
204 |
|
o model/src (rStar): |
205 |
|
use simple average (not area weighted) of rStarFac at U,V point when using |
206 |
|
vectorInvariant and selectKEscheme=1,3 (consistent with mom. vertical advection) |
207 |
|
update output of exp. fizhi-cs-32x32x40 and fizhi-cs-aqualev20. |
208 |
|
|
209 |
|
checkpoint62k (2010/09/17) |
210 |
|
o adjoint |
211 |
|
* changed verification/global_ocean.cs32x15 ; adjoint now tests |
212 |
|
Adams-Bashforth 3 + NLFS + RSTAR |
213 |
|
* some more modifs required for ECCO-GODAE v4 |
214 |
|
o pkg/seaice |
215 |
|
add SEAICE_AGE_VOL option to use volume instead of area for |
216 |
|
integrating SEAICE_AGE |
217 |
o model/src: |
o model/src: |
218 |
first check-in of sigma & hybrid-sigma coordinate code ; also includes |
first check-in of sigma & hybrid-sigma coordinate code ; also includes |
219 |
non-linear free-surface parts ; but pressure-gradient not yet coded. |
non-linear free-surface parts ; but pressure-gradient not yet coded. |
483 |
but keep the former optfile for few weeks for smooth transition |
but keep the former optfile for few weeks for smooth transition |
484 |
o pkg/ecco |
o pkg/ecco |
485 |
- allow user defined cost function contributions |
- allow user defined cost function contributions |
486 |
CPP: ALLOW_USERCOST_CONTRIBUTION |
CPP: ALLOW_USERCOST_CONTRIBUTION |
487 |
USAGE: compute contributions in cost_usercost_all.F |
USAGE: compute contributions in cost_usercost_all.F |
488 |
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
489 |
the two options are complementary. |
the two options are complementary. |
490 |
o pkg/smooth |
o pkg/smooth |