Quantcast

h5dump et.c. finds LZF plugin but not HDFView (Java)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

h5dump et.c. finds LZF plugin but not HDFView (Java)

Elvis Stansvik
Hi Elena (and everyone),

I think I've ran into this problem:

    https://www.mail-archive.com/hdf-forum@.../msg02173.html

Was the reason even found?

I compile the LZF plugin from the h5py project as described in their README.txt, and it works fine with standard HDF5 tools (h5dump et.c.), but not when I use hdfview :/

Thanks in advance,
Elvis

_______________________________________________
Hdf-forum is for HDF software users discussion.
[hidden email]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: h5dump et.c. finds LZF plugin but not HDFView (Java)

Elvis Stansvik
2016-08-15 15:06 GMT+02:00 Elvis Stansvik <[hidden email]>:
Hi Elena (and everyone),

I think I've ran into this problem:

    https://www.mail-archive.com/hdf-forum@.../msg02173.html

Was the reason even found?

I compile the LZF plugin from the h5py project as described in their README.txt, and it works fine with standard HDF5 tools (h5dump et.c.), but not when I use hdfview :/

Some more details: This is on Ubuntu 16.04 with HDF 1.8.16 from distro packages. The hdfview is also from distro packages.

I build and install the LZF plugin to /usr/local/hdf5/lib/plugin using this Makefile I wrote:

all: liblzf_filter.so

liblzf_filter.so: lzf/lzf/lzf_c.c lzf/lzf/lzf_d.c lzf/lzf_filter.c
    gcc -O2 $^ -fPIC -shared `pkg-config --cflags hdf5` -o $@

install:
    mkdir -p $(DESTDIR)/usr/local/hdf5/lib/plugin
    cp liblzf_filter.so $(DESTDIR)/usr/local/hdf5/lib/plugin

clean:
    -rm -rf liblzf_filter.so

The lzf subdirectory is taken from h5py-2.6.0.

Elvis


Thanks in advance,
Elvis


_______________________________________________
Hdf-forum is for HDF software users discussion.
[hidden email]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: h5dump et.c. finds LZF plugin but not HDFView (Java)

Elvis Stansvik
In reply to this post by Elvis Stansvik
2016-08-15 15:06 GMT+02:00 Elvis Stansvik <[hidden email]>:
Hi Elena (and everyone),

I think I've ran into this problem:

    https://www.mail-archive.com/hdf-forum@.../msg02173.html

Was the reason even found?

Sorry, I totally missed your answer at:

    https://www.mail-archive.com/hdf-forum@.../msg02198.html

So disregard this question. Sorry for the noise.

Elvis


I compile the LZF plugin from the h5py project as described in their README.txt, and it works fine with standard HDF5 tools (h5dump et.c.), but not when I use hdfview :/

Thanks in advance,
Elvis


_______________________________________________
Hdf-forum is for HDF software users discussion.
[hidden email]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5
Loading...