Compare commits

...

4 Commits

Author SHA1 Message Date
gsell e447d536a3 configure.ac:
- set version to 2.0.0rc3
2017-03-18 09:27:11 +01:00
gsell 74df1bc676 src/h5core/h5_attribs.c: bugfixes 2016-09-23 17:03:20 +02:00
gsell 9e4c8bd5a4 src/h5core/h5u_io.h
- conditional flushing step data removed, for the time being we flush anyway
2016-09-23 16:45:20 +02:00
gsell bb1cd9c860 src/h5core/h5_file.c
- prototype of a 'h5_set_prop_file_flush_step()' function added
2016-09-23 16:44:30 +02:00
4 changed files with 28 additions and 10 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
#
# Copyright (c) 2006-2016, The Regents of the University of California,
# Copyright (c) 2006-2017, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of any
# required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
# Institut (Switzerland). All rights reserved.
#
# License: see file COPYING in top level of source distribution.
#
AC_INIT([H5hut], [2.0.0rc2], [h5part@lists.psi.ch], H5hut)
AC_INIT([H5hut], [2.0.0rc3], [h5part@lists.psi.ch], H5hut)
AC_PREREQ(2.60)
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_MACRO_DIR([m4])
+5 -5
View File
@@ -231,17 +231,17 @@ h5_write_file_attrib (
const char* const attrib_name,
const h5_types_t attrib_type,
const void* const attrib_value,
const hsize_t attrib_nelem
const h5_size_t attrib_nelem
) {
h5_file_p f = (h5_file_p)f_;
H5_CORE_API_ENTER (h5_err_t,
"f=%p, attrib_name='%s', attrib_type=%lld, "
"attrib_value=%p, attrib_nelem=%llu",
"attrib_value=%p, attrib_nelem=%lld",
f,
attrib_name,
(long long int)attrib_type,
attrib_value,
attrib_nelem);
(long long)attrib_nelem);
CHECK_FILEHANDLE (f);
CHECK_WRITABLE_MODE (f);
if (is_appendonly (f)) {
@@ -273,12 +273,12 @@ h5_write_step_attrib (
h5_file_p f = (h5_file_p)f_;
H5_CORE_API_ENTER (h5_err_t,
"f=%p, attrib_name='%s', attrib_type=%lld, "
"attrib_value=%p, attrib_nelem=%llu",
"attrib_value=%p, attrib_nelem=%lld",
f,
attrib_name,
(long long int)attrib_type,
attrib_value,
attrib_nelem);
(long long)attrib_nelem);
CHECK_FILEHANDLE (f);
CHECK_TIMEGROUP (f);
CHECK_WRITABLE_MODE (f);
+21
View File
@@ -298,6 +298,27 @@ h5_set_prop_file_align (
H5_RETURN (H5_SUCCESS);
}
#if 0
h5_err_t
h5_set_prop_file_flush_step (
h5_prop_t _props
) {
h5_prop_file_t* props = (h5_prop_file_t*)_props;
H5_CORE_API_ENTER (
h5_err_t,
"props=%p, align=%lld",
props, (long long int)align);
if (props->class != H5_PROP_FILE) {
H5_RETURN_ERROR (
H5_ERR_INVAL,
"Invalid property class: %lld",
(long long int)props->class);
}
props-> = align;
H5_RETURN (H5_SUCCESS);
}
#endif
h5_err_t
h5_set_prop_file_throttle (
h5_prop_t _props,
-3
View File
@@ -230,9 +230,6 @@ h5u_write_data (
f->props->xfer_prop,
data));
TRY (h5priv_end_throttle (f));
if (f->props->flags & H5_FLUSH_STEP)
TRY (hdf5_flush (f->step_gid, H5F_SCOPE_LOCAL));
TRY (hdf5_close_dataset (dset_id));
f->empty = 0;