From f9bf4244ce96e0dac2b153a6e4cec384ef5d87f0 Mon Sep 17 00:00:00 2001 From: tickduan <417921451@qq.com> Date: Wed, 7 Jul 2021 09:52:18 +0800 Subject: [PATCH] reduce files to smaller and delete no use files and function --- deps/SZ/sz/Makefile.am | 93 - deps/SZ/sz/Makefile.in | 1729 ----------------- deps/SZ/sz/include/ArithmeticCoding.h | 62 - deps/SZ/sz/include/CacheTable.h | 40 - deps/SZ/sz/include/DynamicDoubleArray.h | 36 - deps/SZ/sz/include/DynamicFloatArray.h | 35 - deps/SZ/sz/include/MultiLevelCacheTable.h | 50 - .../MultiLevelCacheTableWideInterval.h | 54 - deps/SZ/sz/include/TypeManager.h | 13 +- deps/SZ/sz/include/VarSet.h | 84 - deps/SZ/sz/include/conf.h | 5 +- deps/SZ/sz/include/pastri.h | 140 -- deps/SZ/sz/include/pastriD.h | 911 --------- deps/SZ/sz/include/pastriF.h | 911 --------- deps/SZ/sz/include/pastriGeneral.h | 205 -- deps/SZ/sz/include/rw.h | 89 - deps/SZ/sz/include/sz.h | 17 - deps/SZ/sz/include/sz_float.h | 10 - deps/SZ/sz/include/sz_opencl.h | 68 - deps/SZ/sz/include/sz_stats.h | 58 - deps/SZ/sz/src/ArithmeticCoding.c | 692 ------- deps/SZ/sz/src/CacheTable.c | 100 - deps/SZ/sz/src/DynamicDoubleArray.c | 57 - deps/SZ/sz/src/DynamicFloatArray.c | 57 - deps/SZ/sz/src/MultiLevelCacheTable.c | 193 -- .../sz/src/MultiLevelCacheTableWideInterval.c | 125 -- deps/SZ/sz/src/TypeManager.c | 356 +--- deps/SZ/sz/src/VarSet.c | 254 --- deps/SZ/sz/src/conf.c | 38 +- deps/SZ/sz/src/pastri.c | 87 - deps/SZ/sz/src/rw.c | 1006 ---------- deps/SZ/sz/src/rw_interface.F90 | 205 -- deps/SZ/sz/src/rwf.c | 96 - deps/SZ/sz/src/sz.c | 15 - deps/SZ/sz/src/sz_double.c | 3 - deps/SZ/sz/src/sz_float.c | 11 - deps/SZ/sz/src/sz_interface.F90 | 1207 ------------ deps/SZ/sz/src/sz_stats.c | 60 - 38 files changed, 33 insertions(+), 9139 deletions(-) delete mode 100644 deps/SZ/sz/Makefile.am delete mode 100644 deps/SZ/sz/Makefile.in delete mode 100644 deps/SZ/sz/include/ArithmeticCoding.h delete mode 100644 deps/SZ/sz/include/CacheTable.h delete mode 100644 deps/SZ/sz/include/DynamicDoubleArray.h delete mode 100644 deps/SZ/sz/include/DynamicFloatArray.h delete mode 100644 deps/SZ/sz/include/MultiLevelCacheTable.h delete mode 100644 deps/SZ/sz/include/MultiLevelCacheTableWideInterval.h delete mode 100644 deps/SZ/sz/include/VarSet.h delete mode 100644 deps/SZ/sz/include/pastri.h delete mode 100644 deps/SZ/sz/include/pastriD.h delete mode 100644 deps/SZ/sz/include/pastriF.h delete mode 100644 deps/SZ/sz/include/pastriGeneral.h delete mode 100644 deps/SZ/sz/include/rw.h delete mode 100644 deps/SZ/sz/include/sz_opencl.h delete mode 100644 deps/SZ/sz/include/sz_stats.h delete mode 100644 deps/SZ/sz/src/ArithmeticCoding.c delete mode 100644 deps/SZ/sz/src/CacheTable.c delete mode 100644 deps/SZ/sz/src/DynamicDoubleArray.c delete mode 100644 deps/SZ/sz/src/DynamicFloatArray.c delete mode 100644 deps/SZ/sz/src/MultiLevelCacheTable.c delete mode 100644 deps/SZ/sz/src/MultiLevelCacheTableWideInterval.c delete mode 100644 deps/SZ/sz/src/VarSet.c delete mode 100644 deps/SZ/sz/src/pastri.c delete mode 100644 deps/SZ/sz/src/rw.c delete mode 100644 deps/SZ/sz/src/rw_interface.F90 delete mode 100644 deps/SZ/sz/src/rwf.c delete mode 100644 deps/SZ/sz/src/sz_interface.F90 delete mode 100644 deps/SZ/sz/src/sz_stats.c diff --git a/deps/SZ/sz/Makefile.am b/deps/SZ/sz/Makefile.am deleted file mode 100644 index fa78411658..0000000000 --- a/deps/SZ/sz/Makefile.am +++ /dev/null @@ -1,93 +0,0 @@ -#AM_CFLAGS = -I./include -I../zlib -#LDFLAGS=-fPIC -shared - -AUTOMAKE_OPTIONS=foreign -if FORTRAN -include_HEADERS=include/MultiLevelCacheTable.h include/MultiLevelCacheTableWideInterval.h include/CacheTable.h include/defines.h\ - include/CompressElement.h include/DynamicDoubleArray.h include/rw.h include/conf.h include/dataCompression.h\ - include/dictionary.h include/DynamicFloatArray.h include/VarSet.h include/sz.h include/Huffman.h include/ByteToolkit.h include/szf.h\ - include/sz_float.h include/sz_double.h include/callZlib.h include/iniparser.h include/TypeManager.h\ - include/sz_int8.h include/sz_int16.h include/sz_int32.h include/sz_int64.h include/szd_int8.h include/szd_int16.h include/szd_int32.h include/szd_int64.h\ - include/sz_uint8.h include/sz_uint16.h include/sz_uint32.h include/sz_uint64.h include/szd_uint8.h include/szd_uint16.h include/szd_uint32.h include/szd_uint64.h\ - include/sz_float_pwr.h include/sz_double_pwr.h include/szd_float.h include/szd_double.h include/szd_float_pwr.h include/szd_double_pwr.h\ - include/sz_float_ts.h include/szd_float_ts.h include/sz_double_ts.h include/szd_double_ts.h include/utility.h include/sz_opencl.h\ - include/DynamicByteArray.h include/DynamicIntArray.h include/TightDataPointStorageI.h include/TightDataPointStorageD.h include/TightDataPointStorageF.h\ - include/pastriD.h include/pastriF.h include/pastriGeneral.h include/pastri.h include/exafelSZ.h include/ArithmeticCoding.h include/sz_omp.h include/sz_stats.h sz.mod rw.mod -lib_LTLIBRARIES=libSZ.la -libSZ_la_CFLAGS=-I./include -I../zlib/ -I../zstd/ -if TIMECMPR -libSZ_la_CFLAGS+=-DHAVE_TIMECMPR -endif -if RANDOMACCESS -libSZ_la_CFLAGS+=-DHAVE_RANDOMACCESS -endif -if OPENMP -libSZ_la_CFLAGS+=-fopenmp -endif -libSZ_la_LDFLAGS = -version-info 2:1:0 -libSZ_la_LIDADD=../zlib/.libs/libzlib.a ../zstd/.libs/libzstd.a -libSZ_la_SOURCES=src/MultiLevelCacheTable.c src/MultiLevelCacheTableWideInterval.c \ - src/ByteToolkit.c src/dataCompression.c src/DynamicIntArray.c src/iniparser.c src/szf.c \ - src/CompressElement.c src/DynamicByteArray.c src/rw.c src/utility.c\ - src/TightDataPointStorageI.c src/TightDataPointStorageD.c src/TightDataPointStorageF.c \ - src/conf.c src/DynamicDoubleArray.c src/rwf.c src/TypeManager.c \ - src/dictionary.c src/DynamicFloatArray.c src/VarSet.c src/callZlib.c src/Huffman.c \ - src/sz_float.c src/sz_double.c src/sz_int8.c src/sz_int16.c src/sz_int32.c src/sz_int64.c\ - src/sz_uint8.c src/sz_uint16.c src/sz_uint32.c src/sz_uint64.c src/szd_uint8.c src/szd_uint16.c src/szd_uint32.c src/szd_uint64.c\ - src/szd_float.c src/szd_double.c src/szd_int8.c src/szd_int16.c src/szd_int32.c src/szd_int64.c src/sz.c\ - src/sz_float_pwr.c src/sz_double_pwr.c src/szd_float_pwr.c src/szd_double_pwr.c src/ArithmeticCoding.c src/CacheTable.c\ - src/sz_interface.F90 src/rw_interface.F90 src/exafelSZ.c -libSZ_la_LINK=$(AM_V_CC)$(LIBTOOL) --tag=FC --mode=link $(FCLD) $(libSZ_la_CFLAGS) -O3 $(libSZ_la_LDFLAGS) -o $(lib_LTLIBRARIES) -else -include_HEADERS=include/MultiLevelCacheTable.h include/MultiLevelCacheTableWideInterval.h include/CacheTable.h include/defines.h\ - include/CompressElement.h include/DynamicDoubleArray.h include/rw.h include/conf.h include/dataCompression.h\ - include/dictionary.h include/DynamicFloatArray.h include/VarSet.h include/sz.h include/Huffman.h include/ByteToolkit.h\ - include/sz_float.h include/sz_double.h include/callZlib.h include/iniparser.h include/TypeManager.h\ - include/sz_int8.h include/sz_int16.h include/sz_int32.h include/sz_int64.h include/szd_int8.h include/szd_int16.h include/szd_int32.h include/szd_int64.h\ - include/sz_uint8.h include/sz_uint16.h include/sz_uint32.h include/sz_uint64.h include/szd_uint8.h include/szd_uint16.h include/szd_uint32.h include/szd_uint64.h\ - include/sz_float_pwr.h include/sz_double_pwr.h include/szd_float.h include/szd_double.h include/szd_float_pwr.h include/szd_double_pwr.h\ - include/sz_float_ts.h include/szd_float_ts.h include/sz_double_ts.h include/szd_double_ts.h include/utility.h include/sz_opencl.h\ - include/DynamicByteArray.h include/DynamicIntArray.h include/TightDataPointStorageI.h include/TightDataPointStorageD.h include/TightDataPointStorageF.h\ - include/pastriD.h include/pastriF.h include/pastriGeneral.h include/pastri.h include/exafelSZ.h include/ArithmeticCoding.h include/sz_omp.h include/sz_stats.h - -lib_LTLIBRARIES=libSZ.la -libSZ_la_CFLAGS=-I./include -I../zlib -I../zstd/ -if WRITESTATS -libSZ_la_CFLAGS+=-DHAVE_WRITESTATS -endif -if TIMECMPR -libSZ_la_CFLAGS+=-DHAVE_TIMECMPR -endif -if RANDOMACCESS -libSZ_la_CFLAGS+=-DHAVE_RANDOMACCESS -endif -if OPENMP -libSZ_la_CFLAGS+=-fopenmp -endif -libSZ_la_LDFLAGS = -version-info 1:4:0 -libSZ_la_LIDADD=../zlib/.libs/libzlib.a ../zlib/.libs/libzstd.a -libSZ_la_SOURCES=src/MultiLevelCacheTable.c src/MultiLevelCacheTableWideInterval.c \ - src/ByteToolkit.c src/dataCompression.c src/DynamicIntArray.c src/iniparser.c\ - src/CompressElement.c src/DynamicByteArray.c src/rw.c src/utility.c\ - src/TightDataPointStorageI.c src/TightDataPointStorageD.c src/TightDataPointStorageF.c \ - src/conf.c src/DynamicDoubleArray.c src/TypeManager.c \ - src/dictionary.c src/DynamicFloatArray.c src/VarSet.c src/callZlib.c src/Huffman.c \ - src/sz_float.c src/sz_double.c src/sz_int8.c src/sz_int16.c src/sz_int32.c src/sz_int64.c\ - src/sz_uint8.c src/sz_uint16.c src/sz_uint32.c src/sz_uint64.c src/szd_uint8.c src/szd_uint16.c src/szd_uint32.c src/szd_uint64.c\ - src/szd_float.c src/szd_double.c src/szd_int8.c src/szd_int16.c src/szd_int32.c src/szd_int64.c src/sz.c\ - src/sz_float_pwr.c src/sz_double_pwr.c src/szd_float_pwr.c src/szd_double_pwr.c src/ArithmeticCoding.c src/exafelSZ.c src/CacheTable.c -if PASTRI -libSZ_la_SOURCES+=src/pastri.c -endif -if OPENMP -libSZ_la_SOURCES+=src/sz_omp.c -endif -if TIMECMPR -libSZ_la_SOURCES+=src/sz_float_ts.c src/szd_float_ts.c src/sz_double_ts.c src/szd_double_ts.c -endif -if WRITESTATS -libSZ_la_SOURCES+=src/sz_stats.c -endif - -libSZ_la_LINK= $(AM_V_CC)$(LIBTOOL) --tag=CC --mode=link $(CCLD) $(libSZ_la_CFLAGS) -O3 $(libSZ_la_LDFLAGS) -o $(lib_LTLIBRARIES) -endif diff --git a/deps/SZ/sz/Makefile.in b/deps/SZ/sz/Makefile.in deleted file mode 100644 index 8209df4a6f..0000000000 --- a/deps/SZ/sz/Makefile.in +++ /dev/null @@ -1,1729 +0,0 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2020 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -#AM_CFLAGS = -I./include -I../zlib -#LDFLAGS=-fPIC -shared - - -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -@FORTRAN_TRUE@@TIMECMPR_TRUE@am__append_1 = -DHAVE_TIMECMPR -@FORTRAN_TRUE@@RANDOMACCESS_TRUE@am__append_2 = -DHAVE_RANDOMACCESS -@FORTRAN_TRUE@@OPENMP_TRUE@am__append_3 = -fopenmp -@FORTRAN_FALSE@@WRITESTATS_TRUE@am__append_4 = -DHAVE_WRITESTATS -@FORTRAN_FALSE@@TIMECMPR_TRUE@am__append_5 = -DHAVE_TIMECMPR -@FORTRAN_FALSE@@RANDOMACCESS_TRUE@am__append_6 = -DHAVE_RANDOMACCESS -@FORTRAN_FALSE@@OPENMP_TRUE@am__append_7 = -fopenmp -@FORTRAN_FALSE@@PASTRI_TRUE@am__append_8 = src/pastri.c -@FORTRAN_FALSE@@OPENMP_TRUE@am__append_9 = src/sz_omp.c -@FORTRAN_FALSE@@TIMECMPR_TRUE@am__append_10 = src/sz_float_ts.c src/szd_float_ts.c src/sz_double_ts.c src/szd_double_ts.c -@FORTRAN_FALSE@@WRITESTATS_TRUE@am__append_11 = src/sz_stats.c -subdir = sz -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__include_HEADERS_DIST) \ - $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" -LTLIBRARIES = $(lib_LTLIBRARIES) -libSZ_la_LIBADD = -am__libSZ_la_SOURCES_DIST = src/MultiLevelCacheTable.c \ - src/MultiLevelCacheTableWideInterval.c src/ByteToolkit.c \ - src/dataCompression.c src/DynamicIntArray.c src/iniparser.c \ - src/CompressElement.c src/DynamicByteArray.c src/rw.c \ - src/utility.c src/TightDataPointStorageI.c \ - src/TightDataPointStorageD.c src/TightDataPointStorageF.c \ - src/conf.c src/DynamicDoubleArray.c src/TypeManager.c \ - src/dictionary.c src/DynamicFloatArray.c src/VarSet.c \ - src/callZlib.c src/Huffman.c src/sz_float.c src/sz_double.c \ - src/sz_int8.c src/sz_int16.c src/sz_int32.c src/sz_int64.c \ - src/sz_uint8.c src/sz_uint16.c src/sz_uint32.c src/sz_uint64.c \ - src/szd_uint8.c src/szd_uint16.c src/szd_uint32.c \ - src/szd_uint64.c src/szd_float.c src/szd_double.c \ - src/szd_int8.c src/szd_int16.c src/szd_int32.c src/szd_int64.c \ - src/sz.c src/sz_float_pwr.c src/sz_double_pwr.c \ - src/szd_float_pwr.c src/szd_double_pwr.c \ - src/ArithmeticCoding.c src/exafelSZ.c src/CacheTable.c \ - src/pastri.c src/sz_omp.c src/sz_float_ts.c src/szd_float_ts.c \ - src/sz_double_ts.c src/szd_double_ts.c src/sz_stats.c \ - src/szf.c src/rwf.c src/sz_interface.F90 src/rw_interface.F90 -am__dirstamp = $(am__leading_dot)dirstamp -@FORTRAN_FALSE@@PASTRI_TRUE@am__objects_1 = src/libSZ_la-pastri.lo -@FORTRAN_FALSE@@OPENMP_TRUE@am__objects_2 = src/libSZ_la-sz_omp.lo -@FORTRAN_FALSE@@TIMECMPR_TRUE@am__objects_3 = \ -@FORTRAN_FALSE@@TIMECMPR_TRUE@ src/libSZ_la-sz_float_ts.lo \ -@FORTRAN_FALSE@@TIMECMPR_TRUE@ src/libSZ_la-szd_float_ts.lo \ -@FORTRAN_FALSE@@TIMECMPR_TRUE@ src/libSZ_la-sz_double_ts.lo \ -@FORTRAN_FALSE@@TIMECMPR_TRUE@ src/libSZ_la-szd_double_ts.lo -@FORTRAN_FALSE@@WRITESTATS_TRUE@am__objects_4 = \ -@FORTRAN_FALSE@@WRITESTATS_TRUE@ src/libSZ_la-sz_stats.lo -@FORTRAN_FALSE@am_libSZ_la_OBJECTS = \ -@FORTRAN_FALSE@ src/libSZ_la-MultiLevelCacheTable.lo \ -@FORTRAN_FALSE@ src/libSZ_la-MultiLevelCacheTableWideInterval.lo \ -@FORTRAN_FALSE@ src/libSZ_la-ByteToolkit.lo \ -@FORTRAN_FALSE@ src/libSZ_la-dataCompression.lo \ -@FORTRAN_FALSE@ src/libSZ_la-DynamicIntArray.lo \ -@FORTRAN_FALSE@ src/libSZ_la-iniparser.lo \ -@FORTRAN_FALSE@ src/libSZ_la-CompressElement.lo \ -@FORTRAN_FALSE@ src/libSZ_la-DynamicByteArray.lo \ -@FORTRAN_FALSE@ src/libSZ_la-rw.lo src/libSZ_la-utility.lo \ -@FORTRAN_FALSE@ src/libSZ_la-TightDataPointStorageI.lo \ -@FORTRAN_FALSE@ src/libSZ_la-TightDataPointStorageD.lo \ -@FORTRAN_FALSE@ src/libSZ_la-TightDataPointStorageF.lo \ -@FORTRAN_FALSE@ src/libSZ_la-conf.lo \ -@FORTRAN_FALSE@ src/libSZ_la-DynamicDoubleArray.lo \ -@FORTRAN_FALSE@ src/libSZ_la-TypeManager.lo \ -@FORTRAN_FALSE@ src/libSZ_la-dictionary.lo \ -@FORTRAN_FALSE@ src/libSZ_la-DynamicFloatArray.lo \ -@FORTRAN_FALSE@ src/libSZ_la-VarSet.lo src/libSZ_la-callZlib.lo \ -@FORTRAN_FALSE@ src/libSZ_la-Huffman.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_float.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_double.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_int8.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_int16.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_int32.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_int64.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_uint8.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_uint16.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_uint32.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_uint64.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_uint8.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_uint16.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_uint32.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_uint64.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_float.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_double.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_int8.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_int16.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_int32.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_int64.lo src/libSZ_la-sz.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_float_pwr.lo \ -@FORTRAN_FALSE@ src/libSZ_la-sz_double_pwr.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_float_pwr.lo \ -@FORTRAN_FALSE@ src/libSZ_la-szd_double_pwr.lo \ -@FORTRAN_FALSE@ src/libSZ_la-ArithmeticCoding.lo \ -@FORTRAN_FALSE@ src/libSZ_la-exafelSZ.lo \ -@FORTRAN_FALSE@ src/libSZ_la-CacheTable.lo $(am__objects_1) \ -@FORTRAN_FALSE@ $(am__objects_2) $(am__objects_3) \ -@FORTRAN_FALSE@ $(am__objects_4) -@FORTRAN_TRUE@am_libSZ_la_OBJECTS = \ -@FORTRAN_TRUE@ src/libSZ_la-MultiLevelCacheTable.lo \ -@FORTRAN_TRUE@ src/libSZ_la-MultiLevelCacheTableWideInterval.lo \ -@FORTRAN_TRUE@ src/libSZ_la-ByteToolkit.lo \ -@FORTRAN_TRUE@ src/libSZ_la-dataCompression.lo \ -@FORTRAN_TRUE@ src/libSZ_la-DynamicIntArray.lo \ -@FORTRAN_TRUE@ src/libSZ_la-iniparser.lo src/libSZ_la-szf.lo \ -@FORTRAN_TRUE@ src/libSZ_la-CompressElement.lo \ -@FORTRAN_TRUE@ src/libSZ_la-DynamicByteArray.lo \ -@FORTRAN_TRUE@ src/libSZ_la-rw.lo src/libSZ_la-utility.lo \ -@FORTRAN_TRUE@ src/libSZ_la-TightDataPointStorageI.lo \ -@FORTRAN_TRUE@ src/libSZ_la-TightDataPointStorageD.lo \ -@FORTRAN_TRUE@ src/libSZ_la-TightDataPointStorageF.lo \ -@FORTRAN_TRUE@ src/libSZ_la-conf.lo \ -@FORTRAN_TRUE@ src/libSZ_la-DynamicDoubleArray.lo \ -@FORTRAN_TRUE@ src/libSZ_la-rwf.lo src/libSZ_la-TypeManager.lo \ -@FORTRAN_TRUE@ src/libSZ_la-dictionary.lo \ -@FORTRAN_TRUE@ src/libSZ_la-DynamicFloatArray.lo \ -@FORTRAN_TRUE@ src/libSZ_la-VarSet.lo src/libSZ_la-callZlib.lo \ -@FORTRAN_TRUE@ src/libSZ_la-Huffman.lo src/libSZ_la-sz_float.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_double.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_int8.lo src/libSZ_la-sz_int16.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_int32.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_int64.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_uint8.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_uint16.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_uint32.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_uint64.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_uint8.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_uint16.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_uint32.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_uint64.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_float.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_double.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_int8.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_int16.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_int32.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_int64.lo src/libSZ_la-sz.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_float_pwr.lo \ -@FORTRAN_TRUE@ src/libSZ_la-sz_double_pwr.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_float_pwr.lo \ -@FORTRAN_TRUE@ src/libSZ_la-szd_double_pwr.lo \ -@FORTRAN_TRUE@ src/libSZ_la-ArithmeticCoding.lo \ -@FORTRAN_TRUE@ src/libSZ_la-CacheTable.lo src/sz_interface.lo \ -@FORTRAN_TRUE@ src/rw_interface.lo src/libSZ_la-exafelSZ.lo \ -@FORTRAN_TRUE@ $(am__objects_1) $(am__objects_2) \ -@FORTRAN_TRUE@ $(am__objects_3) $(am__objects_4) -libSZ_la_OBJECTS = $(am_libSZ_la_OBJECTS) -@FORTRAN_FALSE@am_libSZ_la_rpath = -rpath $(libdir) -@FORTRAN_TRUE@am_libSZ_la_rpath = -rpath $(libdir) -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__maybe_remake_depfiles = depfiles -am__depfiles_remade = src/$(DEPDIR)/libSZ_la-ArithmeticCoding.Plo \ - src/$(DEPDIR)/libSZ_la-ByteToolkit.Plo \ - src/$(DEPDIR)/libSZ_la-CacheTable.Plo \ - src/$(DEPDIR)/libSZ_la-CompressElement.Plo \ - src/$(DEPDIR)/libSZ_la-DynamicByteArray.Plo \ - src/$(DEPDIR)/libSZ_la-DynamicDoubleArray.Plo \ - src/$(DEPDIR)/libSZ_la-DynamicFloatArray.Plo \ - src/$(DEPDIR)/libSZ_la-DynamicIntArray.Plo \ - src/$(DEPDIR)/libSZ_la-Huffman.Plo \ - src/$(DEPDIR)/libSZ_la-MultiLevelCacheTable.Plo \ - src/$(DEPDIR)/libSZ_la-MultiLevelCacheTableWideInterval.Plo \ - src/$(DEPDIR)/libSZ_la-TightDataPointStorageD.Plo \ - src/$(DEPDIR)/libSZ_la-TightDataPointStorageF.Plo \ - src/$(DEPDIR)/libSZ_la-TightDataPointStorageI.Plo \ - src/$(DEPDIR)/libSZ_la-TypeManager.Plo \ - src/$(DEPDIR)/libSZ_la-VarSet.Plo \ - src/$(DEPDIR)/libSZ_la-callZlib.Plo \ - src/$(DEPDIR)/libSZ_la-conf.Plo \ - src/$(DEPDIR)/libSZ_la-dataCompression.Plo \ - src/$(DEPDIR)/libSZ_la-dictionary.Plo \ - src/$(DEPDIR)/libSZ_la-exafelSZ.Plo \ - src/$(DEPDIR)/libSZ_la-iniparser.Plo \ - src/$(DEPDIR)/libSZ_la-pastri.Plo \ - src/$(DEPDIR)/libSZ_la-rw.Plo src/$(DEPDIR)/libSZ_la-rwf.Plo \ - src/$(DEPDIR)/libSZ_la-sz.Plo \ - src/$(DEPDIR)/libSZ_la-sz_double.Plo \ - src/$(DEPDIR)/libSZ_la-sz_double_pwr.Plo \ - src/$(DEPDIR)/libSZ_la-sz_double_ts.Plo \ - src/$(DEPDIR)/libSZ_la-sz_float.Plo \ - src/$(DEPDIR)/libSZ_la-sz_float_pwr.Plo \ - src/$(DEPDIR)/libSZ_la-sz_float_ts.Plo \ - src/$(DEPDIR)/libSZ_la-sz_int16.Plo \ - src/$(DEPDIR)/libSZ_la-sz_int32.Plo \ - src/$(DEPDIR)/libSZ_la-sz_int64.Plo \ - src/$(DEPDIR)/libSZ_la-sz_int8.Plo \ - src/$(DEPDIR)/libSZ_la-sz_omp.Plo \ - src/$(DEPDIR)/libSZ_la-sz_stats.Plo \ - src/$(DEPDIR)/libSZ_la-sz_uint16.Plo \ - src/$(DEPDIR)/libSZ_la-sz_uint32.Plo \ - src/$(DEPDIR)/libSZ_la-sz_uint64.Plo \ - src/$(DEPDIR)/libSZ_la-sz_uint8.Plo \ - src/$(DEPDIR)/libSZ_la-szd_double.Plo \ - src/$(DEPDIR)/libSZ_la-szd_double_pwr.Plo \ - src/$(DEPDIR)/libSZ_la-szd_double_ts.Plo \ - src/$(DEPDIR)/libSZ_la-szd_float.Plo \ - src/$(DEPDIR)/libSZ_la-szd_float_pwr.Plo \ - src/$(DEPDIR)/libSZ_la-szd_float_ts.Plo \ - src/$(DEPDIR)/libSZ_la-szd_int16.Plo \ - src/$(DEPDIR)/libSZ_la-szd_int32.Plo \ - src/$(DEPDIR)/libSZ_la-szd_int64.Plo \ - src/$(DEPDIR)/libSZ_la-szd_int8.Plo \ - src/$(DEPDIR)/libSZ_la-szd_uint16.Plo \ - src/$(DEPDIR)/libSZ_la-szd_uint32.Plo \ - src/$(DEPDIR)/libSZ_la-szd_uint64.Plo \ - src/$(DEPDIR)/libSZ_la-szd_uint8.Plo \ - src/$(DEPDIR)/libSZ_la-szf.Plo \ - src/$(DEPDIR)/libSZ_la-utility.Plo -am__mv = mv -f -PPFCCOMPILE = $(FC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS) -AM_V_lt = $(am__v_lt_@AM_V@) -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 = --silent -am__v_lt_1 = -LTPPFCCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=FC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(FC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_FCFLAGS) $(FCFLAGS) -AM_V_PPFC = $(am__v_PPFC_@AM_V@) -am__v_PPFC_ = $(am__v_PPFC_@AM_DEFAULT_V@) -am__v_PPFC_0 = @echo " PPFC " $@; -am__v_PPFC_1 = -FCLD = $(FC) -FCLINK = $(LIBTOOL) $(AM_V_lt) --tag=FC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_FCLD = $(am__v_FCLD_@AM_V@) -am__v_FCLD_ = $(am__v_FCLD_@AM_DEFAULT_V@) -am__v_FCLD_0 = @echo " FCLD " $@; -am__v_FCLD_1 = -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_@AM_V@) -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) -am__v_CC_0 = @echo " CC " $@; -am__v_CC_1 = -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_@AM_V@) -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) -am__v_CCLD_0 = @echo " CCLD " $@; -am__v_CCLD_1 = -SOURCES = $(libSZ_la_SOURCES) -DIST_SOURCES = $(am__libSZ_la_SOURCES_DIST) -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__include_HEADERS_DIST = include/MultiLevelCacheTable.h \ - include/MultiLevelCacheTableWideInterval.h \ - include/CacheTable.h include/defines.h \ - include/CompressElement.h include/DynamicDoubleArray.h \ - include/rw.h include/conf.h include/dataCompression.h \ - include/dictionary.h include/DynamicFloatArray.h \ - include/VarSet.h include/sz.h include/Huffman.h \ - include/ByteToolkit.h include/sz_float.h include/sz_double.h \ - include/callZlib.h include/iniparser.h include/TypeManager.h \ - include/sz_int8.h include/sz_int16.h include/sz_int32.h \ - include/sz_int64.h include/szd_int8.h include/szd_int16.h \ - include/szd_int32.h include/szd_int64.h include/sz_uint8.h \ - include/sz_uint16.h include/sz_uint32.h include/sz_uint64.h \ - include/szd_uint8.h include/szd_uint16.h include/szd_uint32.h \ - include/szd_uint64.h include/sz_float_pwr.h \ - include/sz_double_pwr.h include/szd_float.h \ - include/szd_double.h include/szd_float_pwr.h \ - include/szd_double_pwr.h include/sz_float_ts.h \ - include/szd_float_ts.h include/sz_double_ts.h \ - include/szd_double_ts.h include/utility.h include/sz_opencl.h \ - include/DynamicByteArray.h include/DynamicIntArray.h \ - include/TightDataPointStorageI.h \ - include/TightDataPointStorageD.h \ - include/TightDataPointStorageF.h include/pastriD.h \ - include/pastriF.h include/pastriGeneral.h include/pastri.h \ - include/exafelSZ.h include/ArithmeticCoding.h include/sz_omp.h \ - include/sz_stats.h include/szf.h sz.mod rw.mod -HEADERS = $(include_HEADERS) -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -# Read a list of newline-separated strings from the standard input, -# and print each of them once, without duplicates. Input order is -# *not* preserved. -am__uniquify_input = $(AWK) '\ - BEGIN { nonempty = 0; } \ - { items[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in items) print i; }; } \ -' -# Make sure the list of sources is unique. This is necessary because, -# e.g., the same source file might be shared among _SOURCES variables -# for different programs/libraries. -am__define_uniq_tagged_files = \ - list='$(am__tagged_files)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FC = @FC@ -FCFLAGS = @FCFLAGS@ -FGREP = @FGREP@ -GREP = @GREP@ -GSL_CFLAGS = @GSL_CFLAGS@ -GSL_CONFIG = @GSL_CONFIG@ -GSL_HDR = @GSL_HDR@ -GSL_LIB = @GSL_LIB@ -GSL_LIBS = @GSL_LIBS@ -GSL_STATIC = @GSL_STATIC@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OPENMP_FLAGS = @OPENMP_FLAGS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PASTRI_FLAGS = @PASTRI_FLAGS@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANDOMACCESS_FLAGS = @RANDOMACCESS_FLAGS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TIMECMPR_FLAGS = @TIMECMPR_FLAGS@ -VERSION = @VERSION@ -WRITESTATS_FLAGS = @WRITESTATS_FLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -ac_ct_FC = @ac_ct_FC@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AUTOMAKE_OPTIONS = foreign -@FORTRAN_FALSE@include_HEADERS = include/MultiLevelCacheTable.h include/MultiLevelCacheTableWideInterval.h include/CacheTable.h include/defines.h\ -@FORTRAN_FALSE@ include/CompressElement.h include/DynamicDoubleArray.h include/rw.h include/conf.h include/dataCompression.h\ -@FORTRAN_FALSE@ include/dictionary.h include/DynamicFloatArray.h include/VarSet.h include/sz.h include/Huffman.h include/ByteToolkit.h\ -@FORTRAN_FALSE@ include/sz_float.h include/sz_double.h include/callZlib.h include/iniparser.h include/TypeManager.h\ -@FORTRAN_FALSE@ include/sz_int8.h include/sz_int16.h include/sz_int32.h include/sz_int64.h include/szd_int8.h include/szd_int16.h include/szd_int32.h include/szd_int64.h\ -@FORTRAN_FALSE@ include/sz_uint8.h include/sz_uint16.h include/sz_uint32.h include/sz_uint64.h include/szd_uint8.h include/szd_uint16.h include/szd_uint32.h include/szd_uint64.h\ -@FORTRAN_FALSE@ include/sz_float_pwr.h include/sz_double_pwr.h include/szd_float.h include/szd_double.h include/szd_float_pwr.h include/szd_double_pwr.h\ -@FORTRAN_FALSE@ include/sz_float_ts.h include/szd_float_ts.h include/sz_double_ts.h include/szd_double_ts.h include/utility.h include/sz_opencl.h\ -@FORTRAN_FALSE@ include/DynamicByteArray.h include/DynamicIntArray.h include/TightDataPointStorageI.h include/TightDataPointStorageD.h include/TightDataPointStorageF.h\ -@FORTRAN_FALSE@ include/pastriD.h include/pastriF.h include/pastriGeneral.h include/pastri.h include/exafelSZ.h include/ArithmeticCoding.h include/sz_omp.h include/sz_stats.h - -@FORTRAN_TRUE@include_HEADERS = include/MultiLevelCacheTable.h include/MultiLevelCacheTableWideInterval.h include/CacheTable.h include/defines.h\ -@FORTRAN_TRUE@ include/CompressElement.h include/DynamicDoubleArray.h include/rw.h include/conf.h include/dataCompression.h\ -@FORTRAN_TRUE@ include/dictionary.h include/DynamicFloatArray.h include/VarSet.h include/sz.h include/Huffman.h include/ByteToolkit.h include/szf.h\ -@FORTRAN_TRUE@ include/sz_float.h include/sz_double.h include/callZlib.h include/iniparser.h include/TypeManager.h\ -@FORTRAN_TRUE@ include/sz_int8.h include/sz_int16.h include/sz_int32.h include/sz_int64.h include/szd_int8.h include/szd_int16.h include/szd_int32.h include/szd_int64.h\ -@FORTRAN_TRUE@ include/sz_uint8.h include/sz_uint16.h include/sz_uint32.h include/sz_uint64.h include/szd_uint8.h include/szd_uint16.h include/szd_uint32.h include/szd_uint64.h\ -@FORTRAN_TRUE@ include/sz_float_pwr.h include/sz_double_pwr.h include/szd_float.h include/szd_double.h include/szd_float_pwr.h include/szd_double_pwr.h\ -@FORTRAN_TRUE@ include/sz_float_ts.h include/szd_float_ts.h include/sz_double_ts.h include/szd_double_ts.h include/utility.h include/sz_opencl.h\ -@FORTRAN_TRUE@ include/DynamicByteArray.h include/DynamicIntArray.h include/TightDataPointStorageI.h include/TightDataPointStorageD.h include/TightDataPointStorageF.h\ -@FORTRAN_TRUE@ include/pastriD.h include/pastriF.h include/pastriGeneral.h include/pastri.h include/exafelSZ.h include/ArithmeticCoding.h include/sz_omp.h include/sz_stats.h sz.mod rw.mod - -@FORTRAN_FALSE@lib_LTLIBRARIES = libSZ.la -@FORTRAN_TRUE@lib_LTLIBRARIES = libSZ.la -@FORTRAN_FALSE@libSZ_la_CFLAGS = -I./include -I../zlib -I../zstd/ \ -@FORTRAN_FALSE@ $(am__append_4) $(am__append_5) $(am__append_6) \ -@FORTRAN_FALSE@ $(am__append_7) -@FORTRAN_TRUE@libSZ_la_CFLAGS = -I./include -I../zlib/ -I../zstd/ \ -@FORTRAN_TRUE@ $(am__append_1) $(am__append_2) $(am__append_3) \ -@FORTRAN_TRUE@ $(am__append_4) $(am__append_5) $(am__append_6) \ -@FORTRAN_TRUE@ $(am__append_7) -@FORTRAN_FALSE@libSZ_la_LDFLAGS = -version-info 1:4:0 -@FORTRAN_TRUE@libSZ_la_LDFLAGS = -version-info 2:1:0 -@FORTRAN_FALSE@libSZ_la_LIDADD = ../zlib/.libs/libzlib.a ../zlib/.libs/libzstd.a -@FORTRAN_TRUE@libSZ_la_LIDADD = ../zlib/.libs/libzlib.a ../zstd/.libs/libzstd.a -@FORTRAN_FALSE@libSZ_la_SOURCES = src/MultiLevelCacheTable.c \ -@FORTRAN_FALSE@ src/MultiLevelCacheTableWideInterval.c \ -@FORTRAN_FALSE@ src/ByteToolkit.c src/dataCompression.c \ -@FORTRAN_FALSE@ src/DynamicIntArray.c src/iniparser.c \ -@FORTRAN_FALSE@ src/CompressElement.c src/DynamicByteArray.c \ -@FORTRAN_FALSE@ src/rw.c src/utility.c \ -@FORTRAN_FALSE@ src/TightDataPointStorageI.c \ -@FORTRAN_FALSE@ src/TightDataPointStorageD.c \ -@FORTRAN_FALSE@ src/TightDataPointStorageF.c src/conf.c \ -@FORTRAN_FALSE@ src/DynamicDoubleArray.c src/TypeManager.c \ -@FORTRAN_FALSE@ src/dictionary.c src/DynamicFloatArray.c \ -@FORTRAN_FALSE@ src/VarSet.c src/callZlib.c src/Huffman.c \ -@FORTRAN_FALSE@ src/sz_float.c src/sz_double.c src/sz_int8.c \ -@FORTRAN_FALSE@ src/sz_int16.c src/sz_int32.c src/sz_int64.c \ -@FORTRAN_FALSE@ src/sz_uint8.c src/sz_uint16.c src/sz_uint32.c \ -@FORTRAN_FALSE@ src/sz_uint64.c src/szd_uint8.c \ -@FORTRAN_FALSE@ src/szd_uint16.c src/szd_uint32.c \ -@FORTRAN_FALSE@ src/szd_uint64.c src/szd_float.c \ -@FORTRAN_FALSE@ src/szd_double.c src/szd_int8.c src/szd_int16.c \ -@FORTRAN_FALSE@ src/szd_int32.c src/szd_int64.c src/sz.c \ -@FORTRAN_FALSE@ src/sz_float_pwr.c src/sz_double_pwr.c \ -@FORTRAN_FALSE@ src/szd_float_pwr.c src/szd_double_pwr.c \ -@FORTRAN_FALSE@ src/ArithmeticCoding.c src/exafelSZ.c \ -@FORTRAN_FALSE@ src/CacheTable.c $(am__append_8) \ -@FORTRAN_FALSE@ $(am__append_9) $(am__append_10) \ -@FORTRAN_FALSE@ $(am__append_11) -@FORTRAN_TRUE@libSZ_la_SOURCES = src/MultiLevelCacheTable.c \ -@FORTRAN_TRUE@ src/MultiLevelCacheTableWideInterval.c \ -@FORTRAN_TRUE@ src/ByteToolkit.c src/dataCompression.c \ -@FORTRAN_TRUE@ src/DynamicIntArray.c src/iniparser.c src/szf.c \ -@FORTRAN_TRUE@ src/CompressElement.c src/DynamicByteArray.c \ -@FORTRAN_TRUE@ src/rw.c src/utility.c \ -@FORTRAN_TRUE@ src/TightDataPointStorageI.c \ -@FORTRAN_TRUE@ src/TightDataPointStorageD.c \ -@FORTRAN_TRUE@ src/TightDataPointStorageF.c src/conf.c \ -@FORTRAN_TRUE@ src/DynamicDoubleArray.c src/rwf.c \ -@FORTRAN_TRUE@ src/TypeManager.c src/dictionary.c \ -@FORTRAN_TRUE@ src/DynamicFloatArray.c src/VarSet.c \ -@FORTRAN_TRUE@ src/callZlib.c src/Huffman.c src/sz_float.c \ -@FORTRAN_TRUE@ src/sz_double.c src/sz_int8.c src/sz_int16.c \ -@FORTRAN_TRUE@ src/sz_int32.c src/sz_int64.c src/sz_uint8.c \ -@FORTRAN_TRUE@ src/sz_uint16.c src/sz_uint32.c src/sz_uint64.c \ -@FORTRAN_TRUE@ src/szd_uint8.c src/szd_uint16.c \ -@FORTRAN_TRUE@ src/szd_uint32.c src/szd_uint64.c \ -@FORTRAN_TRUE@ src/szd_float.c src/szd_double.c src/szd_int8.c \ -@FORTRAN_TRUE@ src/szd_int16.c src/szd_int32.c src/szd_int64.c \ -@FORTRAN_TRUE@ src/sz.c src/sz_float_pwr.c src/sz_double_pwr.c \ -@FORTRAN_TRUE@ src/szd_float_pwr.c src/szd_double_pwr.c \ -@FORTRAN_TRUE@ src/ArithmeticCoding.c src/CacheTable.c \ -@FORTRAN_TRUE@ src/sz_interface.F90 src/rw_interface.F90 \ -@FORTRAN_TRUE@ src/exafelSZ.c $(am__append_8) $(am__append_9) \ -@FORTRAN_TRUE@ $(am__append_10) $(am__append_11) -@FORTRAN_FALSE@libSZ_la_LINK = $(AM_V_CC)$(LIBTOOL) --tag=CC --mode=link $(CCLD) $(libSZ_la_CFLAGS) -O3 $(libSZ_la_LDFLAGS) -o $(lib_LTLIBRARIES) -@FORTRAN_TRUE@libSZ_la_LINK = $(AM_V_CC)$(LIBTOOL) --tag=FC --mode=link $(FCLD) $(libSZ_la_CFLAGS) -O3 $(libSZ_la_LDFLAGS) -o $(lib_LTLIBRARIES) -all: all-am - -.SUFFIXES: -.SUFFIXES: .F90 .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sz/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign sz/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } -src/$(am__dirstamp): - @$(MKDIR_P) src - @: > src/$(am__dirstamp) -src/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) src/$(DEPDIR) - @: > src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-MultiLevelCacheTable.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-MultiLevelCacheTableWideInterval.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-ByteToolkit.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-dataCompression.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-DynamicIntArray.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-iniparser.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-CompressElement.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-DynamicByteArray.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-rw.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-utility.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-TightDataPointStorageI.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-TightDataPointStorageD.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-TightDataPointStorageF.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-conf.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-DynamicDoubleArray.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-TypeManager.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-dictionary.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-DynamicFloatArray.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-VarSet.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-callZlib.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-Huffman.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_float.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_double.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_int8.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_int16.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_int32.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_int64.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_uint8.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_uint16.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_uint32.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_uint64.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_uint8.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_uint16.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_uint32.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_uint64.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_float.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_double.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_int8.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_int16.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_int32.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_int64.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_float_pwr.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_double_pwr.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_float_pwr.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_double_pwr.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-ArithmeticCoding.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-exafelSZ.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-CacheTable.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-pastri.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_omp.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_float_ts.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_float_ts.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_double_ts.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szd_double_ts.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-sz_stats.lo: src/$(am__dirstamp) \ - src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-szf.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) -src/libSZ_la-rwf.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) -src/sz_interface.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) -src/rw_interface.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) - -libSZ.la: $(libSZ_la_OBJECTS) $(libSZ_la_DEPENDENCIES) $(EXTRA_libSZ_la_DEPENDENCIES) - $(AM_V_GEN)$(libSZ_la_LINK) $(am_libSZ_la_rpath) $(libSZ_la_OBJECTS) $(libSZ_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -rm -f src/*.$(OBJEXT) - -rm -f src/*.lo - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-ArithmeticCoding.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-ByteToolkit.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-CacheTable.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-CompressElement.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-DynamicByteArray.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-DynamicDoubleArray.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-DynamicFloatArray.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-DynamicIntArray.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-Huffman.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-MultiLevelCacheTable.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-MultiLevelCacheTableWideInterval.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-TightDataPointStorageD.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-TightDataPointStorageF.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-TightDataPointStorageI.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-TypeManager.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-VarSet.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-callZlib.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-conf.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-dataCompression.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-dictionary.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-exafelSZ.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-iniparser.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-pastri.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-rw.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-rwf.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_double.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_double_pwr.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_double_ts.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_float.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_float_pwr.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_float_ts.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_int16.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_int32.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_int64.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_int8.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_omp.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_stats.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_uint16.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_uint32.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_uint64.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-sz_uint8.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_double.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_double_pwr.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_double_ts.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_float.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_float_pwr.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_float_ts.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_int16.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_int32.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_int64.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_int8.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_uint16.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_uint32.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_uint64.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szd_uint8.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-szf.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/libSZ_la-utility.Plo@am__quote@ # am--include-marker - -$(am__depfiles_remade): - @$(MKDIR_P) $(@D) - @echo '# dummy' >$@-t && $(am__mv) $@-t $@ - -am--depfiles: $(am__depfiles_remade) - -.F90.o: - $(AM_V_PPFC)$(PPFCCOMPILE) -c -o $@ $< - -.F90.obj: - $(AM_V_PPFC)$(PPFCCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.F90.lo: - $(AM_V_PPFC)$(LTPPFCCOMPILE) -c -o $@ $< - -.c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< - -.c.obj: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< - -src/libSZ_la-MultiLevelCacheTable.lo: src/MultiLevelCacheTable.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-MultiLevelCacheTable.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-MultiLevelCacheTable.Tpo -c -o src/libSZ_la-MultiLevelCacheTable.lo `test -f 'src/MultiLevelCacheTable.c' || echo '$(srcdir)/'`src/MultiLevelCacheTable.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-MultiLevelCacheTable.Tpo src/$(DEPDIR)/libSZ_la-MultiLevelCacheTable.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/MultiLevelCacheTable.c' object='src/libSZ_la-MultiLevelCacheTable.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-MultiLevelCacheTable.lo `test -f 'src/MultiLevelCacheTable.c' || echo '$(srcdir)/'`src/MultiLevelCacheTable.c - -src/libSZ_la-MultiLevelCacheTableWideInterval.lo: src/MultiLevelCacheTableWideInterval.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-MultiLevelCacheTableWideInterval.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-MultiLevelCacheTableWideInterval.Tpo -c -o src/libSZ_la-MultiLevelCacheTableWideInterval.lo `test -f 'src/MultiLevelCacheTableWideInterval.c' || echo '$(srcdir)/'`src/MultiLevelCacheTableWideInterval.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-MultiLevelCacheTableWideInterval.Tpo src/$(DEPDIR)/libSZ_la-MultiLevelCacheTableWideInterval.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/MultiLevelCacheTableWideInterval.c' object='src/libSZ_la-MultiLevelCacheTableWideInterval.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-MultiLevelCacheTableWideInterval.lo `test -f 'src/MultiLevelCacheTableWideInterval.c' || echo '$(srcdir)/'`src/MultiLevelCacheTableWideInterval.c - -src/libSZ_la-ByteToolkit.lo: src/ByteToolkit.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-ByteToolkit.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-ByteToolkit.Tpo -c -o src/libSZ_la-ByteToolkit.lo `test -f 'src/ByteToolkit.c' || echo '$(srcdir)/'`src/ByteToolkit.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-ByteToolkit.Tpo src/$(DEPDIR)/libSZ_la-ByteToolkit.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ByteToolkit.c' object='src/libSZ_la-ByteToolkit.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-ByteToolkit.lo `test -f 'src/ByteToolkit.c' || echo '$(srcdir)/'`src/ByteToolkit.c - -src/libSZ_la-dataCompression.lo: src/dataCompression.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-dataCompression.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-dataCompression.Tpo -c -o src/libSZ_la-dataCompression.lo `test -f 'src/dataCompression.c' || echo '$(srcdir)/'`src/dataCompression.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-dataCompression.Tpo src/$(DEPDIR)/libSZ_la-dataCompression.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/dataCompression.c' object='src/libSZ_la-dataCompression.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-dataCompression.lo `test -f 'src/dataCompression.c' || echo '$(srcdir)/'`src/dataCompression.c - -src/libSZ_la-DynamicIntArray.lo: src/DynamicIntArray.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-DynamicIntArray.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-DynamicIntArray.Tpo -c -o src/libSZ_la-DynamicIntArray.lo `test -f 'src/DynamicIntArray.c' || echo '$(srcdir)/'`src/DynamicIntArray.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-DynamicIntArray.Tpo src/$(DEPDIR)/libSZ_la-DynamicIntArray.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/DynamicIntArray.c' object='src/libSZ_la-DynamicIntArray.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-DynamicIntArray.lo `test -f 'src/DynamicIntArray.c' || echo '$(srcdir)/'`src/DynamicIntArray.c - -src/libSZ_la-iniparser.lo: src/iniparser.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-iniparser.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-iniparser.Tpo -c -o src/libSZ_la-iniparser.lo `test -f 'src/iniparser.c' || echo '$(srcdir)/'`src/iniparser.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-iniparser.Tpo src/$(DEPDIR)/libSZ_la-iniparser.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/iniparser.c' object='src/libSZ_la-iniparser.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-iniparser.lo `test -f 'src/iniparser.c' || echo '$(srcdir)/'`src/iniparser.c - -src/libSZ_la-CompressElement.lo: src/CompressElement.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-CompressElement.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-CompressElement.Tpo -c -o src/libSZ_la-CompressElement.lo `test -f 'src/CompressElement.c' || echo '$(srcdir)/'`src/CompressElement.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-CompressElement.Tpo src/$(DEPDIR)/libSZ_la-CompressElement.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/CompressElement.c' object='src/libSZ_la-CompressElement.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-CompressElement.lo `test -f 'src/CompressElement.c' || echo '$(srcdir)/'`src/CompressElement.c - -src/libSZ_la-DynamicByteArray.lo: src/DynamicByteArray.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-DynamicByteArray.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-DynamicByteArray.Tpo -c -o src/libSZ_la-DynamicByteArray.lo `test -f 'src/DynamicByteArray.c' || echo '$(srcdir)/'`src/DynamicByteArray.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-DynamicByteArray.Tpo src/$(DEPDIR)/libSZ_la-DynamicByteArray.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/DynamicByteArray.c' object='src/libSZ_la-DynamicByteArray.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-DynamicByteArray.lo `test -f 'src/DynamicByteArray.c' || echo '$(srcdir)/'`src/DynamicByteArray.c - -src/libSZ_la-rw.lo: src/rw.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-rw.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-rw.Tpo -c -o src/libSZ_la-rw.lo `test -f 'src/rw.c' || echo '$(srcdir)/'`src/rw.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-rw.Tpo src/$(DEPDIR)/libSZ_la-rw.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/rw.c' object='src/libSZ_la-rw.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-rw.lo `test -f 'src/rw.c' || echo '$(srcdir)/'`src/rw.c - -src/libSZ_la-utility.lo: src/utility.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-utility.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-utility.Tpo -c -o src/libSZ_la-utility.lo `test -f 'src/utility.c' || echo '$(srcdir)/'`src/utility.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-utility.Tpo src/$(DEPDIR)/libSZ_la-utility.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/utility.c' object='src/libSZ_la-utility.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-utility.lo `test -f 'src/utility.c' || echo '$(srcdir)/'`src/utility.c - -src/libSZ_la-TightDataPointStorageI.lo: src/TightDataPointStorageI.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-TightDataPointStorageI.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-TightDataPointStorageI.Tpo -c -o src/libSZ_la-TightDataPointStorageI.lo `test -f 'src/TightDataPointStorageI.c' || echo '$(srcdir)/'`src/TightDataPointStorageI.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-TightDataPointStorageI.Tpo src/$(DEPDIR)/libSZ_la-TightDataPointStorageI.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/TightDataPointStorageI.c' object='src/libSZ_la-TightDataPointStorageI.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-TightDataPointStorageI.lo `test -f 'src/TightDataPointStorageI.c' || echo '$(srcdir)/'`src/TightDataPointStorageI.c - -src/libSZ_la-TightDataPointStorageD.lo: src/TightDataPointStorageD.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-TightDataPointStorageD.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-TightDataPointStorageD.Tpo -c -o src/libSZ_la-TightDataPointStorageD.lo `test -f 'src/TightDataPointStorageD.c' || echo '$(srcdir)/'`src/TightDataPointStorageD.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-TightDataPointStorageD.Tpo src/$(DEPDIR)/libSZ_la-TightDataPointStorageD.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/TightDataPointStorageD.c' object='src/libSZ_la-TightDataPointStorageD.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-TightDataPointStorageD.lo `test -f 'src/TightDataPointStorageD.c' || echo '$(srcdir)/'`src/TightDataPointStorageD.c - -src/libSZ_la-TightDataPointStorageF.lo: src/TightDataPointStorageF.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-TightDataPointStorageF.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-TightDataPointStorageF.Tpo -c -o src/libSZ_la-TightDataPointStorageF.lo `test -f 'src/TightDataPointStorageF.c' || echo '$(srcdir)/'`src/TightDataPointStorageF.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-TightDataPointStorageF.Tpo src/$(DEPDIR)/libSZ_la-TightDataPointStorageF.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/TightDataPointStorageF.c' object='src/libSZ_la-TightDataPointStorageF.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-TightDataPointStorageF.lo `test -f 'src/TightDataPointStorageF.c' || echo '$(srcdir)/'`src/TightDataPointStorageF.c - -src/libSZ_la-conf.lo: src/conf.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-conf.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-conf.Tpo -c -o src/libSZ_la-conf.lo `test -f 'src/conf.c' || echo '$(srcdir)/'`src/conf.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-conf.Tpo src/$(DEPDIR)/libSZ_la-conf.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/conf.c' object='src/libSZ_la-conf.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-conf.lo `test -f 'src/conf.c' || echo '$(srcdir)/'`src/conf.c - -src/libSZ_la-DynamicDoubleArray.lo: src/DynamicDoubleArray.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-DynamicDoubleArray.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-DynamicDoubleArray.Tpo -c -o src/libSZ_la-DynamicDoubleArray.lo `test -f 'src/DynamicDoubleArray.c' || echo '$(srcdir)/'`src/DynamicDoubleArray.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-DynamicDoubleArray.Tpo src/$(DEPDIR)/libSZ_la-DynamicDoubleArray.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/DynamicDoubleArray.c' object='src/libSZ_la-DynamicDoubleArray.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-DynamicDoubleArray.lo `test -f 'src/DynamicDoubleArray.c' || echo '$(srcdir)/'`src/DynamicDoubleArray.c - -src/libSZ_la-TypeManager.lo: src/TypeManager.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-TypeManager.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-TypeManager.Tpo -c -o src/libSZ_la-TypeManager.lo `test -f 'src/TypeManager.c' || echo '$(srcdir)/'`src/TypeManager.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-TypeManager.Tpo src/$(DEPDIR)/libSZ_la-TypeManager.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/TypeManager.c' object='src/libSZ_la-TypeManager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-TypeManager.lo `test -f 'src/TypeManager.c' || echo '$(srcdir)/'`src/TypeManager.c - -src/libSZ_la-dictionary.lo: src/dictionary.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-dictionary.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-dictionary.Tpo -c -o src/libSZ_la-dictionary.lo `test -f 'src/dictionary.c' || echo '$(srcdir)/'`src/dictionary.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-dictionary.Tpo src/$(DEPDIR)/libSZ_la-dictionary.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/dictionary.c' object='src/libSZ_la-dictionary.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-dictionary.lo `test -f 'src/dictionary.c' || echo '$(srcdir)/'`src/dictionary.c - -src/libSZ_la-DynamicFloatArray.lo: src/DynamicFloatArray.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-DynamicFloatArray.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-DynamicFloatArray.Tpo -c -o src/libSZ_la-DynamicFloatArray.lo `test -f 'src/DynamicFloatArray.c' || echo '$(srcdir)/'`src/DynamicFloatArray.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-DynamicFloatArray.Tpo src/$(DEPDIR)/libSZ_la-DynamicFloatArray.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/DynamicFloatArray.c' object='src/libSZ_la-DynamicFloatArray.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-DynamicFloatArray.lo `test -f 'src/DynamicFloatArray.c' || echo '$(srcdir)/'`src/DynamicFloatArray.c - -src/libSZ_la-VarSet.lo: src/VarSet.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-VarSet.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-VarSet.Tpo -c -o src/libSZ_la-VarSet.lo `test -f 'src/VarSet.c' || echo '$(srcdir)/'`src/VarSet.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-VarSet.Tpo src/$(DEPDIR)/libSZ_la-VarSet.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/VarSet.c' object='src/libSZ_la-VarSet.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-VarSet.lo `test -f 'src/VarSet.c' || echo '$(srcdir)/'`src/VarSet.c - -src/libSZ_la-callZlib.lo: src/callZlib.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-callZlib.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-callZlib.Tpo -c -o src/libSZ_la-callZlib.lo `test -f 'src/callZlib.c' || echo '$(srcdir)/'`src/callZlib.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-callZlib.Tpo src/$(DEPDIR)/libSZ_la-callZlib.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/callZlib.c' object='src/libSZ_la-callZlib.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-callZlib.lo `test -f 'src/callZlib.c' || echo '$(srcdir)/'`src/callZlib.c - -src/libSZ_la-Huffman.lo: src/Huffman.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-Huffman.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-Huffman.Tpo -c -o src/libSZ_la-Huffman.lo `test -f 'src/Huffman.c' || echo '$(srcdir)/'`src/Huffman.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-Huffman.Tpo src/$(DEPDIR)/libSZ_la-Huffman.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/Huffman.c' object='src/libSZ_la-Huffman.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-Huffman.lo `test -f 'src/Huffman.c' || echo '$(srcdir)/'`src/Huffman.c - -src/libSZ_la-sz_float.lo: src/sz_float.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_float.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_float.Tpo -c -o src/libSZ_la-sz_float.lo `test -f 'src/sz_float.c' || echo '$(srcdir)/'`src/sz_float.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_float.Tpo src/$(DEPDIR)/libSZ_la-sz_float.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_float.c' object='src/libSZ_la-sz_float.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_float.lo `test -f 'src/sz_float.c' || echo '$(srcdir)/'`src/sz_float.c - -src/libSZ_la-sz_double.lo: src/sz_double.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_double.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_double.Tpo -c -o src/libSZ_la-sz_double.lo `test -f 'src/sz_double.c' || echo '$(srcdir)/'`src/sz_double.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_double.Tpo src/$(DEPDIR)/libSZ_la-sz_double.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_double.c' object='src/libSZ_la-sz_double.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_double.lo `test -f 'src/sz_double.c' || echo '$(srcdir)/'`src/sz_double.c - -src/libSZ_la-sz_int8.lo: src/sz_int8.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_int8.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_int8.Tpo -c -o src/libSZ_la-sz_int8.lo `test -f 'src/sz_int8.c' || echo '$(srcdir)/'`src/sz_int8.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_int8.Tpo src/$(DEPDIR)/libSZ_la-sz_int8.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_int8.c' object='src/libSZ_la-sz_int8.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_int8.lo `test -f 'src/sz_int8.c' || echo '$(srcdir)/'`src/sz_int8.c - -src/libSZ_la-sz_int16.lo: src/sz_int16.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_int16.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_int16.Tpo -c -o src/libSZ_la-sz_int16.lo `test -f 'src/sz_int16.c' || echo '$(srcdir)/'`src/sz_int16.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_int16.Tpo src/$(DEPDIR)/libSZ_la-sz_int16.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_int16.c' object='src/libSZ_la-sz_int16.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_int16.lo `test -f 'src/sz_int16.c' || echo '$(srcdir)/'`src/sz_int16.c - -src/libSZ_la-sz_int32.lo: src/sz_int32.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_int32.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_int32.Tpo -c -o src/libSZ_la-sz_int32.lo `test -f 'src/sz_int32.c' || echo '$(srcdir)/'`src/sz_int32.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_int32.Tpo src/$(DEPDIR)/libSZ_la-sz_int32.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_int32.c' object='src/libSZ_la-sz_int32.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_int32.lo `test -f 'src/sz_int32.c' || echo '$(srcdir)/'`src/sz_int32.c - -src/libSZ_la-sz_int64.lo: src/sz_int64.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_int64.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_int64.Tpo -c -o src/libSZ_la-sz_int64.lo `test -f 'src/sz_int64.c' || echo '$(srcdir)/'`src/sz_int64.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_int64.Tpo src/$(DEPDIR)/libSZ_la-sz_int64.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_int64.c' object='src/libSZ_la-sz_int64.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_int64.lo `test -f 'src/sz_int64.c' || echo '$(srcdir)/'`src/sz_int64.c - -src/libSZ_la-sz_uint8.lo: src/sz_uint8.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_uint8.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_uint8.Tpo -c -o src/libSZ_la-sz_uint8.lo `test -f 'src/sz_uint8.c' || echo '$(srcdir)/'`src/sz_uint8.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_uint8.Tpo src/$(DEPDIR)/libSZ_la-sz_uint8.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_uint8.c' object='src/libSZ_la-sz_uint8.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_uint8.lo `test -f 'src/sz_uint8.c' || echo '$(srcdir)/'`src/sz_uint8.c - -src/libSZ_la-sz_uint16.lo: src/sz_uint16.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_uint16.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_uint16.Tpo -c -o src/libSZ_la-sz_uint16.lo `test -f 'src/sz_uint16.c' || echo '$(srcdir)/'`src/sz_uint16.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_uint16.Tpo src/$(DEPDIR)/libSZ_la-sz_uint16.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_uint16.c' object='src/libSZ_la-sz_uint16.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_uint16.lo `test -f 'src/sz_uint16.c' || echo '$(srcdir)/'`src/sz_uint16.c - -src/libSZ_la-sz_uint32.lo: src/sz_uint32.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_uint32.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_uint32.Tpo -c -o src/libSZ_la-sz_uint32.lo `test -f 'src/sz_uint32.c' || echo '$(srcdir)/'`src/sz_uint32.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_uint32.Tpo src/$(DEPDIR)/libSZ_la-sz_uint32.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_uint32.c' object='src/libSZ_la-sz_uint32.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_uint32.lo `test -f 'src/sz_uint32.c' || echo '$(srcdir)/'`src/sz_uint32.c - -src/libSZ_la-sz_uint64.lo: src/sz_uint64.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_uint64.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_uint64.Tpo -c -o src/libSZ_la-sz_uint64.lo `test -f 'src/sz_uint64.c' || echo '$(srcdir)/'`src/sz_uint64.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_uint64.Tpo src/$(DEPDIR)/libSZ_la-sz_uint64.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_uint64.c' object='src/libSZ_la-sz_uint64.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_uint64.lo `test -f 'src/sz_uint64.c' || echo '$(srcdir)/'`src/sz_uint64.c - -src/libSZ_la-szd_uint8.lo: src/szd_uint8.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_uint8.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_uint8.Tpo -c -o src/libSZ_la-szd_uint8.lo `test -f 'src/szd_uint8.c' || echo '$(srcdir)/'`src/szd_uint8.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_uint8.Tpo src/$(DEPDIR)/libSZ_la-szd_uint8.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_uint8.c' object='src/libSZ_la-szd_uint8.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_uint8.lo `test -f 'src/szd_uint8.c' || echo '$(srcdir)/'`src/szd_uint8.c - -src/libSZ_la-szd_uint16.lo: src/szd_uint16.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_uint16.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_uint16.Tpo -c -o src/libSZ_la-szd_uint16.lo `test -f 'src/szd_uint16.c' || echo '$(srcdir)/'`src/szd_uint16.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_uint16.Tpo src/$(DEPDIR)/libSZ_la-szd_uint16.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_uint16.c' object='src/libSZ_la-szd_uint16.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_uint16.lo `test -f 'src/szd_uint16.c' || echo '$(srcdir)/'`src/szd_uint16.c - -src/libSZ_la-szd_uint32.lo: src/szd_uint32.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_uint32.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_uint32.Tpo -c -o src/libSZ_la-szd_uint32.lo `test -f 'src/szd_uint32.c' || echo '$(srcdir)/'`src/szd_uint32.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_uint32.Tpo src/$(DEPDIR)/libSZ_la-szd_uint32.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_uint32.c' object='src/libSZ_la-szd_uint32.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_uint32.lo `test -f 'src/szd_uint32.c' || echo '$(srcdir)/'`src/szd_uint32.c - -src/libSZ_la-szd_uint64.lo: src/szd_uint64.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_uint64.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_uint64.Tpo -c -o src/libSZ_la-szd_uint64.lo `test -f 'src/szd_uint64.c' || echo '$(srcdir)/'`src/szd_uint64.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_uint64.Tpo src/$(DEPDIR)/libSZ_la-szd_uint64.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_uint64.c' object='src/libSZ_la-szd_uint64.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_uint64.lo `test -f 'src/szd_uint64.c' || echo '$(srcdir)/'`src/szd_uint64.c - -src/libSZ_la-szd_float.lo: src/szd_float.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_float.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_float.Tpo -c -o src/libSZ_la-szd_float.lo `test -f 'src/szd_float.c' || echo '$(srcdir)/'`src/szd_float.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_float.Tpo src/$(DEPDIR)/libSZ_la-szd_float.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_float.c' object='src/libSZ_la-szd_float.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_float.lo `test -f 'src/szd_float.c' || echo '$(srcdir)/'`src/szd_float.c - -src/libSZ_la-szd_double.lo: src/szd_double.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_double.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_double.Tpo -c -o src/libSZ_la-szd_double.lo `test -f 'src/szd_double.c' || echo '$(srcdir)/'`src/szd_double.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_double.Tpo src/$(DEPDIR)/libSZ_la-szd_double.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_double.c' object='src/libSZ_la-szd_double.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_double.lo `test -f 'src/szd_double.c' || echo '$(srcdir)/'`src/szd_double.c - -src/libSZ_la-szd_int8.lo: src/szd_int8.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_int8.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_int8.Tpo -c -o src/libSZ_la-szd_int8.lo `test -f 'src/szd_int8.c' || echo '$(srcdir)/'`src/szd_int8.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_int8.Tpo src/$(DEPDIR)/libSZ_la-szd_int8.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_int8.c' object='src/libSZ_la-szd_int8.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_int8.lo `test -f 'src/szd_int8.c' || echo '$(srcdir)/'`src/szd_int8.c - -src/libSZ_la-szd_int16.lo: src/szd_int16.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_int16.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_int16.Tpo -c -o src/libSZ_la-szd_int16.lo `test -f 'src/szd_int16.c' || echo '$(srcdir)/'`src/szd_int16.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_int16.Tpo src/$(DEPDIR)/libSZ_la-szd_int16.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_int16.c' object='src/libSZ_la-szd_int16.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_int16.lo `test -f 'src/szd_int16.c' || echo '$(srcdir)/'`src/szd_int16.c - -src/libSZ_la-szd_int32.lo: src/szd_int32.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_int32.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_int32.Tpo -c -o src/libSZ_la-szd_int32.lo `test -f 'src/szd_int32.c' || echo '$(srcdir)/'`src/szd_int32.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_int32.Tpo src/$(DEPDIR)/libSZ_la-szd_int32.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_int32.c' object='src/libSZ_la-szd_int32.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_int32.lo `test -f 'src/szd_int32.c' || echo '$(srcdir)/'`src/szd_int32.c - -src/libSZ_la-szd_int64.lo: src/szd_int64.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_int64.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_int64.Tpo -c -o src/libSZ_la-szd_int64.lo `test -f 'src/szd_int64.c' || echo '$(srcdir)/'`src/szd_int64.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_int64.Tpo src/$(DEPDIR)/libSZ_la-szd_int64.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_int64.c' object='src/libSZ_la-szd_int64.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_int64.lo `test -f 'src/szd_int64.c' || echo '$(srcdir)/'`src/szd_int64.c - -src/libSZ_la-sz.lo: src/sz.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz.Tpo -c -o src/libSZ_la-sz.lo `test -f 'src/sz.c' || echo '$(srcdir)/'`src/sz.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz.Tpo src/$(DEPDIR)/libSZ_la-sz.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz.c' object='src/libSZ_la-sz.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz.lo `test -f 'src/sz.c' || echo '$(srcdir)/'`src/sz.c - -src/libSZ_la-sz_float_pwr.lo: src/sz_float_pwr.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_float_pwr.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_float_pwr.Tpo -c -o src/libSZ_la-sz_float_pwr.lo `test -f 'src/sz_float_pwr.c' || echo '$(srcdir)/'`src/sz_float_pwr.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_float_pwr.Tpo src/$(DEPDIR)/libSZ_la-sz_float_pwr.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_float_pwr.c' object='src/libSZ_la-sz_float_pwr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_float_pwr.lo `test -f 'src/sz_float_pwr.c' || echo '$(srcdir)/'`src/sz_float_pwr.c - -src/libSZ_la-sz_double_pwr.lo: src/sz_double_pwr.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_double_pwr.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_double_pwr.Tpo -c -o src/libSZ_la-sz_double_pwr.lo `test -f 'src/sz_double_pwr.c' || echo '$(srcdir)/'`src/sz_double_pwr.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_double_pwr.Tpo src/$(DEPDIR)/libSZ_la-sz_double_pwr.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_double_pwr.c' object='src/libSZ_la-sz_double_pwr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_double_pwr.lo `test -f 'src/sz_double_pwr.c' || echo '$(srcdir)/'`src/sz_double_pwr.c - -src/libSZ_la-szd_float_pwr.lo: src/szd_float_pwr.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_float_pwr.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_float_pwr.Tpo -c -o src/libSZ_la-szd_float_pwr.lo `test -f 'src/szd_float_pwr.c' || echo '$(srcdir)/'`src/szd_float_pwr.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_float_pwr.Tpo src/$(DEPDIR)/libSZ_la-szd_float_pwr.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_float_pwr.c' object='src/libSZ_la-szd_float_pwr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_float_pwr.lo `test -f 'src/szd_float_pwr.c' || echo '$(srcdir)/'`src/szd_float_pwr.c - -src/libSZ_la-szd_double_pwr.lo: src/szd_double_pwr.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_double_pwr.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_double_pwr.Tpo -c -o src/libSZ_la-szd_double_pwr.lo `test -f 'src/szd_double_pwr.c' || echo '$(srcdir)/'`src/szd_double_pwr.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_double_pwr.Tpo src/$(DEPDIR)/libSZ_la-szd_double_pwr.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_double_pwr.c' object='src/libSZ_la-szd_double_pwr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_double_pwr.lo `test -f 'src/szd_double_pwr.c' || echo '$(srcdir)/'`src/szd_double_pwr.c - -src/libSZ_la-ArithmeticCoding.lo: src/ArithmeticCoding.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-ArithmeticCoding.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-ArithmeticCoding.Tpo -c -o src/libSZ_la-ArithmeticCoding.lo `test -f 'src/ArithmeticCoding.c' || echo '$(srcdir)/'`src/ArithmeticCoding.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-ArithmeticCoding.Tpo src/$(DEPDIR)/libSZ_la-ArithmeticCoding.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ArithmeticCoding.c' object='src/libSZ_la-ArithmeticCoding.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-ArithmeticCoding.lo `test -f 'src/ArithmeticCoding.c' || echo '$(srcdir)/'`src/ArithmeticCoding.c - -src/libSZ_la-exafelSZ.lo: src/exafelSZ.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-exafelSZ.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-exafelSZ.Tpo -c -o src/libSZ_la-exafelSZ.lo `test -f 'src/exafelSZ.c' || echo '$(srcdir)/'`src/exafelSZ.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-exafelSZ.Tpo src/$(DEPDIR)/libSZ_la-exafelSZ.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/exafelSZ.c' object='src/libSZ_la-exafelSZ.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-exafelSZ.lo `test -f 'src/exafelSZ.c' || echo '$(srcdir)/'`src/exafelSZ.c - -src/libSZ_la-CacheTable.lo: src/CacheTable.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-CacheTable.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-CacheTable.Tpo -c -o src/libSZ_la-CacheTable.lo `test -f 'src/CacheTable.c' || echo '$(srcdir)/'`src/CacheTable.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-CacheTable.Tpo src/$(DEPDIR)/libSZ_la-CacheTable.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/CacheTable.c' object='src/libSZ_la-CacheTable.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-CacheTable.lo `test -f 'src/CacheTable.c' || echo '$(srcdir)/'`src/CacheTable.c - -src/libSZ_la-pastri.lo: src/pastri.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-pastri.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-pastri.Tpo -c -o src/libSZ_la-pastri.lo `test -f 'src/pastri.c' || echo '$(srcdir)/'`src/pastri.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-pastri.Tpo src/$(DEPDIR)/libSZ_la-pastri.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/pastri.c' object='src/libSZ_la-pastri.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-pastri.lo `test -f 'src/pastri.c' || echo '$(srcdir)/'`src/pastri.c - -src/libSZ_la-sz_omp.lo: src/sz_omp.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_omp.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_omp.Tpo -c -o src/libSZ_la-sz_omp.lo `test -f 'src/sz_omp.c' || echo '$(srcdir)/'`src/sz_omp.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_omp.Tpo src/$(DEPDIR)/libSZ_la-sz_omp.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_omp.c' object='src/libSZ_la-sz_omp.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_omp.lo `test -f 'src/sz_omp.c' || echo '$(srcdir)/'`src/sz_omp.c - -src/libSZ_la-sz_float_ts.lo: src/sz_float_ts.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_float_ts.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_float_ts.Tpo -c -o src/libSZ_la-sz_float_ts.lo `test -f 'src/sz_float_ts.c' || echo '$(srcdir)/'`src/sz_float_ts.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_float_ts.Tpo src/$(DEPDIR)/libSZ_la-sz_float_ts.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_float_ts.c' object='src/libSZ_la-sz_float_ts.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_float_ts.lo `test -f 'src/sz_float_ts.c' || echo '$(srcdir)/'`src/sz_float_ts.c - -src/libSZ_la-szd_float_ts.lo: src/szd_float_ts.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_float_ts.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_float_ts.Tpo -c -o src/libSZ_la-szd_float_ts.lo `test -f 'src/szd_float_ts.c' || echo '$(srcdir)/'`src/szd_float_ts.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_float_ts.Tpo src/$(DEPDIR)/libSZ_la-szd_float_ts.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_float_ts.c' object='src/libSZ_la-szd_float_ts.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_float_ts.lo `test -f 'src/szd_float_ts.c' || echo '$(srcdir)/'`src/szd_float_ts.c - -src/libSZ_la-sz_double_ts.lo: src/sz_double_ts.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_double_ts.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_double_ts.Tpo -c -o src/libSZ_la-sz_double_ts.lo `test -f 'src/sz_double_ts.c' || echo '$(srcdir)/'`src/sz_double_ts.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_double_ts.Tpo src/$(DEPDIR)/libSZ_la-sz_double_ts.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_double_ts.c' object='src/libSZ_la-sz_double_ts.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_double_ts.lo `test -f 'src/sz_double_ts.c' || echo '$(srcdir)/'`src/sz_double_ts.c - -src/libSZ_la-szd_double_ts.lo: src/szd_double_ts.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szd_double_ts.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szd_double_ts.Tpo -c -o src/libSZ_la-szd_double_ts.lo `test -f 'src/szd_double_ts.c' || echo '$(srcdir)/'`src/szd_double_ts.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szd_double_ts.Tpo src/$(DEPDIR)/libSZ_la-szd_double_ts.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szd_double_ts.c' object='src/libSZ_la-szd_double_ts.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szd_double_ts.lo `test -f 'src/szd_double_ts.c' || echo '$(srcdir)/'`src/szd_double_ts.c - -src/libSZ_la-sz_stats.lo: src/sz_stats.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-sz_stats.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-sz_stats.Tpo -c -o src/libSZ_la-sz_stats.lo `test -f 'src/sz_stats.c' || echo '$(srcdir)/'`src/sz_stats.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-sz_stats.Tpo src/$(DEPDIR)/libSZ_la-sz_stats.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sz_stats.c' object='src/libSZ_la-sz_stats.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-sz_stats.lo `test -f 'src/sz_stats.c' || echo '$(srcdir)/'`src/sz_stats.c - -src/libSZ_la-szf.lo: src/szf.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-szf.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-szf.Tpo -c -o src/libSZ_la-szf.lo `test -f 'src/szf.c' || echo '$(srcdir)/'`src/szf.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-szf.Tpo src/$(DEPDIR)/libSZ_la-szf.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/szf.c' object='src/libSZ_la-szf.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-szf.lo `test -f 'src/szf.c' || echo '$(srcdir)/'`src/szf.c - -src/libSZ_la-rwf.lo: src/rwf.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -MT src/libSZ_la-rwf.lo -MD -MP -MF src/$(DEPDIR)/libSZ_la-rwf.Tpo -c -o src/libSZ_la-rwf.lo `test -f 'src/rwf.c' || echo '$(srcdir)/'`src/rwf.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libSZ_la-rwf.Tpo src/$(DEPDIR)/libSZ_la-rwf.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/rwf.c' object='src/libSZ_la-rwf.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libSZ_la_CFLAGS) $(CFLAGS) -c -o src/libSZ_la-rwf.lo `test -f 'src/rwf.c' || echo '$(srcdir)/'`src/rwf.c - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -rm -rf src/.libs src/_libs -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ - $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ - done - -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) - -ID: $(am__tagged_files) - $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-am -TAGS: tags - -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - set x; \ - here=`pwd`; \ - $(am__define_uniq_tagged_files); \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: ctags-am - -CTAGS: ctags -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - $(am__define_uniq_tagged_files); \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" -cscopelist: cscopelist-am - -cscopelist-am: $(am__tagged_files) - list='$(am__tagged_files)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -rm -f src/$(DEPDIR)/$(am__dirstamp) - -rm -f src/$(am__dirstamp) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-am - -rm -f src/$(DEPDIR)/libSZ_la-ArithmeticCoding.Plo - -rm -f src/$(DEPDIR)/libSZ_la-ByteToolkit.Plo - -rm -f src/$(DEPDIR)/libSZ_la-CacheTable.Plo - -rm -f src/$(DEPDIR)/libSZ_la-CompressElement.Plo - -rm -f src/$(DEPDIR)/libSZ_la-DynamicByteArray.Plo - -rm -f src/$(DEPDIR)/libSZ_la-DynamicDoubleArray.Plo - -rm -f src/$(DEPDIR)/libSZ_la-DynamicFloatArray.Plo - -rm -f src/$(DEPDIR)/libSZ_la-DynamicIntArray.Plo - -rm -f src/$(DEPDIR)/libSZ_la-Huffman.Plo - -rm -f src/$(DEPDIR)/libSZ_la-MultiLevelCacheTable.Plo - -rm -f src/$(DEPDIR)/libSZ_la-MultiLevelCacheTableWideInterval.Plo - -rm -f src/$(DEPDIR)/libSZ_la-TightDataPointStorageD.Plo - -rm -f src/$(DEPDIR)/libSZ_la-TightDataPointStorageF.Plo - -rm -f src/$(DEPDIR)/libSZ_la-TightDataPointStorageI.Plo - -rm -f src/$(DEPDIR)/libSZ_la-TypeManager.Plo - -rm -f src/$(DEPDIR)/libSZ_la-VarSet.Plo - -rm -f src/$(DEPDIR)/libSZ_la-callZlib.Plo - -rm -f src/$(DEPDIR)/libSZ_la-conf.Plo - -rm -f src/$(DEPDIR)/libSZ_la-dataCompression.Plo - -rm -f src/$(DEPDIR)/libSZ_la-dictionary.Plo - -rm -f src/$(DEPDIR)/libSZ_la-exafelSZ.Plo - -rm -f src/$(DEPDIR)/libSZ_la-iniparser.Plo - -rm -f src/$(DEPDIR)/libSZ_la-pastri.Plo - -rm -f src/$(DEPDIR)/libSZ_la-rw.Plo - -rm -f src/$(DEPDIR)/libSZ_la-rwf.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_double.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_double_pwr.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_double_ts.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_float.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_float_pwr.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_float_ts.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_int16.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_int32.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_int64.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_int8.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_omp.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_stats.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_uint16.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_uint32.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_uint64.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_uint8.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_double.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_double_pwr.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_double_ts.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_float.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_float_pwr.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_float_ts.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_int16.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_int32.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_int64.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_int8.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_uint16.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_uint32.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_uint64.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_uint8.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szf.Plo - -rm -f src/$(DEPDIR)/libSZ_la-utility.Plo - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-includeHEADERS - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f src/$(DEPDIR)/libSZ_la-ArithmeticCoding.Plo - -rm -f src/$(DEPDIR)/libSZ_la-ByteToolkit.Plo - -rm -f src/$(DEPDIR)/libSZ_la-CacheTable.Plo - -rm -f src/$(DEPDIR)/libSZ_la-CompressElement.Plo - -rm -f src/$(DEPDIR)/libSZ_la-DynamicByteArray.Plo - -rm -f src/$(DEPDIR)/libSZ_la-DynamicDoubleArray.Plo - -rm -f src/$(DEPDIR)/libSZ_la-DynamicFloatArray.Plo - -rm -f src/$(DEPDIR)/libSZ_la-DynamicIntArray.Plo - -rm -f src/$(DEPDIR)/libSZ_la-Huffman.Plo - -rm -f src/$(DEPDIR)/libSZ_la-MultiLevelCacheTable.Plo - -rm -f src/$(DEPDIR)/libSZ_la-MultiLevelCacheTableWideInterval.Plo - -rm -f src/$(DEPDIR)/libSZ_la-TightDataPointStorageD.Plo - -rm -f src/$(DEPDIR)/libSZ_la-TightDataPointStorageF.Plo - -rm -f src/$(DEPDIR)/libSZ_la-TightDataPointStorageI.Plo - -rm -f src/$(DEPDIR)/libSZ_la-TypeManager.Plo - -rm -f src/$(DEPDIR)/libSZ_la-VarSet.Plo - -rm -f src/$(DEPDIR)/libSZ_la-callZlib.Plo - -rm -f src/$(DEPDIR)/libSZ_la-conf.Plo - -rm -f src/$(DEPDIR)/libSZ_la-dataCompression.Plo - -rm -f src/$(DEPDIR)/libSZ_la-dictionary.Plo - -rm -f src/$(DEPDIR)/libSZ_la-exafelSZ.Plo - -rm -f src/$(DEPDIR)/libSZ_la-iniparser.Plo - -rm -f src/$(DEPDIR)/libSZ_la-pastri.Plo - -rm -f src/$(DEPDIR)/libSZ_la-rw.Plo - -rm -f src/$(DEPDIR)/libSZ_la-rwf.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_double.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_double_pwr.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_double_ts.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_float.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_float_pwr.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_float_ts.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_int16.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_int32.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_int64.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_int8.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_omp.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_stats.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_uint16.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_uint32.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_uint64.Plo - -rm -f src/$(DEPDIR)/libSZ_la-sz_uint8.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_double.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_double_pwr.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_double_ts.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_float.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_float_pwr.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_float_ts.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_int16.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_int32.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_int64.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_int8.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_uint16.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_uint32.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_uint64.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szd_uint8.Plo - -rm -f src/$(DEPDIR)/libSZ_la-szf.Plo - -rm -f src/$(DEPDIR)/libSZ_la-utility.Plo - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ - clean-generic clean-libLTLIBRARIES clean-libtool cscopelist-am \ - ctags ctags-am distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am \ - install-includeHEADERS install-info install-info-am \ - install-libLTLIBRARIES install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-am uninstall uninstall-am uninstall-includeHEADERS \ - uninstall-libLTLIBRARIES - -.PRECIOUS: Makefile - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/deps/SZ/sz/include/ArithmeticCoding.h b/deps/SZ/sz/include/ArithmeticCoding.h deleted file mode 100644 index 010a251321..0000000000 --- a/deps/SZ/sz/include/ArithmeticCoding.h +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @file ArithmeticCoding.h - * @author Sheng Di - * @date Dec, 2018 - * @brief Header file for the ArithmeticCoding.c. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#ifndef _ArithmeticCoding_H -#define _ArithmeticCoding_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include - -#define ONE_FOURTH (0x40000000000) //44 bits are absolutely enough to deal with a large dataset (support at most 16TB per process) -#define ONE_HALF (0x80000000000) -#define THREE_FOURTHS (0xC0000000000) -#define MAX_CODE (0xFFFFFFFFFFF) -#define MAX_INTERVALS 1048576 //the limit to the arithmetic coding (at most 2^(20) intervals) - -typedef struct Prob { - size_t low; - size_t high; - int state; -} Prob; - -typedef struct AriCoder -{ - int numOfRealStates; //the # real states menas the number of states after the optimization of # intervals - int numOfValidStates; //the # valid states means the number of non-zero frequency cells (some states/codes actually didn't appear) - size_t total_frequency; - Prob* cumulative_frequency; //used to encode data more efficiencly -} AriCoder; - -void output_bit_1(unsigned int* buf); -void output_bit_0(unsigned int* buf); -unsigned int output_bit_1_plus_pending(int pending_bits); -unsigned int output_bit_0_plus_pending(int pending_bits); - -AriCoder *createAriCoder(int numOfStates, int *s, size_t length); -void freeAriCoder(AriCoder *ariCoder); -void ari_init(AriCoder *ariCoder, int *s, size_t length); -unsigned int pad_ariCoder(AriCoder* ariCoder, unsigned char** out); -int unpad_ariCoder(AriCoder** ariCoder, unsigned char* bytes); - -unsigned char get_bit(unsigned char* p, int offset); - -void ari_encode(AriCoder *ariCoder, int *s, size_t length, unsigned char *out, size_t *outSize); -void ari_decode(AriCoder *ariCoder, unsigned char *s, size_t s_len, size_t targetLength, int *out); - -Prob* getCode(AriCoder *ariCoder, size_t scaled_value); - -#ifdef __cplusplus -} -#endif - -#endif /* ----- #ifndef _ArithmeticCoding_H ----- */ - diff --git a/deps/SZ/sz/include/CacheTable.h b/deps/SZ/sz/include/CacheTable.h deleted file mode 100644 index f98c8bc75a..0000000000 --- a/deps/SZ/sz/include/CacheTable.h +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @file CacheTable.h - * @author Xiangyu Zou, Tao Lu, Wen Xia, Xuan Wang, Weizhe Zhang, Sheng Di, Dingwen Tao - * @date Jan, 2019 - * @brief Header file. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#ifndef SZ_MASTER_CACHETABLE_H -#define SZ_MASTER_CACHETABLE_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include "stdio.h" -#include "stdint.h" -#include - -extern double* g_CacheTable; -extern uint32_t * g_InverseTable; -extern uint32_t baseIndex; -extern uint32_t topIndex; -extern int bits; - -int doubleGetExpo(double d); -int CacheTableGetRequiredBits(double precision, int quantization_intervals); -uint32_t CacheTableGetIndex(float value, int bits); -uint64_t CacheTableGetIndexDouble(double value, int bits); -int CacheTableIsInBoundary(uint32_t index); -void CacheTableBuild(double * table, int count, double smallest, double largest, double precision, int quantization_intervals); -uint32_t CacheTableFind(uint32_t index); -void CacheTableFree(); - -#ifdef __cplusplus -} -#endif - -#endif //SZ_MASTER_CACHETABLE_H diff --git a/deps/SZ/sz/include/DynamicDoubleArray.h b/deps/SZ/sz/include/DynamicDoubleArray.h deleted file mode 100644 index 9a3ef4b6a4..0000000000 --- a/deps/SZ/sz/include/DynamicDoubleArray.h +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @file DynamicDoubleArray.h - * @author Sheng Di - * @date April, 2016 - * @brief Header file for Dynamic Double Array. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#ifndef _DynamicDoubleArray_H -#define _DynamicDoubleArray_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include - -typedef struct DynamicDoubleArray -{ - double* array; - size_t size; - double capacity; -} DynamicDoubleArray; - -void new_DDA(DynamicDoubleArray **dda, size_t cap); -void convertDDAtoDoubles(DynamicDoubleArray *dba, double **data); -void free_DDA(DynamicDoubleArray *dda); -double getDDA_Data(DynamicDoubleArray *dda, size_t pos); -void addDDA_Data(DynamicDoubleArray *dda, double value); - -#ifdef __cplusplus -} -#endif - -#endif /* ----- #ifndef _DynamicDoubleArray_H ----- */ diff --git a/deps/SZ/sz/include/DynamicFloatArray.h b/deps/SZ/sz/include/DynamicFloatArray.h deleted file mode 100644 index 2770f7860b..0000000000 --- a/deps/SZ/sz/include/DynamicFloatArray.h +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @file DynamicFloatArray.h - * @author Sheng Di - * @date April, 2016 - * @brief Header file for Dynamic Float Array. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#ifndef _DynamicFloatArray_H -#define _DynamicFloatArray_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include -typedef struct DynamicFloatArray -{ - float* array; - size_t size; - size_t capacity; -} DynamicFloatArray; - -void new_DFA(DynamicFloatArray **dfa, size_t cap); -void convertDFAtoFloats(DynamicFloatArray *dfa, float **data); -void free_DFA(DynamicFloatArray *dfa); -float getDFA_Data(DynamicFloatArray *dfa, size_t pos); -void addDFA_Data(DynamicFloatArray *dfa, float value); - -#ifdef __cplusplus -} -#endif - -#endif /* ----- #ifndef _DynamicFloatArray_H ----- */ diff --git a/deps/SZ/sz/include/MultiLevelCacheTable.h b/deps/SZ/sz/include/MultiLevelCacheTable.h deleted file mode 100644 index 3ecc931fde..0000000000 --- a/deps/SZ/sz/include/MultiLevelCacheTable.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * @file MultiLevelCacheTable.h - * @author Xiangyu Zou, Tao Lu, Wen Xia, Xuan Wang, Weizhe Zhang, Sheng Di, Dingwen Tao - * @date Jan, 2019 - * @brief Header file. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#ifndef _MULTILEVELCACHETABLE_H -#define _MULTILEVELCACHETABLE_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include -#include -#include -#include "stdio.h" - -typedef struct SubLevelTable{ - uint32_t baseIndex; - uint32_t topIndex; - uint32_t* table; - uint8_t expoIndex; -} SubLevelTable; - -typedef struct TopLevelTable{ - uint8_t bits; - uint8_t baseIndex; - uint8_t topIndex; - struct SubLevelTable* subTables; - float bottomBoundary; - float topBoundary; -} TopLevelTable; - -uint8_t MLCT_GetExpoIndex(float value); -uint8_t MLCT_GetRequiredBits(float precision); -uint32_t MLCT_GetMantiIndex(float value, int bits); -float MLTC_RebuildFloat(uint8_t expo, uint32_t manti, int bits); -void MultiLevelCacheTableBuild(struct TopLevelTable* topTable, float* precisionTable, int count, float precision); -uint32_t MultiLevelCacheTableGetIndex(float value, struct TopLevelTable* topLevelTable); -void MultiLevelCacheTableFree(struct TopLevelTable* table); - -#ifdef __cplusplus -} -#endif - -#endif //_MULTILEVELCACHETABLE_H diff --git a/deps/SZ/sz/include/MultiLevelCacheTableWideInterval.h b/deps/SZ/sz/include/MultiLevelCacheTableWideInterval.h deleted file mode 100644 index 853d14bcee..0000000000 --- a/deps/SZ/sz/include/MultiLevelCacheTableWideInterval.h +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @file MultiLevelCacheTableWideInterval.h - * @author Xiangyu Zou, Tao Lu, Wen Xia, Xuan Wang, Weizhe Zhang, Sheng Di, Dingwen Tao - * @date Jan, 2019 - * @brief Header file for MultiLevelCacheTableWideInterval.c. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - - -#ifndef _MULTILEVELCACHETABLEWIDEINTERVAL_H -#define _MULTILEVELCACHETABLEWIDEINTERVAL_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include -#include -#include -#include "stdio.h" - -typedef struct SubLevelTableWideInterval{ - uint64_t baseIndex; - uint64_t topIndex; - uint16_t* table; - uint16_t expoIndex; -} SubLevelTableWideInterval; - -typedef struct TopLevelTableWideInterval{ - uint16_t bits; - uint16_t baseIndex; - uint16_t topIndex; - struct SubLevelTableWideInterval* subTables; - double bottomBoundary; - double topBoundary; -} TopLevelTableWideInterval; - -void freeTopLevelTableWideInterval(struct TopLevelTableWideInterval* topTable); - -uint16_t MLCTWI_GetExpoIndex(double value); -uint16_t MLCTWI_GetRequiredBits(double precision); -uint64_t MLCTWI_GetMantiIndex(double value, int bits); - -double MLTCWI_RebuildDouble(uint16_t expo, uint64_t manti, int bits); -void MultiLevelCacheTableWideIntervalBuild(struct TopLevelTableWideInterval* topTable, double* precisionTable, int count, double precision, int plus_bits); -uint32_t MultiLevelCacheTableWideIntervalGetIndex(double value, struct TopLevelTableWideInterval* topLevelTable); -void MultiLevelCacheTableWideIntervalFree(struct TopLevelTableWideInterval* table); - -#ifdef __cplusplus -} -#endif - -#endif //_MULTILEVELCACHETABLEWIDEINTERVAL_H diff --git a/deps/SZ/sz/include/TypeManager.h b/deps/SZ/sz/include/TypeManager.h index 7c543d3f82..d111f414f6 100644 --- a/deps/SZ/sz/include/TypeManager.h +++ b/deps/SZ/sz/include/TypeManager.h @@ -18,19 +18,12 @@ extern "C" { #include //TypeManager.c -size_t convertIntArray2ByteArray_fast_1b(unsigned char* intArray, size_t intArrayLength, unsigned char **result); -size_t convertIntArray2ByteArray_fast_1b_to_result(unsigned char* intArray, size_t intArrayLength, unsigned char *result); -void convertByteArray2IntArray_fast_1b(size_t intArrayLength, unsigned char* byteArray, size_t byteArrayLength, unsigned char **intArray); -size_t convertIntArray2ByteArray_fast_2b(unsigned char* timeStepType, size_t timeStepTypeLength, unsigned char **result); -size_t convertIntArray2ByteArray_fast_2b_inplace(unsigned char* timeStepType, size_t timeStepTypeLength, unsigned char *result); void convertByteArray2IntArray_fast_2b(size_t stepLength, unsigned char* byteArray, size_t byteArrayLength, unsigned char **intArray); -size_t convertIntArray2ByteArray_fast_3b(unsigned char* timeStepType, size_t timeStepTypeLength, unsigned char **result); -void convertByteArray2IntArray_fast_3b(size_t stepLength, unsigned char* byteArray, size_t byteArrayLength, unsigned char **intArray); +size_t convertIntArray2ByteArray_fast_2b(unsigned char* timeStepType, size_t timeStepTypeLength, unsigned char **result); + + int getLeftMovingSteps(size_t k, unsigned char resiBitLength); size_t convertIntArray2ByteArray_fast_dynamic(unsigned char* timeStepType, unsigned char resiBitLength, size_t nbEle, unsigned char **bytes); -size_t convertIntArray2ByteArray_fast_dynamic2(unsigned char* timeStepType, unsigned char* resiBitLength, size_t resiBitLengthLength, unsigned char **bytes); -int computeBitNumRequired(size_t dataLength); -void decompressBitArraybySimpleLZ77(int** result, unsigned char* bytes, size_t bytesLength, size_t totalLength, int validLength); #ifdef __cplusplus } diff --git a/deps/SZ/sz/include/VarSet.h b/deps/SZ/sz/include/VarSet.h deleted file mode 100644 index c991d72bfc..0000000000 --- a/deps/SZ/sz/include/VarSet.h +++ /dev/null @@ -1,84 +0,0 @@ -/** - * @file VarSet.h - * @author Sheng Di - * @date July, 2016 - * @brief Header file for the Variable.c. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#ifndef _VarSet_H -#define _VarSet_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include - -typedef struct sz_multisteps -{ - char compressionType; - int predictionMode; - int lastSnapshotStep; //the previous snapshot step - unsigned int currentStep; //current time step of the execution/simulation - - //void* ori_data; //original data pointer, which serve as the key for retrieving hist_data - void* hist_data; //historical data in past time steps -} sz_multisteps; - -typedef struct SZ_Variable -{ - unsigned char var_id; - char* varName; - char compressType; //102 means HZ; 101 means SZ - int dataType; //SZ_FLOAT or SZ_DOUBLE - size_t r5; - size_t r4; - size_t r3; - size_t r2; - size_t r1; - int errBoundMode; - double absErrBound; - double relBoundRatio; - double pwRelBoundRatio; - void* data; - sz_multisteps *multisteps; - unsigned char* compressedBytes; - size_t compressedSize; - struct SZ_Variable* next; -} SZ_Variable; - -typedef struct SZ_VarSet -{ - unsigned short count; - struct SZ_Variable *header; - struct SZ_Variable *lastVar; -} SZ_VarSet; - -void free_Variable_keepOriginalData(SZ_Variable* v); -void free_Variable_keepCompressedBytes(SZ_Variable* v); -void free_Variable_all(SZ_Variable* v); -void SZ_batchAddVar(int var_id, char* varName, int dataType, void* data, - int errBoundMode, double absErrBound, double relBoundRatio, double pwRelBoundRatio, - size_t r5, size_t r4, size_t r3, size_t r2, size_t r1); -int SZ_batchDelVar_vset(SZ_VarSet* vset, char* varName); -int SZ_batchDelVar(char* varName); -int SZ_batchDelVar_ID_vset(SZ_VarSet* vset, int var_id); -int SZ_batchDelVar_ID(int var_id); - -SZ_Variable* SZ_searchVar(char* varName); -void* SZ_getVarData(char* varName, size_t *r5, size_t *r4, size_t *r3, size_t *r2, size_t *r1); - -void free_VarSet_vset(SZ_VarSet *vset, int mode); -void SZ_freeVarSet(int mode); - -void free_multisteps(sz_multisteps* multisteps); -int checkVarID(unsigned char cur_var_id, unsigned char* var_ids, int var_count); -SZ_Variable* SZ_getVariable(int var_id); - -#ifdef __cplusplus -} -#endif - -#endif /* ----- #ifndef _VarSet_H ----- */ diff --git a/deps/SZ/sz/include/conf.h b/deps/SZ/sz/include/conf.h index 30a5bc276a..3f33760162 100644 --- a/deps/SZ/sz/include/conf.h +++ b/deps/SZ/sz/include/conf.h @@ -20,11 +20,8 @@ extern "C" { void updateQuantizationInfo(int quant_intervals); int SZ_ReadConf(const char* sz_cfgFile); int SZ_LoadConf(const char* sz_cfgFile); -int checkVersion(unsigned char version); -int computeVersion(int major, int minor, int revision); -int checkVersion2(char* version); -void initSZ_TSC(); + unsigned int roundUpToPowerOf2(unsigned int base); double computeABSErrBoundFromPSNR(double psnr, double threshold, double value_range); double computeABSErrBoundFromNORM_ERR(double normErr, size_t nbEle); diff --git a/deps/SZ/sz/include/pastri.h b/deps/SZ/sz/include/pastri.h deleted file mode 100644 index b5f2e90dde..0000000000 --- a/deps/SZ/sz/include/pastri.h +++ /dev/null @@ -1,140 +0,0 @@ -//CHECK: -//What happens when ECQBits==1, or ECQBits==0 or ECQBits<0? -//Rounding? Scale originalEb by 0.99? - -//Possible improvement: Change GAMESS format: {i i i i d} -> {i}{i}{i}{i}{d} -//Possible improvement: Optimize bookkeeping bits -//Possible improvement: Guess the type (C/UC, Sparse/Not) -//Possible improvement: Get rid of writing/reading some of the indexes to in/out buffers -//Possible improvement: Get rid of all debug stuff, including Makefile debug flags -//Possible improvement: Get rid of "compressedBytes" -//Possible improvement: SparseCompressed, ECQBits=2: 1's and -1's can be represented by just 0 and 1, instead 10 and 11. -//Possible improvement: SparseCompressed, ECQBits>2: Again: 1: 10, -1:11, Others: 0XX...XX -//Possible improvement: WriteBitsFast: maybe remove some masks? -//Possible improvement: WriteBitsFast: Get rid of multiple calls! -//Possible improvement: UCSparse: Indexes use 64 bits. It can be lowered to _1DIdxBits -//Possible improvement: Parameters: Smaller data sizes may be possible! - - - -#ifndef PASTRI_H -#define PASTRI_H - -#include -#include -#include -#include -#include -#include //Just for debugging purposes! - -//#define DATASIZE 8 //Bytes per input data point. -//We have only 1 double per data point, so it is 8 bytes. - -#define MAX_PS_SIZE 100 -#define MAX_BLOCK_SIZE 10000 -#define MAX_BUFSIZE 160000 //Should be a multiple of 8 -#define D_W 0 //Debug switch: Write (input block) -#define D_R 0 //Debug switch: Read (compressed block) -#define D_G 0 //Debug switch: General -#define D_G2 0 //Debug switch: General 2 (a little more detail) -#define D_C 0 //Debug switch: C -//#define DEBUG 1 //Debug switch - -//#define BOOKKEEPINGBITS 0 //Currently unused -//#define BOOKKEEPINGBITS 120 //Includes: mode, indexOffsets, compressedBytes, Pb_, ECQBits_ (8+64+32+8+8) -//BOOKKEEPINGBITS is defined here, because if P & S is going to be used, they appear just after the bookkeeping part. -//This allows us to write P and S directly onto using outBuf. - - -// IMPORTANT NOTE: -//Read/Write up to 56 bits. -//More than that is not supported! - - -/********************************************************************/ -//Datatype Declarations: -/********************************************************************/ -typedef struct pastri_params{ - double originalEb; //Error Bound entered by the user - double usedEb; //Error Bound used during compression/deceompression - - int numBlocks; //Number of blocks to be compressed - int dataSize; //8(=Double) or 4(=Float) - - int bf[4]; //Orbital types (basis function types). Typically in range [0,3] - int idxRange[4]; //Ranges of indexes. idxRange[i]=(bf[i]+1)*(bf[i]+2)/2; - - int sbSize; //=idxRange[2]*idxRange[3]; - int sbNum; //=idxRange[0]*idxRange[1]; - int bSize; //=sbSize*sbNum; - - //uint16_t idxOffset[4]; //Index offset values. No longer used. - -}pastri_params; - -//Block-specific stuff: -typedef struct pastri_blockParams{ - uint16_t nonZeros; - //int ECQ0s; //= p->bSize - numOutliers //OR: p->bSize=ECQ0s+ECQ1s+ECQOthers - int ECQ1s; - int ECQOthers; - int numOutliers; //=ECQ1s+ECQOthers - int patternBits; - int scaleBits; - double binSize; - double scalesBinSize; - uint64_t ECQExt; - int ECQBits; - int _1DIdxBits; -}pastri_blockParams; - -typedef union u_UI64I64D{ - uint64_t ui64; - int64_t i64; - double d; -} u_UI64I64D; - -/********************************************************************/ -//Function Prototypes: -/********************************************************************/ -void SZ_pastriReadParameters(char paramsFilename[512],pastri_params *paramsPtr); -//Read the basic PaSTRI parameters from a file, speficied by paramsFilename. - -void SZ_pastriPreprocessParameters(pastri_params *p); -//Using basic PaSTRI parameters, generate the others. -//For example, block and sub-block sizes are generated by using basis function types. - -void SZ_pastriCompressBatch(pastri_params *p,unsigned char *originalBuf, unsigned char** compressedBufP,size_t *compressedBytes); -//INPUTS: p, originalBuf -//OUTPUTS: compressedBufP, compressedBytes -//Using the inputs, compressedBufP is allocated and populated by the compressed data. Compressed size is written into compressedBytes. -//Parameters are also stored at the beginning part of the compressedBuf - -void SZ_pastriDecompressBatch(unsigned char*compressedBuf, pastri_params *p, unsigned char** decompressedBufP ,size_t *decompressedBytes); -//INPUTS: compressedBuf -//OUTPUTS: p, decompressedBufP, decompressedBytes -//First, parameters are read from compressedBuf and written into p. -//Then, decompressedBufP is allocated and populated by the decompressed data. Decompressed size is written into decompressedBytes. - -void SZ_pastriCheckBatch(pastri_params *p,unsigned char*originalBuf,unsigned char*decompressedBuf); -//INPUTS: p, originalBuf, decompressedBuf -//OUTPUTS: None (Just some on-screen messages) -//Compares originalBuf with decompressedBuf. Checks whether the absolute error condition is satisfied or not. - -/********************************************************************/ -//Other Includes: -/********************************************************************/ - - - -#include "pastriGeneral.h" //General tools -#include "pastriD.h" //Compression/Decompression for Double data -#include "pastriF.h" //Compression/Decompression for Float data - - -#endif - - - - - diff --git a/deps/SZ/sz/include/pastriD.h b/deps/SZ/sz/include/pastriD.h deleted file mode 100644 index 3ee2813997..0000000000 --- a/deps/SZ/sz/include/pastriD.h +++ /dev/null @@ -1,911 +0,0 @@ -#ifndef PASTRID_H -#define PASTRID_H - -static inline int64_t pastri_double_quantize(double x, double binSize){ - //Add or sub 0.5, depending on the sign: - x=x/binSize; - - u_UI64I64D u1,half; - u1.d=x; - - half.d=0.5; - -// //printf("pastri_double_quantize:\nx=%lf x=0x%lx\n",x,(*((uint64_t *)(&x)))); -// //printf("sign(x):0x%lx\n", x); -// //printf("0.5:0x%lx\n", (*((uint64_t *)(&half)))); - half.ui64 |= (u1.ui64 & (uint64_t)0x8000000000000000); -// //printf("sign(x)*0.5:0x%lx\n", (*((uint64_t *)(&half)))); - return (int64_t)(x + half.d); -} - -static inline void pastri_double_PatternMatch(double*data,pastri_params* p,pastri_blockParams* bp,int64_t* patternQ,int64_t *scalesQ, int64_t* ECQ){ - //Find the pattern. - //First, find the extremum point: - double absExt=0; //Absolute value of Extremum - int extIdx=-1; //Index of Extremum - bp->nonZeros=0; - int i,sb; - for(i=0;ibSize;i++){ -// //printf("data[%d] = %.16lf\n",i,data[i]);//DEBUG - if(abs_FastD(data[i])>p->usedEb){ - bp->nonZeros++; - ////if(DEBUG)printf("data[%d]:%.6e\n",i,data[i]); //DEBUG - } - if(abs_FastD(data[i])>absExt){ - absExt=abs_FastD(data[i]); - extIdx=i; - } - } - int patternIdx; //Starting Index of Pattern - patternIdx=(extIdx/p->sbSize)*p->sbSize; - - double patternExt=data[extIdx]; - bp->binSize=2*p->usedEb; - - ////if(DEBUG){printf("Extremum : data[%d] = %.6e\n",extIdx,patternExt);} //DEBUG - ////if(DEBUG){printf("patternIdx: %d\n",patternIdx);} //DEBUG - - ////if(DEBUG){for(i=0;isbSize;i++){printf("pattern[%d]=data[%d]=%.6e Quantized:%d\n",i,patternIdx+i,data[patternIdx+i],pastri_double_quantize(data[patternIdx+i]/binSize) );} }//DEBUG - - //int64_t *patternQ=(int64_t*)(outBuf+15); //Possible Improvement! - - - for(i=0;isbSize;i++){ - patternQ[i]=pastri_double_quantize(data[patternIdx+i],bp->binSize); - //if(D_W){printf("patternQ[%d]=%ld\n",i,patternQ[i]);} - } - - bp->patternBits=bitsNeeded_double((abs_FastD(patternExt)/bp->binSize)+1)+1; - bp->scaleBits=bp->patternBits; - bp->scalesBinSize=1/(double)(((uint64_t)1<<(bp->scaleBits-1))-1); - ////if(DEBUG){printf("(patternExt/binSize)+1: %.6e\n",(patternExt/binSize)+1);} //DEBUG - ////if(DEBUG){printf("scaleBits=patternBits: %d\n",scaleBits);} //DEBUG - //if(D_W){printf("scalesBinSize: %.6e\n",bp->scalesBinSize);} //DEBUG - - //Calculate Scales. - //The index part of the input buffer will be reused to hold Scale, Pattern, etc. values. - int localExtIdx=extIdx%p->sbSize; //Local extremum index. This is not the actual extremum of the current sb, but rather the index that correspond to the global (block) extremum. - //int64_t *scalesQ=(int64_t*)(outBuf+15+p->sbSize*8); //Possible Improvement! - int patternExtZero=(patternExt==0); - ////if(DEBUG){printf("patternExtZero: %d\n",patternExtZero);} //DEBUG - for(sb=0;sbsbNum;sb++){ - //scales[sb]=data[sb*p->sbSize+localExtIdx]/patternExt; - //scales[sb]=patternExtZero ? 0 : data[sb*p->sbSize+localExtIdx]/patternExt; - //assert(scales[sb]<=1); - scalesQ[sb]=pastri_double_quantize((patternExtZero ? 0 : data[sb*p->sbSize+localExtIdx]/patternExt),bp->scalesBinSize); - //if(D_W){printf("scalesQ[%d]=%ld\n",sb,scalesQ[sb]);} - } - ////if(DEBUG){for(i=0;isbSize;i++){printf("scalesQ[%d]=%ld \n",i,scalesQ[i]);}} //DEBUG - - //int64_t *ECQ=(int64_t*)(outBuf+p->bSize*8); //ECQ is written into outBuf, just be careful when handling it. - - //uint64_t wVal; - bp->ECQExt=0; - int _1DIdx; - bp->ECQ1s=0; - bp->ECQOthers=0; - double PS_binSize=bp->scalesBinSize*bp->binSize; - for(sb=0;sbsbNum;sb++){ - for(i=0;isbSize;i++){ - _1DIdx=sb*p->sbSize+i; - ECQ[_1DIdx]=pastri_double_quantize( (scalesQ[sb]*patternQ[i]*PS_binSize-data[_1DIdx]),bp->binSize ); - double absECQ=abs_FastD(ECQ[_1DIdx]); - if(absECQ > bp->ECQExt) - bp->ECQExt=absECQ; - ////if(DEBUG){printf("EC[%d]: %.6e Quantized:%ld \n",_1DIdx,(scalesQ[sb]*patternQ[i]*scalesBinSize*binSize-data[_1DIdx]),ECQ[_1DIdx]);} //DEBUG - switch (ECQ[_1DIdx]){ - case 0: - //ECQ0s++; //Currently not needed - break; - case 1: - bp->ECQ1s++; - break; - case -1: - bp->ECQ1s++; - break; - default: - bp->ECQOthers++; - break; - } - } - } - - /* - //DEBUG: Self-check. Remove this later. - for(sb=0;sbsbNum;sb++){ - for(i=0;isbSize;i++){ - _1DIdx=sb*p->sbSize+i; - double decompressed=scalesQ[sb]*patternQ[i]*scalesBinSize*binSize-ECQ[_1DIdx]*binSize; - if(abs_FastD(decompressed-data[_1DIdx])>(p->usedEb)){ - //printf("p->usedEb=%.6e\n",p->usedEb); - //printf("data[%d]=%.6e decompressed[%d]=%.6e diff=%.6e\n",_1DIdx,data[_1DIdx],_1DIdx,decompressed,abs_FastD(data[_1DIdx]-decompressed)); - assert(0); - } - } - } - */ -} - -static inline void pastri_double_Encode(double *data,int64_t* patternQ,int64_t* scalesQ,int64_t* ECQ,pastri_params *p,pastri_blockParams* bp,unsigned char* outBuf,int *numOutBytes){ - bp->ECQBits=bitsNeeded_UI64(bp->ECQExt)+1; - bp->_1DIdxBits=bitsNeeded_UI64(p->bSize); - //(*numOutBytes)=0; - - int i; - - //Encode: 3 options: - //Compressed, Sparse ECQ - //Compressed, Non-Sparse ECQ - //Uncompressed, Sparse Data - //Uncompressed, Non-spsarse Data - - unsigned int UCSparseBits; //Uncompressed, Sparse bits. Just like the original GAMESS data. Includes: mode, nonZeros, {indexes, data} - unsigned int UCNonSparseBits; //Uncompressed, NonSparse bits. Includes: mode, data - unsigned int CSparseBits; //Includes: mode, compressedBytes, patternBits, ECQBits,numOutliers,P, S, {Indexes(Sparse), ECQ} - unsigned int CNonSparseBits; //Includes: mode, compressedBytes, patternBits, ECQBits,P, S, {ECQ} - //int BOOKKEEPINGBITS=120; //Includes: mode, compressedBytes, patternBits, ECQBits (8+64+32+8+8) //Moved to much earlier! - - //Consider: ECQ0s, ECQ1s, ECQOthers. Number of following values in ECQ: {0}, {1,-1}, { val<=-2, val>=2} - //ECQ0s is actually not needed, but others are needed. - - UCSparseBits = p->dataSize*(1 + 2 + bp->nonZeros*16); //64 bits for 4 indexes, 64 bit for data. - UCNonSparseBits = p->dataSize*(1 + p->bSize*8); - bp->numOutliers=bp->ECQ1s+bp->ECQOthers; - if(bp->ECQBits==2){ - CSparseBits = p->dataSize*(1+4+1+1+2) + bp->patternBits*p->sbSize + bp->scaleBits*p->sbNum + bp->ECQ1s*(1+bp->_1DIdxBits); - CNonSparseBits = p->dataSize*(1+4+1+1) + bp->patternBits*p->sbSize + bp->scaleBits*p->sbNum + p->bSize + bp->ECQ1s ; //Or: ECQ0s+ECQ1s*2; - }else{ //ECQBits>2 - CSparseBits = p->dataSize*(1+4+1+1+2) + bp->patternBits*p->sbSize + bp->scaleBits*p->sbNum + bp->ECQ1s*(2+bp->_1DIdxBits) + bp->ECQOthers*(1+bp->_1DIdxBits+bp->ECQBits); - //CNonSparseBits = 8+32+8+8+ patternBits*p->sbSize + scaleBits*p->sbNum + p->bSize + ECQ0s + ECQ1s*3 + ECQOthers*(2+ECQBits); - CNonSparseBits = p->dataSize*(1+4+1+1)+ bp->patternBits*p->sbSize + bp->scaleBits*p->sbNum + p->bSize + bp->ECQ1s*2 + bp->ECQOthers*(1+bp->ECQBits); - } - - int UCSparseBytes=(UCSparseBits+7)/8; - int UCNonSparseBytes=(UCNonSparseBits+7)/8; - int CSparseBytes=(CSparseBits+7)/8; - int CNonSparseBytes=(CNonSparseBits+7)/8; - uint64_t bitPos=0; - uint64_t bytePos=0; - int i0,i1,i2,i3; - int _1DIdx; - - //*(uint16_t*)(&outBuf[1])=p->idxOffset[0]; - //*(uint16_t*)(&outBuf[3])=p->idxOffset[1]; - //*(uint16_t*)(&outBuf[5])=p->idxOffset[2]; - //*(uint16_t*)(&outBuf[7])=p->idxOffset[3]; - - //if(D_W){printf("ECQ0s:%d ECQ1s:%d ECQOthers:%d Total:%d\n",p->bSize-bp->ECQ1s-bp->ECQOthers,bp->ECQ1s,bp->ECQOthers,p->bSize);} //DEBUG - //if(D_W){printf("numOutliers:%d\n",bp->numOutliers);} //DEBUG - - //**************************************************************************************** - //if(0){ //DEBUG - //W:UCSparse - if((UCSparseBytesECQBits); //DEBUG - outBuf[0]=0; //mode - - //*(uint16_t*)(&outBuf[9])=nonZeros; - //bytePos=11;//0:mode, 1-8:indexOffsets 9-10:NonZeros. So start from 11. - *(uint16_t*)(&outBuf[1])=bp->nonZeros; - bytePos=3;//0:mode, 2-3:NonZeros. So start from 3. - - for(i0=0;i0idxRange[0];i0++) - for(i1=0;i1idxRange[1];i1++) - for(i2=0;i2idxRange[2];i2++) - for(i3=0;i3idxRange[3];i3++){ - _1DIdx=p->idxRange[3]*(i2+p->idxRange[2]*(i1+i0*p->idxRange[1]))+i3; - if(abs_FastD(data[_1DIdx])>p->usedEb){ - //*(uint16_t*)(&outBuf[bytePos])=i0+1+p->idxOffset[0]; - *(uint16_t*)(&outBuf[bytePos])=i0; - bytePos+=2; - //*(uint16_t*)(&outBuf[bytePos])=i1+1+p->idxOffset[1]; - *(uint16_t*)(&outBuf[bytePos])=i1; - bytePos+=2; - //*(uint16_t*)(&outBuf[bytePos])=i2+1+p->idxOffset[2]; - *(uint16_t*)(&outBuf[bytePos])=i2; - bytePos+=2; - //*(uint16_t*)(&outBuf[bytePos])=i3+1+p->idxOffset[3]; - *(uint16_t*)(&outBuf[bytePos])=i3; - bytePos+=2; - - *(double*)(&outBuf[bytePos])=data[_1DIdx]; - bytePos+=p->dataSize; - } - } - - //if(D_G)printf("UCSparseBytes:%d \n",UCSparseBytes); //DEBUG - - //**************************************************************************************** - //}else if(0){ //DEBUG - //W:UCNonSparse - }else if((UCNonSparseBytesECQBits); //DEBUG - outBuf[0]=1; //mode - - //memcpy(&outBuf[9], &inBuf[p->bSize*8], UCNonSparseBytes-9); - memcpy(&outBuf[1], data, p->bSize*p->dataSize); - - //if(D_G)printf("UCNonSparseBytes:%d \n",UCNonSparseBytes); //DEBUG - /* - for(i=0;ibSize*8+i]); - } - //printf("\n"); - for(i=0;iECQBits); //DEBUG - ////if(DEBUG){printf("patternBits:%d _1DIdxBits:%d\n",patternBits,_1DIdxBits);} //DEBUG - outBuf[0]=2; //mode - - ////outBuf bytes [1:8] are indexOffsets, which are already written. outBuf bytes [9:12] are reserved for compressedBytes. - //outBuf[13]=patternBits; - //outBuf[14]=ECQBits; - ////Currently, we are at the end of 15th byte. - //*(uint16_t*)(&outBuf[15])=numOutliers; - //bitPos=17*8; //Currently, we are at the end of 17th byte. - - //outBuf bytes [1:4] are reserved for compressedBytes. - outBuf[5]=bp->patternBits; - outBuf[6]=bp->ECQBits; - //Currently, we are at the end of 7th byte. - - *(uint16_t*)(&outBuf[7])=bp->numOutliers; - //Now, we are at the end of 9th byte. - bitPos=9*8; - - ////if(DEBUG){printf("bitPos_B:%ld\n",bitPos);} //DEBUG - - for(i=0;isbSize;i++){ - writeBits_Fast(outBuf,&bitPos,bp->patternBits,patternQ[i]);//Pattern point - } - ////if(DEBUG){printf("bitPos_P:%ld\n",bitPos);} //DEBUG - for(i=0;isbNum;i++){ - writeBits_Fast(outBuf,&bitPos,bp->scaleBits,scalesQ[i]);//Scale - } - ////if(DEBUG){printf("bitPos_S:%ld\n",bitPos);} //DEBUG - ////if(DEBUG)printf("ECQBits:%d\n",ECQBits); - switch(bp->ECQBits){ - case 2: - for(i=0;ibSize;i++){ - switch(ECQ[i]){ - case 0: - break; - case 1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x0\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,2,0x10); - //writeBits_Fast(outBuf,&bitPos,2,0);//0x00 - //writeBits_Fast(outBuf,&bitPos,2,0);//0x00 - writeBits_Fast(outBuf,&bitPos,1,0);//0x00 - break; - case -1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x1\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,2,0x11); - //writeBits_Fast(outBuf,&bitPos,2,1);//0x01 - //writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - break; - default: - assert(0); - break; - } - } - break; - default: //ECQBits>2 - for(i=0;ibSize;i++){ - switch(ECQ[i]){ - case 0: - break; - case 1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x00\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,3,0);//0x000 - //writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - break; - case -1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x01\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,3,1);//0x001 - //writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - break; - default: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x1 0x%lx\n",i,ECQ[i],ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,2+ECQBits,((uint64_t)0x11<ECQBits,ECQ[i]); - break; - } - } - break; - } - - ////if(DEBUG){printf("bitPos_E:%ld\n",bitPos);} //DEBUG - //if(D_C){if(!((bp->ECQBits>=2)||((bp->ECQBits==1) && (bp->numOutliers==0)))){printf("ERROR: ECQBits:%d numOutliers:%d This should not have happened!\n",bp->ECQBits,bp->numOutliers);assert(0);}} //DEBUG - - - uint32_t bytePos=(bitPos+7)/8; - //*(uint32_t*)(&outBuf[9])=bytePos; - *(uint32_t*)(&outBuf[1])=bytePos; - - //if(D_G)printf("bitPos:%ld CSparseBits:%d bytePos:%d CSparseBytes:%d\n",bitPos,CSparseBits,bytePos,CSparseBytes); //DEBUG - if(D_G){assert(bitPos==CSparseBits);} - - //**************************************************************************************** - //W:CNonSparse - }else { - //Includes: mode, indexOffsets, compressedBytes, patternBits, ECQBits,P, S, {ECQ} - *numOutBytes=CNonSparseBytes; - //if(D_G){printf("CNonSparse\n");} //DEBUG - //if(D_G)printf("ECQBits:%d\n",bp->ECQBits); //DEBUG - ////if(DEBUG){printf("patternBits:%d _1DIdxBits:%d\n",patternBits,_1DIdxBits);} //DEBUG - outBuf[0]=3; //mode - - ////outBuf bytes [1:8] are indexOffsets, which are already written. outBuf bytes [9:12] are reserved for compressedBytes. - //outBuf[13]=patternBits; - //outBuf[14]=ECQBits; - //bitPos=15*8; //Currently, we are at the end of 15th byte. - - //outBuf bytes [1:4] are reserved for compressedBytes. - outBuf[5]=bp->patternBits; - outBuf[6]=bp->ECQBits; - bitPos=7*8; //Currently, we are at the end of 7th byte. - - ////if(DEBUG){printf("bitPos_B:%ld\n",bitPos);} //DEBUG - - for(i=0;isbSize;i++){ - writeBits_Fast(outBuf,&bitPos,bp->patternBits,patternQ[i]);//Pattern point - } - ////if(DEBUG){printf("bitPos_P:%ld\n",bitPos);} //DEBUG - for(i=0;isbNum;i++){ - writeBits_Fast(outBuf,&bitPos,bp->scaleBits,scalesQ[i]);//Scale - } - ////if(DEBUG){printf("bitPos_S:%ld\n",bitPos);} //DEBUG - ////if(DEBUG)printf("ECQBits:%d\n",ECQBits); - switch(bp->ECQBits){ - case 2: - for(i=0;ibSize;i++){ - switch(ECQ[i]){ - case 0: - ////if(DEBUG)printf("Index:%d ECQ:%d Written:0x1\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,1,1);//0x1 - break; - case 1: - ////if(DEBUG)printf("Index:%d ECQ:%d Written:0x00\n",i,ECQ[i]); //DEBUG - //writeBits_Fast(outBuf,&bitPos,2,0);//0x00 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - break; - case -1: - ////if(DEBUG)printf("Index:%d ECQ:%d Written:0x01\n",i,ECQ[i]); //DEBUG - //writeBits_Fast(outBuf,&bitPos,2,2); //0x01 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - break; - default: - assert(0); - break; - } - } - break; - default: //ECQBits>2 - ////if(DEBUG) printf("AMG_W1:bitPos:%ld\n",bitPos); //DEBUG - for(i=0;ibSize;i++){ - ////if(DEBUG){printf("AMG_W3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - ////if(DEBUG) printf("AMG_W2:bitPos:%ld\n",bitPos); //DEBUG - ////if(DEBUG) printf("ECQ[%d]:%ld\n",i,ECQ[i]); //DEBUG - switch(ECQ[i]){ - case 0: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x1\n",i,ECQ[i]); //DEBUG - ////if(DEBUG){printf("AMG_WB3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - //temp1=bitPos; - writeBits_Fast(outBuf,&bitPos,1,1); //0x1 - //wVal=1; writeBits_Fast(outBuf,&bitPos,1,wVal); //0x1 - ////if(DEBUG){printf("AMG_WA3:bitPos:%ld buffer[%ld]=0x%lx\n",temp1,temp1/8,*(uint64_t*)(&outBuf[temp1/8]));}; //DEBUG - break; - case 1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x000\n",i,ECQ[i]); //DEBUG - ////if(DEBUG){printf("AMG_WB3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - //temp1=bitPos; - //writeBits_Fast(outBuf,&bitPos,3,0); //0x000 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - //wVal=0; writeBits_Fast(outBuf,&bitPos,3,wVal); //0x000 - ////if(DEBUG){printf("AMG_WA3:bitPos:%ld buffer[%ld]=0x%lx\n",temp1,temp1/8,*(uint64_t*)(&outBuf[temp1/8]));}; //DEBUG - break; - case -1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x001\n",i,ECQ[i]); //DEBUG - ////if(DEBUG){printf("AMG_WB3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - //temp1=bitPos; - //writeBits_Fast(outBuf,&bitPos,3,8); //0x001 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - //wVal=8; writeBits_Fast(outBuf,&bitPos,3,wVal); //0x001 - ////if(DEBUG){printf("AMG_WA3:bitPos:%ld buffer[%ld]=0x%lx\n",temp1,temp1/8,*(uint64_t*)(&outBuf[temp1/8]));}; //DEBUG - break; - default: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x01 0x%lx\n",i,ECQ[i]); //DEBUG - ////if(DEBUG){printf("AMG_WB3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - //temp1=bitPos; - //writeBits_Fast(outBuf,&bitPos,2,2); //0x01 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - //wVal=2; writeBits_Fast(outBuf,&bitPos,2,wVal); //0x01 - writeBits_Fast(outBuf,&bitPos,bp->ECQBits,ECQ[i]); - ////if(DEBUG){printf("AMG_WA3:bitPos:%ld buffer[%ld]=0x%lx\n",temp1,temp1/8,*(uint64_t*)(&outBuf[temp1/8]));}; //DEBUG - break; - } - } - break; - } - - ////if(DEBUG){printf("bitPos_E:%ld\n",bitPos);} //DEBUG - //if(D_C){if(!((bp->ECQBits>=2)||((bp->ECQBits==1) && (bp->numOutliers==0)))){printf("ERROR: ECQBits:%d numOutliers:%d This should not have happened!\n",bp->ECQBits,bp->numOutliers);assert(0);}} //DEBUG - - - - uint32_t bytePos=(bitPos+7)/8; - //*(uint32_t*)(&outBuf[9])=bytePos; - *(uint32_t*)(&outBuf[1])=bytePos; - - //if(D_G)printf("bitPos:%ld CNonSparseBits:%d bytePos:%d CNonSparseBytes:%d\n",bitPos,CNonSparseBits,bytePos,CNonSparseBytes); //DEBUG - if(D_G){assert(bitPos==CNonSparseBits);} - - } - ////for(i=213;i<233;i++)if(DEBUG)printf("AMG_WE:bitPos:%d buffer[%d]=0x%lx\n",i*8,i,*(uint64_t*)(&outBuf[i])); //DEBUG - -} -static inline int pastri_double_Compress(unsigned char*inBuf,pastri_params *p,unsigned char*outBuf,int *numOutBytes){ - pastri_blockParams bp; - - //if(D_G2){printf("Parameters: dataSize:%d\n",p->dataSize);} //DEBUG - //if(D_G2){printf("Parameters: bfs:%d %d %d %d originalEb:%.3e\n",p->bf[0],p->bf[1],p->bf[2],p->bf[3],p->usedEb);} //DEBUG - //if(D_G2){printf("Parameters: idxRanges:%d %d %d %d\n",p->idxRange[0],p->idxRange[1],p->idxRange[2],p->idxRange[3]);} //DEBUG - //if(D_G2){printf("Parameters: sbSize:%d sbNum:%d bSize:%d\n",p->sbSize,p->sbNum,p->bSize); }//DEBUG - - int64_t patternQ[MAX_PS_SIZE]; - int64_t scalesQ[MAX_PS_SIZE]; - int64_t ECQ[MAX_BLOCK_SIZE]; - - double *data; - data=(double*)inBuf; - - //STEP 0: PREPROCESSING: - //This step can include flattening the block, determining the period, etc. - //Currently not needed. - - //STEP 1: PATTERN MATCH - pastri_double_PatternMatch(data,p,&bp,patternQ,scalesQ,ECQ); - - //STEP 2: ENCODING(Include QUANTIZE) - pastri_double_Encode(data,patternQ,scalesQ,ECQ,p,&bp,outBuf,numOutBytes); - - - return 0; -} - -static inline double pastri_double_InverseQuantization(int64_t q, double binSize){ - return q*binSize; -} - -static inline void pastri_double_PredictData(pastri_params *p,pastri_blockParams *bp,double *data,int64_t* patternQ,int64_t* scalesQ,int64_t* ECQ){ - int j; - double PS_binSize=bp->scalesBinSize*bp->binSize; - for(j=0;jbSize;j++){ - //data[j]=scalesQ[j/p->sbSize]*patternQ[j%p->sbSize]*PS_binSize - ECQ[j]*bp->binSize; - data[j]=pastri_double_InverseQuantization(scalesQ[j/p->sbSize]*patternQ[j%p->sbSize],PS_binSize) - pastri_double_InverseQuantization(ECQ[j],bp->binSize); - } -} - -static inline void pastri_double_Decode(unsigned char*inBuf,pastri_params *p,pastri_blockParams *bp,unsigned char*outBuf,int *numReadBytes,int64_t* patternQ,int64_t* scalesQ,int64_t* ECQ){ - int j; - bp->_1DIdxBits=bitsNeeded_UI64(p->bSize); - //double *data=(double*)(outBuf+p->bSize*8); - double *data=(double*)(outBuf); - int i0,i1,i2,i3; - //uint16_t *idx0,*idx1,*idx2,*idx3; - int _1DIdx; - - int64_t ECQTemp; - uint64_t bytePos=0; - uint64_t bitPos=0; - uint64_t temp,temp2; - //int sb,localIdx; - - - //idx0=(uint16_t*)(outBuf ); - //idx1=(uint16_t*)(outBuf+p->bSize*2); - //idx2=(uint16_t*)(outBuf+p->bSize*4); - //idx3=(uint16_t*)(outBuf+p->bSize*6); - //p->idxOffset[0]=*(uint32_t*)(&inBuf[1]); - //p->idxOffset[1]=*(uint32_t*)(&inBuf[3]); - //p->idxOffset[2]=*(uint32_t*)(&inBuf[5]); - //p->idxOffset[3]=*(uint32_t*)(&inBuf[7]); - /* - for(i0=0;i0idxRange[0];i0++) - for(i1=0;i1idxRange[1];i1++) - for(i2=0;i2idxRange[2];i2++) - for(i3=0;i3idxRange[3];i3++){ - //_1DIdx=i0*p->idxRange[1]*p->idxRange[2]*p->idxRange[3]+i1*p->idxRange[2]*p->idxRange[3]+i2*p->idxRange[3]+i3; - _1DIdx=p->idxRange[3]*(i2+p->idxRange[2]*(i1+i0*p->idxRange[1]))+i3; - idx0[_1DIdx]=i0+1+p->idxOffset[0]; - idx1[_1DIdx]=i1+1+p->idxOffset[1]; - idx2[_1DIdx]=i2+1+p->idxOffset[2]; - idx3[_1DIdx]=i3+1+p->idxOffset[3]; - } - */ - - //*numOutBytes=p->bSize*16; - - //inBuf[0] is "mode" - switch(inBuf[0]){ - //R:UCSparse - case 0: - //if(D_G){printf("\nDC:UCSparse\n");} //DEBUG - //bp->nonZeros=*(uint16_t*)(&inBuf[9]); - //bytePos=11; - bp->nonZeros=*(uint16_t*)(&inBuf[1]); - bytePos=3; - for(j=0;jbSize;j++){ - data[j]=0; - } - for(j=0;jnonZeros;j++){ - //i0=*(uint16_t*)(&inBuf[bytePos])-1-p->idxOffset[0]; //i0 - i0=*(uint16_t*)(&inBuf[bytePos]); //i0 - bytePos+=2; - //i1=*(uint16_t*)(&inBuf[bytePos])-1-p->idxOffset[1]; //i1 - i1=*(uint16_t*)(&inBuf[bytePos]); //i1 - bytePos+=2; - //i2=*(uint16_t*)(&inBuf[bytePos])-1-p->idxOffset[2]; //i2 - i2=*(uint16_t*)(&inBuf[bytePos]); //i2 - bytePos+=2; - //i3=*(uint16_t*)(&inBuf[bytePos])-1-p->idxOffset[3]; //i3 - i3=*(uint16_t*)(&inBuf[bytePos]); //i3 - bytePos+=2; - _1DIdx=p->idxRange[3]*(i2+p->idxRange[2]*(i1+i0*p->idxRange[1]))+i3; - data[_1DIdx]=*(double*)(&inBuf[bytePos]); - bytePos+=8; - } - //if(D_G){printf("\nDC:bytePos:%ld\n",bytePos);} //DEBUG - break; - //R:UCNonSparse - case 1: - //if(D_G){printf("\nDC:UCNonSparse\n");} //DEBUG - //memcpy(&outBuf[p->bSize*8], &inBuf[9], p->bSize*8); - memcpy(data, &inBuf[1], p->bSize*8); - bytePos=p->bSize*8; - //if(D_G){printf("\nDC:bytePos:%ld\n",bytePos);} //DEBUG - break; - //R:CSparse - case 2: - //if(D_G){printf("\nDC:CSparse\n");} //DEBUG - //for(j=0;jbSize;j++){ - // data[j]=0; - //} - - //bp->patternBits=inBuf[13]; - //bp->ECQBits=inBuf[14]; - - bp->patternBits=inBuf[5]; - bp->ECQBits=inBuf[6]; - - //if(D_R){printf("bp->patternBits:%d bp->ECQBits:%d bp->_1DIdxBits:%d\n",bp->patternBits,bp->ECQBits,bp->_1DIdxBits);} //DEBUG - - //bp->numOutliers=*(uint16_t*)(&inBuf[15]); - //bitPos=17*8; - bp->numOutliers=*(uint16_t*)(&inBuf[7]); - bitPos=9*8; - //if(D_R){printf("bp->numOutliers:%d\n",bp->numOutliers);} //DEBUG - - bp->scalesBinSize=1/(double)(((uint64_t)1<<(bp->patternBits-1))-1); - - bp->binSize=p->usedEb*2; - - //if(D_R){printf("bp->scalesBinSize:%.6e bp->binSize:%.6e bp->scalesBinSize*bp->binSize:%.6e\n",bp->scalesBinSize,bp->binSize,bp->scalesBinSize*bp->binSize);} //DEBUG - - for(j=0;jsbSize;j++){ - patternQ[j]=readBits_I64(inBuf,&bitPos,bp->patternBits);//Pattern point - //if(D_R){printf("R:patternQ[%d]=%ld\n",j,patternQ[j]);} - } - for(j=0;jsbNum;j++){ - scalesQ[j]=readBits_I64(inBuf,&bitPos,bp->patternBits);//Scale - //if(D_R){printf("R:scalesQ[%d]=%ld\n",j,scalesQ[j]);} - } - - /* //Splitting - for(j=0;jbSize;j++){ - data[j]=scalesQ[j/p->sbSize]*patternQ[j%p->sbSize]*bp->scalesBinSize*bp->binSize; - } - */ - for(j=0;jbSize;j++){ - ECQ[j]=0; - } - switch(bp->ECQBits){ - case 2: - for(j=0;jnumOutliers;j++){ - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits));} //DEBUG - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_I64(inBuf,&bitPos,2));} //DEBUG - - _1DIdx=readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits); - ECQTemp=readBits_I64(inBuf,&bitPos,1); - ECQTemp= ((ECQTemp<<63)>>63)|(uint64_t)0x1; - ////if(D_R)printf("R:ECQ[%d]: %ld \n",_1DIdx,ECQTemp); - //continue; - //sb=_1DIdx/p->sbSize; - //localIdx=_1DIdx%p->sbSize; - - ////data[_1DIdx]-=ECQTemp*bp->binSize;//Splitting - ECQ[_1DIdx]=ECQTemp; - - ////if(DEBUG){printf("decompressed[%d]:%.6e\n",_1DIdx,data[_1DIdx]);} //DEBUG - } - break; - default: //bp->ECQBits>2 - //if(D_C){if(!((bp->ECQBits>=2)||((bp->ECQBits==1) && (bp->numOutliers==0)))){printf("ERROR: bp->ECQBits:%d bp->numOutliers:%d This should not have happened!\n",bp->ECQBits,bp->numOutliers);assert(0);}} //DEBUG - - for(j=0;jnumOutliers;j++){ - _1DIdx=readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits); - //sb=_1DIdx/p->sbSize; - //localIdx=_1DIdx%p->sbSize; - temp=readBits_UI64(inBuf,&bitPos,1); - ////if(DEBUG){printf("temp:%ld\n",temp);} //DEBUG - switch(temp){ - case 0: //+-1 - ECQTemp=readBits_I64(inBuf,&bitPos,1); - ECQTemp= ((ECQTemp<<63)>>63)|(uint64_t)0x1; - ////if(DEBUG){printf("_1DIdx:%ld ECQTemp:0x%ld\n",_1DIdx,ECQTemp);} //DEBUG - ////if(D_R)printf("R:ECQ[%d]: %ld \n",_1DIdx,ECQTemp); - break; - case 1: //Others - ECQTemp=readBits_I64(inBuf,&bitPos,bp->ECQBits); - ////if(DEBUG){printf("_1DIdx:%ld ECQTemp:0x%ld\n",_1DIdx,ECQTemp);} //DEBUG - ////if(D_R)printf("R:ECQ[%d]: %ld \n",_1DIdx,ECQTemp); - break; - //default: - //// printf("ERROR: Bad 2-bit value: 0x%lx",temp); - // assert(0); //AMG - // break; - } - - //data[_1DIdx]-=ECQTemp*bp->binSize;//Splitting - ECQ[_1DIdx]=ECQTemp; - - ////if(DEBUG){printf("decompressed[%d]:%.6e\n",_1DIdx,data[_1DIdx]);} //DEBUG - } - break; - } - //static inline uint64_t readBits_UI64(unsigned char* buffer,uint64_t *bitPosPtr,uint64_t numBits){ // numBits must be in range [0:56] - //patternQ=(int64_t*)(inBuf+15); - //scalesQ=(int64_t*)(inBuf+15+p->sbSize*8); - - bytePos=(bitPos+7)/8; - //if(D_G){printf("\nDC:bytePos:%ld\n",bytePos);} //DEBUG - - //STEP 2: PREDICT DATA(Includes INVERSE QUANTIZATION) - pastri_double_PredictData(p,bp,data,patternQ,scalesQ,ECQ); - - break; - //R:CNonSparse - case 3: - //if(D_G){printf("\nDC:CNonSparse\n");} //DEBUG - - //for(j=0;jbSize;j++){ - // data[j]=0; - //} - - //bp->patternBits=inBuf[13]; - //bp->ECQBits=inBuf[14]; - - bp->patternBits=inBuf[5]; - bp->ECQBits=inBuf[6]; - - //if(D_R){printf("bp->patternBits:%d bp->ECQBits:%d bp->_1DIdxBits:%d\n",bp->patternBits,bp->ECQBits,bp->_1DIdxBits);} //DEBUG - - //bitPos=15*8; - bitPos=7*8; - - bp->scalesBinSize=1/(double)(((uint64_t)1<<(bp->patternBits-1))-1); - bp->binSize=p->usedEb*2; - - //if(D_R){printf("bp->scalesBinSize:%.6e bp->binSize:%.6e bp->scalesBinSize*bp->binSize:%.6e\n",bp->scalesBinSize,bp->binSize,bp->scalesBinSize*bp->binSize);} //DEBUG - - for(j=0;jsbSize;j++){ - patternQ[j]=readBits_I64(inBuf,&bitPos,bp->patternBits);//Pattern point - //if(D_R){printf("R:patternQ[%d]=%ld\n",j,patternQ[j]);} - } - for(j=0;jsbNum;j++){ - scalesQ[j]=readBits_I64(inBuf,&bitPos,bp->patternBits);//Scale - //if(D_R){printf("R:scalesQ[%d]=%ld\n",j,scalesQ[j]);} - } - /* //Splitting - for(j=0;jbSize;j++){ - data[j]=scalesQ[j/p->sbSize]*patternQ[j%p->sbSize]*bp->scalesBinSize*bp->binSize; - ////if(DEBUG){printf("DC:PS[%d]=%.6e\n",j,data[j]);} - } - */ - switch(bp->ECQBits){ - case 2: - for(j=0;jbSize;j++){ - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits));} //DEBUG - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_I64(inBuf,&bitPos,2));} //DEBUG - //_1DIdx=readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits); - temp=readBits_UI64(inBuf,&bitPos,1); - switch(temp){ - case 0: - ECQTemp=readBits_I64(inBuf,&bitPos,1); - ECQTemp= ((ECQTemp<<63)>>63)|(uint64_t)0x1; - break; - case 1: - ECQTemp=0; - break; - default: - assert(0); - break; - } - - ////if(DEBUG){printf("_1DIdx:%ld ECQTemp:0x%ld\n",_1DIdx,ECQTemp);} //DEBUG - //continue; - //sb=_1DIdx/p->sbSize; - //localIdx=_1DIdx%p->sbSize; - - //data[j]-=ECQTemp*bp->binSize; //Splitting - ECQ[j]=ECQTemp; - - ////if(DEBUG){printf("decompressed[%d]:%.6e\n",_1DIdx,data[_1DIdx]);} //DEBUG - } - break; - default: //bp->ECQBits>2 - ////if(DEBUG)printf("AMG_R1:bitPos: %ld\n",bitPos); - - for(j=0;jbSize;j++){ - ////if(DEBUG){printf("AMG_R3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&inBuf[bitPos/8]));}; //DEBUG - ////if(DEBUG)printf("AMG_R2:bitPos: %ld\n",bitPos); - - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits));} //DEBUG - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_I64(inBuf,&bitPos,2));} //DEBUG - //_1DIdx=readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits); - temp=readBits_UI64(inBuf,&bitPos,1); - ////if(DEBUG){printf("AMG_R3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&inBuf[bitPos/8]));}; //DEBUG - switch(temp){ - case 0: - ////if(DEBUG)printf("Read:0"); - temp2=readBits_UI64(inBuf,&bitPos,1); - switch(temp2){ - case 0: - ////if(DEBUG)printf("0"); - ECQTemp=readBits_I64(inBuf,&bitPos,1); - ////if(DEBUG){printf("AMG_R3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&inBuf[bitPos/8]));}; //DEBUG - ////if(DEBUG)printf("R:ECQTemp:%ld\n",ECQTemp); - ECQTemp= ((ECQTemp<<63)>>63)|(uint64_t)0x1; - ////if(DEBUG)printf("R:ECQ[%d]: %ld\n",j,ECQTemp); - break; - case 1: - ////if(DEBUG)printf("1\n"); - ECQTemp=readBits_I64(inBuf,&bitPos,bp->ECQBits); - ////if(DEBUG){printf("AMG_R3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&inBuf[bitPos/8]));}; //DEBUG - ////if(DEBUG)printf("R:ECQ[%d]: %ld\n",j,ECQTemp); - break; - default: - assert(0); - break; - } - break; - case 1: - ////if(DEBUG)printf("Read:1\n"); - ECQTemp=0; - ////if(DEBUG)printf("R:ECQ[%d]: %ld\n",j,ECQTemp); - break; - default: - assert(0); - break; - } - - ////if(DEBUG){printf("_1DIdx:%ld ECQTemp:0x%ld\n",_1DIdx,ECQTemp);} //DEBUG - //continue; - //sb=_1DIdx/p->sbSize; - //localIdx=_1DIdx%p->sbSize; - - //data[j]-=ECQTemp*bp->binSize; //Splitting - ECQ[j]=ECQTemp; - - ////if(DEBUG){printf("DC:data[%d]:%.6e\n",j,data[j]);} //DEBUG - } - break; - } - //static inline uint64_t readBits_UI64(unsigned char* buffer,uint64_t *bitPosPtr,uint64_t numBits){ // numBits must be in range [0:56] - //patternQ=(int64_t*)(inBuf+15); - //scalesQ=(int64_t*)(inBuf+15+p->sbSize*8); - bytePos=(bitPos+7)/8; - //if(D_G){printf("\nDC:bytePos:%ld\n",bytePos);} //DEBUG - - //STEP 2: PREDICT DATA(Includes INVERSE QUANTIZATION) - pastri_double_PredictData(p,bp,data,patternQ,scalesQ,ECQ); - break; - - default: - assert(0); - break; - } - (*numReadBytes)=bytePos; -} - -static inline void pastri_double_Decompress(unsigned char*inBuf,int dataSize,pastri_params *p,unsigned char*outBuf,int *numReadBytes){ - int64_t patternQ[MAX_PS_SIZE]; - int64_t scalesQ[MAX_PS_SIZE]; - int64_t ECQ[MAX_BLOCK_SIZE]; - - pastri_blockParams bp; - - //STEP 1: DECODE (Includes PREDICT DATA(Includes INVERSE QUANTIZATION)) - //(Further steps are called inside pastri_double_Decode function) - pastri_double_Decode(inBuf,p,&bp,outBuf,numReadBytes,patternQ,scalesQ,ECQ); - - return; -} - -//inBuf vs Decompressed -static inline int pastri_double_Check(unsigned char*inBuf,int dataSize,unsigned char*DC,pastri_params *p){ - int i; - - double *data=(double*)(inBuf); - double *data_dc=(double*)(DC); - - //Comparing Indexes: - /* - for(i=0;ibSize;i++){ - if(idx0[i]!=idx0_dc[i]){ - //printf("idx0[%d]=%d != %d=idx0_dc[%d]",i,idx0[i],idx0_dc[i],i); - assert(0); - } - if(idx1[i]!=idx1_dc[i]){ - //printf("idx1[%d]=%d != %d=idx1_dc[%d]",i,idx1[i],idx1_dc[i],i); - assert(0); - } - if(idx2[i]!=idx2_dc[i]){ - //printf("idx2[%d]=%d != %d=idx2_dc[%d]",i,idx2[i],idx2_dc[i],i); - assert(0); - } - if(idx3[i]!=idx3_dc[i]){ - //printf("idx3[%d]=%d != %d=idx3_dc[%d]",i,idx3[i],idx3_dc[i],i); - assert(0); - } - } - */ - - //Comparing Data: - for(i=0;ibSize;i++){ - if(abs_FastD(data[i]-data_dc[i])>p->usedEb){ - //printf("|data[%d]-data_dc[%d]|>originalEb : %.3e - %.3e = %.3e > %.3e\n",i,i,data[i],data_dc[i],abs_FastD(data[i]-data_dc[i]),p->usedEb); - assert(0); - } - } - return 0; -} - - -#endif diff --git a/deps/SZ/sz/include/pastriF.h b/deps/SZ/sz/include/pastriF.h deleted file mode 100644 index 5c1d587964..0000000000 --- a/deps/SZ/sz/include/pastriF.h +++ /dev/null @@ -1,911 +0,0 @@ -#ifndef PASTRIF_H -#define PASTRIF_H - -static inline int64_t pastri_float_quantize(float x, float binSize){ - //Add or sub 0.5, depending on the sign: - x=x/binSize; - - u_UI64I64D u1,half; - u1.d=x; - - half.d=0.5; - - ////printf("pastri_float_quantize:\nx=%lf x=0x%lx\n",x,(*((uint64_t *)(&x)))); - ////printf("sign(x):0x%lx\n", x); - ////printf("0.5:0x%lx\n", (*((uint64_t *)(&half)))); - half.ui64 |= (u1.ui64 & (uint64_t)0x8000000000000000); - ////printf("sign(x)*0.5:0x%lx\n", (*((uint64_t *)(&half)))); - return (int64_t)(x + half.d); -} - -static inline void pastri_float_PatternMatch(float*data,pastri_params* p,pastri_blockParams* bp,int64_t* patternQ,int64_t *scalesQ, int64_t* ECQ){ - //Find the pattern. - //First, find the extremum point: - float absExt=0; //Absolute value of Extremum - int extIdx=-1; //Index of Extremum - bp->nonZeros=0; - int i,sb; - for(i=0;ibSize;i++){ - ////printf("data[%d] = %.16lf\n",i,data[i]);//DEBUG - if(abs_FastD(data[i])>p->usedEb){ - bp->nonZeros++; - ////if(DEBUG)printf("data[%d]:%.6e\n",i,data[i]); //DEBUG - } - if(abs_FastD(data[i])>absExt){ - absExt=abs_FastD(data[i]); - extIdx=i; - } - } - int patternIdx; //Starting Index of Pattern - patternIdx=(extIdx/p->sbSize)*p->sbSize; - - float patternExt=data[extIdx]; - bp->binSize=2*p->usedEb; - - ////if(DEBUG){printf("Extremum : data[%d] = %.6e\n",extIdx,patternExt);} //DEBUG - ////if(DEBUG){printf("patternIdx: %d\n",patternIdx);} //DEBUG - - ////if(DEBUG){for(i=0;isbSize;i++){printf("pattern[%d]=data[%d]=%.6e Quantized:%d\n",i,patternIdx+i,data[patternIdx+i],pastri_float_quantize(data[patternIdx+i]/binSize) );} }//DEBUG - - //int64_t *patternQ=(int64_t*)(outBuf+15); //Possible Improvement! - - - for(i=0;isbSize;i++){ - patternQ[i]=pastri_float_quantize(data[patternIdx+i],bp->binSize); - //if(D_W){printf("patternQ[%d]=%ld\n",i,patternQ[i]);} - } - - bp->patternBits=bitsNeeded_float((abs_FastD(patternExt)/bp->binSize)+1)+1; - bp->scaleBits=bp->patternBits; - bp->scalesBinSize=1/(float)(((uint64_t)1<<(bp->scaleBits-1))-1); - ////if(DEBUG){printf("(patternExt/binSize)+1: %.6e\n",(patternExt/binSize)+1);} //DEBUG - ////if(DEBUG){printf("scaleBits=patternBits: %d\n",scaleBits);} //DEBUG - //if(D_W){printf("scalesBinSize: %.6e\n",bp->scalesBinSize);} //DEBUG - - //Calculate Scales. - //The index part of the input buffer will be reused to hold Scale, Pattern, etc. values. - int localExtIdx=extIdx%p->sbSize; //Local extremum index. This is not the actual extremum of the current sb, but rather the index that correspond to the global (block) extremum. - //int64_t *scalesQ=(int64_t*)(outBuf+15+p->sbSize*8); //Possible Improvement! - int patternExtZero=(patternExt==0); - ////if(DEBUG){printf("patternExtZero: %d\n",patternExtZero);} //DEBUG - for(sb=0;sbsbNum;sb++){ - //scales[sb]=data[sb*p->sbSize+localExtIdx]/patternExt; - //scales[sb]=patternExtZero ? 0 : data[sb*p->sbSize+localExtIdx]/patternExt; - //assert(scales[sb]<=1); - scalesQ[sb]=pastri_float_quantize((patternExtZero ? 0 : data[sb*p->sbSize+localExtIdx]/patternExt),bp->scalesBinSize); - //if(D_W){printf("scalesQ[%d]=%ld\n",sb,scalesQ[sb]);} - } - ////if(DEBUG){for(i=0;isbSize;i++){printf("scalesQ[%d]=%ld \n",i,scalesQ[i]);}} //DEBUG - - //int64_t *ECQ=(int64_t*)(outBuf+p->bSize*8); //ECQ is written into outBuf, just be careful when handling it. - - //uint64_t wVal; - bp->ECQExt=0; - int _1DIdx; - bp->ECQ1s=0; - bp->ECQOthers=0; - float PS_binSize=bp->scalesBinSize*bp->binSize; - for(sb=0;sbsbNum;sb++){ - for(i=0;isbSize;i++){ - _1DIdx=sb*p->sbSize+i; - ECQ[_1DIdx]=pastri_float_quantize( (scalesQ[sb]*patternQ[i]*PS_binSize-data[_1DIdx]),bp->binSize ); - float absECQ=abs_FastD(ECQ[_1DIdx]); - if(absECQ > bp->ECQExt) - bp->ECQExt=absECQ; - ////if(DEBUG){printf("EC[%d]: %.6e Quantized:%ld \n",_1DIdx,(scalesQ[sb]*patternQ[i]*scalesBinSize*binSize-data[_1DIdx]),ECQ[_1DIdx]);} //DEBUG - switch (ECQ[_1DIdx]){ - case 0: - //ECQ0s++; //Currently not needed - break; - case 1: - bp->ECQ1s++; - break; - case -1: - bp->ECQ1s++; - break; - default: - bp->ECQOthers++; - break; - } - } - } - - /* - //DEBUG: Self-check. Remove this later. - for(sb=0;sbsbNum;sb++){ - for(i=0;isbSize;i++){ - _1DIdx=sb*p->sbSize+i; - float decompressed=scalesQ[sb]*patternQ[i]*scalesBinSize*binSize-ECQ[_1DIdx]*binSize; - if(abs_FastD(decompressed-data[_1DIdx])>(p->usedEb)){ - //printf("p->usedEb=%.6e\n",p->usedEb); - //printf("data[%d]=%.6e decompressed[%d]=%.6e diff=%.6e\n",_1DIdx,data[_1DIdx],_1DIdx,decompressed,abs_FastD(data[_1DIdx]-decompressed)); - assert(0); - } - } - } - */ -} - -static inline void pastri_float_Encode(float *data,int64_t* patternQ,int64_t* scalesQ,int64_t* ECQ,pastri_params *p,pastri_blockParams* bp,unsigned char* outBuf,int *numOutBytes){ - bp->ECQBits=bitsNeeded_UI64(bp->ECQExt)+1; - bp->_1DIdxBits=bitsNeeded_UI64(p->bSize); - //(*numOutBytes)=0; - - int i; - - //Encode: 3 options: - //Compressed, Sparse ECQ - //Compressed, Non-Sparse ECQ - //Uncompressed, Sparse Data - //Uncompressed, Non-spsarse Data - - unsigned int UCSparseBits; //Uncompressed, Sparse bits. Just like the original GAMESS data. Includes: mode, nonZeros, {indexes, data} - unsigned int UCNonSparseBits; //Uncompressed, NonSparse bits. Includes: mode, data - unsigned int CSparseBits; //Includes: mode, compressedBytes, patternBits, ECQBits,numOutliers,P, S, {Indexes(Sparse), ECQ} - unsigned int CNonSparseBits; //Includes: mode, compressedBytes, patternBits, ECQBits,P, S, {ECQ} - //int BOOKKEEPINGBITS=120; //Includes: mode, compressedBytes, patternBits, ECQBits (8+64+32+8+8) //Moved to much earlier! - - //Consider: ECQ0s, ECQ1s, ECQOthers. Number of following values in ECQ: {0}, {1,-1}, { val<=-2, val>=2} - //ECQ0s is actually not needed, but others are needed. - - UCSparseBits = p->dataSize*(1 + 2 + bp->nonZeros*16); //64 bits for 4 indexes, 64 bit for data. - UCNonSparseBits = p->dataSize*(1 + p->bSize*8); - bp->numOutliers=bp->ECQ1s+bp->ECQOthers; - if(bp->ECQBits==2){ - CSparseBits = p->dataSize*(1+4+1+1+2) + bp->patternBits*p->sbSize + bp->scaleBits*p->sbNum + bp->ECQ1s*(1+bp->_1DIdxBits); - CNonSparseBits = p->dataSize*(1+4+1+1) + bp->patternBits*p->sbSize + bp->scaleBits*p->sbNum + p->bSize + bp->ECQ1s ; //Or: ECQ0s+ECQ1s*2; - }else{ //ECQBits>2 - CSparseBits = p->dataSize*(1+4+1+1+2) + bp->patternBits*p->sbSize + bp->scaleBits*p->sbNum + bp->ECQ1s*(2+bp->_1DIdxBits) + bp->ECQOthers*(1+bp->_1DIdxBits+bp->ECQBits); - //CNonSparseBits = 8+32+8+8+ patternBits*p->sbSize + scaleBits*p->sbNum + p->bSize + ECQ0s + ECQ1s*3 + ECQOthers*(2+ECQBits); - CNonSparseBits = p->dataSize*(1+4+1+1)+ bp->patternBits*p->sbSize + bp->scaleBits*p->sbNum + p->bSize + bp->ECQ1s*2 + bp->ECQOthers*(1+bp->ECQBits); - } - - int UCSparseBytes=(UCSparseBits+7)/8; - int UCNonSparseBytes=(UCNonSparseBits+7)/8; - int CSparseBytes=(CSparseBits+7)/8; - int CNonSparseBytes=(CNonSparseBits+7)/8; - uint64_t bitPos=0; - uint64_t bytePos=0; - int i0,i1,i2,i3; - int _1DIdx; - - //*(uint16_t*)(&outBuf[1])=p->idxOffset[0]; - //*(uint16_t*)(&outBuf[3])=p->idxOffset[1]; - //*(uint16_t*)(&outBuf[5])=p->idxOffset[2]; - //*(uint16_t*)(&outBuf[7])=p->idxOffset[3]; - - //if(D_W){printf("ECQ0s:%d ECQ1s:%d ECQOthers:%d Total:%d\n",p->bSize-bp->ECQ1s-bp->ECQOthers,bp->ECQ1s,bp->ECQOthers,p->bSize);} //DEBUG - //if(D_W){printf("numOutliers:%d\n",bp->numOutliers);} //DEBUG - - //**************************************************************************************** - //if(0){ //DEBUG - //W:UCSparse - if((UCSparseBytesECQBits); //DEBUG - outBuf[0]=0; //mode - - //*(uint16_t*)(&outBuf[9])=nonZeros; - //bytePos=11;//0:mode, 1-8:indexOffsets 9-10:NonZeros. So start from 11. - *(uint16_t*)(&outBuf[1])=bp->nonZeros; - bytePos=3;//0:mode, 2-3:NonZeros. So start from 3. - - for(i0=0;i0idxRange[0];i0++) - for(i1=0;i1idxRange[1];i1++) - for(i2=0;i2idxRange[2];i2++) - for(i3=0;i3idxRange[3];i3++){ - _1DIdx=p->idxRange[3]*(i2+p->idxRange[2]*(i1+i0*p->idxRange[1]))+i3; - if(abs_FastD(data[_1DIdx])>p->usedEb){ - //*(uint16_t*)(&outBuf[bytePos])=i0+1+p->idxOffset[0]; - *(uint16_t*)(&outBuf[bytePos])=i0; - bytePos+=2; - //*(uint16_t*)(&outBuf[bytePos])=i1+1+p->idxOffset[1]; - *(uint16_t*)(&outBuf[bytePos])=i1; - bytePos+=2; - //*(uint16_t*)(&outBuf[bytePos])=i2+1+p->idxOffset[2]; - *(uint16_t*)(&outBuf[bytePos])=i2; - bytePos+=2; - //*(uint16_t*)(&outBuf[bytePos])=i3+1+p->idxOffset[3]; - *(uint16_t*)(&outBuf[bytePos])=i3; - bytePos+=2; - - *(float*)(&outBuf[bytePos])=data[_1DIdx]; - bytePos+=p->dataSize; - } - } - - //if(D_G)printf("UCSparseBytes:%d \n",UCSparseBytes); //DEBUG - - //**************************************************************************************** - //}else if(0){ //DEBUG - //W:UCNonSparse - }else if((UCNonSparseBytesECQBits); //DEBUG - outBuf[0]=1; //mode - - //memcpy(&outBuf[9], &inBuf[p->bSize*8], UCNonSparseBytes-9); - memcpy(&outBuf[1], data, p->bSize*p->dataSize); - - //if(D_G)printf("UCNonSparseBytes:%d \n",UCNonSparseBytes); //DEBUG - /* - for(i=0;ibSize*8+i]); - } - //printf("\n"); - for(i=0;iECQBits); //DEBUG - ////if(DEBUG){printf("patternBits:%d _1DIdxBits:%d\n",patternBits,_1DIdxBits);} //DEBUG - outBuf[0]=2; //mode - - ////outBuf bytes [1:8] are indexOffsets, which are already written. outBuf bytes [9:12] are reserved for compressedBytes. - //outBuf[13]=patternBits; - //outBuf[14]=ECQBits; - ////Currently, we are at the end of 15th byte. - //*(uint16_t*)(&outBuf[15])=numOutliers; - //bitPos=17*8; //Currently, we are at the end of 17th byte. - - //outBuf bytes [1:4] are reserved for compressedBytes. - outBuf[5]=bp->patternBits; - outBuf[6]=bp->ECQBits; - //Currently, we are at the end of 7th byte. - - *(uint16_t*)(&outBuf[7])=bp->numOutliers; - //Now, we are at the end of 9th byte. - bitPos=9*8; - - ////if(DEBUG){printf("bitPos_B:%ld\n",bitPos);} //DEBUG - - for(i=0;isbSize;i++){ - writeBits_Fast(outBuf,&bitPos,bp->patternBits,patternQ[i]);//Pattern point - } - ////if(DEBUG){printf("bitPos_P:%ld\n",bitPos);} //DEBUG - for(i=0;isbNum;i++){ - writeBits_Fast(outBuf,&bitPos,bp->scaleBits,scalesQ[i]);//Scale - } - ////if(DEBUG){printf("bitPos_S:%ld\n",bitPos);} //DEBUG - ////if(DEBUG)printf("ECQBits:%d\n",ECQBits); - switch(bp->ECQBits){ - case 2: - for(i=0;ibSize;i++){ - switch(ECQ[i]){ - case 0: - break; - case 1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x0\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,2,0x10); - //writeBits_Fast(outBuf,&bitPos,2,0);//0x00 - //writeBits_Fast(outBuf,&bitPos,2,0);//0x00 - writeBits_Fast(outBuf,&bitPos,1,0);//0x00 - break; - case -1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x1\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,2,0x11); - //writeBits_Fast(outBuf,&bitPos,2,1);//0x01 - //writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - break; - default: - assert(0); - break; - } - } - break; - default: //ECQBits>2 - for(i=0;ibSize;i++){ - switch(ECQ[i]){ - case 0: - break; - case 1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x00\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,3,0);//0x000 - //writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - break; - case -1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x01\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,3,1);//0x001 - //writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - break; - default: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x1 0x%lx\n",i,ECQ[i],ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,bp->_1DIdxBits,i); - //writeBits_Fast(outBuf,&bitPos,2+ECQBits,((uint64_t)0x11<ECQBits,ECQ[i]); - break; - } - } - break; - } - - ////if(DEBUG){printf("bitPos_E:%ld\n",bitPos);} //DEBUG - //if(D_C){if(!((bp->ECQBits>=2)||((bp->ECQBits==1) && (bp->numOutliers==0)))){printf("ERROR: ECQBits:%d numOutliers:%d This should not have happened!\n",bp->ECQBits,bp->numOutliers);assert(0);}} //DEBUG - - - uint32_t bytePos=(bitPos+7)/8; - //*(uint32_t*)(&outBuf[9])=bytePos; - *(uint32_t*)(&outBuf[1])=bytePos; - - //if(D_G)printf("bitPos:%ld CSparseBits:%d bytePos:%d CSparseBytes:%d\n",bitPos,CSparseBits,bytePos,CSparseBytes); //DEBUG - if(D_G){assert(bitPos==CSparseBits);} - - //**************************************************************************************** - //W:CNonSparse - }else { - //Includes: mode, indexOffsets, compressedBytes, patternBits, ECQBits,P, S, {ECQ} - *numOutBytes=CNonSparseBytes; - //if(D_G){printf("CNonSparse\n");} //DEBUG - //if(D_G)printf("ECQBits:%d\n",bp->ECQBits); //DEBUG - ////if(DEBUG){printf("patternBits:%d _1DIdxBits:%d\n",patternBits,_1DIdxBits);} //DEBUG - outBuf[0]=3; //mode - - ////outBuf bytes [1:8] are indexOffsets, which are already written. outBuf bytes [9:12] are reserved for compressedBytes. - //outBuf[13]=patternBits; - //outBuf[14]=ECQBits; - //bitPos=15*8; //Currently, we are at the end of 15th byte. - - //outBuf bytes [1:4] are reserved for compressedBytes. - outBuf[5]=bp->patternBits; - outBuf[6]=bp->ECQBits; - bitPos=7*8; //Currently, we are at the end of 7th byte. - - ////if(DEBUG){printf("bitPos_B:%ld\n",bitPos);} //DEBUG - - for(i=0;isbSize;i++){ - writeBits_Fast(outBuf,&bitPos,bp->patternBits,patternQ[i]);//Pattern point - } - ////if(DEBUG){printf("bitPos_P:%ld\n",bitPos);} //DEBUG - for(i=0;isbNum;i++){ - writeBits_Fast(outBuf,&bitPos,bp->scaleBits,scalesQ[i]);//Scale - } - ////if(DEBUG){printf("bitPos_S:%ld\n",bitPos);} //DEBUG - ////if(DEBUG)printf("ECQBits:%d\n",ECQBits); - switch(bp->ECQBits){ - case 2: - for(i=0;ibSize;i++){ - switch(ECQ[i]){ - case 0: - ////if(DEBUG)printf("Index:%d ECQ:%d Written:0x1\n",i,ECQ[i]); //DEBUG - writeBits_Fast(outBuf,&bitPos,1,1);//0x1 - break; - case 1: - ////if(DEBUG)printf("Index:%d ECQ:%d Written:0x00\n",i,ECQ[i]); //DEBUG - //writeBits_Fast(outBuf,&bitPos,2,0);//0x00 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - break; - case -1: - ////if(DEBUG)printf("Index:%d ECQ:%d Written:0x01\n",i,ECQ[i]); //DEBUG - //writeBits_Fast(outBuf,&bitPos,2,2); //0x01 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - break; - default: - assert(0); - break; - } - } - break; - default: //ECQBits>2 - ////if(DEBUG) printf("AMG_W1:bitPos:%ld\n",bitPos); //DEBUG - for(i=0;ibSize;i++){ - ////if(DEBUG){printf("AMG_W3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - ////if(DEBUG) printf("AMG_W2:bitPos:%ld\n",bitPos); //DEBUG - ////if(DEBUG) printf("ECQ[%d]:%ld\n",i,ECQ[i]); //DEBUG - switch(ECQ[i]){ - case 0: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x1\n",i,ECQ[i]); //DEBUG - ////if(DEBUG){printf("AMG_WB3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - //temp1=bitPos; - writeBits_Fast(outBuf,&bitPos,1,1); //0x1 - //wVal=1; writeBits_Fast(outBuf,&bitPos,1,wVal); //0x1 - ////if(DEBUG){printf("AMG_WA3:bitPos:%ld buffer[%ld]=0x%lx\n",temp1,temp1/8,*(uint64_t*)(&outBuf[temp1/8]));}; //DEBUG - break; - case 1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x000\n",i,ECQ[i]); //DEBUG - ////if(DEBUG){printf("AMG_WB3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - //temp1=bitPos; - //writeBits_Fast(outBuf,&bitPos,3,0); //0x000 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - //wVal=0; writeBits_Fast(outBuf,&bitPos,3,wVal); //0x000 - ////if(DEBUG){printf("AMG_WA3:bitPos:%ld buffer[%ld]=0x%lx\n",temp1,temp1/8,*(uint64_t*)(&outBuf[temp1/8]));}; //DEBUG - break; - case -1: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x001\n",i,ECQ[i]); //DEBUG - ////if(DEBUG){printf("AMG_WB3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - //temp1=bitPos; - //writeBits_Fast(outBuf,&bitPos,3,8); //0x001 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - //wVal=8; writeBits_Fast(outBuf,&bitPos,3,wVal); //0x001 - ////if(DEBUG){printf("AMG_WA3:bitPos:%ld buffer[%ld]=0x%lx\n",temp1,temp1/8,*(uint64_t*)(&outBuf[temp1/8]));}; //DEBUG - break; - default: - ////if(DEBUG)printf("Index:%d ECQ:%ld Written:0x01 0x%lx\n",i,ECQ[i]); //DEBUG - ////if(DEBUG){printf("AMG_WB3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&outBuf[bitPos/8]));}; //DEBUG - //temp1=bitPos; - //writeBits_Fast(outBuf,&bitPos,2,2); //0x01 - writeBits_Fast(outBuf,&bitPos,1,0); - writeBits_Fast(outBuf,&bitPos,1,1); - //wVal=2; writeBits_Fast(outBuf,&bitPos,2,wVal); //0x01 - writeBits_Fast(outBuf,&bitPos,bp->ECQBits,ECQ[i]); - ////if(DEBUG){printf("AMG_WA3:bitPos:%ld buffer[%ld]=0x%lx\n",temp1,temp1/8,*(uint64_t*)(&outBuf[temp1/8]));}; //DEBUG - break; - } - } - break; - } - - ////if(DEBUG){printf("bitPos_E:%ld\n",bitPos);} //DEBUG - //if(D_C){if(!((bp->ECQBits>=2)||((bp->ECQBits==1) && (bp->numOutliers==0)))){printf("ERROR: ECQBits:%d numOutliers:%d This should not have happened!\n",bp->ECQBits,bp->numOutliers);assert(0);}} //DEBUG - - - - uint32_t bytePos=(bitPos+7)/8; - //*(uint32_t*)(&outBuf[9])=bytePos; - *(uint32_t*)(&outBuf[1])=bytePos; - - //if(D_G)printf("bitPos:%ld CNonSparseBits:%d bytePos:%d CNonSparseBytes:%d\n",bitPos,CNonSparseBits,bytePos,CNonSparseBytes); //DEBUG - if(D_G){assert(bitPos==CNonSparseBits);} - - } - ////for(i=213;i<233;i++)if(DEBUG)printf("AMG_WE:bitPos:%d buffer[%d]=0x%lx\n",i*8,i,*(uint64_t*)(&outBuf[i])); //DEBUG - -} -static inline int pastri_float_Compress(unsigned char*inBuf,pastri_params *p,unsigned char*outBuf,int *numOutBytes){ - pastri_blockParams bp; - - //if(D_G2){printf("Parameters: dataSize:%d\n",p->dataSize);} //DEBUG - //if(D_G2){printf("Parameters: bfs:%d %d %d %d originalEb:%.3e\n",p->bf[0],p->bf[1],p->bf[2],p->bf[3],p->usedEb);} //DEBUG - //if(D_G2){printf("Parameters: idxRanges:%d %d %d %d\n",p->idxRange[0],p->idxRange[1],p->idxRange[2],p->idxRange[3]);} //DEBUG - //if(D_G2){printf("Parameters: sbSize:%d sbNum:%d bSize:%d\n",p->sbSize,p->sbNum,p->bSize); }//DEBUG - - int64_t patternQ[MAX_PS_SIZE]; - int64_t scalesQ[MAX_PS_SIZE]; - int64_t ECQ[MAX_BLOCK_SIZE]; - - float *data; - data=(float*)inBuf; - - //STEP 0: PREPROCESSING: - //This step can include flattening the block, determining the period, etc. - //Currently not needed. - - //STEP 1: PATTERN MATCH - pastri_float_PatternMatch(data,p,&bp,patternQ,scalesQ,ECQ); - - //STEP 2: ENCODING(Include QUANTIZE) - pastri_float_Encode(data,patternQ,scalesQ,ECQ,p,&bp,outBuf,numOutBytes); - - - return 0; -} - -static inline float pastri_float_InverseQuantization(int64_t q, float binSize){ - return q*binSize; -} - -static inline void pastri_float_PredictData(pastri_params *p,pastri_blockParams *bp,float *data,int64_t* patternQ,int64_t* scalesQ,int64_t* ECQ){ - int j; - float PS_binSize=bp->scalesBinSize*bp->binSize; - for(j=0;jbSize;j++){ - //data[j]=scalesQ[j/p->sbSize]*patternQ[j%p->sbSize]*PS_binSize - ECQ[j]*bp->binSize; - data[j]=pastri_float_InverseQuantization(scalesQ[j/p->sbSize]*patternQ[j%p->sbSize],PS_binSize) - pastri_float_InverseQuantization(ECQ[j],bp->binSize); - } -} - -static inline void pastri_float_Decode(unsigned char*inBuf,pastri_params *p,pastri_blockParams *bp,unsigned char*outBuf,int *numReadBytes,int64_t* patternQ,int64_t* scalesQ,int64_t* ECQ){ - int j; - bp->_1DIdxBits=bitsNeeded_UI64(p->bSize); - //float *data=(float*)(outBuf+p->bSize*8); - float *data=(float*)(outBuf); - int i0,i1,i2,i3; - //uint16_t *idx0,*idx1,*idx2,*idx3; - int _1DIdx; - - int64_t ECQTemp; - uint64_t bytePos=0; - uint64_t bitPos=0; - uint64_t temp,temp2; - //int sb,localIdx; - - - //idx0=(uint16_t*)(outBuf ); - //idx1=(uint16_t*)(outBuf+p->bSize*2); - //idx2=(uint16_t*)(outBuf+p->bSize*4); - //idx3=(uint16_t*)(outBuf+p->bSize*6); - //p->idxOffset[0]=*(uint32_t*)(&inBuf[1]); - //p->idxOffset[1]=*(uint32_t*)(&inBuf[3]); - //p->idxOffset[2]=*(uint32_t*)(&inBuf[5]); - //p->idxOffset[3]=*(uint32_t*)(&inBuf[7]); - /* - for(i0=0;i0idxRange[0];i0++) - for(i1=0;i1idxRange[1];i1++) - for(i2=0;i2idxRange[2];i2++) - for(i3=0;i3idxRange[3];i3++){ - //_1DIdx=i0*p->idxRange[1]*p->idxRange[2]*p->idxRange[3]+i1*p->idxRange[2]*p->idxRange[3]+i2*p->idxRange[3]+i3; - _1DIdx=p->idxRange[3]*(i2+p->idxRange[2]*(i1+i0*p->idxRange[1]))+i3; - idx0[_1DIdx]=i0+1+p->idxOffset[0]; - idx1[_1DIdx]=i1+1+p->idxOffset[1]; - idx2[_1DIdx]=i2+1+p->idxOffset[2]; - idx3[_1DIdx]=i3+1+p->idxOffset[3]; - } - */ - - //*numOutBytes=p->bSize*16; - - //inBuf[0] is "mode" - switch(inBuf[0]){ - //R:UCSparse - case 0: - //if(D_G){printf("\nDC:UCSparse\n");} //DEBUG - //bp->nonZeros=*(uint16_t*)(&inBuf[9]); - //bytePos=11; - bp->nonZeros=*(uint16_t*)(&inBuf[1]); - bytePos=3; - for(j=0;jbSize;j++){ - data[j]=0; - } - for(j=0;jnonZeros;j++){ - //i0=*(uint16_t*)(&inBuf[bytePos])-1-p->idxOffset[0]; //i0 - i0=*(uint16_t*)(&inBuf[bytePos]); //i0 - bytePos+=2; - //i1=*(uint16_t*)(&inBuf[bytePos])-1-p->idxOffset[1]; //i1 - i1=*(uint16_t*)(&inBuf[bytePos]); //i1 - bytePos+=2; - //i2=*(uint16_t*)(&inBuf[bytePos])-1-p->idxOffset[2]; //i2 - i2=*(uint16_t*)(&inBuf[bytePos]); //i2 - bytePos+=2; - //i3=*(uint16_t*)(&inBuf[bytePos])-1-p->idxOffset[3]; //i3 - i3=*(uint16_t*)(&inBuf[bytePos]); //i3 - bytePos+=2; - _1DIdx=p->idxRange[3]*(i2+p->idxRange[2]*(i1+i0*p->idxRange[1]))+i3; - data[_1DIdx]=*(float*)(&inBuf[bytePos]); - bytePos+=8; - } - //if(D_G){printf("\nDC:bytePos:%ld\n",bytePos);} //DEBUG - break; - //R:UCNonSparse - case 1: - //if(D_G){printf("\nDC:UCNonSparse\n");} //DEBUG - //memcpy(&outBuf[p->bSize*8], &inBuf[9], p->bSize*8); - memcpy(data, &inBuf[1], p->bSize*8); - bytePos=p->bSize*8; - //if(D_G){printf("\nDC:bytePos:%ld\n",bytePos);} //DEBUG - break; - //R:CSparse - case 2: - //if(D_G){printf("\nDC:CSparse\n");} //DEBUG - //for(j=0;jbSize;j++){ - // data[j]=0; - //} - - //bp->patternBits=inBuf[13]; - //bp->ECQBits=inBuf[14]; - - bp->patternBits=inBuf[5]; - bp->ECQBits=inBuf[6]; - - //if(D_R){printf("bp->patternBits:%d bp->ECQBits:%d bp->_1DIdxBits:%d\n",bp->patternBits,bp->ECQBits,bp->_1DIdxBits);} //DEBUG - - //bp->numOutliers=*(uint16_t*)(&inBuf[15]); - //bitPos=17*8; - bp->numOutliers=*(uint16_t*)(&inBuf[7]); - bitPos=9*8; - //if(D_R){printf("bp->numOutliers:%d\n",bp->numOutliers);} //DEBUG - - bp->scalesBinSize=1/(float)(((uint64_t)1<<(bp->patternBits-1))-1); - - bp->binSize=p->usedEb*2; - - //if(D_R){printf("bp->scalesBinSize:%.6e bp->binSize:%.6e bp->scalesBinSize*bp->binSize:%.6e\n",bp->scalesBinSize,bp->binSize,bp->scalesBinSize*bp->binSize);} //DEBUG - - for(j=0;jsbSize;j++){ - patternQ[j]=readBits_I64(inBuf,&bitPos,bp->patternBits);//Pattern point - //if(D_R){printf("R:patternQ[%d]=%ld\n",j,patternQ[j]);} - } - for(j=0;jsbNum;j++){ - scalesQ[j]=readBits_I64(inBuf,&bitPos,bp->patternBits);//Scale - //if(D_R){printf("R:scalesQ[%d]=%ld\n",j,scalesQ[j]);} - } - - /* //Splitting - for(j=0;jbSize;j++){ - data[j]=scalesQ[j/p->sbSize]*patternQ[j%p->sbSize]*bp->scalesBinSize*bp->binSize; - } - */ - for(j=0;jbSize;j++){ - ECQ[j]=0; - } - switch(bp->ECQBits){ - case 2: - for(j=0;jnumOutliers;j++){ - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits));} //DEBUG - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_I64(inBuf,&bitPos,2));} //DEBUG - - _1DIdx=readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits); - ECQTemp=readBits_I64(inBuf,&bitPos,1); - ECQTemp= ((ECQTemp<<63)>>63)|(uint64_t)0x1; - ////if(D_R)printf("R:ECQ[%d]: %ld \n",_1DIdx,ECQTemp); - //continue; - //sb=_1DIdx/p->sbSize; - //localIdx=_1DIdx%p->sbSize; - - ////data[_1DIdx]-=ECQTemp*bp->binSize;//Splitting - ECQ[_1DIdx]=ECQTemp; - - ////if(DEBUG){printf("decompressed[%d]:%.6e\n",_1DIdx,data[_1DIdx]);} //DEBUG - } - break; - default: //bp->ECQBits>2 - //if(D_C){if(!((bp->ECQBits>=2)||((bp->ECQBits==1) && (bp->numOutliers==0)))){printf("ERROR: bp->ECQBits:%d bp->numOutliers:%d This should not have happened!\n",bp->ECQBits,bp->numOutliers);assert(0);}} //DEBUG - - for(j=0;jnumOutliers;j++){ - _1DIdx=readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits); - //sb=_1DIdx/p->sbSize; - //localIdx=_1DIdx%p->sbSize; - temp=readBits_UI64(inBuf,&bitPos,1); - ////if(DEBUG){printf("temp:%ld\n",temp);} //DEBUG - switch(temp){ - case 0: //+-1 - ECQTemp=readBits_I64(inBuf,&bitPos,1); - ECQTemp= ((ECQTemp<<63)>>63)|(uint64_t)0x1; - ////if(DEBUG){printf("_1DIdx:%ld ECQTemp:0x%ld\n",_1DIdx,ECQTemp);} //DEBUG - ////if(D_R)printf("R:ECQ[%d]: %ld \n",_1DIdx,ECQTemp); - break; - case 1: //Others - ECQTemp=readBits_I64(inBuf,&bitPos,bp->ECQBits); - ////if(DEBUG){printf("_1DIdx:%ld ECQTemp:0x%ld\n",_1DIdx,ECQTemp);} //DEBUG - ////if(D_R)printf("R:ECQ[%d]: %ld \n",_1DIdx,ECQTemp); - break; - //default: - //// printf("ERROR: Bad 2-bit value: 0x%lx",temp); - // assert(0); //AMG - // break; - } - - //data[_1DIdx]-=ECQTemp*bp->binSize;//Splitting - ECQ[_1DIdx]=ECQTemp; - - ////if(DEBUG){printf("decompressed[%d]:%.6e\n",_1DIdx,data[_1DIdx]);} //DEBUG - } - break; - } - //static inline uint64_t readBits_UI64(unsigned char* buffer,uint64_t *bitPosPtr,uint64_t numBits){ // numBits must be in range [0:56] - //patternQ=(int64_t*)(inBuf+15); - //scalesQ=(int64_t*)(inBuf+15+p->sbSize*8); - - bytePos=(bitPos+7)/8; - //if(D_G){printf("\nDC:bytePos:%ld\n",bytePos);} //DEBUG - - //STEP 2: PREDICT DATA(Includes INVERSE QUANTIZATION) - pastri_float_PredictData(p,bp,data,patternQ,scalesQ,ECQ); - - break; - //R:CNonSparse - case 3: - //if(D_G){printf("\nDC:CNonSparse\n");} //DEBUG - - //for(j=0;jbSize;j++){ - // data[j]=0; - //} - - //bp->patternBits=inBuf[13]; - //bp->ECQBits=inBuf[14]; - - bp->patternBits=inBuf[5]; - bp->ECQBits=inBuf[6]; - - //if(D_R){printf("bp->patternBits:%d bp->ECQBits:%d bp->_1DIdxBits:%d\n",bp->patternBits,bp->ECQBits,bp->_1DIdxBits);} //DEBUG - - //bitPos=15*8; - bitPos=7*8; - - bp->scalesBinSize=1/(float)(((uint64_t)1<<(bp->patternBits-1))-1); - bp->binSize=p->usedEb*2; - - //if(D_R){printf("bp->scalesBinSize:%.6e bp->binSize:%.6e bp->scalesBinSize*bp->binSize:%.6e\n",bp->scalesBinSize,bp->binSize,bp->scalesBinSize*bp->binSize);} //DEBUG - - for(j=0;jsbSize;j++){ - patternQ[j]=readBits_I64(inBuf,&bitPos,bp->patternBits);//Pattern point - //if(D_R){printf("R:patternQ[%d]=%ld\n",j,patternQ[j]);} - } - for(j=0;jsbNum;j++){ - scalesQ[j]=readBits_I64(inBuf,&bitPos,bp->patternBits);//Scale - //if(D_R){printf("R:scalesQ[%d]=%ld\n",j,scalesQ[j]);} - } - /* //Splitting - for(j=0;jbSize;j++){ - data[j]=scalesQ[j/p->sbSize]*patternQ[j%p->sbSize]*bp->scalesBinSize*bp->binSize; - ////if(DEBUG){printf("DC:PS[%d]=%.6e\n",j,data[j]);} - } - */ - switch(bp->ECQBits){ - case 2: - for(j=0;jbSize;j++){ - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits));} //DEBUG - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_I64(inBuf,&bitPos,2));} //DEBUG - //_1DIdx=readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits); - temp=readBits_UI64(inBuf,&bitPos,1); - switch(temp){ - case 0: - ECQTemp=readBits_I64(inBuf,&bitPos,1); - ECQTemp= ((ECQTemp<<63)>>63)|(uint64_t)0x1; - break; - case 1: - ECQTemp=0; - break; - default: - assert(0); - break; - } - - ////if(DEBUG){printf("_1DIdx:%ld ECQTemp:0x%ld\n",_1DIdx,ECQTemp);} //DEBUG - //continue; - //sb=_1DIdx/p->sbSize; - //localIdx=_1DIdx%p->sbSize; - - //data[j]-=ECQTemp*bp->binSize; //Splitting - ECQ[j]=ECQTemp; - - ////if(DEBUG){printf("decompressed[%d]:%.6e\n",_1DIdx,data[_1DIdx]);} //DEBUG - } - break; - default: //bp->ECQBits>2 - ////if(DEBUG)printf("AMG_R1:bitPos: %ld\n",bitPos); - - for(j=0;jbSize;j++){ - ////if(DEBUG){printf("AMG_R3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&inBuf[bitPos/8]));}; //DEBUG - ////if(DEBUG)printf("AMG_R2:bitPos: %ld\n",bitPos); - - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits));} //DEBUG - ////if(DEBUG){printf("readBits_UI64:%ld\n",readBits_I64(inBuf,&bitPos,2));} //DEBUG - //_1DIdx=readBits_UI64(inBuf,&bitPos,bp->_1DIdxBits); - temp=readBits_UI64(inBuf,&bitPos,1); - ////if(DEBUG){printf("AMG_R3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&inBuf[bitPos/8]));}; //DEBUG - switch(temp){ - case 0: - ////if(DEBUG)printf("Read:0"); - temp2=readBits_UI64(inBuf,&bitPos,1); - switch(temp2){ - case 0: - ////if(DEBUG)printf("0"); - ECQTemp=readBits_I64(inBuf,&bitPos,1); - ////if(DEBUG){printf("AMG_R3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&inBuf[bitPos/8]));}; //DEBUG - ////if(DEBUG)printf("R:ECQTemp:%ld\n",ECQTemp); - ECQTemp= ((ECQTemp<<63)>>63)|(uint64_t)0x1; - ////if(DEBUG)printf("R:ECQ[%d]: %ld\n",j,ECQTemp); - break; - case 1: - ////if(DEBUG)printf("1\n"); - ECQTemp=readBits_I64(inBuf,&bitPos,bp->ECQBits); - ////if(DEBUG){printf("AMG_R3:bitPos:%ld buffer[%ld]=0x%lx\n",bitPos,bitPos/8,*(uint64_t*)(&inBuf[bitPos/8]));}; //DEBUG - ////if(DEBUG)printf("R:ECQ[%d]: %ld\n",j,ECQTemp); - break; - default: - assert(0); - break; - } - break; - case 1: - ////if(DEBUG)printf("Read:1\n"); - ECQTemp=0; - ////if(DEBUG)printf("R:ECQ[%d]: %ld\n",j,ECQTemp); - break; - default: - assert(0); - break; - } - - ////if(DEBUG){printf("_1DIdx:%ld ECQTemp:0x%ld\n",_1DIdx,ECQTemp);} //DEBUG - //continue; - //sb=_1DIdx/p->sbSize; - //localIdx=_1DIdx%p->sbSize; - - //data[j]-=ECQTemp*bp->binSize; //Splitting - ECQ[j]=ECQTemp; - - ////if(DEBUG){printf("DC:data[%d]:%.6e\n",j,data[j]);} //DEBUG - } - break; - } - //static inline uint64_t readBits_UI64(unsigned char* buffer,uint64_t *bitPosPtr,uint64_t numBits){ // numBits must be in range [0:56] - //patternQ=(int64_t*)(inBuf+15); - //scalesQ=(int64_t*)(inBuf+15+p->sbSize*8); - bytePos=(bitPos+7)/8; - //if(D_G){printf("\nDC:bytePos:%ld\n",bytePos);} //DEBUG - - //STEP 2: PREDICT DATA(Includes INVERSE QUANTIZATION) - pastri_float_PredictData(p,bp,data,patternQ,scalesQ,ECQ); - break; - - default: - assert(0); - break; - } - (*numReadBytes)=bytePos; -} - -static inline void pastri_float_Decompress(unsigned char*inBuf,int dataSize,pastri_params *p,unsigned char*outBuf,int *numReadBytes){ - int64_t patternQ[MAX_PS_SIZE]; - int64_t scalesQ[MAX_PS_SIZE]; - int64_t ECQ[MAX_BLOCK_SIZE]; - - pastri_blockParams bp; - - //STEP 1: DECODE (Includes PREDICT DATA(Includes INVERSE QUANTIZATION)) - //(Further steps are called inside pastri_float_Decode function) - pastri_float_Decode(inBuf,p,&bp,outBuf,numReadBytes,patternQ,scalesQ,ECQ); - - return; -} - -//inBuf vs Decompressed -static inline int pastri_float_Check(unsigned char*inBuf,int dataSize,unsigned char*DC,pastri_params *p){ - int i; - - float *data=(float*)(inBuf); - float *data_dc=(float*)(DC); - - //Comparing Indexes: - /* - for(i=0;ibSize;i++){ - if(idx0[i]!=idx0_dc[i]){ - //printf("idx0[%d]=%d != %d=idx0_dc[%d]",i,idx0[i],idx0_dc[i],i); - assert(0); - } - if(idx1[i]!=idx1_dc[i]){ - //printf("idx1[%d]=%d != %d=idx1_dc[%d]",i,idx1[i],idx1_dc[i],i); - assert(0); - } - if(idx2[i]!=idx2_dc[i]){ - //printf("idx2[%d]=%d != %d=idx2_dc[%d]",i,idx2[i],idx2_dc[i],i); - assert(0); - } - if(idx3[i]!=idx3_dc[i]){ - //printf("idx3[%d]=%d != %d=idx3_dc[%d]",i,idx3[i],idx3_dc[i],i); - assert(0); - } - } - */ - - //Comparing Data: - for(i=0;ibSize;i++){ - if(abs_FastD(data[i]-data_dc[i])>p->usedEb){ - //printf("|data[%d]-data_dc[%d]|>originalEb : %.3e - %.3e = %.3e > %.3e\n",i,i,data[i],data_dc[i],abs_FastD(data[i]-data_dc[i]),p->usedEb); - assert(0); - } - } - return 0; -} - - -#endif diff --git a/deps/SZ/sz/include/pastriGeneral.h b/deps/SZ/sz/include/pastriGeneral.h deleted file mode 100644 index 81149256d6..0000000000 --- a/deps/SZ/sz/include/pastriGeneral.h +++ /dev/null @@ -1,205 +0,0 @@ -#ifndef PASTRIGENERAL_H -#define PASTRIGENERAL_H - - -static inline double abs_FastD(double x){ - u_UI64I64D u1; - u1.d=x; - //(*((uint64_t *)(&x)))&=(int64_t)0x7FFFFFFFFFFFFFFF; - u1.ui64&=(int64_t)0x7FFFFFFFFFFFFFFF; - return u1.d; -} - -static inline int64_t abs_FastI64(int64_t x){ - return (x^((x&(int64_t)0x8000000000000000)>>63))+((x&(int64_t)0x8000000000000000)!=0); -} -/* -int abs(int x) { - int mask = (x >> (sizeof(int) * CHAR_BIT - 1)); - return (x + mask) ^ mask; -} -*/ - - - - -//Returns the min. bits needed to represent x. -//Same as: ceil(log2(abs(x))) -//Actually to be completely safe, it correspond to: ceil(log2(abs(i)+1))+0.1 -//+0.1 was for fixing rounding errors -//REMEMBER: To represent the whole range [-x:x], the number of bits required is bitsNeeded(x)+1 -static inline int bitsNeeded_double(double x){ - u_UI64I64D u1; - u1.d=x; - return (((u1.ui64<<1)>>53)-1022) & (((x!=0)<<31)>>31); -} - -//Returns the min. bits needed to represent x. -//Same as: ceil(log2(abs(x))) -//NEEDS OPTIMIZATION! -static inline int bitsNeeded_float(float x){ - u_UI64I64D u1; - u1.d=x; //Casting to Double! - return (((u1.ui64<<1)>>53)-1022) & (((x!=0)<<31)>>31); -} - -static inline int bitsNeeded_UI64(uint64_t x){ - int shift; - int res=0; - - //Get the absolute value of x: - //x=(x^((x&(int64_t)0x8000000000000000)>>63))+((x&(int64_t)0x8000000000000000)!=0); - //x=abs_FastI64(x); - - //printf("%d\n",(x&(uint64_t)0xFFFFFFFF00000000)!=0); - shift=(((x&(uint64_t)0xFFFFFFFF00000000)!=0)*32); - x>>=shift; - res+=shift; - - //printf("%d\n",(x&(uint64_t)0x00000000FFFF0000)!=0); - shift=(((x&(uint64_t)0x00000000FFFF0000)!=0)*16); - x>>=shift; - res+=shift; - - //printf("%d\n",(x&(uint64_t)0x000000000000FF00)!=0); - shift=(((x&(uint64_t)0x000000000000FF00)!=0)*8); - x>>=shift; - res+=shift; - - //printf("%d\n",(x&(uint64_t)0x00000000000000F0)!=0); - shift=(((x&(uint64_t)0x00000000000000F0)!=0)*4); - x>>=shift; - res+=shift; - - //printf("%d\n",(x&(uint64_t)0x000000000000000C)!=0); - shift=(((x&(uint64_t)0x000000000000000C)!=0)*2); - x>>=shift; - res+=shift; - - //printf("%d\n",(x&(uint64_t)0x0000000000000002)!=0); - shift=((x&(uint64_t)0x0000000000000002)!=0); - x>>=shift; - res+=shift; - - //printf("%d\n",(x&(uint64_t)0x0000000000000001)!=0); - shift=((x&(uint64_t)0x0000000000000001)!=0); - x>>=shift; - res+=shift; - - //printf("BITS NEEDED: %d\n",res); - return res; -} - -static inline int bitsNeeded_I64(int64_t x){ - uint64_t ux; - ux=abs_FastI64(x); - return bitsNeeded_UI64(ux); -} - -//Implementations(They are inline, so they should be in this header file) - -static inline int myEndianType(){ //Should work for most cases. May not work at mixed endian systems. - uint64_t n=1; - if (*(unsigned char*)&n == 1){ - //cout<<"Little-Endian"<>3:"<<(*bitPosPtr>>3)<> 3)); - //NOTE: bitPos>>3 is the same as bitPos/8 - temp64b >>= (*bitPosPtr) & (uint64_t)0x0000000000000007; - - //cout<>3:"<<(bitPos>>3)<<" bitPos&0x7:"<<(bitPos & 0x00000007)<<" bitPos%8:"<<(bitPos%8)<>shiftAmount;//Sign correction - return val; -} - -//WARNING: readBits_EndianSafe is not tested on Big-Endian machines -static inline uint64_t readBits_EndianSafe(unsigned char* buffer,uint64_t *bitPosPtr,char numBits){ // numBits must be in range [0:56] - uint64_t mask = ((uint64_t)0x0000000000000001<>3)); - //NOTE: (*bitPosPtr)>>3 is the same as (*bitPosPtr)/8 - if(myEndianType()) - flipBytes_UI64(&temp64b); - temp64b >>= (*bitPosPtr) & (uint64_t)0x0000000000000007; - (*bitPosPtr) += numBits; - return temp64b & mask; -} - -//WARNING: writeBits_Fast works properly only on Little Endian machines! (For Big Endians, some modifications are needed) -//The buffer should be initialized as 0's for this to work! -//Also, the range of data is not checked!(If data exceeds numBits, it may be cause problems) -static inline void writeBits_Fast(unsigned char* buffer,uint64_t *bitPosPtr,char numBits,int64_t data){ - //if(DEBUG){printf("writeBits_Fast: data:0x%lx %ld\n",data,data);} //DEBUG - //if(DEBUG){printf("writeBits_Fast: numBits:0x%lx %ld\n",numBits,numBits);} //DEBUG - uint64_t mask = ((uint64_t)0x0000000000000001<>3)));} //DEBUG - *(uint64_t*)(buffer + ((*bitPosPtr)>>3)) |= ((*(uint64_t*)&data)&mask) << ((*bitPosPtr) & (uint64_t)0x0000000000000007); - //if(DEBUG){printf("writeBits_Fast: buffer_N:0x%lx\n",*(uint64_t*)(buffer + ((*bitPosPtr)>>3)));} //DEBUG - - - (*bitPosPtr) += numBits; -} - -//WARNING: writeBits_EndianSafe is not tested on Big-Endian machines -static inline void writeBits_EndianSafe(unsigned char* buffer,uint64_t *bitPosPtr,char numBits,uint64_t data){ - uint64_t mask = ((uint64_t)0x0000000000000001<>3)); - uint64_t temp64b_outBuffer=data << ((*bitPosPtr) & (uint64_t)0x0000000000000007); - if(myEndianType()){ - flipBytes_UI64(&temp64b_inBuffer); - } - temp64b_outBuffer |= temp64b_inBuffer; - if(myEndianType()){ - flipBytes_UI64(&temp64b_outBuffer); - } - *(uint64_t*)(buffer + ((*bitPosPtr)>>3))=temp64b_outBuffer; // "|=" may also work - (*bitPosPtr) += numBits; -} - - -#endif diff --git a/deps/SZ/sz/include/rw.h b/deps/SZ/sz/include/rw.h deleted file mode 100644 index dfab70ad07..0000000000 --- a/deps/SZ/sz/include/rw.h +++ /dev/null @@ -1,89 +0,0 @@ -/** - * @file io.h - * @author Sheng Di - * @date April, 2015 - * @brief Header file for the whole io interface. - * (C) 2015 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#ifndef _IO_H -#define _IO_H - -#include -#include - -#ifdef _WIN32 -#define PATH_SEPARATOR ';' -#else -#define PATH_SEPARATOR ':' -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -int checkFileExistance(char* filePath); - -float** create2DArray_float(size_t m, size_t n); -void free2DArray_float(float** data, size_t m); -float*** create3DArray_float(size_t p, size_t m, size_t n); -void free3DArray_float(float*** data, size_t p, size_t m); -double** create2DArray_double(size_t m, size_t n); -void free2DArray_double(double** data, size_t m); -double*** create3DArray_double(size_t p, size_t m, size_t n); -void free3DArray_double(double*** data, size_t p, size_t m); -size_t checkFileSize(char *srcFilePath, int *status); - -unsigned char *readByteData(char *srcFilePath, size_t *byteLength, int *status); -double *readDoubleData(char *srcFilePath, size_t *nbEle, int *status); -int8_t *readInt8Data(char *srcFilePath, size_t *nbEle, int *status); -int16_t *readInt16Data(char *srcFilePath, size_t *nbEle, int *status); -uint16_t *readUInt16Data(char *srcFilePath, size_t *nbEle, int *status); -int32_t *readInt32Data(char *srcFilePath, size_t *nbEle, int *status); -uint32_t *readUInt32Data(char *srcFilePath, size_t *nbEle, int *status); -int64_t *readInt64Data(char *srcFilePath, size_t *nbEle, int *status); -uint64_t *readUInt64Data(char *srcFilePath, size_t *nbEle, int *status); -float *readFloatData(char *srcFilePath, size_t *nbEle, int *status); -unsigned short* readShortData(char *srcFilePath, size_t *dataLength, int *status); - -double *readDoubleData_systemEndian(char *srcFilePath, size_t *nbEle, int *status); -int8_t *readInt8Data_systemEndian(char *srcFilePath, size_t *nbEle, int *status); -int16_t *readInt16Data_systemEndian(char *srcFilePath, size_t *nbEle, int *status); -uint16_t *readUInt16Data_systemEndian(char *srcFilePath, size_t *nbEle, int *status); -int32_t *readInt32Data_systemEndian(char *srcFilePath, size_t *nbEle, int *status); -uint32_t *readUInt32Data_systemEndian(char *srcFilePath, size_t *nbEle, int *status); -int64_t *readInt64Data_systemEndian(char *srcFilePath, size_t *nbEle, int *status); -uint64_t *readUInt64Data_systemEndian(char *srcFilePath, size_t *nbEle, int *status); -float *readFloatData_systemEndian(char *srcFilePath, size_t *nbEle, int *status); - -void writeByteData(unsigned char *bytes, size_t byteLength, char *tgtFilePath, int *status); -void writeDoubleData(double *data, size_t nbEle, char *tgtFilePath, int *status); -void writeFloatData(float *data, size_t nbEle, char *tgtFilePath, int *status); -void writeDataSZ(void *data, int dataType, size_t nbEle, char *tgtFilePath, int *status); -void writeFloatData_inBytes(float *data, size_t nbEle, char* tgtFilePath, int *status); -void writeDoubleData_inBytes(double *data, size_t nbEle, char* tgtFilePath, int *status); -void writeShortData_inBytes(short *states, size_t stateLength, char *tgtFilePath, int *status); -void writeUShortData_inBytes(unsigned short *states, size_t stateLength, char *tgtFilePath, int *status); -void writeIntData_inBytes(int *states, size_t stateLength, char *tgtFilePath, int *status); -void writeUIntData_inBytes(unsigned int *states, size_t stateLength, char *tgtFilePath, int *status); -void writeLongData_inBytes(int64_t *states, size_t stateLength, char *tgtFilePath, int *status); -void writeULongData_inBytes(uint64_t *states, size_t stateLength, char *tgtFilePath, int *status); - -void writeStrings(int nbStr, char *str[], char *tgtFilePath, int *status); - -//void convertToPFM_float(float *data, size_t r5, size_t r4, size_t r3, size_t r2, size_t r1, int endianType, char *tgtFilePath, int *status); - -void checkfilesizec_(char *srcFilePath, int *len, size_t *filesize); -void readbytefile_(char *srcFilePath, int *len, unsigned char *bytes, size_t *byteLength); -void readdoublefile_(char *srcFilePath, int *len, double *data, size_t *nbEle); -void readfloatfile_(char *srcFilePath, int *len, float *data, size_t *nbEle); -void writebytefile_(unsigned char *bytes, size_t *byteLength, char *tgtFilePath, int *len); -void writedoublefile_(double *data, size_t *nbEle, char *tgtFilePath, int *len); -void writefloatfile_(float *data, size_t *nbEle, char *tgtFilePath, int *len); - -#ifdef __cplusplus -} -#endif - -#endif /* ----- #ifndef _IO_H ----- */ diff --git a/deps/SZ/sz/include/sz.h b/deps/SZ/sz/include/sz.h index 2b7a86fd07..c8ef9be7f6 100644 --- a/deps/SZ/sz/include/sz.h +++ b/deps/SZ/sz/include/sz.h @@ -18,7 +18,6 @@ #include "CompressElement.h" #include "DynamicByteArray.h" #include "DynamicIntArray.h" -#include "VarSet.h" #include "TightDataPointStorageD.h" #include "TightDataPointStorageF.h" #include "conf.h" @@ -29,15 +28,8 @@ #include "sz_double.h" #include "szd_float.h" #include "szd_double.h" -#include "sz_opencl.h" #include "callZlib.h" -#include "rw.h" -#include "pastri.h" #include "utility.h" -#include "CacheTable.h" -#include "MultiLevelCacheTable.h" -#include "MultiLevelCacheTableWideInterval.h" -#include "sz_stats.h" #ifdef _WIN32 #define PATH_SEPARATOR ';' @@ -172,15 +164,6 @@ extern sz_params *confparams_cpr; extern sz_params *confparams_dec; extern sz_exedata *exe_params; -//------------------------------------------------ -extern SZ_VarSet* sz_varset; -extern sz_multisteps *multisteps; //compression based on multiple time steps (time-dimension based compression) -extern sz_tsc_metadata *sz_tsc; - -//for pastri -#ifdef PASTRI -extern pastri_params pastri_par; -#endif void SZ_Finalize(); diff --git a/deps/SZ/sz/include/sz_float.h b/deps/SZ/sz/include/sz_float.h index 80962d5f12..962627bb8e 100644 --- a/deps/SZ/sz/include/sz_float.h +++ b/deps/SZ/sz/include/sz_float.h @@ -6,7 +6,6 @@ * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ -#include "DynamicFloatArray.h" #ifndef _SZ_Float_H #define _SZ_Float_H @@ -14,13 +13,11 @@ #ifdef __cplusplus extern "C" { #endif -unsigned char* SZ_skip_compress_float(float* data, size_t dataLength, size_t* outSize); void computeReqLength_float(double realPrecision, short radExpo, int* reqLength, float* medianValue); unsigned int optimize_intervals_float_1D(float *oriData, size_t dataLength, double realPrecision); -unsigned int optimize_intervals_and_compute_dense_position_float_1D(float *oriData, size_t dataLength, double realPrecision, float * dense_pos); unsigned int optimize_intervals_float_1D_opt(float *oriData, size_t dataLength, double realPrecision); TightDataPointStorageF* SZ_compress_float_1D_MDQ(float *oriData, @@ -29,13 +26,6 @@ size_t dataLength, float realPrecision, float valueRangeSize, float medianValue_ bool SZ_compress_args_float_NoCkRngeNoGzip_1D( unsigned char* newByteData, float *oriData, size_t dataLength, double realPrecision, size_t *outSize, float valueRangeSize, float medianValue_f); -size_t SZ_compress_float_1D_MDQ_RA_block(float * block_ori_data, float * mean, size_t dim_0, size_t block_dim_0, double realPrecision, int * type, float * unpredictable_data); - -size_t SZ_compress_float_1D_MDQ_RA_block_1D_pred(float * block_ori_data, float * mean, float dense_pos, size_t dim_0, size_t block_dim_0, double realPrecision, int * type, DynamicFloatArray * unpredictable_data); -void SZ_blocked_regression(float * block_ori_data, size_t dim_0, size_t dim_1, size_t dim_2, size_t block_dim_0, size_t block_dim_1, size_t block_dim_2, float *params); - -unsigned char * SZ_compress_float_1D_MDQ_RA(float *oriData, size_t r1, double realPrecision, size_t * comp_size); - void SZ_compress_args_float_withinRange(unsigned char* newByteData, float *oriData, size_t dataLength, size_t *outSize); diff --git a/deps/SZ/sz/include/sz_opencl.h b/deps/SZ/sz/include/sz_opencl.h deleted file mode 100644 index b4ee35bb82..0000000000 --- a/deps/SZ/sz/include/sz_opencl.h +++ /dev/null @@ -1,68 +0,0 @@ -//make header C++/C inter-operable -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef SZ_OPENCL_H -#define SZ_OPENCL_H - -#include - - //opaque pointer for opencl state - struct sz_opencl_state; - - /** - * creates an opencl state for multiple uses of the compressor or - * returns an error code. - * - * \post if return code is SZ_NCES, the state object may only be passed to - * sz_opencl_release or sz_opencl_error_* otherwise it may be used in any - * sz_opencl_* function. - * - * \param[out] state the sz opencl state - * \return SZ_SUCCESS for success or SZ_NCES on error - */ - int sz_opencl_init(struct sz_opencl_state** state); - - /** - * deinitializes an opencl state - * - * \param[in] state the sz opencl state - * \return SZ_SUCCESS - */ - int sz_opencl_release(struct sz_opencl_state** state); - - /** - * returns a human readable error message for the last error recieved by state - * - * \param[in] state the sz opencl state - * \return a pointer to a string that describes the error - */ - const char* sz_opencl_error_msg(struct sz_opencl_state* state); - - - /** - * returns a numeric code for the last error recieved by state - * - * \param[in] state the sz opencl state - * \return the numeric error code - */ - int sz_opencl_error_code(struct sz_opencl_state* state); - - /** - * confirms that the sz opencl state is ready to use by performing a vector addition - * - * \param[in] state the sz opencl state - * \return SZ_SUCCESS if the opencl implementation is functioning - */ - int sz_opencl_check(struct sz_opencl_state*); - - unsigned char* sz_compress_float3d_opencl(float* data, size_t r1, size_t r2, size_t r3, double, size_t* out_size); - - -#endif /* SZ_OPENCL_H */ - -//make header C++/C inter-operable -#ifdef __cplusplus -} -#endif diff --git a/deps/SZ/sz/include/sz_stats.h b/deps/SZ/sz/include/sz_stats.h deleted file mode 100644 index ba0f701ae9..0000000000 --- a/deps/SZ/sz/include/sz_stats.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @file ByteToolkit.h - * @author Sheng Di - * @date July, 2017 - * @brief Header file for the ByteToolkit.c. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#ifndef _STATS_H -#define _STATS_H - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct sz_stats -{ - int use_mean; - - size_t blockSize; - - float lorenzoPercent; - float regressionPercent; - size_t lorenzoBlocks; - size_t regressionBlocks; - size_t totalBlocks; - - //size_t huffmanTreeHeight; - size_t huffmanTreeSize; //before the final zstd - size_t huffmanCodingSize; //before the final zstd - float huffmanCompressionRatio; - int huffmanNodeCount; - - size_t unpredictCount; - float unpredictPercent; - - float zstdCompressionRatio; //not available yet - -} sz_stats; - -extern sz_stats sz_stat; - - -void writeBlockInfo(int use_mean, size_t blockSize, size_t regressionBlocks, size_t totalBlocks); -void writeHuffmanInfo(size_t huffmanTreeSize, size_t huffmanCodingSize, size_t totalDataSize, int huffmanNocdeCount); -void writeZstdCompressionRatio(float zstdCompressionRatio); -void writeUnpredictDataCounts(size_t unpredictCount, size_t totalNumElements); -void printSZStats(); - -#ifdef __cplusplus -} -#endif - -#endif /* ----- #ifndef _STATS_H ----- */ diff --git a/deps/SZ/sz/src/ArithmeticCoding.c b/deps/SZ/sz/src/ArithmeticCoding.c deleted file mode 100644 index 278a2e9175..0000000000 --- a/deps/SZ/sz/src/ArithmeticCoding.c +++ /dev/null @@ -1,692 +0,0 @@ -/** - * @file ArithmeticCoding.c - * @author Sheng Di, Mark Thomas Nelson - * @date April, 2016 - * @brief Byte Toolkit - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - * (C) The MIT License (MIT), this code was modified from Mark's arithmetic coding code: http://www.drdobbs.com/cpp/data-compression-with-arithmetic-encodin/240169251?pgno=1 - */ -#include -#include - -inline void output_bit_1(unsigned int* buf) -{ - (*buf) = (*buf) << 1; - (*buf) |= 1; -} - -inline void output_bit_0(unsigned int* buf) -{ - (*buf) = (*buf) << 1; - //(*byte) |= 0; //actually doesn't have to set the bit to 0 -} - -//TODO: problematic -inline unsigned int output_bit_1_plus_pending(int pending_bits) -{ - unsigned int buf = 0, pbits = pending_bits; - output_bit_1(&buf); - while(pbits--) - output_bit_0(&buf); - buf = buf << (32-(pending_bits+1)); //alignment to the left leading bit, which would be easier for the final output - return buf; -} - -inline unsigned int output_bit_0_plus_pending(int pending_bits) -{ - unsigned int buf = 0, pbits = pending_bits; - //output_bit_0(&buf); - while(pbits--) - output_bit_1(&buf); - buf = buf << (32-(pending_bits+1)); //alignment to the left leading bit - return buf; -} - -/** - * Create AriCoder for the following arithmetic encoding operation. - * In this function, it will compute the real frequency of the integer codes. - * @param int numOfStates (input): numOfStates is the real # states calculated to the optimization_num_of_interval code - * @param int *s (input): the integer code array (i.e., type_array generated by prediction+quantization) - * @param size_t length: the number of integer codes in the type_array - * - * */ -AriCoder *createAriCoder(int numOfStates, int *s, size_t length) -{ - AriCoder *ariCoder = (AriCoder*)malloc(sizeof(AriCoder)); - memset(ariCoder, 0, sizeof(AriCoder)); - ariCoder->numOfRealStates = numOfStates; - ari_init(ariCoder, s, length); - return ariCoder; -} - -void freeAriCoder(AriCoder *ariCoder) -{ - free(ariCoder->cumulative_frequency); - free(ariCoder); -} - -void ari_init(AriCoder *ariCoder, int *s, size_t length) -{ - size_t i; //# states is in the range of integer. - int index = 0; - size_t *freq = (size_t *)malloc(ariCoder->numOfRealStates*sizeof(size_t)); - memset(freq, 0, ariCoder->numOfRealStates*sizeof(size_t)); - for(i = 0;i < length;i++) - { - index = s[i]; - freq[index]++; - } - - int counter = 0; - size_t _sum = 0, sum = 0, freqDiv = 0; - ariCoder->cumulative_frequency = (Prob *)malloc(ariCoder->numOfRealStates*sizeof(Prob)); - - memset(ariCoder->cumulative_frequency, 0, ariCoder->numOfRealStates*sizeof(Prob)); - - if(length <= MAX_INTERVALS) - { - for (index = 0; index < ariCoder->numOfRealStates; index++) - { - if (freq[index]) - { - sum += freq[index]; - (ariCoder->cumulative_frequency[index]).low = _sum; - (ariCoder->cumulative_frequency[index]).high = sum; - (ariCoder->cumulative_frequency[index]).state = index; - _sum = sum; - counter++; - } - } - ariCoder->numOfValidStates = counter; - ariCoder->total_frequency = sum; - } - else - { - int intvSize = length%MAX_INTERVALS==0?length/MAX_INTERVALS:length/MAX_INTERVALS+1; - for (index = 0; index < ariCoder->numOfRealStates; index++) - { - if (freq[index]) - { - freqDiv = freq[index]/intvSize; //control the sum of frequency to be no greater than MAX_INTERVALS - if(freqDiv==0) - freqDiv = 1; - sum += freqDiv; - (ariCoder->cumulative_frequency[index]).low = _sum; - (ariCoder->cumulative_frequency[index]).high = sum; - (ariCoder->cumulative_frequency[index]).state = index; - _sum = sum; - counter++; - } - } - ariCoder->numOfValidStates = counter; - ariCoder->total_frequency = sum; - } - - free(freq); -} - -/** - * Convert AriCoder to bytes for storage - * @param AriCoder* ariCoder (input) - * @param unsigned char** out (output) - * - * @return outSize - * */ -unsigned int pad_ariCoder(AriCoder* ariCoder, unsigned char** out) -{ - int numOfRealStates = ariCoder->numOfRealStates; - int numOfValidStates = ariCoder->numOfValidStates; - uint64_t total_frequency = ariCoder->total_frequency; - Prob* cumulative_frequency = ariCoder->cumulative_frequency; - - unsigned int outSize = 0; - *out = (unsigned char*)malloc(2*sizeof(int)+sizeof(uint64_t)+sizeof(Prob)*numOfRealStates); - - unsigned char* p = *out; - intToBytes_bigEndian(p, numOfRealStates); - p+=sizeof(int); - intToBytes_bigEndian(p, numOfValidStates); - p+=sizeof(int); - int64ToBytes_bigEndian(p, total_frequency); - p+=sizeof(uint64_t); - size_t i = 0; - if(total_frequency <= 65536) - { - uint16_t low, high; - if(numOfRealStates<=256) - { - for(i=0;inumOfValidStates*5; //2*sizeof(uint16_t)+1 - } - else if(numOfRealStates<=65536) - { - for(i=0;inumOfValidStates*6; - } - else - { - for(i=0;inumOfValidStates*8; - } - } - else if(total_frequency <=4294967296) - { - uint32_t low, high; - if(numOfRealStates<=256) - { - for(i=0;inumOfValidStates*9; - } - else if(numOfRealStates<=65536) - { - for(i=0;inumOfValidStates*10; - } - else - { - for(i=0;inumOfValidStates*12; - } - } - else - { - uint64_t low, high; - if(numOfRealStates<=256) - { - for(i=0;inumOfValidStates*17; - } - else if(numOfRealStates<=65536) - { - for(i=0;inumOfValidStates*18; - } - else - { - for(i=0;inumOfValidStates*20; - } - } - return outSize; -} - -/** - * Reconstruct AriCoder based on the bytes loaded from compressed data - * @param AriCoder** ariCoder (ourput) - * @param unsigned char* bytes (input) - * - * @return offset - * */ -int unpad_ariCoder(AriCoder** ariCoder, unsigned char* bytes) -{ - int offset = 0; - - *ariCoder = (AriCoder*)malloc(sizeof(AriCoder)); - memset(*ariCoder, 0, sizeof(AriCoder)); - - unsigned char *p = bytes; - int numOfRealStates = (*ariCoder)->numOfRealStates = bytesToInt_bigEndian(p); - p += sizeof(int); - int numOfValidStates = (*ariCoder)->numOfValidStates = bytesToInt_bigEndian(p); - p += sizeof(int); - size_t total_frequency = (*ariCoder)->total_frequency = bytesToInt64_bigEndian(p); - p += sizeof(uint64_t); - - (*ariCoder)->cumulative_frequency = (Prob*)malloc((*ariCoder)->numOfRealStates*sizeof(Prob)); - memset((*ariCoder)->cumulative_frequency, 0, (*ariCoder)->numOfRealStates*sizeof(Prob)); - size_t i = 0; - unsigned char *low_p = NULL, *high_p = NULL, *state_p = NULL; - int state = 0; - if(total_frequency <= 65536) - { - if(numOfRealStates<=256) - { - for(i=0;icumulative_frequency[state].low = bytesToUInt16_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt16_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + 1; - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*5; //2*sizeof(uint16_t)+1 - } - else if(numOfRealStates<=65536) - { - for(i=0;icumulative_frequency[state].low = bytesToUInt16_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt16_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + sizeof(uint16_t); - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*6; - } - else - { - for(i=0;icumulative_frequency[state].low = bytesToUInt16_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt16_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + sizeof(uint32_t); - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*8; - } - } - else if(total_frequency <=4294967296) - { - if(numOfRealStates<=256) - { - for(i=0;icumulative_frequency[state].low = bytesToUInt32_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt32_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + 1; - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*9; - } - else if(numOfRealStates<=65536) - { - for(i=0;icumulative_frequency[state].low = bytesToUInt32_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt32_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + sizeof(uint16_t); - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*10; - } - else - { - for(i=0;icumulative_frequency[state].low = bytesToUInt32_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt32_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + sizeof(uint32_t); - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*12; - } - } - else - { - if(numOfRealStates<=256) - { - for(i=0;icumulative_frequency[state].low = bytesToUInt64_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt64_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + 1; - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*17; - } - else if(numOfRealStates<=65536) - { - for(i=0;icumulative_frequency[state].low = bytesToUInt64_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt64_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + sizeof(uint16_t); - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*18; - } - else - { - for(i=0;icumulative_frequency[state].low = bytesToUInt64_bigEndian(low_p); - (*ariCoder)->cumulative_frequency[state].high = bytesToUInt64_bigEndian(high_p); - (*ariCoder)->cumulative_frequency[state].state = state; - - p = state_p + sizeof(uint32_t); - } - offset = 2*sizeof(int)+sizeof(uint64_t)+(*ariCoder)->numOfValidStates*20; - } - } - return offset; -} - -/** - * Arithmetic Encoding - * @param AriCoder *ariCoder (input) - * @param int *s (input) - * @param size_t length (input) - * @param unsigned char *out (output) - * @param size_t *outSize (output) - * - * */ -void ari_encode(AriCoder *ariCoder, int *s, size_t length, unsigned char *out, size_t *outSize) -{ - int pending_bits = 0; - size_t low = 0; - size_t high = MAX_CODE; - size_t i = 0, range = 0; - size_t count = ariCoder->total_frequency; - int c = 0, lackBits = 0; - *outSize = 0; - - unsigned char *outp = out; - - Prob *cumulative_frequency = ariCoder->cumulative_frequency; - unsigned int buf = 0; - - for (i=0;i= ONE_HALF ) - { - buf = output_bit_1_plus_pending(pending_bits); - put_codes_to_output(buf, pending_bits+1, &outp, &lackBits, outSize); - pending_bits = 0; - } - else if ( low >= ONE_FOURTH && high < THREE_FOURTHS ) - { - pending_bits++; - low -= ONE_FOURTH; - high -= ONE_FOURTH; - } else - break; - high <<= 1; - high++; - low <<= 1; - high &= MAX_CODE; - low &= MAX_CODE; - } - } - pending_bits++; - if(low < ONE_FOURTH) - { - buf = output_bit_0_plus_pending(pending_bits); - put_codes_to_output(buf, pending_bits+1, &outp, &lackBits, outSize); - } - else - { - buf = output_bit_1_plus_pending(pending_bits); - put_codes_to_output(buf, pending_bits+1, &outp, &lackBits, outSize); - } -} - -/** - * Get the integer code based on Arithmetic Coding Value - * @param AriCoder *ariCoder (input) - * @param size_t scaled_value (input) - * - * @return Prob* (output) - * - * */ -Prob* getCode(AriCoder *ariCoder, size_t scaled_value) -{ - int numOfRealStates = ariCoder->numOfRealStates; - int i = 0; - Prob *p = ariCoder->cumulative_frequency; - for(i=0;ihigh) - break; - } - return p; -} - -/** - * Get one bit from the input stream of bytes - * @param unsigned char* p (input): the current location to be read (byte) of the byte stream - * @param int offset (input): the offset of the specified byte in the byte stream - * - * @return unsigned char (output) : 1 or 0 - * */ -inline unsigned char get_bit(unsigned char* p, int offset) -{ - return ((*p) >> (7-offset)) & 0x01; -} - -/** - * Arithmetic Decoding algorithm - * @param AriCoder *ariCoder (input): the encoder with the constructed frequency information - * @param unsigned char *s (input): the compressed stream of bytes - * @param size_t s_len (input): the number of bytes in the 'unsigned char *s' - * @param size_t targetLength (input): the target number of elements in the type array - * @param int *out (output) : the result (type array decompressed from the stream 's') - * - * */ -void ari_decode(AriCoder *ariCoder, unsigned char *s, size_t s_len, size_t targetLength, int *out) -{ - size_t high = MAX_CODE; - size_t low = 0, i = 0; - size_t range = 0, scaled_value = 0; - size_t total_frequency = ariCoder->total_frequency; - unsigned char *sp = s+5; - unsigned int offset = 4; - size_t value = (bytesToUInt64_bigEndian(s) >> 20); //alignment with the MAX_CODE - size_t s_counter = sizeof(int); - - for(i=0;itotal_frequency - 1 ) / range; - Prob *p = getCode(ariCoder, scaled_value); - out[i] = p->state; //output the state to the 'out' array - high = low + (range*p->high)/total_frequency -1; - low = low + (range*p->low)/total_frequency; - - for( ; ; ) - { - if (high < ONE_HALF) { - //do nothing, bit is a zero - } else if ( low >= ONE_HALF ) - { - value -= ONE_HALF; //subtract one half from all three code values - low -= ONE_HALF; - high -= ONE_HALF; - } else if ( low >= ONE_FOURTH && high < THREE_FOURTHS ) - { - value -= ONE_FOURTH; - low -= ONE_FOURTH; - high -= ONE_FOURTH; - } else - break; - low <<= 1; - high <<= 1; - high++; - value <<= 1; - //load one bit from the input byte stream - if(s_counter < s_len) - { - value += get_bit(sp, offset++); - if(offset==8) - { - sp++; - s_counter++; - offset = 0; - } - } - } - } -} diff --git a/deps/SZ/sz/src/CacheTable.c b/deps/SZ/sz/src/CacheTable.c deleted file mode 100644 index 296be0f8fa..0000000000 --- a/deps/SZ/sz/src/CacheTable.c +++ /dev/null @@ -1,100 +0,0 @@ -/** - * @file CacheTable.c - * @author Xiangyu Zou, Tao Lu, Wen Xia, Xuan Wang, Weizhe Zhang, Sheng Di, Dingwen Tao - * @date Jan, 2019 - * @brief Cache Table - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#include -#include "CacheTable.h" - -double* g_CacheTable; -uint32_t * g_InverseTable; -uint32_t baseIndex; -uint32_t topIndex; -int bits; - -inline int doubleGetExpo(double d){ - long* ptr = (long*)&d; - *ptr = ((*ptr) >> 52) - 1023; - return *ptr; -} - -int CacheTableGetRequiredBits(double precision, int quantization_intervals){ - double min_distance = pow((1+precision), -(quantization_intervals>>1)) * precision; - return -(doubleGetExpo(min_distance)); -} - -inline uint32_t CacheTableGetIndex(float value, int bits){ - uint32_t* ptr = (uint32_t*)&value; - int shift = 32 - 9 - bits; - if(shift>0){ - return (*ptr) >> shift; - }else{ - return 0; - } -} - -inline uint64_t CacheTableGetIndexDouble(double value, int bits){ - uint64_t* ptr = (uint64_t*)&value; - int shift = 64 - 12 - bits; - if(shift>0){ - return (*ptr) >> shift; - }else{ - return 0; - } -} - -inline int CacheTableIsInBoundary(uint32_t index){ - if(index <= topIndex && index > baseIndex){ - return 1; - }else{ - return 0; - } -} - -void CacheTableBuild(double * table, int count, double smallest, double largest, double precision, int quantization_intervals){ - bits = CacheTableGetRequiredBits(precision, quantization_intervals); - baseIndex = CacheTableGetIndex((float)smallest, bits)+1; - topIndex = CacheTableGetIndex((float)largest, bits); - uint32_t range = topIndex - baseIndex + 1; - g_InverseTable = (uint32_t *)malloc(sizeof(uint32_t) * range); - - /* - uint32_t fillInPos = 0; - for(int i=0; i fillInPos){ - for(int j=fillInPos; j0; i--){ - uint32_t upperIndex = CacheTableGetIndex((float)table[i]*(1+precision), bits); - uint32_t lowerIndex = CacheTableGetIndex((float)table[i]/(1+precision), bits); - for(uint32_t j = lowerIndex; j<=upperIndex; j++){ - if(jtopIndex){ - continue; - } - g_InverseTable[j-baseIndex] = i; - } - } - -} - -inline uint32_t CacheTableFind(uint32_t index){ - return g_InverseTable[index-baseIndex]; -} - -void CacheTableFree(){ - free(g_InverseTable); -} diff --git a/deps/SZ/sz/src/DynamicDoubleArray.c b/deps/SZ/sz/src/DynamicDoubleArray.c deleted file mode 100644 index 54bbb109aa..0000000000 --- a/deps/SZ/sz/src/DynamicDoubleArray.c +++ /dev/null @@ -1,57 +0,0 @@ -/** - * @file DynamicFloatArray.c - * @author Sheng Di - * @date May, 2016 - * @brief Dynamic Float Array - * (C) 2015 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#include -#include -#include -#include "DynamicDoubleArray.h" - -void new_DDA(DynamicDoubleArray **dda, size_t cap) { - *dda = (DynamicDoubleArray *)malloc(sizeof(DynamicDoubleArray)); - (*dda)->size = 0; - (*dda)->capacity = cap; - (*dda)->array = (double*)malloc(sizeof(double)*cap); - } - -void convertDDAtoDoubles(DynamicDoubleArray *dba, double **data) -{ - size_t size = dba->size; - if(size>0) - *data = (double*)malloc(size * sizeof(double)); - else - *data = NULL; - memcpy(*data, dba->array, size*sizeof(double)); -} - -void free_DDA(DynamicDoubleArray *dda) -{ - free(dda->array); - free(dda); -} - -double getDDA_Data(DynamicDoubleArray *dda, size_t pos) -{ - if(pos>=dda->size) - { - printf("Error: wrong position of DIA.\n"); - exit(0); - } - return dda->array[pos]; -} - -void addDDA_Data(DynamicDoubleArray *dda, double value) -{ - if(dda->size==dda->capacity) - { - dda->capacity *= 2; - dda->array = (double *)realloc(dda->array, dda->capacity*sizeof(double)); - } - dda->array[dda->size] = value; - dda->size ++; -} diff --git a/deps/SZ/sz/src/DynamicFloatArray.c b/deps/SZ/sz/src/DynamicFloatArray.c deleted file mode 100644 index 1a80a4888f..0000000000 --- a/deps/SZ/sz/src/DynamicFloatArray.c +++ /dev/null @@ -1,57 +0,0 @@ -/** - * @file DynamicFloatArray.c - * @author Sheng Di - * @date May, 2016 - * @brief Dynamic Float Array - * (C) 2015 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#include -#include -#include -#include "DynamicFloatArray.h" - -void new_DFA(DynamicFloatArray **dfa, size_t cap) { - *dfa = (DynamicFloatArray *)malloc(sizeof(DynamicFloatArray)); - (*dfa)->size = 0; - (*dfa)->capacity = cap; - (*dfa)->array = (float*)malloc(sizeof(float)*cap); - } - -void convertDFAtoFloats(DynamicFloatArray *dfa, float **data) -{ - size_t size = dfa->size; - if(size>0) - *data = (float*)malloc(size * sizeof(float)); - else - *data = NULL; - memcpy(*data, dfa->array, size*sizeof(float)); -} - -void free_DFA(DynamicFloatArray *dfa) -{ - free(dfa->array); - free(dfa); -} - -float getDFA_Data(DynamicFloatArray *dfa, size_t pos) -{ - if(pos>=dfa->size) - { - printf("Error: wrong position of DIA.\n"); - exit(0); - } - return dfa->array[pos]; -} - -void addDFA_Data(DynamicFloatArray *dfa, float value) -{ - if(dfa->size==dfa->capacity) - { - dfa->capacity *= 2; - dfa->array = (float *)realloc(dfa->array, dfa->capacity*sizeof(float)); - } - dfa->array[dfa->size] = value; - dfa->size++; -} diff --git a/deps/SZ/sz/src/MultiLevelCacheTable.c b/deps/SZ/sz/src/MultiLevelCacheTable.c deleted file mode 100644 index ce16b7c661..0000000000 --- a/deps/SZ/sz/src/MultiLevelCacheTable.c +++ /dev/null @@ -1,193 +0,0 @@ -/** - * @file MultiLevelCacheTable.c - * @author Xiangyu Zou, Tao Lu, Wen Xia, Xuan Wang, Weizhe Zhang, Sheng Di, Dingwen Tao - * @date Jan, 2019 - * @brief Header file. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#include -#include -#include -#include "stdio.h" -#include "MultiLevelCacheTable.h" - -uint8_t MLCT_GetExpoIndex(float value){ - uint32_t* ptr = (uint32_t*)&value; - return (*ptr) >> 23; -} - -uint8_t MLCT_GetRequiredBits(float precision){ - int32_t* ptr = (int32_t*)&precision; - return -(((*ptr) >> 23) - 127); -} - - -uint32_t MLCT_GetMantiIndex(float value, int bits){ - uint32_t* ptr = (uint32_t*)&value; - (*ptr) = (*ptr) << 9 >> 9; - int shift = 32 - 9 - bits; - if(shift > 0){ - return (*ptr) >> shift; - }else{ - return (*ptr); - } -} - -float MLTC_RebuildFloat(uint8_t expo, uint32_t manti, int bits){ - float result = 0; - uint32_t *ptr = (uint32_t*)&result; - *ptr = expo; - (*ptr) = (*ptr) << 23; - (*ptr) |= (manti << (23-bits)); - return result; -} - -void MultiLevelCacheTableBuild(struct TopLevelTable* topTable, float* precisionTable, int count, float precision){ - uint8_t bits = MLCT_GetRequiredBits(precision); - topTable->bits = bits; - topTable->bottomBoundary = precisionTable[1]/(1+precision); - topTable->topBoundary = precisionTable[count-1]/(1-precision); - topTable->baseIndex = MLCT_GetExpoIndex(topTable->bottomBoundary); - topTable->topIndex = MLCT_GetExpoIndex(topTable->topBoundary); - int subTableCount = topTable->topIndex - topTable->baseIndex + 1; - topTable->subTables = (struct SubLevelTable*)malloc(sizeof(struct SubLevelTable) * subTableCount); - memset(topTable->subTables, 0, sizeof(struct SubLevelTable) * subTableCount); - - //uint32_t expoBoundary[subTableCount]; - uint8_t lastExpo = 0xff; - uint8_t lastIndex = 0; - for(int i=0; itopIndex-topTable->baseIndex; i>=0; i--){ - struct SubLevelTable* processingSubTable = &topTable->subTables[i]; - if(i == topTable->topIndex - topTable->baseIndex && - MLCT_GetExpoIndex(topTable->topBoundary) == MLCT_GetExpoIndex(precisionTable[count-1])){ - processingSubTable->topIndex = MLCT_GetMantiIndex(topTable->topBoundary, bits) - 1; - }else{ - uint32_t maxIndex = 0; - for(int j=0; jtopIndex = maxIndex; - } - if(i == 0 && MLCT_GetExpoIndex(topTable->bottomBoundary) == MLCT_GetExpoIndex(precisionTable[0])){ - processingSubTable->baseIndex = MLCT_GetMantiIndex(topTable->bottomBoundary, bits)+1; - }else{ - processingSubTable->baseIndex = 0; - } - - int subTableLength = processingSubTable->topIndex - processingSubTable-> baseIndex+ 1; - processingSubTable->table = (uint32_t*)malloc(sizeof(uint32_t) * subTableLength); - memset(processingSubTable->table, 0, sizeof(uint32_t) * subTableLength); - processingSubTable->expoIndex = topTable->baseIndex + i; - } - - uint32_t index = 1; - for(uint8_t i = 0; i<=topTable->topIndex-topTable->baseIndex; i++){ - struct SubLevelTable* processingSubTable = &topTable->subTables[i]; - uint8_t expoIndex = i+topTable->baseIndex; - for(uint32_t j = 0; j<=processingSubTable->topIndex - processingSubTable->baseIndex; j++){ - uint32_t mantiIndex = j+processingSubTable->baseIndex; - float sample = MLTC_RebuildFloat(expoIndex, mantiIndex, topTable->bits); - float bottomBoundary = precisionTable[index] / (1+precision); - float topBoundary = precisionTable[index] / (1-precision); - if(sample < topBoundary && sample > bottomBoundary){ - processingSubTable->table[j] = index; - }else{ - //float newPrecision = precisionTable[index]; - index++; - processingSubTable->table[j] = index; - if(j) - processingSubTable->table[j-1] = index; - else{ - struct SubLevelTable* pastSubTable = &topTable->subTables[i-1]; - pastSubTable->table[pastSubTable->topIndex - pastSubTable->baseIndex] = index; - } - } - } - if(i == topTable->topIndex - topTable->baseIndex){ - uint32_t j = processingSubTable->topIndex - processingSubTable->baseIndex + 1; - uint32_t mantiIndex = j + processingSubTable->baseIndex; - float sample = MLTC_RebuildFloat(expoIndex, mantiIndex, topTable->bits); - float bottomBoundary = precisionTable[index] / (1+precision); - float topBoundary = precisionTable[index] / (1-precision); - if(sample > topBoundary || sample < bottomBoundary){ - index++; - processingSubTable->table[j-1] = index; - } - } - } - - /* - long lastIndexInExpoRange = count-1; - bool trigger = false; - float preRange = 0.0; - uint32_t preIndex = 0; - for(int i=topTable->topIndex-topTable->baseIndex; i>=0; i--){ - struct SubLevelTable* processingSubTable = &topTable->subTables[i]; - if(trigger){ - uint32_t bound = MLCT_GetMantiIndex(preRange, bits); - for(int j = processingSubTable->topIndex; j>=processingSubTable->baseIndex; j--){ - if(j >= bound){ - processingSubTable->table[j-processingSubTable->baseIndex] = preIndex; - }else{ - break; - } - } - trigger = false; - } - long firstIndexInExpoRange = expoBoundary[i]; - uint8_t expoInRange = MLCT_GetExpoIndex(precisionTable[firstIndexInExpoRange]); - for(int j=lastIndexInExpoRange; j>=firstIndexInExpoRange; j--){ - float test = precisionTable[j]; - uint32_t rangeTop = MLCT_GetMantiIndex(precisionTable[j]*(1+precision), bits) - 1; - uint32_t rangeBottom; - if(j == firstIndexInExpoRange){ - preRange = precisionTable[j]/(1+precision); - if(expoInRange != MLCT_GetExpoIndex(preRange)){ - trigger = true; - preIndex = firstIndexInExpoRange; - rangeBottom = 0; - }else{ - rangeBottom= MLCT_GetMantiIndex(precisionTable[j]/(1+precision), bits) + 1; - } - }else{ - rangeBottom= MLCT_GetMantiIndex(precisionTable[j]/(1+precision), bits) + 1; - } - for(int k = rangeBottom; k<=rangeTop; k++){ - if( k <= processingSubTable->topIndex && k >= processingSubTable->baseIndex) - processingSubTable->table[k - processingSubTable->baseIndex] = j; - } - } - lastIndexInExpoRange = firstIndexInExpoRange-1; - } - */ -} - -uint32_t MultiLevelCacheTableGetIndex(float value, struct TopLevelTable* topLevelTable){ - uint8_t expoIndex = MLCT_GetExpoIndex(value); - if(expoIndex <= topLevelTable->topIndex && expoIndex >= topLevelTable->baseIndex){ - struct SubLevelTable* subLevelTable = &topLevelTable->subTables[expoIndex-topLevelTable->baseIndex]; - uint32_t mantiIndex = MLCT_GetMantiIndex(value, topLevelTable->bits); - MLTC_RebuildFloat(expoIndex, mantiIndex, topLevelTable->bits); - if(mantiIndex >= subLevelTable->baseIndex && mantiIndex <= subLevelTable->topIndex) - return subLevelTable->table[mantiIndex - subLevelTable->baseIndex]; - } - return 0; -} - -void MultiLevelCacheTableFree(struct TopLevelTable* table){ - for(int i=0; itopIndex - table->baseIndex + 1; i++){ - free(table->subTables[i].table); - } - free(table->subTables); -} diff --git a/deps/SZ/sz/src/MultiLevelCacheTableWideInterval.c b/deps/SZ/sz/src/MultiLevelCacheTableWideInterval.c deleted file mode 100644 index d137115f90..0000000000 --- a/deps/SZ/sz/src/MultiLevelCacheTableWideInterval.c +++ /dev/null @@ -1,125 +0,0 @@ -/** - * @file MultiLevelCacheTableWideInterval.h - * @author Xiangyu Zou, Tao Lu, Wen Xia, Xuan Wang, Weizhe Zhang, Sheng Di, Dingwen Tao - * @date Jan, 2019 - * @brief Header file. - * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#include -#include "MultiLevelCacheTableWideInterval.h" - -void freeTopLevelTableWideInterval(struct TopLevelTableWideInterval* topTable) -{ - for(int i=topTable->topIndex-topTable->baseIndex; i>=0; i--) - { - struct SubLevelTableWideInterval* processingSubTable = &topTable->subTables[i]; - free(processingSubTable->table); - } - free(topTable->subTables); -} - -uint16_t MLCTWI_GetExpoIndex(double value){ - uint64_t* ptr = (uint64_t*)&value; - return (*ptr) >> 52; -} - -uint16_t MLCTWI_GetRequiredBits(double precision){ - uint64_t* ptr = (uint64_t*)&precision; - return -(((*ptr) >> 52) - 1023); -} - -uint64_t MLCTWI_GetMantiIndex(double value, int bits){ - uint64_t* ptr = (uint64_t*)&value; - (*ptr) = (*ptr) << 12 >> 12; - int shift = 64 - 12 - bits; - if(shift > 0){ - return (*ptr) >> shift; - }else{ - return (*ptr); - } -} - -double MLTCWI_RebuildDouble(uint16_t expo, uint64_t manti, int bits){ - double result = 0; - uint64_t *ptr = (uint64_t*)&result; - *ptr = expo; - (*ptr) = (*ptr) << 52; - (*ptr) += (manti << (52-bits)); - return result; -} - -void MultiLevelCacheTableWideIntervalBuild(struct TopLevelTableWideInterval* topTable, double* precisionTable, int count, double precision, int plus_bits){ - uint16_t bits = MLCTWI_GetRequiredBits(precision) + plus_bits; - topTable->bits = bits; - topTable->bottomBoundary = precisionTable[1]/(1+precision); - topTable->topBoundary = precisionTable[count-1]/(1-precision); - topTable->baseIndex = MLCTWI_GetExpoIndex(topTable->bottomBoundary); - topTable->topIndex = MLCTWI_GetExpoIndex(topTable->topBoundary); - int subTableCount = topTable->topIndex - topTable->baseIndex + 1; - topTable->subTables = (struct SubLevelTableWideInterval*)malloc(sizeof(struct SubLevelTableWideInterval) * subTableCount); - memset(topTable->subTables, 0, sizeof(struct SubLevelTableWideInterval) * subTableCount); - - for(int i=topTable->topIndex-topTable->baseIndex; i>=0; i--){ - struct SubLevelTableWideInterval* processingSubTable = &topTable->subTables[i]; - - uint32_t maxIndex = 0; - for(int j=0; jtopIndex = maxIndex; - processingSubTable->baseIndex = 0; - - uint64_t subTableLength = processingSubTable->topIndex - processingSubTable-> baseIndex+ 1; - processingSubTable->table = (uint16_t*)malloc(sizeof(uint16_t) * subTableLength); - memset(processingSubTable->table, 0, sizeof(uint16_t) * subTableLength); - processingSubTable->expoIndex = topTable->baseIndex + i; - } - - - uint32_t index = 0; - bool flag = false; - for(uint16_t i = 0; i<=topTable->topIndex-topTable->baseIndex; i++){ - struct SubLevelTableWideInterval* processingSubTable = &topTable->subTables[i]; - uint16_t expoIndex = i+topTable->baseIndex; - for(uint32_t j = 0; j<=processingSubTable->topIndex - processingSubTable->baseIndex; j++){ - uint64_t mantiIndex = j + processingSubTable->baseIndex; - double sampleBottom = MLTCWI_RebuildDouble(expoIndex, mantiIndex, topTable->bits); - double sampleTop = MLTCWI_RebuildDouble(expoIndex, mantiIndex+1, topTable->bits); - double bottomBoundary = precisionTable[index] / (1+precision); - double topBoundary = precisionTable[index] / (1-precision); - if(sampleTop < topBoundary && sampleBottom > bottomBoundary){ - processingSubTable->table[j] = index; - flag = true; - }else{ - if(flag && index < count-1){ - index++; - processingSubTable->table[j] = index; - }else{ - processingSubTable->table[j] = 0; - } - } - } - } - -} - -uint32_t MultiLevelCacheTableWideIntervalGetIndex(double value, struct TopLevelTableWideInterval* topLevelTable){ - uint16_t expoIndex = MLCTWI_GetExpoIndex(value); - if(expoIndex <= topLevelTable->topIndex && expoIndex >= topLevelTable->baseIndex){ - struct SubLevelTableWideInterval* subLevelTable = &topLevelTable->subTables[expoIndex-topLevelTable->baseIndex]; - uint64_t mantiIndex = MLCTWI_GetMantiIndex(value, topLevelTable->bits); - return subLevelTable->table[mantiIndex - subLevelTable->baseIndex]; - - } - return 0; -} - -void MultiLevelCacheTableWideIntervalFree(struct TopLevelTableWideInterval* table){ - for(int i=0; itopIndex - table->baseIndex + 1; i++){ - free(table->subTables[i].table); - } - free(table->subTables); -} - diff --git a/deps/SZ/sz/src/TypeManager.c b/deps/SZ/sz/src/TypeManager.c index cf99a170c3..dcdda19f75 100644 --- a/deps/SZ/sz/src/TypeManager.c +++ b/deps/SZ/sz/src/TypeManager.c @@ -70,59 +70,36 @@ size_t convertIntArray2ByteArray_fast_1b_to_result(unsigned char* intArray, size return byteLength; } -void convertByteArray2IntArray_fast_1b(size_t intArrayLength, unsigned char* byteArray, size_t byteArrayLength, unsigned char **intArray) + +void convertByteArray2IntArray_fast_2b(size_t stepLength, unsigned char* byteArray, size_t byteArrayLength, unsigned char **intArray) { - if(intArrayLength > byteArrayLength*8) - { - printf("Error: intArrayLength > byteArrayLength*8\n"); - printf("intArrayLength=%zu, byteArrayLength = %zu", intArrayLength, byteArrayLength); - exit(0); - } - if(intArrayLength>0) - *intArray = (unsigned char*)malloc(intArrayLength*sizeof(unsigned char)); - else - *intArray = NULL; - - size_t n = 0, i; - int tmp; - for (i = 0; i < byteArrayLength-1; i++) + if(stepLength > byteArrayLength*4) { - tmp = byteArray[i]; - (*intArray)[n++] = (tmp & 0x80) >> 7; - (*intArray)[n++] = (tmp & 0x40) >> 6; - (*intArray)[n++] = (tmp & 0x20) >> 5; - (*intArray)[n++] = (tmp & 0x10) >> 4; - (*intArray)[n++] = (tmp & 0x08) >> 3; - (*intArray)[n++] = (tmp & 0x04) >> 2; - (*intArray)[n++] = (tmp & 0x02) >> 1; - (*intArray)[n++] = (tmp & 0x01) >> 0; + printf("Error: stepLength > byteArray.length*4\n"); + printf("stepLength=%zu, byteArray.length=%zu\n", stepLength, byteArrayLength); + exit(0); + } + if(stepLength>0) + *intArray = (unsigned char*)malloc(stepLength*sizeof(unsigned char)); + else + *intArray = NULL; + size_t i, n = 0; + + for (i = 0; i < byteArrayLength; i++) { + unsigned char tmp = byteArray[i]; + (*intArray)[n++] = (tmp & 0xC0) >> 6; + if(n==stepLength) + break; + (*intArray)[n++] = (tmp & 0x30) >> 4; + if(n==stepLength) + break; + (*intArray)[n++] = (tmp & 0x0C) >> 2; + if(n==stepLength) + break; + (*intArray)[n++] = tmp & 0x03; + if(n==stepLength) + break; } - - tmp = byteArray[i]; - if(n == intArrayLength) - return; - (*intArray)[n++] = (tmp & 0x80) >> 7; - if(n == intArrayLength) - return; - (*intArray)[n++] = (tmp & 0x40) >> 6; - if(n == intArrayLength) - return; - (*intArray)[n++] = (tmp & 0x20) >> 5; - if(n == intArrayLength) - return; - (*intArray)[n++] = (tmp & 0x10) >> 4; - if(n == intArrayLength) - return; - (*intArray)[n++] = (tmp & 0x08) >> 3; - if(n == intArrayLength) - return; - (*intArray)[n++] = (tmp & 0x04) >> 2; - if(n == intArrayLength) - return; - (*intArray)[n++] = (tmp & 0x02) >> 1; - if(n == intArrayLength) - return; - (*intArray)[n++] = (tmp & 0x01) >> 0; } /** @@ -174,195 +151,6 @@ size_t convertIntArray2ByteArray_fast_2b(unsigned char* timeStepType, size_t tim return byteLength; } -size_t convertIntArray2ByteArray_fast_2b_inplace(unsigned char* timeStepType, size_t timeStepTypeLength, unsigned char *result) -{ - size_t i, j, byteLength = 0; - if(timeStepTypeLength%4==0) - byteLength = timeStepTypeLength*2/8; - else - byteLength = timeStepTypeLength*2/8+1; - - size_t n = 0; - for(i = 0;i byteArrayLength*4) - { - printf("Error: stepLength > byteArray.length*4\n"); - printf("stepLength=%zu, byteArray.length=%zu\n", stepLength, byteArrayLength); - exit(0); - } - if(stepLength>0) - *intArray = (unsigned char*)malloc(stepLength*sizeof(unsigned char)); - else - *intArray = NULL; - size_t i, n = 0; - - for (i = 0; i < byteArrayLength; i++) { - unsigned char tmp = byteArray[i]; - (*intArray)[n++] = (tmp & 0xC0) >> 6; - if(n==stepLength) - break; - (*intArray)[n++] = (tmp & 0x30) >> 4; - if(n==stepLength) - break; - (*intArray)[n++] = (tmp & 0x0C) >> 2; - if(n==stepLength) - break; - (*intArray)[n++] = tmp & 0x03; - if(n==stepLength) - break; - } -} - -size_t convertIntArray2ByteArray_fast_3b(unsigned char* timeStepType, size_t timeStepTypeLength, unsigned char **result) -{ - size_t i = 0, k = 0, byteLength = 0, n = 0; - if(timeStepTypeLength%8==0) - byteLength = timeStepTypeLength*3/8; - else - byteLength = timeStepTypeLength*3/8+1; - - if(byteLength>0) - *result = (unsigned char*)malloc(byteLength*sizeof(unsigned char)); - else - *result = NULL; - int tmp = 0; - for(n = 0;n> 1); - (*result)[i++] = (unsigned char)tmp; - tmp = 0 | (timeStepType[n] << 7); - break; - case 3: - tmp = tmp | (timeStepType[n] << 4); - break; - case 4: - tmp = tmp | (timeStepType[n] << 1); - break; - case 5: - tmp = tmp | (timeStepType[n] >> 2); - (*result)[i++] = (unsigned char)tmp; - tmp = 0 | (timeStepType[n] << 6); - break; - case 6: - tmp = tmp | (timeStepType[n] << 3); - break; - case 7: - tmp = tmp | (timeStepType[n] << 0); - (*result)[i++] = (unsigned char)tmp; - tmp = 0; - break; - } - } - if(k!=7) //load the last one - (*result)[i] = (unsigned char)tmp; - - return byteLength; -} - -void convertByteArray2IntArray_fast_3b(size_t stepLength, unsigned char* byteArray, size_t byteArrayLength, unsigned char **intArray) -{ - if(stepLength > byteArrayLength*8/3) - { - printf("Error: stepLength > byteArray.length*8/3, impossible case unless bugs elsewhere.\n"); - printf("stepLength=%zu, byteArray.length=%zu\n", stepLength, byteArrayLength); - exit(0); - } - if(stepLength>0) - *intArray = (unsigned char*)malloc(stepLength*sizeof(unsigned char)); - else - *intArray = NULL; - size_t i = 0, ii = 0, n = 0; - unsigned char tmp = byteArray[i]; - for(n=0;n> 5; - break; - case 1: - (*intArray)[n++] = (tmp & 0x1C) >> 2; - break; - case 2: - ii = (tmp & 0x03) << 1; - i++; - tmp = byteArray[i]; - ii |= (tmp & 0x80) >> 7; - (*intArray)[n++] = ii; - break; - case 3: - (*intArray)[n++] = (tmp & 0x70) >> 4; - break; - case 4: - (*intArray)[n++] = (tmp & 0x0E) >> 1; - break; - case 5: - ii = (tmp & 0x01) << 2; - i++; - tmp = byteArray[i]; - ii |= (tmp & 0xC0) >> 6; - (*intArray)[n++] = ii; - break; - case 6: - (*intArray)[n++] = (tmp & 0x38) >> 3; - break; - case 7: - (*intArray)[n++] = (tmp & 0x07); - i++; - tmp = byteArray[i]; - break; - } - } -} - inline int getLeftMovingSteps(size_t k, unsigned char resiBitLength) { return 8 - k%8 - resiBitLength; @@ -412,92 +200,4 @@ size_t convertIntArray2ByteArray_fast_dynamic(unsigned char* timeStepType, unsig size_t size = dba->size; free_DBA(dba); return size; -} - -/** - * - * @param timeStepType is the resiMidBits - * @param resiBitLength is the length of resiMidBits for each element, (the number of resiBitLength == the # of unpredictable elements - * @return - */ -size_t convertIntArray2ByteArray_fast_dynamic2(unsigned char* timeStepType, unsigned char* resiBitLength, size_t resiBitLengthLength, unsigned char **bytes) -{ - size_t i = 0, j = 0, k = 0; - int value; - DynamicByteArray* dba; - new_DBA(&dba, 1024); - int tmp = 0, leftMovSteps = 0; - for(j = 0;j> (-leftMovSteps)); - addDBA_Data(dba, (unsigned char)tmp); - tmp = 0 | (value << (8+leftMovSteps)); - } - else if(leftMovSteps > 0) - { - tmp = tmp | (value << leftMovSteps); - } - else //==0 - { - tmp = tmp | value; - addDBA_Data(dba, (unsigned char)tmp); - tmp = 0; - } - i++; - k += rbl; - } - if(leftMovSteps != 0) - addDBA_Data(dba, (unsigned char)tmp); - convertDBAtoBytes(dba, bytes); - size_t size = dba->size; - free_DBA(dba); - return size; -} - -int computeBitNumRequired(size_t dataLength) -{ - if(exe_params->SZ_SIZE_TYPE==4) - return 32 - numberOfLeadingZeros_Int(dataLength); - else - return 64 - numberOfLeadingZeros_Long(dataLength); - -} - -void decompressBitArraybySimpleLZ77(int** result, unsigned char* bytes, size_t bytesLength, size_t totalLength, int validLength) -{ - size_t pairLength = (bytesLength*8)/(validLength+1); - size_t tmpLength = pairLength*2; - int tmpResult[tmpLength]; - size_t i, j, k = 0; - for(i = 0;i> (8-1-innerIndex)) & 0x01; - k++; - - int numResult = extractBytes(bytes, k, validLength); - - tmpResult[i+1] = numResult; - k = k + validLength; - } - - *result = (int*)malloc(sizeof(int)*totalLength); - k = 0; - for(i = 0;i -#include -#include -#include "VarSet.h" -#include "sz.h" - -void free_Variable_keepOriginalData(SZ_Variable* v) -{ - if(v->varName!=NULL) - free(v->varName); - if(v->compressedBytes!=NULL) - free(v->compressedBytes); - if(v->multisteps!=NULL) - free_multisteps(v->multisteps); - free(v); -} - -/** - * - * @deprecated - * */ -void free_Variable_keepCompressedBytes(SZ_Variable* v) -{ - if(v->varName!=NULL) - free(v->varName); - if(v->data!=NULL) - free(v->data); - if(v->multisteps!=NULL) - free_multisteps(v->multisteps); - free(v); -} - -void free_Variable_all(SZ_Variable* v) -{ - if(v->varName!=NULL) - free(v->varName); - if(v->data!=NULL) - free(v->data); - if(v->compressedBytes!=NULL) - free(v->compressedBytes); - if(v->multisteps!=NULL) - free_multisteps(v->multisteps); - free(v); -} - -void SZ_batchAddVar(int var_id, char* varName, int dataType, void* data, - int errBoundMode, double absErrBound, double relBoundRatio, double pwRelBoundRatio, - size_t r5, size_t r4, size_t r3, size_t r2, size_t r1) -{ - if(sz_varset==NULL) - { - sz_varset = (SZ_VarSet*)malloc(sizeof(SZ_VarSet)); - sz_varset->header = (SZ_Variable*)malloc(sizeof(SZ_Variable)); - sz_varset->header->next = NULL; - sz_varset->lastVar = sz_varset->header; - sz_varset->count = 0; - } - - SZ_Variable* var = (SZ_Variable*)malloc(sizeof(SZ_Variable)); - memset(var, 0, sizeof(SZ_Variable)); - var->var_id = var_id; - var->varName = (char*)malloc(strlen(varName)+1); - memcpy(var->varName, varName, strlen(varName)+1); - //var->varName = varName; - var->dataType = dataType; - var->r5 = r5; - var->r4 = r4; - var->r3 = r3; - var->r2 = r2; - var->r1 = r1; - var->errBoundMode = errBoundMode; - var->absErrBound = absErrBound; - var->relBoundRatio = relBoundRatio; - var->pwRelBoundRatio = pwRelBoundRatio; - var->data = data; - - var->multisteps = (sz_multisteps*)malloc(sizeof(sz_multisteps)); - memset(var->multisteps, 0, sizeof(sz_multisteps)); - - size_t dataLen = computeDataLength(r5, r4, r3, r2, r1); - if(dataType==SZ_FLOAT) - { - var->multisteps->hist_data = (float*)malloc(sizeof(float)*dataLen); - memset(var->multisteps->hist_data, 0, sizeof(float)*dataLen); - } - else if(dataType==SZ_DOUBLE) - { - var->multisteps->hist_data = (double*)malloc(sizeof(double)*dataLen); - memset(var->multisteps->hist_data, 0, sizeof(double)*dataLen); - } - var->compressedBytes = NULL; - var->next = NULL; - - sz_varset->count ++; - sz_varset->lastVar->next = var; - sz_varset->lastVar = var; -} - -int SZ_batchDelVar_ID(int var_id) -{ - int state = SZ_batchDelVar_ID_vset(sz_varset, var_id); - return state; -} - -int SZ_batchDelVar(char* varName) -{ - int state = SZ_batchDelVar_vset(sz_varset, varName); - return state; -} - -int SZ_batchDelVar_ID_vset(SZ_VarSet* vset, int var_id) -{ - int delSuccess = SZ_FAILED; - SZ_Variable* p = vset->header; - SZ_Variable* q = p->next; - while(q != NULL) - { - if(q->var_id == var_id) - { - p->next = q->next; - //free_Variable_all(q); - free_Variable_keepOriginalData(q); - vset->count --; - delSuccess = SZ_SUCCESS; - if(q->next==NULL) //means that q is the last variable - vset->lastVar = p; - break; - } - - p = p->next; - q = q->next; - } - - return delSuccess; -} - -int SZ_batchDelVar_vset(SZ_VarSet* vset, char* varName) -{ - int delSuccess = SZ_FAILED; - SZ_Variable* p = vset->header; - SZ_Variable* q = p->next; - while(q != NULL) - { - int cmpResult = strcmp(q->varName, varName); - if(cmpResult==0) - { - p->next = q->next; - //free_Variable_all(q); - free_Variable_keepOriginalData(q); - vset->count --; - delSuccess = SZ_SUCCESS; - break; - } - p = p->next; - q = q->next; - } - - return delSuccess; -} - -SZ_Variable* SZ_searchVar(char* varName) -{ - SZ_Variable* p = sz_varset->header->next; - while(p!=NULL) - { - int checkName = strcmp(p->varName, varName); - if(checkName==0) - return p; - p = p->next; - } - return NULL; -} - -void* SZ_getVarData(char* varName, size_t *r5, size_t *r4, size_t *r3, size_t *r2, size_t *r1) -{ - SZ_Variable* v = SZ_searchVar(varName); - *r5 = v->r5; - *r4 = v->r4; - *r3 = v->r3; - *r2 = v->r2; - *r1 = v->r1; - return (void*)v->data; -} - -/** - * - * int mode: SZ_MAINTAIN_VAR_DATA, Z_DESTROY_WHOLE_VARSET - * */ -void SZ_freeVarSet(int mode) -{ - free_VarSet_vset(sz_varset, mode); -} - -//free_VarSet will completely destroy the SZ_VarSet, so don't do it until you really don't need it any more! -/** - * - * int mode: SZ_MAINTAIN_VAR_DATA, Z_DESTROY_WHOLE_VARSET - * */ -void free_VarSet_vset(SZ_VarSet *vset, int mode) -{ - if(vset==NULL) - return; - SZ_Variable *p = vset->header; - while(p->next!=NULL) - { - SZ_Variable *q = p->next; - p->next = q->next; - if(mode==SZ_MAINTAIN_VAR_DATA) - free_Variable_keepOriginalData(q); - else if(mode==SZ_DESTROY_WHOLE_VARSET) - free_Variable_all(q); - } - free(sz_varset->header); - free(vset); -} - -void free_multisteps(sz_multisteps* multisteps) -{ - if(multisteps->hist_data!=NULL) - free(multisteps->hist_data); - free(multisteps); -} - -inline int checkVarID(unsigned char cur_var_id, unsigned char* var_ids, int var_count) -{ - int j = 0; - for(j=0;jheader->next; - while(p!=NULL) - { - if(var_id == p->var_id) - return p; - p = p->next; - } - return NULL; -} diff --git a/deps/SZ/sz/src/conf.c b/deps/SZ/sz/src/conf.c index 1684e155eb..ee3bae88d5 100644 --- a/deps/SZ/sz/src/conf.c +++ b/deps/SZ/sz/src/conf.c @@ -375,15 +375,7 @@ int SZ_ReadConf(const char* sz_cfgFile) { //initialization for Huffman encoding //SZ_Reset(); } - else if(confparams_cpr->sol_ID == PASTRI) - {//load parameters for PSTRI - pastri_par.bf[0] = (int)iniparser_getint(ini, "PARAMETER:basisFunction_0", 0); - pastri_par.bf[1] = (int)iniparser_getint(ini, "PARAMETER:basisFunction_1", 0); - pastri_par.bf[2] = (int)iniparser_getint(ini, "PARAMETER:basisFunction_2", 0); - pastri_par.bf[3] = (int)iniparser_getint(ini, "PARAMETER:basisFunction_3", 0); - pastri_par.numBlocks = (int)iniparser_getint(ini, "PARAMETER:numBlocks", 0); - confparams_cpr->absErrBound = pastri_par.originalEb = (double)iniparser_getdouble(ini, "PARAMETER:absErrBound", 1E-3); - } + iniparser_freedict(ini); return SZ_SUCCESS; @@ -408,31 +400,3 @@ int SZ_LoadConf(const char* sz_cfgFile) { } return SZ_SUCCESS; } - -int checkVersion(unsigned char version) -{ - return version <= versionNumber; -} - - -void initSZ_TSC() -{ - sz_tsc = (sz_tsc_metadata*)malloc(sizeof(sz_tsc_metadata)); - memset(sz_tsc, 0, sizeof(sz_tsc_metadata)); - /*sprintf(sz_tsc->metadata_filename, "sz_tsc_metainfo.txt"); - sz_tsc->metadata_file = fopen(sz_tsc->metadata_filename, "wb"); - if (sz_tsc->metadata_file == NULL) - { - printf("Failed to open sz_tsc_metainfo.txt file for writing metainfo.\n"); - exit(1); - } - fputs("#metadata of the time-step based compression\n", sz_tsc->metadata_file); */ -} - -/*double fabs(double value) -{ - if(value<0) - return -value; - else - return value; -}*/ diff --git a/deps/SZ/sz/src/pastri.c b/deps/SZ/sz/src/pastri.c deleted file mode 100644 index 7c6908b5f3..0000000000 --- a/deps/SZ/sz/src/pastri.c +++ /dev/null @@ -1,87 +0,0 @@ -#include "pastri.h" -#include "pastriD.h" -#include "pastriF.h" - -void SZ_pastriReadParameters(char paramsFilename[512],pastri_params *paramsPtr){ - FILE *paramsF; - paramsF=fopen(paramsFilename,"r"); - - if(paramsF==NULL){ - printf("ERROR: Parameters file cannot be opened.\n"); - printf("Filename: %s\n",paramsFilename); - assert(0); - } - - fscanf(paramsF,"%d %d %d %d %lf %d %d",¶msPtr->bf[0],¶msPtr->bf[1],¶msPtr->bf[2],¶msPtr->bf[3],¶msPtr->originalEb,¶msPtr->dataSize,¶msPtr->numBlocks); - //printf("Params: %d %d %d %d %.3e %d\n",paramsPtr->bf[0],paramsPtr->bf[1],paramsPtr->bf[2],paramsPtr->bf[3],paramsPtr->originalEb,paramsPtr->numBlocks); - fclose(paramsF); -} - -void SZ_pastriPreprocessParameters(pastri_params *p){ - //Preprocess by calculating some pastri_params: - //Calculate sbSize, sbNum, etc.: - p->idxRange[0]=(p->bf[0]+1)*(p->bf[0]+2)/2; - p->idxRange[1]=(p->bf[1]+1)*(p->bf[1]+2)/2; - p->idxRange[2]=(p->bf[2]+1)*(p->bf[2]+2)/2; - p->idxRange[3]=(p->bf[3]+1)*(p->bf[3]+2)/2; - p->sbSize=p->idxRange[2]*p->idxRange[3]; - p->sbNum=p->idxRange[0]*p->idxRange[1]; - p->bSize=p->sbSize*p->sbNum; - p->usedEb=p->originalEb*0.999; //This is needed just to eliminate some rounding errors. It has almost no effect on compression rate/ratios. -} - -void SZ_pastriCompressBatch(pastri_params *p,unsigned char *originalBuf, unsigned char** compressedBufP,size_t *compressedBytes){ - (*compressedBufP) = (unsigned char*)calloc(p->numBlocks*p->bSize*p->dataSize,sizeof(char)); - int bytes; //bytes for this block - int i; - size_t bytePos=0; //Current byte pos in the outBuf - - memcpy(*compressedBufP, p, sizeof(pastri_params)); - bytePos+=sizeof(pastri_params); - - for(i=0;inumBlocks;i++){ - if(p->dataSize==8){ - pastri_double_Compress(originalBuf + (i*p->bSize*p->dataSize),p,(*compressedBufP) + bytePos,&bytes); - }else if(p->dataSize==4){ - pastri_float_Compress(originalBuf + (i*p->bSize*p->dataSize),p,(*compressedBufP) + bytePos,&bytes); - } - bytePos+=bytes; - //printf("bytes:%d\n",bytes); - } - *compressedBytes=bytePos; - //printf("totalBytesWritten:%d\n",*compressedBytes); -} - -void SZ_pastriDecompressBatch(unsigned char*compressedBuf, pastri_params *p, unsigned char** decompressedBufP ,size_t *decompressedBytes){ - int bytePos=0; //Current byte pos in the outBuf - memcpy(p, compressedBuf, sizeof(pastri_params)); - bytePos+=sizeof(pastri_params); - - (*decompressedBufP) = (unsigned char*)malloc(p->numBlocks*p->bSize*p->dataSize*sizeof(char)); - int bytes; //bytes for this block - int i; - - for(i=0;inumBlocks;i++){ - if(p->dataSize==8){ - pastri_double_Decompress(compressedBuf + bytePos,p->dataSize,p,(*decompressedBufP) + (i*p->bSize*p->dataSize),&bytes); - }else if(p->dataSize==4){ - pastri_float_Decompress(compressedBuf + bytePos,p->dataSize,p,(*decompressedBufP) + (i*p->bSize*p->dataSize),&bytes); - } - - bytePos += bytes; - //printf("bytes:%d\n",bytes); - } - //printf("totalBytesRead:%d\n",bytePos); - *decompressedBytes=p->numBlocks*p->bSize*p->dataSize; -} - -void SZ_pastriCheckBatch(pastri_params *p,unsigned char*originalBuf,unsigned char*decompressedBuf){ - int i; - for(i=0;inumBlocks;i++){ - if(p->dataSize==8){ - pastri_double_Check(originalBuf+(i*p->bSize*p->dataSize),p->dataSize,decompressedBuf+(i*p->bSize*p->dataSize),p); - }else if(p->dataSize==4){ - pastri_float_Check(originalBuf+(i*p->bSize*p->dataSize),p->dataSize,decompressedBuf+(i*p->bSize*p->dataSize),p); - } - } -} diff --git a/deps/SZ/sz/src/rw.c b/deps/SZ/sz/src/rw.c deleted file mode 100644 index f6cf380411..0000000000 --- a/deps/SZ/sz/src/rw.c +++ /dev/null @@ -1,1006 +0,0 @@ -/** - * @file rw.c - * @author Sheng Di - * @date April, 2015 - * @brief io interface for fortrance - * (C) 2015 by Mathematics and Computer Science (MCS), Argonne National Laboratory. - * See COPYRIGHT in top-level directory. - */ - -#include -#include -#include -#include -#include - -#include "rw.h" -#include "sz.h" - -int checkFileExistance(char* filePath) -{ - if( access( filePath, F_OK ) != -1 ) { - // file exists - return 1; - } else { - // file doesn't exist - return 0; - } -} - -float** create2DArray_float(size_t m, size_t n) -{ - size_t i=0; - float **data = (float**)malloc(sizeof(float*)*m); - for(i=0;i -#include -#include -#include "rw.h" - -void checkfilesizec_(char *srcFilePath, int *len, size_t *filesize) -{ - int i; - int status; - char s[*len+1]; - for(i=0;i<*len;i++) - s[i]=srcFilePath[i]; - s[*len]='\0'; - *filesize = checkFileSize(s, &status); -} - -void readbytefile_(char *srcFilePath, int *len, unsigned char *bytes, size_t *byteLength) -{ - size_t i; - int ierr; - char s[*len+1]; - for(i=0;i<*len;i++) - s[i]=srcFilePath[i]; - s[*len]='\0'; - unsigned char *tmp_bytes = readByteData(s, byteLength, &ierr); - memcpy(bytes, tmp_bytes, *byteLength); - free(tmp_bytes); -} - -void readdoublefile_(char *srcFilePath, int *len, double *data, size_t *nbEle) -{ - size_t i; - int ierr; - char s[*len+1]; - for(i=0;i<*len;i++) - s[i]=srcFilePath[i]; - s[*len]='\0'; - double *tmp_data = readDoubleData(s, nbEle, &ierr); - memcpy(data, tmp_data, *nbEle); - free(tmp_data); -} - -void readfloatfile_(char *srcFilePath, int *len, float *data, size_t *nbEle) -{ - size_t i; - int ierr; - char s[*len+1]; - for(i=0;i<*len;i++) - s[i]=srcFilePath[i]; - s[*len]='\0'; - float *tmp_data = readFloatData(s, nbEle, &ierr); - memcpy(data, tmp_data, *nbEle); - free(tmp_data); -} - -void writebytefile_(unsigned char *bytes, size_t *byteLength, char *tgtFilePath, int *len) -{ - size_t i; - int ierr; - char s[*len+1]; - for(i=0;i<*len;i++) - s[i]=tgtFilePath[i]; - s[*len]='\0'; - writeByteData(bytes, *byteLength, s, &ierr); -} - -void writedoublefile_(double *data, size_t *nbEle, char *tgtFilePath, int *len) -{ - size_t i; - int ierr; - char s[*len+1]; - for(i=0;i<*len;i++) - s[i]=tgtFilePath[i]; - s[*len]='\0'; - writeDoubleData(data, *nbEle, s, &ierr); -} - -void writefloatfile_(float *data, size_t *nbEle, char *tgtFilePath, int *len) -{ - size_t i; - int ierr; - char s[*len+1]; - for(i=0;i<*len;i++) - s[i]=tgtFilePath[i]; - s[*len]='\0'; - writeFloatData(data, *nbEle, s, &ierr); -} diff --git a/deps/SZ/sz/src/sz.c b/deps/SZ/sz/src/sz.c index f4ff348aa5..222775df62 100644 --- a/deps/SZ/sz/src/sz.c +++ b/deps/SZ/sz/src/sz.c @@ -18,7 +18,6 @@ #include "TightDataPointStorageD.h" #include "TightDataPointStorageF.h" #include "zlib.h" -#include "rw.h" #include "conf.h" #include "utility.h" @@ -36,16 +35,6 @@ sz_params *confparams_dec = NULL; //used for decompression sz_exedata *exe_params = NULL; -/*following global variables are desgined for time-series based compression*/ -/*sz_varset is not used in the single-snapshot data compression*/ -SZ_VarSet* sz_varset = NULL; -sz_multisteps *multisteps = NULL; -sz_tsc_metadata *sz_tsc = NULL; - -//only for Pastri compressor -#ifdef PASTRI -pastri_params pastri_par; -#endif @@ -64,10 +53,6 @@ int SZ_Init(const char *configFilePath) return SZ_FAILED; exe_params->SZ_SIZE_TYPE = SZ_SIZE_TYPE_DEFUALT; - if(confparams_cpr->szMode == SZ_TEMPORAL_COMPRESSION) - { - initSZ_TSC(); - } return SZ_SUCCESS; } diff --git a/deps/SZ/sz/src/sz_double.c b/deps/SZ/sz/src/sz_double.c index e7a932b30e..9bba10cf64 100644 --- a/deps/SZ/sz/src/sz_double.c +++ b/deps/SZ/sz/src/sz_double.c @@ -21,10 +21,7 @@ #include "sz_double.h" #include "szd_double.h" #include "zlib.h" -#include "rw.h" #include "utility.h" -#include "CacheTable.h" -#include "MultiLevelCacheTableWideInterval.h" #include "sz_stats.h" unsigned char* SZ_skip_compress_double(double* data, size_t dataLength, size_t* outSize) diff --git a/deps/SZ/sz/src/sz_float.c b/deps/SZ/sz/src/sz_float.c index 2dfce720cf..7ca45335d6 100644 --- a/deps/SZ/sz/src/sz_float.c +++ b/deps/SZ/sz/src/sz_float.c @@ -21,22 +21,11 @@ #include "sz_float.h" #include "szd_float.h" #include "zlib.h" -#include "rw.h" #include "utility.h" -#include "CacheTable.h" -#include "MultiLevelCacheTableWideInterval.h" -#include "sz_stats.h" # define MIN(_a, _b) (((_a) < (_b)) ? (_a) : (_b)) -unsigned char* SZ_skip_compress_float(float* data, size_t dataLength, size_t* outSize) -{ - *outSize = dataLength*sizeof(float); - unsigned char* out = (unsigned char*)malloc(dataLength*sizeof(float)); - memcpy(out, data, dataLength*sizeof(float)); - return out; -} void computeReqLength_float(double realPrecision, short rangeExpo, int* reqLength, float* medianValue) { diff --git a/deps/SZ/sz/src/sz_interface.F90 b/deps/SZ/sz/src/sz_interface.F90 deleted file mode 100644 index 4a3f2a0439..0000000000 --- a/deps/SZ/sz/src/sz_interface.F90 +++ /dev/null @@ -1,1207 +0,0 @@ -! @file sz_interface.F90 -! @author Sheng Di (disheng222@gmail.com or sdi1@anl.gov) -! @date June, 2016 -! @ Mathematics and Computer Science (MCS) -! @ Argonne National Laboratory, Lemont, USA. -! @brief The key Fortran binding file to connect C language and Fortran (Fortran part) - - -MODULE SZ - use :: ISO_C_BINDING - INTERFACE SZ_Compress - MODULE PROCEDURE SZ_Compress_d1_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Compress_d2_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Compress_d3_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Compress_d4_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Compress_d5_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Compress_d1_Fortran_REAL_K4_ARGS - MODULE PROCEDURE SZ_Compress_d2_Fortran_REAL_K4_ARGS - MODULE PROCEDURE SZ_Compress_d3_Fortran_REAL_K4_ARGS - MODULE PROCEDURE SZ_Compress_d4_Fortran_REAL_K4_ARGS - MODULE PROCEDURE SZ_Compress_d5_Fortran_REAL_K4_ARGS - MODULE PROCEDURE SZ_Compress_d1_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Compress_d2_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Compress_d3_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Compress_d4_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Compress_d5_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Compress_d1_Fortran_REAL_K8_ARGS - MODULE PROCEDURE SZ_Compress_d2_Fortran_REAL_K8_ARGS - MODULE PROCEDURE SZ_Compress_d3_Fortran_REAL_K8_ARGS - MODULE PROCEDURE SZ_Compress_d4_Fortran_REAL_K8_ARGS - MODULE PROCEDURE SZ_Compress_d5_Fortran_REAL_K8_ARGS - MODULE PROCEDURE SZ_Compress_d1_Fortran_REAL_K4_Rev - MODULE PROCEDURE SZ_Compress_d2_Fortran_REAL_K4_Rev - MODULE PROCEDURE SZ_Compress_d3_Fortran_REAL_K4_Rev - MODULE PROCEDURE SZ_Compress_d4_Fortran_REAL_K4_Rev - MODULE PROCEDURE SZ_Compress_d5_Fortran_REAL_K4_Rev - MODULE PROCEDURE SZ_Compress_d1_Fortran_REAL_K4_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d2_Fortran_REAL_K4_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d3_Fortran_REAL_K4_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d4_Fortran_REAL_K4_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d5_Fortran_REAL_K4_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d1_Fortran_REAL_K8_Rev - MODULE PROCEDURE SZ_Compress_d2_Fortran_REAL_K8_Rev - MODULE PROCEDURE SZ_Compress_d3_Fortran_REAL_K8_Rev - MODULE PROCEDURE SZ_Compress_d4_Fortran_REAL_K8_Rev - MODULE PROCEDURE SZ_Compress_d5_Fortran_REAL_K8_Rev - MODULE PROCEDURE SZ_Compress_d1_Fortran_REAL_K8_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d2_Fortran_REAL_K8_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d3_Fortran_REAL_K8_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d4_Fortran_REAL_K8_ARGS_Rev - MODULE PROCEDURE SZ_Compress_d5_Fortran_REAL_K8_ARGS_Rev - END INTERFACE SZ_Compress - - INTERFACE SZ_Decompress - MODULE PROCEDURE SZ_Decompress_d1_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Decompress_d2_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Decompress_d3_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Decompress_d4_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Decompress_d5_Fortran_REAL_K4 - MODULE PROCEDURE SZ_Decompress_d1_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Decompress_d2_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Decompress_d3_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Decompress_d4_Fortran_REAL_K8 - MODULE PROCEDURE SZ_Decompress_d5_Fortran_REAL_K8 - END INTERFACE SZ_Decompress - - INTERFACE SZ_BatchAddVar - MODULE PROCEDURE SZ_BatchAddVar_d1_Fortran_REAL_K4 - MODULE PROCEDURE SZ_BatchAddVar_d2_Fortran_REAL_K4 - MODULE PROCEDURE SZ_BatchAddVar_d3_Fortran_REAL_K4 - MODULE PROCEDURE SZ_BatchAddVar_d4_Fortran_REAL_K4 - MODULE PROCEDURE SZ_BatchAddVar_d5_Fortran_REAL_K4 - MODULE PROCEDURE SZ_BatchAddVar_d1_Fortran_REAL_K8 - MODULE PROCEDURE SZ_BatchAddVar_d2_Fortran_REAL_K8 - MODULE PROCEDURE SZ_BatchAddVar_d3_Fortran_REAL_K8 - MODULE PROCEDURE SZ_BatchAddVar_d4_Fortran_REAL_K8 - MODULE PROCEDURE SZ_BatchAddVar_d5_Fortran_REAL_K8 - END INTERFACE SZ_BatchAddVar - - INTERFACE SZ_GetVarData - MODULE PROCEDURE SZ_GetVarData_d1_Fortran_REAL_K4 - MODULE PROCEDURE SZ_GetVarData_d2_Fortran_REAL_K4 - MODULE PROCEDURE SZ_GetVarData_d3_Fortran_REAL_K4 - MODULE PROCEDURE SZ_GetVarData_d4_Fortran_REAL_K4 - MODULE PROCEDURE SZ_GetVarData_d5_Fortran_REAL_K4 - MODULE PROCEDURE SZ_GetVarData_d1_Fortran_REAL_K8 - MODULE PROCEDURE SZ_GetVarData_d2_Fortran_REAL_K8 - MODULE PROCEDURE SZ_GetVarData_d3_Fortran_REAL_K8 - MODULE PROCEDURE SZ_GetVarData_d4_Fortran_REAL_K8 - MODULE PROCEDURE SZ_GetVarData_d5_Fortran_REAL_K8 - END INTERFACE SZ_GetVarData - - CONTAINS - -!Init and Finalize - - SUBROUTINE SZ_Init(config_File,ierr) - implicit none - CHARACTER(len=32) :: config_File - INTEGER :: l,ierr - CALL SZ_Init_c(config_File,len(trim(config_File)),ierr) - END SUBROUTINE SZ_Init - - SUBROUTINE SZ_Finalize() - CALL SZ_Finalize_c() - END SUBROUTINE SZ_Finalize - - SUBROUTINE SZ_FREE_VARSET(mode) - implicit none - INTEGER :: mode !0,1,2, or 3 - - CALL SZ_Freevarset_c(mode) - END SUBROUTINE SZ_FREE_VARSET - -!batch-mode functions - - SUBROUTINE SZ_BatchDelVar(varName, ierr) - implicit none - CHARACTER(len=*) :: varName - INTEGER :: ierr - CALL SZ_BatchDelVar_c(varName, len(trim(varName)), ierr) - END SUBROUTINE SZ_BatchDelVar - - SUBROUTINE SZ_Batch_Compress(Bytes, OutSize) - implicit none - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - INTEGER(kind=C_SIZE_T) :: OutSize - INTEGER(kind=C_SIZE_T) :: alloSize - - CALL compute_total_batch_size_c(alloSize) - allocate(Bytes(alloSize)) !allocate the largest possible memory - - CALL SZ_Batch_Compress_c(Bytes, OutSize) - - END SUBROUTINE SZ_Batch_Compress - - SUBROUTINE SZ_Batch_Decompress(Bytes, OutSize, ierr) - implicit none - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - INTEGER(kind=C_SIZE_T) :: OutSize - INTEGER :: ierr - - CALL SZ_Batch_Decompress_c(Bytes, OutSize, ierr) - END SUBROUTINE SZ_Batch_Decompress - -!Compress functions that extract the dimension sizes and call C translation interface (single-precision) - - SUBROUTINE SZ_Compress_d1_Fortran_REAL_K4(VAR, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1 - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - - allocate(Bytes(8*R1)) !allocate the largest possible memory - - CALL SZ_Compress_d1_Float(VAR, Bytes, OutSize, R1) - - END SUBROUTINE SZ_Compress_d1_Fortran_REAL_K4 - - SUBROUTINE SZ_Compress_d1_Fortran_REAL_K4_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1 - INTEGER(kind=4) :: ErrBoundMode - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - - allocate(Bytes(8*R1)) !allocate the largest possible memory - - CALL SZ_Compress_d1_Float_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1) - - END SUBROUTINE SZ_Compress_d1_Fortran_REAL_K4_ARGS - - SUBROUTINE SZ_Compress_d2_Fortran_REAL_K4(VAR, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - R = R1*R2 - - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d2_Float(VAR, Bytes, OutSize, R1, R2) - - END SUBROUTINE SZ_Compress_d2_Fortran_REAL_K4 - - SUBROUTINE SZ_Compress_d2_Fortran_REAL_K4_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - R = R1*R2 - - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d2_Float_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2) - END SUBROUTINE SZ_Compress_d2_Fortran_REAL_K4_ARGS - - SUBROUTINE SZ_Compress_d3_Fortran_REAL_K4(VAR, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:,:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R = R1*R2*R3 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d3_Float(VAR, Bytes, OutSize, R1, R2, R3) - - END SUBROUTINE SZ_Compress_d3_Fortran_REAL_K4 - - SUBROUTINE SZ_Compress_d3_Fortran_REAL_K4_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R = R1*R2*R3 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d3_Float_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3) - - END SUBROUTINE SZ_Compress_d3_Fortran_REAL_K4_ARGS - - SUBROUTINE SZ_Compress_d4_Fortran_REAL_K4(VAR, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:,:,:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - - R = R1*R2*R3*R4 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d4_Float(VAR, Bytes, OutSize, R1, R2, R3, R4) - - END SUBROUTINE SZ_Compress_d4_Fortran_REAL_K4 - - SUBROUTINE SZ_Compress_d4_Fortran_REAL_K4_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:,:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R = R1*R2*R3*R4 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d4_Float_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4) - - END SUBROUTINE SZ_Compress_d4_Fortran_REAL_K4_ARGS - - SUBROUTINE SZ_Compress_d5_Fortran_REAL_K4(VAR, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:,:,:,:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R5, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - R = R1*R2*R3*R4*R5 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d5_Float(VAR, Bytes, OutSize, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_Compress_d5_Fortran_REAL_K4 - - SUBROUTINE SZ_Compress_d5_Fortran_REAL_K4_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:,:,:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R5, R - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - R = R1*R2*R3*R4*R5 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d5_Float_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_Compress_d5_Fortran_REAL_K4_ARGS - -!Compress functions that extract the dimension sizes and call C translation interfaces (double-precision) - - SUBROUTINE SZ_Compress_d1_Fortran_REAL_K8(VAR, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1 - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - - allocate(Bytes(8*R1)) - - CALL SZ_Compress_d1_Double(VAR, Bytes, OutSize, R1) - END SUBROUTINE SZ_Compress_d1_Fortran_REAL_K8 - - SUBROUTINE SZ_Compress_d1_Fortran_REAL_K8_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1 - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - - allocate(Bytes(8*R1)) - CALL SZ_Compress_d1_Double_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1) - END SUBROUTINE SZ_Compress_d1_Fortran_REAL_K8_ARGS - - SUBROUTINE SZ_Compress_d2_Fortran_REAL_K8(VAR, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - R = R1*R2 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d2_Double(VAR, Bytes, OutSize, R1, R2) - END SUBROUTINE SZ_Compress_d2_Fortran_REAL_K8 - - SUBROUTINE SZ_Compress_d2_Fortran_REAL_K8_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - R = R1*R2 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d2_Double_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2) - END SUBROUTINE SZ_Compress_d2_Fortran_REAL_K8_ARGS - - SUBROUTINE SZ_Compress_d3_Fortran_REAL_K8(VAR, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:,:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R = R1*R2*R3 - - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d3_Double(VAR, Bytes, OutSize, R1, R2, R3) - - END SUBROUTINE SZ_Compress_d3_Fortran_REAL_K8 - - SUBROUTINE SZ_Compress_d3_Fortran_REAL_K8_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R = R1*R2*R3 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d3_Double_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3) - - END SUBROUTINE SZ_Compress_d3_Fortran_REAL_K8_ARGS - - SUBROUTINE SZ_Compress_d4_Fortran_REAL_K8(VAR, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:,:,:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - - R = R1*R2*R3*R4 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d4_Double(VAR, Bytes, OutSize, R1, R2, R3, R4) - - END SUBROUTINE SZ_Compress_d4_Fortran_REAL_K8 - - SUBROUTINE SZ_Compress_d4_Fortran_REAL_K8_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:,:,:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R = R1*R2*R3*R4 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d4_Double_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4) - - END SUBROUTINE SZ_Compress_d4_Fortran_REAL_K8_ARGS - - SUBROUTINE SZ_Compress_d5_Fortran_REAL_K8(VAR, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:,:,:,:,:) :: VAR - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R5, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - R = R1*R2*R3*R4*R5 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d5_Double(VAR, Bytes, OutSize, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_Compress_d5_Fortran_REAL_K8 - - SUBROUTINE SZ_Compress_d5_Fortran_REAL_K8_ARGS(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:,:,:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R5, R - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - R = R1*R2*R3*R4*R5 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d5_Double_Args(VAR, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_Compress_d5_Fortran_REAL_K8_ARGS - -!Comrpession functions with reserved value - - SUBROUTINE SZ_Compress_d1_Fortran_REAL_K4_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1 - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - - allocate(Bytes(8*R1)) - - CALL SZ_Compress_d1_Float_Rev(VAR, ReValue, Bytes, OutSize, R1) - END SUBROUTINE SZ_Compress_d1_Fortran_REAL_K4_Rev - - SUBROUTINE SZ_Compress_d1_Fortran_REAL_K4_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1 - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - - allocate(Bytes(8*R1)) - - CALL SZ_Compress_d1_Float_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1) - END SUBROUTINE SZ_Compress_d1_Fortran_REAL_K4_ARGS_Rev - - SUBROUTINE SZ_Compress_d2_Fortran_REAL_K4_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:,:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - R = R1*R2 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d2_Float_Rev(VAR, ReValue, Bytes, OutSize, R1, R2) - END SUBROUTINE SZ_Compress_d2_Fortran_REAL_K4_Rev - - SUBROUTINE SZ_Compress_d2_Fortran_REAL_K4_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:,:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - R = R1*R2 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d2_Float_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2) - END SUBROUTINE SZ_Compress_d2_Fortran_REAL_K4_ARGS_Rev - - SUBROUTINE SZ_Compress_d3_Fortran_REAL_K4_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:,:,:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - INTEGER(kind=1), DIMENSION(:), allocatable :: temp - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R = R1*R2*R3 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d3_Float_Rev(VAR, ReValue, Bytes, OutSize, R1, R2, R3) - - END SUBROUTINE SZ_Compress_d3_Fortran_REAL_K4_Rev - - SUBROUTINE SZ_Compress_d3_Fortran_REAL_K4_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:,:,:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R = R1*R2*R3 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d3_Float_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3) - - END SUBROUTINE SZ_Compress_d3_Fortran_REAL_K4_ARGS_Rev - - SUBROUTINE SZ_Compress_d4_Fortran_REAL_K4_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:,:,:,:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - - R = R1*R2*R3*R4 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d4_Float_Rev(VAR, ReValue, Bytes, OutSize, R1, R2, R3, R4) - - END SUBROUTINE SZ_Compress_d4_Fortran_REAL_K4_Rev - - SUBROUTINE SZ_Compress_d4_Fortran_REAL_K4_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:,:,:,:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R = R1*R2*R3*R4 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d4_Float_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4) - - END SUBROUTINE SZ_Compress_d4_Fortran_REAL_K4_ARGS_Rev - - SUBROUTINE SZ_Compress_d5_Fortran_REAL_K4_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=4), DIMENSION(:,:,:,:,:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R5, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - R = R1*R2*R3*R4*R5 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d5_Float_Rev(VAR, ReValue, Bytes, OutSize, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_Compress_d5_Fortran_REAL_K4_Rev - - SUBROUTINE SZ_Compress_d5_Fortran_REAL_K4_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=4), DIMENSION(:,:,:,:,:) :: VAR - REAL(KIND=4) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R5, R - REAL(kind=4) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - R = R1*R2*R3*R4*R5 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d5_Float_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_Compress_d5_Fortran_REAL_K4_ARGS_Rev - -!Compress functions that extract the dimension sizes and call C translation interfaces (double-precision) - - SUBROUTINE SZ_Compress_d1_Fortran_REAL_K8_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1 - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - - allocate(Bytes(8*R1)) - - CALL SZ_Compress_d1_Double_Rev(VAR, ReValue, Bytes, OutSize, R1) - END SUBROUTINE SZ_Compress_d1_Fortran_REAL_K8_Rev - - SUBROUTINE SZ_Compress_d1_Fortran_REAL_K8_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1 - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - - allocate(Bytes(8*R1)) - - CALL SZ_Compress_d1_Double_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1) - END SUBROUTINE SZ_Compress_d1_Fortran_REAL_K8_ARGS_Rev - - SUBROUTINE SZ_Compress_d2_Fortran_REAL_K8_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:,:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - R = R1*R2 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d2_Double_Rev(VAR, ReValue, Bytes, OutSize, R1, R2) - END SUBROUTINE SZ_Compress_d2_Fortran_REAL_K8_Rev - - SUBROUTINE SZ_Compress_d2_Fortran_REAL_K8_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:,:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R = R1*R2 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d2_Double_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2) - - END SUBROUTINE SZ_Compress_d2_Fortran_REAL_K8_ARGS_Rev - - SUBROUTINE SZ_Compress_d3_Fortran_REAL_K8_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:,:,:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R = R1*R2*R3 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d3_Double_Rev(VAR, ReValue, Bytes, OutSize, R1, R2, R3) - - END SUBROUTINE SZ_Compress_d3_Fortran_REAL_K8_Rev - - SUBROUTINE SZ_Compress_d3_Fortran_REAL_K8_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:,:,:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R = R1*R2*R3 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d3_Double_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3) - - END SUBROUTINE SZ_Compress_d3_Fortran_REAL_K8_ARGS_Rev - - SUBROUTINE SZ_Compress_d4_Fortran_REAL_K8_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:,:,:,:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - - R = R1*R2*R3*R4 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d4_Double_Rev(VAR, ReValue, Bytes, OutSize, R1, R2, R3, R4) - - END SUBROUTINE SZ_Compress_d4_Fortran_REAL_K8_Rev - - SUBROUTINE SZ_Compress_d4_Fortran_REAL_K8_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:,:,:,:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R = R1*R2*R3*R4 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d4_Double_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4) - - END SUBROUTINE SZ_Compress_d4_Fortran_REAL_K8_ARGS_Rev - - SUBROUTINE SZ_Compress_d5_Fortran_REAL_K8_Rev(VAR, ReValue, Bytes, OutSize) - implicit none - REAL(KIND=8), DIMENSION(:,:,:,:,:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R5, R - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - R = R1*R2*R3*R4*R5 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d5_Double_Rev(VAR, ReValue, Bytes, OutSize, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_Compress_d5_Fortran_REAL_K8_Rev - - SUBROUTINE SZ_Compress_d5_Fortran_REAL_K8_ARGS_Rev(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - REAL(KIND=8), DIMENSION(:,:,:,:,:) :: VAR - REAL(KIND=8) :: ReValue - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: OutSize, R1, R2, R3, R4, R5, R - REAL(kind=8) :: AbsErrBound, RelBoundRatio - INTEGER(kind=1), DIMENSION(:), allocatable :: Bytes - - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - R = R1*R2*R3*R4*R5 - allocate(Bytes(8*R)) !allocate the largest possible memory - - CALL SZ_Compress_d5_Double_Rev_Args(VAR, ReValue, Bytes, OutSize, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_Compress_d5_Fortran_REAL_K8_ARGS_Rev - -!Decompress functions - - SUBROUTINE SZ_Decompress_d1_Fortran_REAL_K4(Bytes, VAR, R1) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=4), DIMENSION(:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1)) - - CALL SZ_Decompress_d1_Float(Bytes, BLength, VAR, R1) - END SUBROUTINE SZ_Decompress_d1_Fortran_REAL_K4 - - SUBROUTINE SZ_Decompress_d2_Fortran_REAL_K4(Bytes, VAR, R1, R2) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=4), DIMENSION(:,:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, R2, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1,R2)) - - CALL SZ_Decompress_d2_Float(Bytes, BLength, VAR, R1, R2) - END SUBROUTINE SZ_Decompress_d2_Fortran_REAL_K4 - - SUBROUTINE SZ_Decompress_d3_Fortran_REAL_K4(Bytes, VAR, R1, R2, R3) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=4), DIMENSION(:,:,:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1,R2,R3)) - - CALL SZ_Decompress_d3_Float(Bytes, BLength, VAR, R1, R2, R3) - END SUBROUTINE SZ_Decompress_d3_Fortran_REAL_K4 - - SUBROUTINE SZ_Decompress_d4_Fortran_REAL_K4(Bytes, VAR, R1, R2, R3, R4) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=4), DIMENSION(:,:,:,:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, R4, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1,R2,R3,R4)) - - CALL SZ_Decompress_d4_Float(Bytes, BLength, VAR, R1, R2, R3, R4) - END SUBROUTINE SZ_Decompress_d4_Fortran_REAL_K4 - - SUBROUTINE SZ_Decompress_d5_Fortran_REAL_K4(Bytes, VAR, R1, R2, R3, R4, R5) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=4), DIMENSION(:,:,:,:,:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, R4, R5, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1,R2,R3,R4,R5)) - - CALL SZ_Decompress_d5_Float(Bytes, BLength, VAR, R1, R2, R3, R4, R5) - END SUBROUTINE SZ_Decompress_d5_Fortran_REAL_K4 - - SUBROUTINE SZ_Decompress_d1_Fortran_REAL_K8(Bytes, VAR, R1) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=8), DIMENSION(:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1)) - - CALL SZ_Decompress_d1_Double(Bytes, BLength, VAR, R1) - END SUBROUTINE SZ_Decompress_d1_Fortran_REAL_K8 - - SUBROUTINE SZ_Decompress_d2_Fortran_REAL_K8(Bytes, VAR, R1, R2) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=8), DIMENSION(:,:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, R2, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1,R2)) - - CALL SZ_Decompress_d2_Double(Bytes, BLength, VAR, R1, R2) - END SUBROUTINE SZ_Decompress_d2_Fortran_REAL_K8 - - SUBROUTINE SZ_Decompress_d3_Fortran_REAL_K8(Bytes, VAR, R1, R2, R3) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=8), DIMENSION(:,:,:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1,R2,R3)) - - CALL SZ_Decompress_d3_Double(Bytes, BLength, VAR, R1, R2, R3) - END SUBROUTINE SZ_Decompress_d3_Fortran_REAL_K8 - - SUBROUTINE SZ_Decompress_d4_Fortran_REAL_K8(Bytes, VAR, R1, R2, R3, R4) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=8), DIMENSION(:,:,:,:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, R4, BLength - BLength = SIZE(Bytes) - allocate(VAR(R1,R2,R3,R4)) - - CALL SZ_Decompress_d4_Double(Bytes, BLength, VAR, R1, R2, R3, R4) - END SUBROUTINE SZ_Decompress_d4_Fortran_REAL_K8 - - SUBROUTINE SZ_Decompress_d5_Fortran_REAL_K8(Bytes, VAR, R1, R2, R3, R4, R5) - implicit none - INTEGER(kind=1), DIMENSION(:) :: Bytes - REAL(KIND=8), DIMENSION(:,:,:,:,:), allocatable :: VAR - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, R4, R5, BLength - BLength = SIZE(Bytes, 1) - allocate(VAR(R1,R2,R3,R4,R5)) - - CALL SZ_Decompress_d5_Double(Bytes, BLength, VAR, R1, R2, R3, R4, R5) - END SUBROUTINE SZ_Decompress_d5_Fortran_REAL_K8 - -!--------batch add float - - SUBROUTINE SZ_BatchAddVar_d1_Fortran_REAL_K4(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=4), DIMENSION(:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1 - REAL(kind=4) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - - CALL SZ_batchAddVar_d1_Float(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1) - END SUBROUTINE SZ_BatchAddVar_d1_Fortran_REAL_K4 - - SUBROUTINE SZ_BatchAddVar_d2_Fortran_REAL_K4(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=4), DIMENSION(:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1, R2 - REAL(kind=4) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - CALL SZ_batchAddVar_d2_Float(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2) - END SUBROUTINE SZ_BatchAddVar_d2_Fortran_REAL_K4 - - SUBROUTINE SZ_BatchAddVar_d3_Fortran_REAL_K4(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=4), DIMENSION(:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1, R2, R3 - REAL(kind=4) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - - CALL SZ_batchAddVar_d3_Float(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3) - END SUBROUTINE SZ_BatchAddVar_d3_Fortran_REAL_K4 - - SUBROUTINE SZ_BatchAddVar_d4_Fortran_REAL_K4(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=4), DIMENSION(:,:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, R4 - REAL(kind=4) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - - CALL SZ_batchAddVar_d4_Float(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4) - END SUBROUTINE SZ_BatchAddVar_d4_Fortran_REAL_K4 - - SUBROUTINE SZ_BatchAddVar_d5_Fortran_REAL_K4(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=4), DIMENSION(:,:,:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, R4, R5 - REAL(kind=4) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - - CALL SZ_batchAddVar_d5_Float(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, & - R3, R4, R5) - END SUBROUTINE SZ_BatchAddVar_d5_Fortran_REAL_K4 - -!------batch add double - SUBROUTINE SZ_BatchAddVar_d1_Fortran_REAL_K8(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=8), DIMENSION(:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1 - REAL(kind=8) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - - CALL SZ_batchAddVar_d1_Double(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1) - END SUBROUTINE SZ_BatchAddVar_d1_Fortran_REAL_K8 - - SUBROUTINE SZ_BatchAddVar_d2_Fortran_REAL_K8(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=8), DIMENSION(:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1, R2 - REAL(kind=8) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - - CALL SZ_batchAddVar_d2_Double(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2) - END SUBROUTINE SZ_BatchAddVar_d2_Fortran_REAL_K8 - - SUBROUTINE SZ_BatchAddVar_d3_Fortran_REAL_K8(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=8), DIMENSION(:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1, R2, R3 - REAL(kind=8) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - - CALL SZ_batchAddVar_d3_Double(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3) - END SUBROUTINE SZ_BatchAddVar_d3_Fortran_REAL_K8 - - SUBROUTINE SZ_BatchAddVar_d4_Fortran_REAL_K8(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=8), DIMENSION(:,:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, R4 - REAL(kind=8) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - - CALL SZ_batchAddVar_d4_Double(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, R1, R2, R3, R4) - END SUBROUTINE SZ_BatchAddVar_d4_Fortran_REAL_K8 - - SUBROUTINE SZ_BatchAddVar_d5_Fortran_REAL_K8(varID, varName, VAR, ErrBoundMode, AbsErrBound, RelBoundRatio) - implicit none - INTEGER(kind=4) :: varID - CHARACTER(len=*) :: varName - REAL(KIND=8), DIMENSION(:,:,:,:,:) :: VAR - INTEGER(kind=4) :: ErrBoundMode - INTEGER(kind=C_SIZE_T) :: R1, R2, R3, R4, R5 - REAL(kind=8) :: AbsErrBound, RelBoundRatio - R1 = SIZE(VAR,1) - R2 = SIZE(VAR,2) - R3 = SIZE(VAR,3) - R4 = SIZE(VAR,4) - R5 = SIZE(VAR,5) - - CALL SZ_batchAddVar_d5_Double(varID, varName, len(trim(varName)), VAR, ErrBoundMode, AbsErrBound, RelBoundRatio, & - R1, R2, R3, R4, R5) - END SUBROUTINE SZ_BatchAddVar_d5_Fortran_REAL_K8 - - SUBROUTINE SZ_GetVarDim(varName, DIMEN, R1, R2, R3, R4, R5) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - INTEGER(kind=4), INTENT(OUT) :: DIMEN - INTEGER(kind=C_SIZE_T), INTENT(OUT) :: R1, R2, R3, R4, R5 - - CALL SZ_GetVarDim_c(varName, len(trim(varName)), DIMEN, R1, R2, R3, R4, R5) - - END SUBROUTINE SZ_GetVarDim - - SUBROUTINE SZ_GetVarData_d1_Fortran_REAL_K4(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=4), DIMENSION(:), allocatable :: VAR - - CALL SZ_getVarData_Float(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d1_Fortran_REAL_K4 - - SUBROUTINE SZ_GetVarData_d2_Fortran_REAL_K4(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=4), DIMENSION(:,:), allocatable :: VAR - - CALL SZ_getVarData_Float(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d2_Fortran_REAL_K4 - - SUBROUTINE SZ_GetVarData_d3_Fortran_REAL_K4(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=4), DIMENSION(:,:,:), allocatable :: VAR - - CALL SZ_getVarData_Float(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d3_Fortran_REAL_K4 - - SUBROUTINE SZ_GetVarData_d4_Fortran_REAL_K4(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=4), DIMENSION(:,:,:,:), allocatable :: VAR - - CALL SZ_getVarData_Float(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d4_Fortran_REAL_K4 - - SUBROUTINE SZ_GetVarData_d5_Fortran_REAL_K4(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=4), DIMENSION(:,:,:,:,:), allocatable :: VAR - - CALL SZ_getVarData_Float(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d5_Fortran_REAL_K4 - - SUBROUTINE SZ_GetVarData_d1_Fortran_REAL_K8(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=8), DIMENSION(:), allocatable :: VAR - - CALL SZ_getVarData_Double(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d1_Fortran_REAL_K8 - - SUBROUTINE SZ_GetVarData_d2_Fortran_REAL_K8(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=8), DIMENSION(:,:), allocatable :: VAR - - CALL SZ_getVarData_Double(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d2_Fortran_REAL_K8 - - SUBROUTINE SZ_GetVarData_d3_Fortran_REAL_K8(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=8), DIMENSION(:,:,:), allocatable :: VAR - - CALL SZ_getVarData_Double(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d3_Fortran_REAL_K8 - - SUBROUTINE SZ_GetVarData_d4_Fortran_REAL_K8(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=8), DIMENSION(:,:,:,:), allocatable :: VAR - - CALL SZ_getVarData_Double(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d4_Fortran_REAL_K8 - - SUBROUTINE SZ_GetVarData_d5_Fortran_REAL_K8(varName, VAR) - implicit none - CHARACTER(len=*), INTENT(IN) :: varName - REAL(KIND=8), DIMENSION(:,:,:,:,:), allocatable :: VAR - - CALL SZ_getVarData_Double(varName, len(trim(varName)), VAR) - - END SUBROUTINE SZ_GetVarData_d5_Fortran_REAL_K8 - -END MODULE SZ diff --git a/deps/SZ/sz/src/sz_stats.c b/deps/SZ/sz/src/sz_stats.c deleted file mode 100644 index dbd91c04ec..0000000000 --- a/deps/SZ/sz/src/sz_stats.c +++ /dev/null @@ -1,60 +0,0 @@ -#include - -sz_stats sz_stat; - -void writeBlockInfo(int use_mean, size_t blockSize, size_t regressionBlocks, size_t totalBlocks) -{ - sz_stat.use_mean = use_mean; - sz_stat.blockSize = blockSize; - sz_stat.lorenzoBlocks = totalBlocks - regressionBlocks; - sz_stat.regressionBlocks = regressionBlocks; - sz_stat.totalBlocks = totalBlocks; - sz_stat.lorenzoPercent = 1.0f*sz_stat.lorenzoBlocks/(float)totalBlocks; - sz_stat.regressionPercent = 1.0f*regressionBlocks/(float)totalBlocks; -} - -void writeHuffmanInfo(size_t huffmanTreeSize, size_t huffmanCodingSize, size_t totalDataSize, int huffmanNodeCount) -{ - sz_stat.huffmanTreeSize = huffmanTreeSize; - sz_stat.huffmanCodingSize = huffmanCodingSize; - sz_stat.huffmanCompressionRatio = 1.0f*totalDataSize/(huffmanTreeSize+huffmanCodingSize); - sz_stat.huffmanNodeCount = huffmanNodeCount; -} - -void writeZstdCompressionRatio(float zstdCompressionRatio) -{ - sz_stat.zstdCompressionRatio = zstdCompressionRatio; -} - - -void writeUnpredictDataCounts(size_t unpredictCount, size_t totalNumElements) -{ - sz_stat.unpredictCount = unpredictCount; - sz_stat.unpredictPercent = 1.0f*unpredictCount/totalNumElements; -} - -void printSZStats() -{ - printf("===============stats about sz================\n"); - if(sz_stat.use_mean) - printf("use_mean: YES\n"); - else - printf("use_mean: NO\n"); - - printf("blockSize %zu\n", sz_stat.blockSize); - printf("lorenzoPercent %f\n", sz_stat.lorenzoPercent); - printf("regressionPercent %f\n", sz_stat.regressionPercent); - printf("lorenzoBlocks %zu\n", sz_stat.lorenzoBlocks); - printf("regressionBlocks %zu\n", sz_stat.regressionBlocks); - printf("totalBlocks %zu\n", sz_stat.totalBlocks); - - printf("huffmanTreeSize %zu\n", sz_stat.huffmanTreeSize); - printf("huffmanCodingSize %zu\n", sz_stat.huffmanCodingSize); - printf("huffmanCompressionRatio %f\n", sz_stat.huffmanCompressionRatio); - printf("huffmanNodeCount %d\n", sz_stat.huffmanNodeCount); - - //printf("zstdCompressionRatio %f\n", sz_stat.zstdCompressionRatio); - - printf("unpredictCount %zu\n", sz_stat.unpredictCount); - printf("unpredictPercent %f\n", sz_stat.unpredictPercent); -} -- GitLab