-
Notifications
You must be signed in to change notification settings - Fork 97
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
configure fails when default HDF5 plugin dir is used #403
Comments
I think, in the past, we eventually decided not to automatically rely on The above behavior was added at the last minute to prevent breaking existing workflows, while providing enough information for the savvy user who wants to make use of zstd support to define HDF5_PLUGIN_PATH using the version of This does feels clunky (as I think you've identified, here), and I'm open to refining it. |
Sorry but I don't understand the proposed solution. I have tried installing hdf5plugin hoping that it might create a specific directory and define HDF5_PLUGIN_PATH but it hasn't fixed the issue. I have 2 questions: (1) How would you use nc-config to overcome this error as suggested by @WardF? (2) I don't know much about zstd other than it is lossless and yields a good compression ratio, but is it really beneficial while working with netCDF? Thanks. |
I have the `configure: WARNING: ------------------------------------------ configure: WARNING: You can use And
|
Depending on your version of netcdf, you can invoke |
|
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:
The plugindir is indeed set to the default HDF5 value:
Maybe netcdf-fortran configure should use nc-config to find the value of the plugindir?
The text was updated successfully, but these errors were encountered: