Skip to content
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

ncf-c version error #426

Open
VictorEijkhout opened this issue Dec 10, 2023 · 2 comments
Open

ncf-c version error #426

VictorEijkhout opened this issue Dec 10, 2023 · 2 comments

Comments

@VictorEijkhout
Copy link

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.

@jshn9515
Copy link

Probably you can look at this issue: #299

@scotty110
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants