Commit 1bda4e3c authored by Marc Howison's avatar Marc Howison

H5Part 1.6.4 release

parent 819ddc47
#### H5PART 1.6.4 ############################################################
Fixed bug where H5PartSetViewIndices was not setting an empty view when the
number of elements is 0.
Set a threshold on the HDF5 alignment parameter so that small metadata writes
are not aligned, which causes large gaps in the file.
#### H5PART 1.6.3 ############################################################ #### H5PART 1.6.3 ############################################################
New build system uses libtool and can build shared libraries. New build system uses libtool and can build shared libraries.
......
# Every configure script must call AC_INIT before doing anything else. # Every configure script must call AC_INIT before doing anything else.
# AC_INIT (package, version, [bug-report], [tarname]) # AC_INIT (package, version, [bug-report], [tarname])
AC_INIT([H5Part], [1.6.3], [h5part@lists.psi.ch], H5Part) AC_INIT([H5Part], [1.6.4], [h5part@lists.psi.ch], H5Part)
# Ensure that a recent enough version of Autoconf is being used. # Ensure that a recent enough version of Autoconf is being used.
# If the version of Autoconf being used to create configure is earlier than version, # If the version of Autoconf being used to create configure is earlier than version,
......
...@@ -291,9 +291,9 @@ _H5Part_open_file ( ...@@ -291,9 +291,9 @@ _H5Part_open_file (
if ( align != 0 ) { if ( align != 0 ) {
_H5Part_print_info ( _H5Part_print_info (
"Setting HDF5 alignment to %ld bytes", "Setting HDF5 alignment to %ld bytes with threshold at half that many bytes",
align ); align );
if (H5Pset_alignment ( f->access_prop, 0, align ) < 0) { if (H5Pset_alignment ( f->access_prop, align/2, align ) < 0) {
HANDLE_H5P_SET_FAPL_ERR; HANDLE_H5P_SET_FAPL_ERR;
goto error_cleanup; goto error_cleanup;
} }
...@@ -2859,9 +2859,9 @@ _set_view_indices ( ...@@ -2859,9 +2859,9 @@ _set_view_indices (
herr = _reset_view ( f ); herr = _reset_view ( f );
if ( herr < 0 ) return herr; if ( herr < 0 ) return herr;
if ( indices == NULL || nelems <= 0 ) { if ( indices == NULL || nelems < 0 ) {
_H5Part_print_warn ( _H5Part_print_warn (
"View indices array is null or size is <= 0: reseting view." ); "View indices array is null or size is < 0: reseting view." );
return H5PART_SUCCESS; return H5PART_SUCCESS;
} }
......
...@@ -16,10 +16,10 @@ extern "C" { ...@@ -16,10 +16,10 @@ extern "C" {
#include "H5MultiBlock.h" #include "H5MultiBlock.h"
#endif #endif
#define H5PART_VER_STRING "1.6.3" #define H5PART_VER_STRING "1.6.4"
#define H5PART_VER_MAJOR 1 #define H5PART_VER_MAJOR 1
#define H5PART_VER_MINOR 6 #define H5PART_VER_MINOR 6
#define H5PART_VER_RELEASE 3 #define H5PART_VER_RELEASE 4
/* error values */ /* error values */
#define H5PART_SUCCESS 0 #define H5PART_SUCCESS 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment