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