Skip to content

Commit

Permalink
tools update
Browse files Browse the repository at this point in the history
  • Loading branch information
ayzk committed Dec 7, 2024
1 parent f1c21b6 commit d3e8732
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/H5Z-SZ3/src/H5Z_SZ3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tools/H5Z-SZ3/test/h5repack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
h5repack-shared -f $repackArgs $inputFile $outputFile
2 changes: 1 addition & 1 deletion tools/H5Z-SZ3/test/print_h5repack_args.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down

0 comments on commit d3e8732

Please sign in to comment.