From d3e8732fd88c6bdeacb12120933bafd6ee553ed5 Mon Sep 17 00:00:00 2001 From: Kai Zhao Date: Sat, 7 Dec 2024 16:08:53 -0500 Subject: [PATCH] tools update --- tools/H5Z-SZ3/src/H5Z_SZ3.cpp | 4 ++-- tools/H5Z-SZ3/test/h5repack.sh | 2 +- tools/H5Z-SZ3/test/print_h5repack_args.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/H5Z-SZ3/src/H5Z_SZ3.cpp b/tools/H5Z-SZ3/src/H5Z_SZ3.cpp index 35a11b93..a4e68a1a 100644 --- a/tools/H5Z-SZ3/src/H5Z_SZ3.cpp +++ b/tools/H5Z-SZ3/src/H5Z_SZ3.cpp @@ -72,7 +72,7 @@ herr_t get_SZ3_conf_from_H5(const hid_t propertyList, SZ3::Config &conf) { } static herr_t H5Z_sz3_set_local(hid_t dcpl_id, hid_t type_id, hid_t chunk_space_id) { - printf("start H5Z_sz3_set_local\n"); + // printf("start H5Z_sz3_set_local\n"); // printf("start in H5Z_sz3_set_local, dcpl_id = %d\n", dcpl_id); static char const *_funcname_ = "H5Z_sz3_set_local"; @@ -172,7 +172,7 @@ void process_data(SZ3::Config &conf, void **buf, size_t *buf_size, size_t nbytes */ static size_t H5Z_filter_sz3(unsigned int flags, size_t cd_nelmts, const unsigned int cd_values[], size_t nbytes, size_t *buf_size, void **buf) { - printf("start H5Z_filter_sz3\n"); + // printf("start H5Z_filter_sz3\n"); if (cd_nelmts == 0) // this is special data such as string, which should not be treated as values. return nbytes; diff --git a/tools/H5Z-SZ3/test/h5repack.sh b/tools/H5Z-SZ3/test/h5repack.sh index 24fead4a..18539e8d 100755 --- a/tools/H5Z-SZ3/test/h5repack.sh +++ b/tools/H5Z-SZ3/test/h5repack.sh @@ -16,4 +16,4 @@ repackArgs=$("${script_dir}/print_h5repack_args" -c "$configFile") echo $repackArgs echo "Executing h5repack-shared with the following parameters: $repackArgs $inputFile $outputFile" -h5repack-shared $repackArgs $inputFile $outputFile \ No newline at end of file +h5repack-shared -f $repackArgs $inputFile $outputFile \ No newline at end of file diff --git a/tools/H5Z-SZ3/test/print_h5repack_args.cpp b/tools/H5Z-SZ3/test/print_h5repack_args.cpp index 72088820..3c05c199 100644 --- a/tools/H5Z-SZ3/test/print_h5repack_args.cpp +++ b/tools/H5Z-SZ3/test/print_h5repack_args.cpp @@ -49,7 +49,7 @@ int main(int argc, char *argv[]) { printf("h5repack can only take 20 cd_values, but got %d\n cd_values in SZ3", cd_nelmts); return 0; } - printf("-f UD=32024,0,%d", cd_nelmts); + printf("UD=32024,0,%d", cd_nelmts); for (int i = 0; i < cd_nelmts; i++) { printf(",%u", cd_values[i]); }