#1467: CarpetIOHDF5 complains about invalid H5Pclose -------------------------------+-------------------------------------------- Reporter: anton@… | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: Carpet | Version: development version Keywords: | -------------------------------+-------------------------------------------- I've recently updated to a newer Carpet and now I'm seeing lots of HDF5 spam about invalid H5Pclose. I've traced the problem to commit 05587a51734724536c183c9929967ecf3c2c0072 (ticket 1146).
It seems to me that HDF5_ERROR (H5Pclose (plist)); added in WriteVarUnchunked in Output.cc is incorrect, since plist also gets closed right before the function returns. Attached patches fix the problem for me.