NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Howdy Matt! For zstandard, and other filter features, you must build and use shared libraries. Also you need to build netcdf-c with --with-plugins=/some/path and then set environment variable HDF5_PLUGIN_PATH to /some/path before you build netcdf-fortran (or use any program with the zstandard filter). Ed On Tue, Aug 2, 2022 at 10:57 AM Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] via netcdfgroup <netcdfgroup@xxxxxxxxxxxxxxxx> wrote: > All, > > > > I recently grabbed netCDF-C v4.9.0 and netCDF-Fortran v4.6.0 and thought, > heck, let's try to get zstd support as well! zstd built just fine and when > I built netCDF-C it seemed pretty happy: > > > > ZSTD Support: yes > > > > but then when I tried to build netCDF-Fortran: > > > > configure: WARNING: ------------------------------------------ > > configure: WARNING: libnetcdf was built with zstd support, but > HDF5_PLUGIN_PATH is not set. > > Either set the HDF5_PLUGIN_PATH environmental variable if zstandard > tests fail, > > or use --disable-zstandard-plugin when running configure. > > configure: WARNING: ------------------------------------------ > > > > Okay. New to me. I then went back to the netCDF-C build and saw: > > > > checking whether dynamically loaded plugins is enabled... yes > > configure: WARNING: --disable-shared => --disable-plugins > > ... > > checking whether and where we should install plugins... no > > ... > > Plugin Install Prefix: N.A. > > > > Seeing that warning reminded me I build netCDF-C and netCDF-Fortran as a > static library mainly for historical reasons (was static in the past and, > well, if it works, don't mess with it unless you need to!) > > > > So I suppose the question is: Can I use zstd with a static build of netCDF? > > > > Or is it time to bite the bullet and reconfigure my software to use shared > libraries... > > > > Matt > > > > -- > > Matt Thompson, SSAI, Ld Scientific Programmer/Analyst > > NASA GSFC, Global Modeling and Assimilation Office > > Code 610.1, 8800 Greenbelt Rd, Greenbelt, MD 20771 > > Phone: 301-614-6712 Fax: 301-614-6246 > > *http://science.gsfc.nasa.gov/sed/bio/matthew.thompson > <http://science.gsfc.nasa.gov/sed/bio/matthew.thompson>* > _______________________________________________ > NOTE: All exchanges posted to Unidata maintained email lists are > recorded in the Unidata inquiry tracking system and made publicly > available through the web. Users who post to any of the lists we > maintain are reminded to remove any personal information that they > do not want to be made public. > > > netcdfgroup mailing list > netcdfgroup@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: > https://www.unidata.ucar.edu/mailing_lists/ >
netcdfgroup
archives: