ncf-c version error
VictorEijkhout opened this issue · comments
Victor Eijkhout commented
The message netcdf-c version 4.7.4 or greater is required
appears while I have version 4.9.2 loaded.
This message actually seems to come from
CHECK_LIBRARY_EXISTS(${NETCDF_C_LIBRARY} nc_def_var_szip "" HAVE_DEF_VAR_SZIP)
if (NOT HAVE_DEF_VAR_SZIP)
message(FATAL_ERROR "netcdf-c version 4.7.4 or greater is required")
endif()
which I interpret as szip not having been installed, which actually means that hdf5 is not installed with szip.
If my interpretation is correct, this error message could be substantially improved. If my interpretation is not correct, please explain.
scotty110 commented
Were you able to solve this issue building hdf5 with SZIP support? I am getting the same error, and the linked issue did not solve my problems.