diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-24 13:47:14 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-24 13:47:14 (GMT) |
commit | ace1f474b7135b1c479c5232643cabc477038350 (patch) | |
tree | 169a3af1de0b5b5dc937c30c831446832cd8149e /release_docs | |
parent | 4e184b81a232187ae6f21daf783c35f0bc6dacc1 (diff) | |
download | hdf5-ace1f474b7135b1c479c5232643cabc477038350.zip hdf5-ace1f474b7135b1c479c5232643cabc477038350.tar.gz hdf5-ace1f474b7135b1c479c5232643cabc477038350.tar.bz2 |
[svn-r5690] Purpose:
Bug Fix
Description:
When parallel I/O is used, the MPI-I/O VFL driver uses a "lazy" model to
call MPI_File_set_view() in order to reduce the number of calls to this
function. However, this is unsafe, because if a collective I/O which uses
MPI derived types (and thus uses MPI_File_set_view()) is immediately
followed by an independent I/O, the code will attempt to call
MPI_File_set_view() in order to switch back to the default view of the
file. MPI_File_set_view() is a collective call however, and this causes
the application to hang.
Solution:
Removed "lazy" MPI_File_set_view() code, instead set the file view when it
is needed (with MPI derived types) and immediately set the file view back to
the default view before leaving the I/O routine.
Platforms tested:
IRIX64 6.5 (modi4) w/parallel. Also, tested with the latest development
and release code for the SAF library, which now works correctly with this
change. (Although the release branch of the SAF library seems to have a
bug, this 1.4.4 release candidate code gets as far as the version the SAF
library is released on top of (1.4.2-patch1, I believe)).
Diffstat (limited to 'release_docs')
-rw-r--r-- | release_docs/RELEASE.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index c07a2a3..58fc2b5 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -35,6 +35,9 @@ Bug Fixes since HDF5-1.4.0 Library ------- + * Fixed bug in parallel I/O routines where a collective I/O which used + MPI derived types, followed by an independent I/O would cause the library + to hang. QAK 2002/06/24 * Fixed bug in chunking routines where they were using internal allocation free routines, instead of malloc/free, preventing user filters from working correctly. Chunks are now allocated/freed with malloc/free and |