Thanks to visit codestin.com
Credit goes to github.com

Skip to content

h5repack doesn't work when I use zfp filter for HDF5/1.14.3 installed by spack on Linux #148

@halehawk

Description

@halehawk

Recently, I asked our system admin to install HDF5/1.14.3 by spack, zfp, and H5Z-ZFP manually on our supercomputer. But when I tried h5repack to compress the mesh.h5 in the H5Z-ZFP test. I got errors on all variables in the h5 file as follows:
Before I used h5repack, I export HDF5_PLUGIN_PATH correctly. After I got the errors, I checked that all the libraries were correctly linked. There are more details in the attached log file.
Also if I used the different set of HDF5 from one of my conda environment, but used the same HDF5_PLUGIN_PATH, I can run the h5repack successfully.
Could you please help me to solve the issue? Thanks!

h5repack -i mesh.h5 -o mesh_zfp.h5 -f UD=32013,0,4,1,0,0,1074921472 -v

No all objects to modify layout
All objects to apply filter are...
User Defined 32013
Making new file ...

Type Filter (Compression) Name

group /
HDF5-DIAG: Error detected in HDF5 (1.14.3) thread 0:
#000: /glade/derecho/scratch/csgteam/temp/spack/derecho/23.09/builds/spack-stage-hdf5-1.14.3-ten6adliyyajyc2vyv6vu7xg254bnhls/spack-src/src/H5T.c line 2052 in H5Tget_class(): not a datatype
major: Invalid arguments to routine
minor: Inappropriate type
warning: could not create dataset . Applying original settings
dset /DxDy
HDF5-DIAG: Error detected in HDF5 (1.14.3) thread 0:
#000: /glade/derecho/scratch/csgteam/temp/spack/derecho/23.09/builds/spack-stage-hdf5-1.14.3-ten6adliyyajyc2vyv6vu7xg254bnhls/spack-src/src/H5T.c line 2052 in H5Tget_class(): not a datatype
major: Invalid arguments to routine
minor: Inappropriate type
warning: could not create dataset . Applying original settings
dset /DxDyDz
h5repack-error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions