From 8255e0f81b65cc75b4cfa12c2f77b370006abe50 Mon Sep 17 00:00:00 2001 From: Jordan Henderson Date: Wed, 5 Dec 2018 13:37:32 -0600 Subject: Fix for HDFFV-10629 --- release_docs/RELEASE.txt | 10 ++++++++++ src/H5Dmpio.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 767e19c..e63d4c2 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -141,6 +141,16 @@ Bug Fixes since HDF5-1.10.3 release Library ------- + - A bug was discovered in the parallel library where an application + would eventually consume all of the available MPI communicators + when continually writing to a compressed dataset in parallel. This + was due to internal copies of an HDF5 File Access Property List, + which each contained a copy of the MPI communicator, not being + closed at the end of each write operation. This problem was + exacerbated by larger numbers of processors. + + (JTH - 2018/12/05, HDFFV-10629) + - Allow H5detect and H5make_libsettings to take a file as an argument. Rather than only writing to stdout, add a command argument to name diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c index a669593..baec4c4 100644 --- a/src/H5Dmpio.c +++ b/src/H5Dmpio.c @@ -2901,6 +2901,8 @@ done: H5MM_free(num_assigned_chunks_array); if (shared_chunks_info_array) H5MM_free(shared_chunks_info_array); + if (H5Pclose(fapl_id) < 0) + HDONE_ERROR(H5E_DATASET, H5E_CANTCLOSEOBJ, FAIL, "couldn't close FAPL") FUNC_LEAVE_NOAPI(ret_value) } /* end H5D__chunk_redistribute_shared_chunks() */ -- cgit v0.12