Skip to content

filter plugin path with nccopy #3048

@allibco

Description

@allibco

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.

echo $HDF5_PLUGIN_PATH
/glade/work/abaker/compress-libs/zfp_plugin/plugin

But when I use the nccopy command with the zfp filter it can't find
it:

nccopy -F TS,32013,3,0,1202590843,1065646817 TS.nc TS_zfp_a1e-2.nc
NetCDF: Filter error: undefined filter encountered
Location: file nccopy.c; fcn copy_var_specials line 1175

And when I check nc-config for the plugin dir:

nc-config --plugindir
/glade/u/apps/casper/23.10/spack/opt/spack/netcdf/4.9.2/packages/netcdf-c/4.9.2/gcc/12.2.0/obej/plugins

But I can't copy my plugin to the system directory, so how can I
specify nccopy to use the $HDF5_PLUGIN_PATH?

Thanks!

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