[MITgcm-cvs] MITgcm/eesupp/src CVS Commit
Gael Forget
gforget at faulks.csail.mit.edu
Fri Sep 24 14:38:26 EDT 2010
Update of /u/gcmpack/MITgcm/eesupp/src
In directory faulks.csail.mit.edu:/u/u2/gforget/MITgcm/eesupp/src
Modified Files:
Makefile
Added Files:
gather_2d_wh_rx.template scatter_2d_wh_rx.template
Log Message:
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.
More information about the MITgcm-cvs
mailing list