diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-12-25 22:43:20 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-12-25 22:43:20 (GMT) |
commit | 41e958a30ffd23fd62945e100b812c0831a16b58 (patch) | |
tree | c08d95107f3cd5b88c0eab0420b6a1df3ecd1cd1 /acsite.m4 | |
parent | 4b0b1191da3e9e0d05564c815b29aa9e5d7e0971 (diff) | |
download | hdf5-41e958a30ffd23fd62945e100b812c0831a16b58.zip hdf5-41e958a30ffd23fd62945e100b812c0831a16b58.tar.gz hdf5-41e958a30ffd23fd62945e100b812c0831a16b58.tar.bz2 |
[svn-r7978] Purpose:
Bug fix
Description:
MPIO driver did not detect partial read or write. It assumed if read
completed, all bytes requested are read. Therefore, if a dataset was
not completely written yet, the unread part will not be filled with
default fill value.
Solution:
Added the MPI_Get_elements call to find exactly how many bytes
are read (or written). For read case, if not enough is read,
the rest is padded with zeros. For write case, it is an error
if not able to write them all in first attempt. (It is not
always possible to repeat write for MPIO since file-view may
be changed, collective would hang, etc. So, we do just one attempt.)
Platforms tested:
eirene (pp). Should work for other platforms since these
have been tested in v1.6.
Misc. update:
Diffstat (limited to 'acsite.m4')
0 files changed, 0 insertions, 0 deletions