Concern With MPI IO Type Constructor Limitation

Wright_Dave (wrightdv@pwfl.com)
Mon, 19 Aug 1996 11:06:06 -0400

I was reviewing the MPI-IO API, especially the part of describing the
type of data in a file. It appears that the non-header portion of the
file must be all one type, for example float/real, for MPI-IO to
operate on the file.

Is this true?

If so, how do we support files that are a mix of integers and floats?
Some unstructured codes, for example, store index information along
with floating point numbers on each "record" in the file. How do we
use MPI-IO in this case to efficiently read/write the file? I don't
think the we should have to redefine the file layout each time a
different type of information needs to be read or written.

Please comment.

----------------------------------------------------------------------
Dave Wright High Performance Computing/Computational Fluid Dynamics
voice:407-796-8477 fax:407-796-6049 internet: wrightdv@pwfl.com
Pratt & Whitney, PO Box 109600, M/S 712-63, West Palm Beach, FL 33410