-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter plugin path with nccopy #3048
Comments
I'm guessing that you are using netCDF 4.9.2. I'm reviewing a PR, #3034 and I wonder if you might be able to either test using the his branch, or possibly even with netCDF-C 4.9.3-rc1. @DennisHeimbigner, does any other solution for v4.9.2 leap out at you? |
Lets start with some information. Can you do this command and send be the output as text?
Second, you should have files called something like H5Zzfp.c and (maybe) H5Zzfp.h. |
netcdf TS { // global attributes: |
I'll email the other files. Thanks for your help. |
Look into your HDF5_PLUGIN_PATH directory (i.e. /glade/work/abaker/compress-libs/zfp_plugin/plugin). |
abaker@casper-login2:~> cd $HDF5_PLUGIN_PATH |
Ok, it appears you are using the wrong value for HDF5_PLUGIN_PATH.
|
abaker@casper-login2:/glade/work/abaker/compress-libs/zfp_plugin/plugin> ls -a |
The naming is wrong: there should be a file named 'lib__nch5zfp.so' in the Can you tell where the 'libh5zzfp.so' is coming from? |
Thanks for you help. I just followed the cmake instructions on https://h5z-zfp.readthedocs.io/en/latest/installation.html, which indicates that it will install the following: $(PREFIX)/include/{H5Zzfp.h,H5Zzfp_plugin.h,H5Zzfp_props.h,H5Zzfp_lib.h} which is what I have. The documentation also says: "To use the installed filter as an HDF5 plugin, you would specify, for example, setenv HDF5_PLUGIN_PATH $(PREFIX)/plugin" Here is what I did: (These below are already set: cd build The only modification I made was to add the link for the math libraries in CMakeLIsts.txt: Do you want my CMakeCache.txt in my build directory? (If you have access to glade, my files are readable). |
Can you send me the file "H5Zzfp_props_private.h"`; I am trying to build. |
I sent H5Zzfp_props.h and H5Zzfp_props_private.h |
have a question about getting netcdf to find my filter plugin.
I am trying to use a self-installed hdf5 plugin with hdf5 and netcdf
installed on the NCAR system (casper).
For example, for zfp, I installed H5Z-ZFP-1.1.1( with the HDF5_ROOT set to a system-installed
hdf5 (1.12.2). I then sent HDF5_PLUGIN_PATH to the location of the
zfp plugin that I installed myself.
But when I use the nccopy command with the zfp filter it can't find
it:
And when I check nc-config for the plugin dir:
But I can't copy my plugin to the system directory, so how can I
specify nccopy to use the $HDF5_PLUGIN_PATH?
Thanks!
The text was updated successfully, but these errors were encountered: