Open
Description
When netcdf-c is built with --with-plugin-dir (but no value provided) it defaults to using the HDF5 default directory.
But the netcdf-fortran configure does not see this. When I run:
FC=mpifort FCFLAGS=-I/usr/local/netcdf-c-4.9.2_hdf5-1.14.1_mpich/include CPPFLAGS=-I/usr/local/netcdf-c-4.9.2_hdf5-1.14.1_mpich/include LDFLAGS=-L/usr/local/netcdf-c-4.9.2_hdf5-1.14.1_mpich/lib ./configure --prefix=/usr/local/netcdf-fortran-4.6.1_mpich --enable-parallel-tests
I get the message:
configure: WARNING: libnetcdf was built with zstd support, but HDF5_PLUGIN_PATH is not set, so zstd support is not enabled in libnetcdff. Set HDF5_PLUGIN_PATH and re-run configure if you want to enable zstd support.
configure: WARNING: You can use `nc-config --plugindir` to determine the appropriate value for HDF5_PLUGIN_PATH
configure: WARNING: ------------------------------------------
configure: WARNING:
The plugindir is indeed set to the default HDF5 value:
ed@mikado:~/Downloads/netcdf-fortran-4.6.1$ /usr/local/netcdf-c-4.9.2_hdf5-1.14.1_mpich/bin/nc-config --plugindir
/usr/local/hdf5/lib/plugin
Maybe netcdf-fortran configure should use nc-config to find the value of the plugindir?
Metadata
Metadata
Assignees
Labels
No labels