Open VictorEijkhout opened 3 months ago
You should be able to pass -DENABLE_PLUGINS=OFF
to turn this off.
That option applied to? 1. hdf5 2. netcdf-c 3. netcdf-cxx?
Actually, that error was caused by:
CMake Error at CMakeLists.txt:405 (CHECK_LIBRARY_EXISTS):
CHECK_LIBRARY_EXISTS Macro invoked with incorrect arguments for macro
named: CHECK_LIBRARY_EXISTS
which comes from:
CHECK_LIBRARY_EXISTS(${HDF5_C_LIBRARY_hdf5} H5free_memory "" HAVE_H5FREE_MEMORY)
so apparently that variable is null. Ok, that's a bizarre looking variable, so I define it by hand:
-D HDF5_C_LIBRARY_hdf5=${TACC_HDF5_LIB}/libhdf5.so
Why do I have to do this? hdf5 has both .pc
and .cmake
files but this does not look like a normal naming convention.
Now all that remains is finding the hdf5 include files.
And the solution seems to be:
-D netCDF_INCLUDE_DIR='${TACC_NETCDF_INC};${TACC_HDF5_INC}'
I'm not requesting plugin compression support:
What option for netcdf-c do I need?
Victor.