Revision
1.1 -
(
hide annotations)
(
download)
Fri Sep 24 18:39:35 2010 UTC
(13 years, 9 months ago)
by
gforget
Branch:
MAIN
File MIME type: text/plain
o eesup and pkg/mdsio: ALLOW_WHIO
Option to write/read 2D fields to files including tiles halos.
The main purpose is for adjoint related "tape I/O".
The secondary purpose is for debugging phases.
A word on those rather specifically intended purposes.
The code was meant to be stripped down to the bare minimum.
Typically, there is a unique and basic mapping to the global
buffer (tile by tile, then proc by proc, then level by level), and
byteswaps and meta-files are omitted. Indeed the (*_WH*) code is not
meant to generate user friendly outputs of various shapes and forms.
Rather it is intended, for the knowledgeabale developers,
to be largely independent of the many mdsio options, to allow
outputs of tiles+halos in debugging phases and in adjoint runs,
and to allow some flexibility in tuning (adoint) I/O depending on each
file system behavior. With regard to tuning, most of the potential knobs
(to leave files open, to allocate the I/O indep. of usesinglecpuio,
to specify directories, to specify the typical size of I/O calls, etc.)
are not yet included, and will be added if they prove useful.