diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-12-13 20:14:32 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-12-13 20:14:32 (GMT) |
commit | 700e339e1054ae07c3093126de575be8e304424b (patch) | |
tree | 89e736167be15b42e5cc46584717efe9f0e011b4 /fortran/examples | |
parent | 4b7fe911263077521c00f7c2e3a8d651152fdef2 (diff) | |
download | hdf5-700e339e1054ae07c3093126de575be8e304424b.zip hdf5-700e339e1054ae07c3093126de575be8e304424b.tar.gz hdf5-700e339e1054ae07c3093126de575be8e304424b.tar.bz2 |
[svn-r4723] Purpose:
Bug fix (or more like feature)
Description:
MPI_File_open does not truncate the filesize if file already exists.
This created confusion during debugging as what the real file size
is. It also interfere the real write bandwidth since the times
required to allocate new disk-space vanishes for subsequent writes
that are for offset shorter than previous file sizes.
Added a MPI_File_set_size to reset the file size to 0 for every new
file.
Another bug is that the 'remove()' call may not work for MPIO/PHDF5
files. (e.g., filename may have some MPI prefix like "pfs:filename").
Replaced "remove" with MPI_File_delete for those cases.
Platforms tested:
modi4(pp) and eirene (pp)
Diffstat (limited to 'fortran/examples')
0 files changed, 0 insertions, 0 deletions