mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r26069] Removed the option to selectively disable internal filters like n-bit
at compile time. Fixes HDFFV-9086 Tested on: jam, both serial and parallel w/ fortran & C++
This commit is contained in:
parent
cc7cdaac59
commit
45aece2434
@ -296,7 +296,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -385,10 +384,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -456,7 +456,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -545,10 +544,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -404,7 +404,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -493,10 +492,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -470,7 +470,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -559,10 +558,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -461,7 +461,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -550,10 +549,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -148,18 +148,6 @@
|
||||
/* Define if support for deflate (zlib) filter is enabled */
|
||||
#cmakedefine H5_HAVE_FILTER_DEFLATE @H5_HAVE_FILTER_DEFLATE@
|
||||
|
||||
/* Define if support for Fletcher32 checksum is enabled */
|
||||
#cmakedefine H5_HAVE_FILTER_FLETCHER32 @H5_HAVE_FILTER_FLETCHER32@
|
||||
|
||||
/* Define if support for nbit filter is enabled */
|
||||
#cmakedefine H5_HAVE_FILTER_NBIT @H5_HAVE_FILTER_NBIT@
|
||||
|
||||
/* Define if support for scaleoffset filter is enabled */
|
||||
#cmakedefine H5_HAVE_FILTER_SCALEOFFSET @H5_HAVE_FILTER_SCALEOFFSET@
|
||||
|
||||
/* Define if support for shuffle filter is enabled */
|
||||
#cmakedefine H5_HAVE_FILTER_SHUFFLE @H5_HAVE_FILTER_SHUFFLE@
|
||||
|
||||
/* Define if support for szip filter is enabled */
|
||||
#cmakedefine H5_HAVE_FILTER_SZIP @H5_HAVE_FILTER_SZIP@
|
||||
|
||||
|
82
configure
vendored
82
configure
vendored
@ -670,11 +670,6 @@ CONFIG_DATE
|
||||
H5_VERSION
|
||||
DIRECT_VFD_CONDITIONAL_FALSE
|
||||
DIRECT_VFD_CONDITIONAL_TRUE
|
||||
USE_FILTER_SCALEOFFSET
|
||||
USE_FILTER_NBIT
|
||||
USE_FILTER_FLETCHER32
|
||||
USE_FILTER_SHUFFLE
|
||||
FILTERS
|
||||
ADD_PARALLEL_FILES
|
||||
USINGMEMCHECKER
|
||||
CLEARFILEBUF
|
||||
@ -921,7 +916,6 @@ enable_clear_file_buffers
|
||||
enable_using_memchecker
|
||||
enable_parallel
|
||||
with_mpe
|
||||
enable_filters
|
||||
with_default_vfd
|
||||
enable_direct_vfd
|
||||
with_default_plugindir
|
||||
@ -1616,9 +1610,6 @@ Optional Features:
|
||||
picky about it's memory operations and also disables
|
||||
the library's free space manager code. Default=no.
|
||||
--enable-parallel Search for MPI-IO and MPI support files
|
||||
--enable-filters=all Turn on all internal I/O filters. One may also
|
||||
specify a comma-separated list of filters or the
|
||||
word no. The default is all internal I/O filters.
|
||||
--enable-direct-vfd Build the Direct I/O Virtual File Driver
|
||||
[default=yes]
|
||||
--enable-dconv-exception
|
||||
@ -28558,79 +28549,6 @@ $as_echo "#define HAVE_MPE 1" >>confdefs.h
|
||||
fi
|
||||
fi
|
||||
|
||||
## ----------------------------------------------------------------------
|
||||
## Turn on internal I/O filters by setting macros in header files
|
||||
## Internal I/O filters are contained entirely within the library and do
|
||||
## not depend on external headers or libraries. The shuffle filter is
|
||||
## an example of an internal filter, while the gzip filter is an example of
|
||||
## an external filter. Each external filter is controlled with an
|
||||
## "--with-foo=" configure flag.
|
||||
##
|
||||
|
||||
USE_FILTER_SHUFFLE="no"
|
||||
USE_FILTER_FLETCHER32="no"
|
||||
USE_FILTER_NBIT="no"
|
||||
USE_FILTER_SCALEOFFSET="no"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for I/O filters" >&5
|
||||
$as_echo_n "checking for I/O filters... " >&6; }
|
||||
# Check whether --enable-filters was given.
|
||||
if test "${enable_filters+set}" = set; then :
|
||||
enableval=$enable_filters; FILTERS=$enableval
|
||||
fi
|
||||
|
||||
|
||||
## Eventually: all_filters="shuffle,foo,bar,baz"
|
||||
all_filters="shuffle,fletcher32,nbit,scaleoffset"
|
||||
case "X-$FILTERS" in
|
||||
X-|X-all)
|
||||
FILTERS=$all_filters
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: all ($FILTERS)" >&5
|
||||
$as_echo "all ($FILTERS)" >&6; }
|
||||
;;
|
||||
X-no|X-none)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
||||
$as_echo "none" >&6; }
|
||||
FILTERS="none"
|
||||
;;
|
||||
*)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FILTERS" >&5
|
||||
$as_echo "$FILTERS" >&6; }
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -n "$FILTERS"; then
|
||||
for filter in `echo $FILTERS | tr ${as_cr_letters}',' ${as_cr_LETTERS}' '`; do
|
||||
## ------------------------------------------------------------------
|
||||
## Have to use separate 'if' construct for each filter, so that
|
||||
## autoheader can detect the AC_DEFINE for each one...
|
||||
##
|
||||
if test $filter = "SHUFFLE"; then
|
||||
|
||||
$as_echo "#define HAVE_FILTER_SHUFFLE 1" >>confdefs.h
|
||||
|
||||
USE_FILTER_SHUFFLE="yes"
|
||||
fi
|
||||
if test $filter = "FLETCHER32"; then
|
||||
|
||||
$as_echo "#define HAVE_FILTER_FLETCHER32 1" >>confdefs.h
|
||||
|
||||
USE_FILTER_FLETCHER32="yes"
|
||||
fi
|
||||
if test $filter = "NBIT"; then
|
||||
|
||||
$as_echo "#define HAVE_FILTER_NBIT 1" >>confdefs.h
|
||||
|
||||
USE_FILTER_NBIT="yes"
|
||||
fi
|
||||
if test $filter = "SCALEOFFSET"; then
|
||||
|
||||
$as_echo "#define HAVE_FILTER_SCALEOFFSET 1" >>confdefs.h
|
||||
|
||||
USE_FILTER_SCALEOFFSET="yes"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
## --------------------------------------------------------------------------
|
||||
## Should the Default Virtual File Driver be compiled?
|
||||
##
|
||||
|
67
configure.ac
67
configure.ac
@ -2527,73 +2527,6 @@ if test -n "$PARALLEL"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
## ----------------------------------------------------------------------
|
||||
## Turn on internal I/O filters by setting macros in header files
|
||||
## Internal I/O filters are contained entirely within the library and do
|
||||
## not depend on external headers or libraries. The shuffle filter is
|
||||
## an example of an internal filter, while the gzip filter is an example of
|
||||
## an external filter. Each external filter is controlled with an
|
||||
## "--with-foo=" configure flag.
|
||||
##
|
||||
AC_SUBST([FILTERS])
|
||||
AC_SUBST([USE_FILTER_SHUFFLE]) USE_FILTER_SHUFFLE="no"
|
||||
AC_SUBST([USE_FILTER_FLETCHER32]) USE_FILTER_FLETCHER32="no"
|
||||
AC_SUBST([USE_FILTER_NBIT]) USE_FILTER_NBIT="no"
|
||||
AC_SUBST([USE_FILTER_SCALEOFFSET]) USE_FILTER_SCALEOFFSET="no"
|
||||
AC_MSG_CHECKING([for I/O filters])
|
||||
AC_ARG_ENABLE([filters],
|
||||
[AS_HELP_STRING([--enable-filters=all],
|
||||
[Turn on all internal I/O filters. One may
|
||||
also specify a comma-separated list of filters
|
||||
or the word no. The default is all internal
|
||||
I/O filters.])],
|
||||
[FILTERS=$enableval])
|
||||
|
||||
## Eventually: all_filters="shuffle,foo,bar,baz"
|
||||
all_filters="shuffle,fletcher32,nbit,scaleoffset"
|
||||
case "X-$FILTERS" in
|
||||
X-|X-all)
|
||||
FILTERS=$all_filters
|
||||
AC_MSG_RESULT([all ($FILTERS)])
|
||||
;;
|
||||
X-no|X-none)
|
||||
AC_MSG_RESULT([none])
|
||||
FILTERS="none"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT([$FILTERS])
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -n "$FILTERS"; then
|
||||
for filter in `echo $FILTERS | tr ${as_cr_letters}',' ${as_cr_LETTERS}' '`; do
|
||||
## ------------------------------------------------------------------
|
||||
## Have to use separate 'if' construct for each filter, so that
|
||||
## autoheader can detect the AC_DEFINE for each one...
|
||||
##
|
||||
if test $filter = "SHUFFLE"; then
|
||||
AC_DEFINE([HAVE_FILTER_SHUFFLE], [1],
|
||||
[Define if support for shuffle filter is enabled])
|
||||
USE_FILTER_SHUFFLE="yes"
|
||||
fi
|
||||
if test $filter = "FLETCHER32"; then
|
||||
AC_DEFINE([HAVE_FILTER_FLETCHER32], [1],
|
||||
[Define if support for Fletcher32 checksum is enabled])
|
||||
USE_FILTER_FLETCHER32="yes"
|
||||
fi
|
||||
if test $filter = "NBIT"; then
|
||||
AC_DEFINE([HAVE_FILTER_NBIT], [1],
|
||||
[Define if support for nbit filter is enabled])
|
||||
USE_FILTER_NBIT="yes"
|
||||
fi
|
||||
if test $filter = "SCALEOFFSET"; then
|
||||
AC_DEFINE([HAVE_FILTER_SCALEOFFSET], [1],
|
||||
[Define if support for scaleoffset filter is enabled])
|
||||
USE_FILTER_SCALEOFFSET="yes"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
## --------------------------------------------------------------------------
|
||||
## Should the Default Virtual File Driver be compiled?
|
||||
##
|
||||
|
@ -404,7 +404,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -493,10 +492,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -460,7 +460,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -549,10 +548,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -412,7 +412,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -501,10 +500,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -521,7 +521,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -610,10 +609,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -530,7 +530,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -619,10 +618,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -456,7 +456,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -545,10 +544,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -460,7 +460,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -549,10 +548,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -456,7 +456,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -545,10 +544,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -403,7 +403,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -492,10 +491,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -462,7 +462,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -551,10 +550,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -459,7 +459,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -548,10 +547,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -403,7 +403,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -492,10 +491,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -460,7 +460,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -549,10 +548,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -403,7 +403,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -492,10 +491,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -477,7 +477,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -566,10 +565,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -468,7 +468,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -557,10 +556,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -458,7 +458,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -547,10 +546,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -495,7 +495,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -584,10 +583,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -457,7 +457,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -546,10 +545,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -471,7 +471,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -560,10 +559,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
33
src/H5Z.c
33
src/H5Z.c
@ -93,35 +93,28 @@ H5Z_init_interface (void)
|
||||
|
||||
FUNC_ENTER_NOAPI_NOINIT
|
||||
|
||||
/* Internal filters */
|
||||
if (H5Z_register (H5Z_SHUFFLE)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register shuffle filter")
|
||||
if (H5Z_register (H5Z_FLETCHER32)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register fletcher32 filter")
|
||||
if (H5Z_register (H5Z_NBIT)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register nbit filter")
|
||||
if (H5Z_register (H5Z_SCALEOFFSET)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register scaleoffset filter")
|
||||
|
||||
/* External filters */
|
||||
#ifdef H5_HAVE_FILTER_DEFLATE
|
||||
if (H5Z_register (H5Z_DEFLATE)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register deflate filter")
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register deflate filter")
|
||||
#endif /* H5_HAVE_FILTER_DEFLATE */
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
if (H5Z_register (H5Z_SHUFFLE)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register shuffle filter")
|
||||
#endif /* H5_HAVE_FILTER_SHUFFLE */
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
if (H5Z_register (H5Z_FLETCHER32)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register fletcher32 filter")
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
#ifdef H5_HAVE_FILTER_SZIP
|
||||
H5Z_SZIP->encoder_present = SZ_encoder_enabled();
|
||||
if (H5Z_register (H5Z_SZIP)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register szip filter")
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register szip filter")
|
||||
#endif /* H5_HAVE_FILTER_SZIP */
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
if (H5Z_register (H5Z_NBIT)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register nbit filter")
|
||||
#endif /* H5_HAVE_FILTER_NBIT */
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
if (H5Z_register (H5Z_SCALEOFFSET)<0)
|
||||
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register scaleoffset filter")
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
#if (defined H5_HAVE_FILTER_DEFLATE | defined H5_HAVE_FILTER_FLETCHER32 | defined H5_HAVE_FILTER_SHUFFLE | defined H5_HAVE_FILTER_SZIP | defined H5_HAVE_FILTER_NBIT | defined H5_HAVE_FILTER_SCALEOFFSET)
|
||||
done:
|
||||
#endif /* (defined H5_HAVE_FILTER_DEFLATE | defined H5_HAVE_FILTER_FLETCHER32 | defined H5_HAVE_FILTER_SHUFFLE | defined H5_HAVE_FILTER_SZIP | defined H5_HAVE_FILTER_NBIT | defined H5_HAVE_FILTER_SCALEOFFSET) */
|
||||
FUNC_LEAVE_NOAPI(ret_value)
|
||||
}
|
||||
|
||||
|
@ -27,8 +27,6 @@
|
||||
#include "H5MMprivate.h" /* Memory management */
|
||||
#include "H5Zpkg.h" /* Data filters */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
|
||||
/* Local function prototypes */
|
||||
static size_t H5Z_filter_fletcher32 (unsigned flags, size_t cd_nelmts,
|
||||
const unsigned cd_values[], size_t nbytes, size_t *buf_size, void **buf);
|
||||
@ -164,5 +162,4 @@ done:
|
||||
H5MM_xfree(outbuf);
|
||||
FUNC_LEAVE_NOAPI(ret_value)
|
||||
}
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include "H5Tprivate.h" /* Datatypes */
|
||||
#include "H5Zpkg.h" /* Data filters */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
|
||||
/* Struct of parameters needed for compressing/decompressing
|
||||
* one nbit atomic datatype: integer or floating-point
|
||||
*/
|
||||
@ -1424,4 +1422,4 @@ static void H5Z_nbit_compress(unsigned char *data, unsigned d_nelmts, unsigned c
|
||||
* the last byte, increment the value by 1. */
|
||||
*buffer_size = new_size + 1;
|
||||
}
|
||||
#endif /* H5_HAVE_FILTER_NBIT */
|
||||
|
||||
|
55
src/H5Zpkg.h
55
src/H5Zpkg.h
@ -23,48 +23,35 @@
|
||||
/* Include private header file */
|
||||
#include "H5Zprivate.h" /* Filter functions */
|
||||
|
||||
/********************/
|
||||
/* Internal filters */
|
||||
/********************/
|
||||
|
||||
/* Shuffle filter */
|
||||
H5_DLLVAR const H5Z_class2_t H5Z_SHUFFLE[1];
|
||||
|
||||
/* Fletcher32 filter */
|
||||
H5_DLLVAR const H5Z_class2_t H5Z_FLETCHER32[1];
|
||||
|
||||
/* n-bit filter */
|
||||
H5_DLLVAR H5Z_class2_t H5Z_NBIT[1];
|
||||
|
||||
/* Scale/offset filter */
|
||||
H5_DLLVAR H5Z_class2_t H5Z_SCALEOFFSET[1];
|
||||
|
||||
/********************/
|
||||
/* External filters */
|
||||
/********************/
|
||||
|
||||
/* Deflate filter */
|
||||
#ifdef H5_HAVE_FILTER_DEFLATE
|
||||
/*
|
||||
* Deflate filter
|
||||
*/
|
||||
H5_DLLVAR const H5Z_class2_t H5Z_DEFLATE[1];
|
||||
#endif /* H5_HAVE_FILTER_DEFLATE */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
/*
|
||||
* Shuffle filter
|
||||
*/
|
||||
H5_DLLVAR const H5Z_class2_t H5Z_SHUFFLE[1];
|
||||
#endif /* H5_HAVE_FILTER_SHUFFLE */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
/*
|
||||
* Fletcher32 filter
|
||||
*/
|
||||
H5_DLLVAR const H5Z_class2_t H5Z_FLETCHER32[1];
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
|
||||
/* szip filter */
|
||||
#ifdef H5_HAVE_FILTER_SZIP
|
||||
/*
|
||||
* szip filter
|
||||
*/
|
||||
H5_DLLVAR H5Z_class2_t H5Z_SZIP[1];
|
||||
#endif /* H5_HAVE_FILTER_SZIP */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
/*
|
||||
* nbit filter
|
||||
*/
|
||||
H5_DLLVAR H5Z_class2_t H5Z_NBIT[1];
|
||||
#endif /* H5_HAVE_FILTER_NBIT */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
/*
|
||||
* scaleoffset filter
|
||||
*/
|
||||
H5_DLLVAR H5Z_class2_t H5Z_SCALEOFFSET[1];
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
#endif /* _H5Zpkg_H */
|
||||
|
||||
|
@ -26,8 +26,6 @@
|
||||
#include "H5Tprivate.h" /* Datatypes */
|
||||
#include "H5Zpkg.h" /* Data filters */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
|
||||
/* Struct of parameters needed for compressing/decompressing one atomic datatype */
|
||||
typedef struct {
|
||||
size_t size; /* datatype size */
|
||||
@ -1722,5 +1720,4 @@ H5Z_scaleoffset_compress(unsigned char *data, unsigned d_nelmts,
|
||||
for(i = 0; i < d_nelmts; i++)
|
||||
H5Z_scaleoffset_compress_one_atomic(data, i * p.size, buffer, &j, &buf_len, p);
|
||||
}
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
#include "H5Tprivate.h" /* Datatypes */
|
||||
#include "H5Zpkg.h" /* Data filters */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
|
||||
/* Local function prototypes */
|
||||
static herr_t H5Z_set_local_shuffle(hid_t dcpl_id, hid_t type_id, hid_t space_id);
|
||||
static size_t H5Z_filter_shuffle(unsigned flags, size_t cd_nelmts,
|
||||
@ -291,5 +289,4 @@ H5Z_filter_shuffle(unsigned flags, size_t cd_nelmts, const unsigned cd_values[],
|
||||
done:
|
||||
FUNC_LEAVE_NOAPI(ret_value)
|
||||
}
|
||||
#endif /*H5_HAVE_FILTER_SHUFFLE */
|
||||
|
||||
|
@ -111,18 +111,6 @@
|
||||
/* Define if support for deflate (zlib) filter is enabled */
|
||||
#undef HAVE_FILTER_DEFLATE
|
||||
|
||||
/* Define if support for Fletcher32 checksum is enabled */
|
||||
#undef HAVE_FILTER_FLETCHER32
|
||||
|
||||
/* Define if support for nbit filter is enabled */
|
||||
#undef HAVE_FILTER_NBIT
|
||||
|
||||
/* Define if support for scaleoffset filter is enabled */
|
||||
#undef HAVE_FILTER_SCALEOFFSET
|
||||
|
||||
/* Define if support for shuffle filter is enabled */
|
||||
#undef HAVE_FILTER_SHUFFLE
|
||||
|
||||
/* Define if support for szip filter is enabled */
|
||||
#undef HAVE_FILTER_SZIP
|
||||
|
||||
|
@ -520,7 +520,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -609,10 +608,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -863,7 +863,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -952,10 +951,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -213,116 +213,46 @@ static int open_dataset(char *fname)
|
||||
nerrors += check_data(DATASETNAME1, file, TRUE);
|
||||
|
||||
TESTING("dataset of LE FLOAT with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME2, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of BE FLOAT with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME3, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of LE DOUBLE with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME4, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of BE DOUBLE with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME5, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of LE CHAR with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME6, file, FALSE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of BE CHAR with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME7, file, FALSE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of LE SHORT with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME8, file, FALSE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of BE SHORT with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME9, file, FALSE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of LE INT with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME10, file, FALSE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of BE INT with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME11, file, FALSE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of LE LONG LONG with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME12, file, FALSE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of BE LONG LONG with scale-offset filter");
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
nerrors += check_data(DATASETNAME13, file, FALSE);
|
||||
#else /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SCALEOFFSET*/
|
||||
|
||||
TESTING("dataset of LE FLOAT with Fletcher32 filter");
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
nerrors += check_data(DATASETNAME14, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_FLETCHER32*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_FLETCHER32*/
|
||||
|
||||
TESTING("dataset of BE FLOAT with Fletcher32 filter");
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
nerrors += check_data(DATASETNAME15, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_FLETCHER32*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_FLETCHER32*/
|
||||
|
||||
TESTING("dataset of LE FLOAT with Deflate filter");
|
||||
#ifdef H5_HAVE_FILTER_DEFLATE
|
||||
@ -357,36 +287,16 @@ static int open_dataset(char *fname)
|
||||
#endif /*H5_HAVE_FILTER_SZIP*/
|
||||
|
||||
TESTING("dataset of LE FLOAT with Shuffle filter");
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
nerrors += check_data(DATASETNAME20, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_SHUFFLE*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SHUFFLE*/
|
||||
|
||||
TESTING("dataset of BE FLOAT with Shuffle filter");
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
nerrors += check_data(DATASETNAME21, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_SHUFFLE*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_SHUFFLE*/
|
||||
|
||||
TESTING("dataset of LE FLOAT with Nbit filter");
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
nerrors += check_data(DATASETNAME22, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_NBIT*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_NBIT*/
|
||||
|
||||
TESTING("dataset of BE FLOAT with Nbit filter");
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
nerrors += check_data(DATASETNAME23, file, TRUE);
|
||||
#else /*H5_HAVE_FILTER_NBIT*/
|
||||
SKIPPED();
|
||||
puts(not_supported);
|
||||
#endif /*H5_HAVE_FILTER_NBIT*/
|
||||
|
||||
if(H5Fclose(file))
|
||||
TEST_ERROR
|
||||
|
364
test/dsets.c
364
test/dsets.c
File diff suppressed because it is too large
Load Diff
@ -175,7 +175,6 @@ create_normal_dset(hid_t fid, hid_t fsid, hid_t msid)
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -183,7 +182,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
}
|
||||
|
||||
|
||||
@ -205,7 +203,6 @@ error:
|
||||
int
|
||||
create_scale_offset_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t dcpl;
|
||||
float data[NX][NY]; /* data to write */
|
||||
@ -267,15 +264,8 @@ create_scale_offset_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
const char *not_supported= "Scaleoffset filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -283,7 +273,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
}
|
||||
|
||||
|
||||
@ -305,7 +294,6 @@ error:
|
||||
int
|
||||
create_scale_offset_dsets_double(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t dcpl;
|
||||
double data[NX][NY]; /* data to write */
|
||||
@ -367,15 +355,8 @@ create_scale_offset_dsets_double(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
const char *not_supported= "Scaleoffset filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -383,7 +364,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
}
|
||||
|
||||
|
||||
@ -405,7 +385,6 @@ error:
|
||||
int
|
||||
create_scale_offset_dsets_char(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t dcpl;
|
||||
char data[NX][NY]; /* data to write */
|
||||
@ -475,15 +454,8 @@ create_scale_offset_dsets_char(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
const char *not_supported= "Scaleoffset filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -491,7 +463,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
}
|
||||
|
||||
|
||||
@ -513,7 +484,6 @@ error:
|
||||
int
|
||||
create_scale_offset_dsets_short(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t dcpl;
|
||||
short data[NX][NY]; /* data to write */
|
||||
@ -583,15 +553,8 @@ create_scale_offset_dsets_short(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
const char *not_supported= "Scaleoffset filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -599,7 +562,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
}
|
||||
|
||||
|
||||
@ -621,7 +583,6 @@ error:
|
||||
int
|
||||
create_scale_offset_dsets_int(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t dcpl;
|
||||
int data[NX][NY]; /* data to write */
|
||||
@ -691,15 +652,8 @@ create_scale_offset_dsets_int(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
const char *not_supported= "Scaleoffset filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -707,7 +661,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
}
|
||||
|
||||
|
||||
@ -730,7 +683,6 @@ error:
|
||||
int
|
||||
create_scale_offset_dsets_long_long(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t dcpl;
|
||||
long long data[NX][NY]; /* data to write */
|
||||
@ -800,15 +752,8 @@ create_scale_offset_dsets_long_long(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
const char *not_supported= "Scaleoffset filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -816,7 +761,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_SCALEOFFSET */
|
||||
}
|
||||
|
||||
|
||||
@ -838,7 +782,6 @@ error:
|
||||
int
|
||||
create_fletcher_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t dcpl;
|
||||
float data[NX][NY]; /* data to write */
|
||||
@ -900,15 +843,8 @@ create_fletcher_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
const char *not_supported= "Fletcher filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -916,7 +852,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
}
|
||||
|
||||
|
||||
@ -1131,7 +1066,6 @@ error:
|
||||
int
|
||||
create_shuffle_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t dcpl;
|
||||
float data[NX][NY]; /* data to write */
|
||||
@ -1193,15 +1127,8 @@ create_shuffle_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_SHUFFLE */
|
||||
const char *not_supported= "Shuffle filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_SHUFFLE */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -1209,7 +1136,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_SHUFFLE */
|
||||
}
|
||||
|
||||
|
||||
@ -1231,7 +1157,6 @@ error:
|
||||
int
|
||||
create_nbit_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
|
||||
{
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
hid_t dataset; /* dataset handles */
|
||||
hid_t datatype;
|
||||
hid_t dcpl;
|
||||
@ -1314,15 +1239,8 @@ create_nbit_dsets_float(hid_t fid, hid_t fsid, hid_t msid)
|
||||
if(H5Pclose(dcpl) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
#else /* H5_HAVE_FILTER_NBIT */
|
||||
const char *not_supported= "Nbit filter is not enabled. Can't create the dataset.";
|
||||
|
||||
puts(not_supported);
|
||||
#endif /* H5_HAVE_FILTER_NBIT */
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -1330,7 +1248,6 @@ error:
|
||||
} H5E_END_TRY;
|
||||
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_NBIT */
|
||||
}
|
||||
|
||||
|
||||
@ -1451,3 +1368,4 @@ main (void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,6 @@ static size_t filter_bogus(unsigned int flags, size_t cd_nelmts,
|
||||
static herr_t
|
||||
test_filters_endianess(void)
|
||||
{
|
||||
#if defined H5_HAVE_FILTER_FLETCHER32
|
||||
hid_t fid = -1; /* file ID */
|
||||
hid_t dsid = -1; /* dataset ID */
|
||||
hid_t sid = -1; /* dataspace ID */
|
||||
@ -85,10 +84,8 @@ test_filters_endianess(void)
|
||||
if(H5Sclose(sid) < 0) goto error;
|
||||
if(H5Fclose(fid) < 0) goto error;
|
||||
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
return 0;
|
||||
|
||||
#if defined H5_HAVE_FILTER_FLETCHER32
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dcpl);
|
||||
@ -97,7 +94,6 @@ error:
|
||||
H5Fclose(fid);
|
||||
} H5E_END_TRY;
|
||||
return -1;
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
} /* end test_filters_endianess() */
|
||||
|
||||
/* This message derives from H5Z */
|
||||
|
@ -477,7 +477,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -566,10 +565,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -2502,8 +2502,6 @@ extend_readAll(void)
|
||||
* Example of using the parallel HDF5 library to read a compressed
|
||||
* dataset in an HDF5 file with collective parallel access support.
|
||||
*/
|
||||
|
||||
#ifdef H5_HAVE_FILTER_DEFLATE
|
||||
void
|
||||
compress_readAll(void)
|
||||
{
|
||||
@ -2657,7 +2655,6 @@ compress_readAll(void)
|
||||
if(data_read) HDfree(data_read);
|
||||
if(data_orig) HDfree(data_orig);
|
||||
}
|
||||
#endif /* H5_HAVE_FILTER_DEFLATE */
|
||||
|
||||
/*
|
||||
* Part 4--Non-selection for chunked dataset
|
||||
@ -3451,7 +3448,6 @@ actual_io_mode_tests(void) {
|
||||
#define DSET_NOCOLCAUSE "nocolcause"
|
||||
#define NELM 2
|
||||
#define FILE_EXTERNAL "nocolcause_extern.data"
|
||||
#undef H5_HAVE_FILTER_FLETCHER32
|
||||
static void
|
||||
test_no_collective_cause_mode(int selection_mode)
|
||||
{
|
||||
@ -3487,9 +3483,9 @@ test_no_collective_cause_mode(int selection_mode)
|
||||
hid_t file_space = -1;
|
||||
hsize_t chunk_dims[RANK];
|
||||
herr_t ret;
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef LATER /* fletcher32 */
|
||||
H5Z_filter_t filter_info;
|
||||
#endif
|
||||
#endif /* LATER */
|
||||
/* set to global value as default */
|
||||
int l_facc_type = facc_type;
|
||||
char message[256];
|
||||
@ -3521,7 +3517,7 @@ test_no_collective_cause_mode(int selection_mode)
|
||||
is_chunked = 0;
|
||||
}
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef LATER /* fletcher32 */
|
||||
if (selection_mode & TEST_FILTERS) {
|
||||
ret = H5Zfilter_avail(H5Z_FILTER_FLETCHER32);
|
||||
VRFY ((ret >=0 ), "Fletcher32 filter is available.\n");
|
||||
@ -3532,7 +3528,7 @@ test_no_collective_cause_mode(int selection_mode)
|
||||
ret = H5Pset_fletcher32(dcpl);
|
||||
VRFY((ret >= 0),"set filter (flecher32) succeeded");
|
||||
}
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
#endif /* LATER */
|
||||
|
||||
if (selection_mode & TEST_NOT_SIMPLE_OR_SCALAR_DATASPACES) {
|
||||
sid = H5Screate(H5S_NULL);
|
||||
@ -3613,13 +3609,13 @@ test_no_collective_cause_mode(int selection_mode)
|
||||
no_collective_cause_global_expected |= H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
|
||||
}
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef LATER /* fletcher32 */
|
||||
if (selection_mode & TEST_FILTERS) {
|
||||
test_name = "Broken Collective I/O - Filter is required";
|
||||
no_collective_cause_local_expected |= H5D_MPIO_FILTERS;
|
||||
no_collective_cause_global_expected |= H5D_MPIO_FILTERS;
|
||||
}
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
#endif /* LATER */
|
||||
|
||||
if (selection_mode & TEST_COLLECTIVE) {
|
||||
test_name = "Broken Collective I/O - Not Broken";
|
||||
@ -3808,9 +3804,9 @@ test_no_collective_cause_mode_filter(int selection_mode)
|
||||
hid_t file_space = -1;
|
||||
hsize_t chunk_dims[RANK];
|
||||
herr_t ret;
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef LATER /* fletcher32 */
|
||||
H5Z_filter_t filter_info;
|
||||
#endif
|
||||
#endif /* LATER */
|
||||
char message[256];
|
||||
|
||||
/* Set up MPI parameters */
|
||||
@ -3829,7 +3825,7 @@ test_no_collective_cause_mode_filter(int selection_mode)
|
||||
VRFY((dcpl >= 0), "dataset creation plist created successfully");
|
||||
|
||||
if (selection_mode == TEST_FILTERS_READ ) {
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef LATER /* fletcher32 */
|
||||
ret = H5Zfilter_avail(H5Z_FILTER_FLETCHER32);
|
||||
VRFY ((ret >=0 ), "Fletcher32 filter is available.\n");
|
||||
|
||||
@ -3838,7 +3834,7 @@ test_no_collective_cause_mode_filter(int selection_mode)
|
||||
|
||||
ret = H5Pset_fletcher32(dcpl);
|
||||
VRFY((ret >= 0),"set filter (flecher32) succeeded");
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
#endif /* LATER */
|
||||
}
|
||||
else {
|
||||
VRFY(0, "Unexpected mode, only test for TEST_FILTERS_READ.");
|
||||
@ -3876,12 +3872,12 @@ test_no_collective_cause_mode_filter(int selection_mode)
|
||||
dcpl, H5P_DEFAULT);
|
||||
VRFY((dataset >= 0), "H5Dcreate2() dataset succeeded");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef LATER /* fletcher32 */
|
||||
/* Set expected cause */
|
||||
test_name = "Broken Collective I/O - Filter is required";
|
||||
no_collective_cause_local_expected = H5D_MPIO_FILTERS;
|
||||
no_collective_cause_global_expected = H5D_MPIO_FILTERS;
|
||||
#endif
|
||||
#endif /* LATER */
|
||||
|
||||
/* Get the file dataspace */
|
||||
file_space = H5Dget_space(dataset);
|
||||
@ -4010,13 +4006,13 @@ no_collective_cause_tests(void)
|
||||
test_no_collective_cause_mode (TEST_NOT_SIMPLE_OR_SCALAR_DATASPACES);
|
||||
test_no_collective_cause_mode (TEST_NOT_CONTIGUOUS_OR_CHUNKED_DATASET_COMPACT);
|
||||
test_no_collective_cause_mode (TEST_NOT_CONTIGUOUS_OR_CHUNKED_DATASET_EXTERNAL);
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef LATER /* fletcher32 */
|
||||
/* TODO: use this instead of below TEST_FILTERS_READ when H5Dcreate and
|
||||
* H5Dwrite is ready for mpio + filter feature.
|
||||
*/
|
||||
/* test_no_collective_cause_mode (TEST_FILTERS); */
|
||||
test_no_collective_cause_mode_filter (TEST_FILTERS_READ);
|
||||
#endif
|
||||
#endif /* LATER */
|
||||
|
||||
/*
|
||||
* Test combined causes
|
||||
|
@ -215,9 +215,7 @@ test_filter_read(void)
|
||||
hsize_t null_size; /* Size of dataset without filters */
|
||||
herr_t hrc;
|
||||
const char *filename;
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
hsize_t fletcher32_size; /* Size of dataset with Fletcher32 checksum */
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_DEFLATE
|
||||
hsize_t deflate_size; /* Size of dataset with deflate filter */
|
||||
@ -229,13 +227,11 @@ test_filter_read(void)
|
||||
unsigned szip_pixels_per_block=4;
|
||||
#endif /* H5_HAVE_FILTER_SZIP */
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
hsize_t shuffle_size; /* Size of dataset with shuffle filter */
|
||||
#endif /* H5_HAVE_FILTER_SHUFFLE */
|
||||
|
||||
#if(defined H5_HAVE_FILTER_DEFLATE | defined H5_HAVE_FILTER_SZIP) && defined H5_HAVE_FILTER_SHUFFLE && defined H5_HAVE_FILTER_FLETCHER32
|
||||
hsize_t combo_size; /* Size of dataset with shuffle+deflate filter */
|
||||
#endif /* H5_HAVE_FILTER_DEFLATE && H5_HAVE_FILTER_SHUFFLE && H5_HAVE_FILTER_FLETCHER32 */
|
||||
#if(defined H5_HAVE_FILTER_DEFLATE || defined H5_HAVE_FILTER_SZIP)
|
||||
hsize_t combo_size; /* Size of dataset with multiple filters */
|
||||
#endif /* H5_HAVE_FILTER_DEFLATE || H5_HAVE_FILTER_SZIP */
|
||||
|
||||
filename = GetTestParameters();
|
||||
|
||||
@ -262,7 +258,6 @@ test_filter_read(void)
|
||||
* STEP 1: Test Fletcher32 Checksum by itself.
|
||||
*----------------------------------------------------------
|
||||
*/
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
|
||||
dc = H5Pcreate(H5P_DATASET_CREATE);
|
||||
VRFY(dc>=0,"H5Pset_filter");
|
||||
@ -280,7 +275,6 @@ test_filter_read(void)
|
||||
hrc = H5Pclose (dc);
|
||||
VRFY(hrc>=0, "H5Pclose");
|
||||
|
||||
#endif /* H5_HAVE_FILTER_FLETCHER32 */
|
||||
|
||||
/*----------------------------------------------------------
|
||||
* STEP 2: Test deflation by itself.
|
||||
@ -305,6 +299,7 @@ test_filter_read(void)
|
||||
|
||||
#endif /* H5_HAVE_FILTER_DEFLATE */
|
||||
|
||||
|
||||
/*----------------------------------------------------------
|
||||
* STEP 3: Test szip compression by itself.
|
||||
*----------------------------------------------------------
|
||||
@ -328,11 +323,12 @@ test_filter_read(void)
|
||||
}
|
||||
#endif /* H5_HAVE_FILTER_SZIP */
|
||||
|
||||
|
||||
/*----------------------------------------------------------
|
||||
* STEP 4: Test shuffling by itself.
|
||||
*----------------------------------------------------------
|
||||
*/
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
|
||||
dc = H5Pcreate(H5P_DATASET_CREATE);
|
||||
VRFY(dc>=0, "H5Pcreate");
|
||||
|
||||
@ -349,13 +345,12 @@ test_filter_read(void)
|
||||
hrc = H5Pclose (dc);
|
||||
VRFY(hrc>=0, "H5Pclose");
|
||||
|
||||
#endif /* H5_HAVE_FILTER_SHUFFLE */
|
||||
|
||||
/*----------------------------------------------------------
|
||||
* STEP 5: Test shuffle + deflate + checksum in any order.
|
||||
*----------------------------------------------------------
|
||||
*/
|
||||
#if defined H5_HAVE_FILTER_DEFLATE && defined H5_HAVE_FILTER_SHUFFLE && defined H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef H5_HAVE_FILTER_DEFLATE
|
||||
/* Testing shuffle+deflate+checksum filters (checksum first) */
|
||||
dc = H5Pcreate(H5P_DATASET_CREATE);
|
||||
VRFY(dc>=0, "H5Pcreate");
|
||||
@ -400,13 +395,13 @@ test_filter_read(void)
|
||||
hrc = H5Pclose (dc);
|
||||
VRFY(hrc>=0, "H5Pclose");
|
||||
|
||||
#endif /* H5_HAVE_FILTER_DEFLATE && H5_HAVE_FILTER_SHUFFLE && H5_HAVE_FILTER_FLETCHER32 */
|
||||
#endif /* H5_HAVE_FILTER_DEFLATE */
|
||||
|
||||
/*----------------------------------------------------------
|
||||
* STEP 6: Test shuffle + szip + checksum in any order.
|
||||
*----------------------------------------------------------
|
||||
*/
|
||||
#if defined H5_HAVE_FILTER_SZIP && defined H5_HAVE_FILTER_SHUFFLE && defined H5_HAVE_FILTER_FLETCHER32
|
||||
#ifdef H5_HAVE_FILTER_SZIP
|
||||
|
||||
/* Testing shuffle+szip(with encoder)+checksum filters(checksum first) */
|
||||
dc = H5Pcreate(H5P_DATASET_CREATE);
|
||||
@ -458,6 +453,6 @@ test_filter_read(void)
|
||||
VRFY(hrc>=0, "H5Pclose");
|
||||
}
|
||||
|
||||
#endif /* H5_HAVE_FILTER_SZIP && H5_HAVE_FILTER_SHUFFLE && H5_HAVE_FILTER_FLETCHER32 */
|
||||
#endif /* H5_HAVE_FILTER_SZIP */
|
||||
}
|
||||
|
||||
|
@ -457,7 +457,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -546,10 +545,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -465,7 +465,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -554,10 +553,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -472,7 +472,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -561,10 +560,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -471,7 +471,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -560,10 +559,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -5433,7 +5433,7 @@ static void gent_filters(void)
|
||||
* shuffle
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
|
||||
/* remove the filters from the dcpl */
|
||||
ret = H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
HDassert(ret >= 0);
|
||||
@ -5444,14 +5444,13 @@ static void gent_filters(void)
|
||||
|
||||
ret=make_dset(fid,"shuffle",sid,H5T_NATIVE_INT,dcpl,buf1);
|
||||
HDassert(ret >= 0);
|
||||
#endif
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* checksum
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_FLETCHER32)
|
||||
|
||||
/* remove the filters from the dcpl */
|
||||
ret = H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
HDassert(ret >= 0);
|
||||
@ -5462,13 +5461,12 @@ static void gent_filters(void)
|
||||
|
||||
ret=make_dset(fid,"fletcher32",sid,H5T_NATIVE_INT,dcpl,buf1);
|
||||
HDassert(ret >= 0);
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* nbit
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_NBIT)
|
||||
|
||||
/* remove the filters from the dcpl */
|
||||
ret = H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
HDassert(ret >= 0);
|
||||
@ -5481,13 +5479,12 @@ static void gent_filters(void)
|
||||
H5Tset_precision(tid,H5Tget_size(tid)-1);
|
||||
ret=make_dset(fid,"nbit",sid,tid,dcpl,buf1);
|
||||
HDassert(ret >= 0);
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* scaleoffset
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_SCALEOFFSET)
|
||||
|
||||
/* remove the filters from the dcpl */
|
||||
ret = H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
HDassert(ret >= 0);
|
||||
@ -5498,7 +5495,6 @@ static void gent_filters(void)
|
||||
|
||||
ret=make_dset(fid,"scaleoffset",sid,H5T_NATIVE_INT,dcpl,buf1);
|
||||
HDassert(ret >= 0);
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* all filters
|
||||
@ -5508,11 +5504,9 @@ static void gent_filters(void)
|
||||
ret = H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
HDassert(ret >= 0);
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
/* set the shuffle filter */
|
||||
ret = H5Pset_shuffle(dcpl);
|
||||
HDassert(ret >= 0);
|
||||
#endif
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SZIP
|
||||
if(h5tools_can_encode(H5Z_FILTER_SZIP) == 1) {
|
||||
@ -5529,17 +5523,13 @@ static void gent_filters(void)
|
||||
HDassert(ret >= 0);
|
||||
#endif
|
||||
|
||||
#if defined (H5_HAVE_FILTER_FLETCHER32)
|
||||
/* set the checksum filter */
|
||||
ret = H5Pset_fletcher32(dcpl);
|
||||
HDassert(ret >= 0);
|
||||
#endif
|
||||
|
||||
#if defined (H5_HAVE_FILTER_NBIT)
|
||||
/* set the nbit filter */
|
||||
ret = H5Pset_nbit(dcpl);
|
||||
HDassert(ret >= 0);
|
||||
#endif
|
||||
|
||||
ret=make_dset(fid,"all",sid,H5T_NATIVE_INT,dcpl,buf1);
|
||||
HDassert(ret >= 0);
|
||||
|
@ -19,10 +19,6 @@ srcdir=@srcdir@
|
||||
|
||||
USE_FILTER_SZIP="@USE_FILTER_SZIP@"
|
||||
USE_FILTER_DEFLATE="@USE_FILTER_DEFLATE@"
|
||||
USE_FILTER_SHUFFLE="@USE_FILTER_SHUFFLE@"
|
||||
USE_FILTER_FLETCHER32="@USE_FILTER_FLETCHER32@"
|
||||
USE_FILTER_NBIT="@USE_FILTER_NBIT@"
|
||||
USE_FILTER_SCALEOFFSET="@USE_FILTER_SCALEOFFSET@"
|
||||
|
||||
TESTNAME=h5dump
|
||||
EXIT_SUCCESS=0
|
||||
@ -1184,7 +1180,7 @@ TOOLTEST tallfilters.ddl --enable-error-stack -H -p -d all tfilters.h5
|
||||
# user defined
|
||||
TOOLTEST tuserfilter.ddl --enable-error-stack -H -p -d myfilter tfilters.h5
|
||||
|
||||
if test $USE_FILTER_DEFLATE = "yes" -a $USE_FILTER_SHUFFLE = "yes" -a $USE_FILTER_FLETCHER32 = "yes" -a $USE_FILTER_NBIT = "yes" -a $USE_FILTER_SCALEOFFSET = "yes" ; then
|
||||
if test $USE_FILTER_DEFLATE = "yes" ; then
|
||||
# data read internal filters
|
||||
TOOLTEST treadintfilter.ddl --enable-error-stack -d deflate -d shuffle -d fletcher32 -d nbit -d scaleoffset tfilters.h5
|
||||
if test $USE_FILTER_SZIP = "yes"; then
|
||||
|
@ -20,10 +20,6 @@ srcdir=@srcdir@
|
||||
# Determine which filters are available
|
||||
USE_FILTER_SZIP="@USE_FILTER_SZIP@"
|
||||
USE_FILTER_DEFLATE="@USE_FILTER_DEFLATE@"
|
||||
USE_FILTER_SHUFFLE="@USE_FILTER_SHUFFLE@"
|
||||
USE_FILTER_FLETCHER32="@USE_FILTER_FLETCHER32@"
|
||||
USE_FILTER_NBIT="@USE_FILTER_NBIT@"
|
||||
USE_FILTER_SCALEOFFSET="@USE_FILTER_SCALEOFFSET@"
|
||||
|
||||
TESTNAME=h5dump
|
||||
EXIT_SUCCESS=0
|
||||
|
@ -465,7 +465,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -554,10 +553,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -477,7 +477,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -566,10 +565,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -20,8 +20,6 @@ srcdir=@srcdir@
|
||||
# Determine which filters are available
|
||||
USE_FILTER_SZIP="@USE_FILTER_SZIP@"
|
||||
USE_FILTER_DEFLATE="@USE_FILTER_DEFLATE@"
|
||||
USE_FILTER_SHUFFLE="@USE_FILTER_SHUFFLE@"
|
||||
USE_FILTER_FLETCHER32="@USE_FILTER_FLETCHER32@"
|
||||
|
||||
TESTNAME=h5jam/h5unjam
|
||||
EXIT_SUCCESS=0
|
||||
|
@ -457,7 +457,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -546,10 +545,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -489,7 +489,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -578,10 +577,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -24,10 +24,6 @@ srcdir=@srcdir@
|
||||
|
||||
USE_FILTER_SZIP="@USE_FILTER_SZIP@"
|
||||
USE_FILTER_DEFLATE="@USE_FILTER_DEFLATE@"
|
||||
USE_FILTER_SHUFFLE="@USE_FILTER_SHUFFLE@"
|
||||
USE_FILTER_FLETCHER32="@USE_FILTER_FLETCHER32@"
|
||||
USE_FILTER_NBIT="@USE_FILTER_NBIT@"
|
||||
USE_FILTER_SCALEOFFSET="@USE_FILTER_SCALEOFFSET@"
|
||||
|
||||
TESTNAME=h5repack
|
||||
EXIT_SUCCESS=0
|
||||
@ -742,40 +738,24 @@ fi
|
||||
|
||||
# shuffle with individual object
|
||||
arg="h5repack_layout.h5 -f dset2:SHUF -l dset2:CHUNK=20x10"
|
||||
if test $USE_FILTER_SHUFFLE != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST shuffle_individual $arg
|
||||
fi
|
||||
TOOLTEST shuffle_individual $arg
|
||||
|
||||
|
||||
# shuffle for all
|
||||
arg="h5repack_layout.h5 -f SHUF"
|
||||
if test $USE_FILTER_SHUFFLE != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST shuffle_all $arg
|
||||
fi
|
||||
TOOLTEST shuffle_all $arg
|
||||
|
||||
# fletcher32 with individual object
|
||||
arg="h5repack_layout.h5 -f dset2:FLET -l dset2:CHUNK=20x10"
|
||||
if test $USE_FILTER_FLETCHER32 != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST fletcher_individual $arg
|
||||
fi
|
||||
TOOLTEST fletcher_individual $arg
|
||||
|
||||
# fletcher32 for all
|
||||
arg="h5repack_layout.h5 -f FLET"
|
||||
if test $USE_FILTER_FLETCHER32 != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST fletcher_all $arg
|
||||
fi
|
||||
TOOLTEST fletcher_all $arg
|
||||
|
||||
# all filters
|
||||
arg="h5repack_layout.h5 -f dset2:SHUF -f dset2:FLET -f dset2:SZIP=8,NN -f dset2:GZIP=1 -l dset2:CHUNK=20x10"
|
||||
if test $USE_FILTER_SZIP_ENCODER != "yes" -o $USE_FILTER_SZIP != "yes" -o $USE_FILTER_SHUFFLE != "yes" -o $USE_FILTER_FLETCHER32 != "yes" -o $USE_FILTER_DEFLATE != "yes" ; then
|
||||
if test $USE_FILTER_SZIP_ENCODER != "yes" -o $USE_FILTER_SZIP != "yes" -o $USE_FILTER_DEFLATE != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST all_filters $arg
|
||||
@ -828,87 +808,47 @@ fi
|
||||
|
||||
# shuffle copy
|
||||
arg="h5repack_shuffle.h5"
|
||||
if test $USE_FILTER_SHUFFLE != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST shuffle_copy $arg
|
||||
fi
|
||||
TOOLTEST shuffle_copy $arg
|
||||
|
||||
# shuffle remove
|
||||
arg="h5repack_shuffle.h5 -f dset_shuffle:NONE"
|
||||
if test $USE_FILTER_SHUFFLE != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST shuffle_remove $arg
|
||||
fi
|
||||
TOOLTEST shuffle_remove $arg
|
||||
|
||||
# fletcher32 copy
|
||||
arg="h5repack_fletcher.h5"
|
||||
if test $USE_FILTER_FLETCHER32 != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST fletcher_copy $arg
|
||||
fi
|
||||
TOOLTEST fletcher_copy $arg
|
||||
|
||||
# fletcher32 remove
|
||||
arg="h5repack_fletcher.h5 -f dset_fletcher32:NONE"
|
||||
if test $USE_FILTER_FLETCHER32 != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST fletcher_remove $arg
|
||||
fi
|
||||
TOOLTEST fletcher_remove $arg
|
||||
|
||||
# nbit copy
|
||||
arg="h5repack_nbit.h5"
|
||||
if test $USE_FILTER_NBIT != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST nbit_copy $arg
|
||||
fi
|
||||
TOOLTEST nbit_copy $arg
|
||||
|
||||
# nbit remove
|
||||
arg="h5repack_nbit.h5 -f dset_nbit:NONE"
|
||||
if test $USE_FILTER_NBIT != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST nbit_remove $arg
|
||||
fi
|
||||
TOOLTEST nbit_remove $arg
|
||||
|
||||
# nbit add
|
||||
arg="h5repack_nbit.h5 -f dset_int31:NBIT"
|
||||
if test $USE_FILTER_NBIT != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST nbit_add $arg
|
||||
fi
|
||||
TOOLTEST nbit_add $arg
|
||||
|
||||
# scaleoffset copy
|
||||
arg="h5repack_soffset.h5"
|
||||
if test $USE_FILTER_SCALEOFFSET != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST scale_copy $arg
|
||||
fi
|
||||
TOOLTEST scale_copy $arg
|
||||
|
||||
# scaleoffset add
|
||||
arg="h5repack_soffset.h5 -f dset_none:SOFF=31,IN"
|
||||
if test $USE_FILTER_SCALEOFFSET != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST scale_add $arg
|
||||
fi
|
||||
TOOLTEST scale_add $arg
|
||||
|
||||
# scaleoffset remove
|
||||
arg="h5repack_soffset.h5 -f dset_scaleoffset:NONE"
|
||||
if test $USE_FILTER_SCALEOFFSET != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST scale_remove $arg
|
||||
fi
|
||||
TOOLTEST scale_remove $arg
|
||||
|
||||
# remove all filters
|
||||
arg="h5repack_filters.h5 -f NONE"
|
||||
if test $USE_FILTER_FLETCHER32 != "yes" -o $USE_FILTER_DEFLATE != "yes" -o $USE_FILTER_SZIP != "yes" -o $USE_FILTER_SZIP_ENCODER != "yes" -o $USE_FILTER_SHUFFLE != "yes" -o $USE_FILTER_NBIT != "yes" -o $USE_FILTER_SCALEOFFSET != "yes" ; then
|
||||
if test $USE_FILTER_DEFLATE != "yes" -o $USE_FILTER_SZIP != "yes" -o $USE_FILTER_SZIP_ENCODER != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST remove_all $arg
|
||||
@ -1061,7 +1001,7 @@ fi
|
||||
# several global filters
|
||||
|
||||
arg="h5repack_layout.h5 --filter GZIP=1 --filter SHUF"
|
||||
if test $USE_FILTER_DEFLATE != "yes" -o $USE_FILTER_SHUFFLE != "yes" ; then
|
||||
if test $USE_FILTER_DEFLATE != "yes" ; then
|
||||
SKIP $arg
|
||||
else
|
||||
TOOLTEST global_filters $arg
|
||||
|
@ -445,8 +445,6 @@ int main (void)
|
||||
|
||||
TESTING(" addding shuffle filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* test an individual object option
|
||||
*-------------------------------------------------------------------------
|
||||
@ -468,9 +466,6 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* test all objects option
|
||||
@ -479,8 +474,6 @@ int main (void)
|
||||
|
||||
TESTING(" addding shuffle filter to all");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
|
||||
/* fs_type = H5F_FILE_SPACE_ALL_PERSIST; fs_size = 1 */
|
||||
if (h5repack_init (&pack_options, 0, H5_INC_ENUM(H5F_file_space_type_t, fs_type), ++fs_size) < 0)
|
||||
GOERROR;
|
||||
@ -498,14 +491,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" adding checksum filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* test an individual object option
|
||||
*-------------------------------------------------------------------------
|
||||
@ -527,9 +516,6 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* test all objects option
|
||||
@ -539,8 +525,6 @@ int main (void)
|
||||
|
||||
TESTING(" adding checksum filter to all");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack_addfilter("FLET",&pack_options) < 0)
|
||||
@ -557,9 +541,6 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" filter queue fletcher, shuffle, deflate, szip");
|
||||
@ -573,16 +554,10 @@ int main (void)
|
||||
GOERROR;
|
||||
if (h5repack_addlayout("dset1:CHUNK 20x10",&pack_options) < 0)
|
||||
GOERROR;
|
||||
|
||||
#if defined (H5_HAVE_FILTER_FLETCHER32)
|
||||
if (h5repack_addfilter("dset1:FLET",&pack_options) < 0)
|
||||
GOERROR;
|
||||
#endif
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
if (h5repack_addfilter("dset1:SHUF",&pack_options) < 0)
|
||||
GOERROR;
|
||||
#endif
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SZIP)
|
||||
if (szip_can_encode) {
|
||||
@ -1039,7 +1014,6 @@ int main (void)
|
||||
|
||||
TESTING(" copy of shuffle filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack(FNAME9,FNAME9OUT,&pack_options) < 0)
|
||||
@ -1052,13 +1026,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" removing shuffle filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SHUFFLE
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack_addfilter("dset_shuffle:NONE",&pack_options) < 0)
|
||||
@ -1073,13 +1044,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" copy of fletcher filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack(FNAME10,FNAME10OUT,&pack_options) < 0)
|
||||
@ -1092,13 +1060,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" removing fletcher filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_FLETCHER32
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack_addfilter("dset_fletcher32:NONE",&pack_options) < 0)
|
||||
@ -1113,14 +1078,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" copy of nbit filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack(FNAME12,FNAME12OUT,&pack_options) < 0)
|
||||
@ -1133,13 +1094,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" removing nbit filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack_addfilter("dset_nbit:NONE",&pack_options) < 0)
|
||||
@ -1154,14 +1112,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" adding nbit filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_NBIT
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack_addfilter("dset_int31:NBIT",&pack_options) < 0)
|
||||
@ -1176,14 +1130,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" copy of scaleoffset filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack(FNAME13,FNAME13OUT,&pack_options) < 0)
|
||||
@ -1196,13 +1146,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" removing scaleoffset filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack_addfilter("dset_scaleoffset:NONE",&pack_options) < 0)
|
||||
@ -1217,14 +1164,10 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
TESTING(" adding scaleoffset filter");
|
||||
|
||||
#ifdef H5_HAVE_FILTER_SCALEOFFSET
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
if (h5repack_addfilter("dset_none:SOFF=31,IN",&pack_options) < 0)
|
||||
@ -1239,10 +1182,6 @@ int main (void)
|
||||
GOERROR;
|
||||
|
||||
PASSED();
|
||||
#else
|
||||
SKIPPED();
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
@ -1258,9 +1197,7 @@ int main (void)
|
||||
|
||||
TESTING(" filter conversion from deflate to szip");
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SZIP) \
|
||||
&& defined (H5_HAVE_FILTER_DEFLATE) \
|
||||
&& defined (H5_HAVE_FILTER_FLETCHER32) && defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
#if defined (H5_HAVE_FILTER_SZIP) && defined (H5_HAVE_FILTER_DEFLATE)
|
||||
|
||||
if (szip_can_encode) {
|
||||
/* fs_type = H5F_FILE_SPACE_VFD; fs_size = 4 */
|
||||
@ -1287,9 +1224,7 @@ int main (void)
|
||||
|
||||
TESTING(" filter conversion from szip to deflate");
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SZIP) \
|
||||
&& defined (H5_HAVE_FILTER_DEFLATE) \
|
||||
&& defined (H5_HAVE_FILTER_FLETCHER32) && defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
#if defined (H5_HAVE_FILTER_SZIP) && defined (H5_HAVE_FILTER_DEFLATE)
|
||||
|
||||
if (szip_can_encode) {
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
@ -1321,8 +1256,7 @@ int main (void)
|
||||
|
||||
TESTING(" removing all filters");
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SZIP) && defined (H5_HAVE_FILTER_DEFLATE) \
|
||||
&& defined (H5_HAVE_FILTER_FLETCHER32) && defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
#if defined (H5_HAVE_FILTER_SZIP) && defined (H5_HAVE_FILTER_DEFLATE)
|
||||
|
||||
if (h5repack_init (&pack_options, 0, fs_type, fs_size) < 0)
|
||||
GOERROR;
|
||||
@ -2347,13 +2281,12 @@ int make_shuffle(hid_t loc_id)
|
||||
* shuffle
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
|
||||
/* set the shuffle filter */
|
||||
if (H5Pset_shuffle(dcpl) < 0)
|
||||
goto out;
|
||||
if (make_dset(loc_id,"dset_shuffle",sid,dcpl,buf) < 0)
|
||||
goto out;
|
||||
#endif
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
@ -2414,7 +2347,7 @@ int make_fletcher32(hid_t loc_id)
|
||||
* fletcher32
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_FLETCHER32)
|
||||
|
||||
/* remove the filters from the dcpl */
|
||||
if (H5Premove_filter(dcpl,H5Z_FILTER_ALL) < 0)
|
||||
goto out;
|
||||
@ -2423,7 +2356,6 @@ int make_fletcher32(hid_t loc_id)
|
||||
goto out;
|
||||
if (make_dset(loc_id,"dset_fletcher32",sid,dcpl,buf) < 0)
|
||||
goto out;
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* close space and dcpl
|
||||
@ -2488,7 +2420,6 @@ int make_nbit(hid_t loc_id)
|
||||
goto out;
|
||||
}
|
||||
|
||||
#if defined H5_HAVE_FILTER_NBIT
|
||||
/* remove the filters from the dcpl */
|
||||
if(H5Premove_filter(dcpl, H5Z_FILTER_ALL) < 0)
|
||||
{
|
||||
@ -2522,7 +2453,6 @@ int make_nbit(hid_t loc_id)
|
||||
goto out;
|
||||
}
|
||||
H5Dclose(dsid);
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* close
|
||||
@ -2584,7 +2514,6 @@ int make_scaleoffset(hid_t loc_id)
|
||||
|
||||
dtid = H5Tcopy(H5T_NATIVE_INT);
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SCALEOFFSET)
|
||||
/* remove the filters from the dcpl */
|
||||
if(H5Premove_filter(dcpl, H5Z_FILTER_ALL) < 0) {
|
||||
H5Tclose(dtid);
|
||||
@ -2613,7 +2542,6 @@ int make_scaleoffset(hid_t loc_id)
|
||||
}
|
||||
H5Tclose(dtid);
|
||||
H5Dclose(dsid);
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* close space and dcpl
|
||||
@ -2647,10 +2575,8 @@ int make_all_filters(hid_t loc_id)
|
||||
{
|
||||
hid_t dcpl; /* dataset creation property list */
|
||||
hid_t sid; /* dataspace ID */
|
||||
#if defined (H5_HAVE_FILTER_NBIT)
|
||||
hid_t dtid;
|
||||
hid_t dsid;
|
||||
#endif /* H5_HAVE_FILTER_NBIT */
|
||||
#if defined (H5_HAVE_FILTER_SZIP)
|
||||
unsigned szip_options_mask=H5_SZIP_ALLOW_K13_OPTION_MASK|H5_SZIP_NN_OPTION_MASK;
|
||||
unsigned szip_pixels_per_block=8;
|
||||
@ -2680,17 +2606,13 @@ int make_all_filters(hid_t loc_id)
|
||||
if (H5Pset_chunk(dcpl, RANK, chunk_dims) < 0)
|
||||
goto out;
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
/* set the shuffle filter */
|
||||
if (H5Pset_shuffle(dcpl) < 0)
|
||||
goto out;
|
||||
#endif
|
||||
|
||||
#if defined (H5_HAVE_FILTER_FLETCHER32)
|
||||
/* set the checksum filter */
|
||||
if (H5Pset_fletcher32(dcpl) < 0)
|
||||
goto out;
|
||||
#endif
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SZIP)
|
||||
if (h5tools_can_encode(H5Z_FILTER_SZIP) == 1)
|
||||
@ -2716,7 +2638,6 @@ int make_all_filters(hid_t loc_id)
|
||||
if (make_dset(loc_id,"dset_all",sid,dcpl,buf) < 0)
|
||||
goto out;
|
||||
|
||||
#if defined (H5_HAVE_FILTER_FLETCHER32)
|
||||
/* remove the filters from the dcpl */
|
||||
if (H5Premove_filter(dcpl,H5Z_FILTER_ALL) < 0)
|
||||
goto out;
|
||||
@ -2725,7 +2646,6 @@ int make_all_filters(hid_t loc_id)
|
||||
goto out;
|
||||
if (make_dset(loc_id,"dset_fletcher32",sid,dcpl,buf) < 0)
|
||||
goto out;
|
||||
#endif
|
||||
|
||||
|
||||
/* Make sure encoding is enabled */
|
||||
@ -2747,7 +2667,6 @@ int make_all_filters(hid_t loc_id)
|
||||
#endif
|
||||
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
/* remove the filters from the dcpl */
|
||||
if (H5Premove_filter(dcpl,H5Z_FILTER_ALL) < 0)
|
||||
goto out;
|
||||
@ -2756,7 +2675,6 @@ int make_all_filters(hid_t loc_id)
|
||||
goto out;
|
||||
if (make_dset(loc_id,"dset_shuffle",sid,dcpl,buf) < 0)
|
||||
goto out;
|
||||
#endif
|
||||
|
||||
|
||||
#if defined (H5_HAVE_FILTER_DEFLATE)
|
||||
@ -2772,7 +2690,6 @@ int make_all_filters(hid_t loc_id)
|
||||
|
||||
|
||||
|
||||
#if defined (H5_HAVE_FILTER_NBIT)
|
||||
/* remove the filters from the dcpl */
|
||||
if (H5Premove_filter(dcpl, H5Z_FILTER_ALL) < 0)
|
||||
goto out;
|
||||
@ -2793,8 +2710,6 @@ int make_all_filters(hid_t loc_id)
|
||||
return -1;
|
||||
if(H5Dclose(dsid) < 0)
|
||||
return -1;
|
||||
#endif
|
||||
|
||||
|
||||
if(H5Sclose(sid) < 0)
|
||||
goto out;
|
||||
|
@ -467,7 +467,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -556,10 +555,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -25,10 +25,6 @@ srcdir=@srcdir@
|
||||
# Determine which filters are available
|
||||
USE_FILTER_SZIP="@USE_FILTER_SZIP@"
|
||||
USE_FILTER_DEFLATE="@USE_FILTER_DEFLATE@"
|
||||
USE_FILTER_SHUFFLE="@USE_FILTER_SHUFFLE@"
|
||||
USE_FILTER_FLETCHER32="@USE_FILTER_FLETCHER32@"
|
||||
USE_FILTER_NBIT="@USE_FILTER_NBIT@"
|
||||
USE_FILTER_SCALEOFFSET="@USE_FILTER_SCALEOFFSET@"
|
||||
|
||||
TESTNAME=h5stat
|
||||
EXIT_SUCCESS=0
|
||||
|
@ -454,7 +454,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -543,10 +542,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -107,44 +107,24 @@ int h5tools_canreadf(const char* name, /* object name, serves also as boolean pr
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
case H5Z_FILTER_SHUFFLE:
|
||||
#ifndef H5_HAVE_FILTER_SHUFFLE
|
||||
if (name)
|
||||
print_warning(name,"shuffle");
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
/*-------------------------------------------------------------------------
|
||||
* H5Z_FILTER_FLETCHER32 3 , fletcher32 checksum of EDC
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
case H5Z_FILTER_FLETCHER32:
|
||||
#ifndef H5_HAVE_FILTER_FLETCHER32
|
||||
if (name)
|
||||
print_warning(name,"fletcher32");
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
/*-------------------------------------------------------------------------
|
||||
* H5Z_FILTER_NBIT
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
case H5Z_FILTER_NBIT:
|
||||
#ifndef H5_HAVE_FILTER_NBIT
|
||||
if (name)
|
||||
print_warning(name,"nbit");
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
/*-------------------------------------------------------------------------
|
||||
* H5Z_FILTER_SCALEOFFSET
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
case H5Z_FILTER_SCALEOFFSET:
|
||||
#ifndef H5_HAVE_FILTER_SCALEOFFSET
|
||||
if (name)
|
||||
print_warning(name,"scaleoffset");
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
}/*switch*/
|
||||
}/*for*/
|
||||
@ -211,24 +191,12 @@ int h5tools_can_encode(H5Z_filter_t filtn) {
|
||||
#endif
|
||||
break;
|
||||
case H5Z_FILTER_SHUFFLE:
|
||||
#ifndef H5_HAVE_FILTER_SHUFFLE
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
case H5Z_FILTER_FLETCHER32:
|
||||
#ifndef H5_HAVE_FILTER_FLETCHER32
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
case H5Z_FILTER_NBIT:
|
||||
#ifndef H5_HAVE_FILTER_NBIT
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
case H5Z_FILTER_SCALEOFFSET:
|
||||
#ifndef H5_HAVE_FILTER_SCALEOFFSET
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
}/*switch*/
|
||||
|
||||
|
@ -492,7 +492,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -581,10 +580,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -496,7 +496,6 @@ FCFLAGS_f90 = @FCFLAGS_f90@
|
||||
FCLIBS = @FCLIBS@
|
||||
FC_VERSION = @FC_VERSION@
|
||||
FGREP = @FGREP@
|
||||
FILTERS = @FILTERS@
|
||||
FSEARCH_DIRS = @FSEARCH_DIRS@
|
||||
GREP = @GREP@
|
||||
H5_CFLAGS = @H5_CFLAGS@
|
||||
@ -585,10 +584,6 @@ TR = @TR@
|
||||
TRACE_API = @TRACE_API@
|
||||
UNAME_INFO = @UNAME_INFO@
|
||||
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
|
||||
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
|
||||
USE_FILTER_NBIT = @USE_FILTER_NBIT@
|
||||
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
|
||||
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
|
||||
USE_FILTER_SZIP = @USE_FILTER_SZIP@
|
||||
USINGMEMCHECKER = @USINGMEMCHECKER@
|
||||
VERSION = @VERSION@
|
||||
|
@ -117,18 +117,6 @@
|
||||
/* Define if support for deflate (zlib) filter is enabled */
|
||||
#define H5_HAVE_FILTER_DEFLATE 1
|
||||
|
||||
/* Define if support for Fletcher32 checksum is enabled */
|
||||
#define H5_HAVE_FILTER_FLETCHER32 1
|
||||
|
||||
/* Define if support for nbit filter is enabled */
|
||||
#define H5_HAVE_FILTER_NBIT 1
|
||||
|
||||
/* Define if support for scaleoffset filter is enabled */
|
||||
#define H5_HAVE_FILTER_SCALEOFFSET 1
|
||||
|
||||
/* Define if support for shuffle filter is enabled */
|
||||
#define H5_HAVE_FILTER_SHUFFLE 1
|
||||
|
||||
/* Define if support for szip filter is enabled */
|
||||
/* #undef H5_HAVE_FILTER_SZIP */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user