-
Notifications
You must be signed in to change notification settings - Fork 16
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 check for NC4 chunking consts #536
Conversation
Not all versions of NetCDF library with NetCDF4 support define the NetCDF4 chunking constants. So adding a configure check (and appropriate warning messages) for these constants.
@jayeshkrishna |
Are you suppressing warnings by any chance (-Wno-dev or something similar)? |
-Wno-dev is added by CIME in Tools/Makefile:
|
Even without the "-Wno-dev" flag, the CMake configuration output is different on GCE and Chrysalis. GCE:
Chrysalis
That is, the expected messages "Checking Whether the NetCDF4 chunking constants ..." are not shown on Chrysalis. |
The current configure checks only enable NetCDF4 if NetCDF4 parallel I/O is available. Since chrysalis does not support parallel I/O for NetCDF (netcdf_par.h is missing in the Fortran include dir) the chunking const check is not run too. This check (for checking NetCDF parallel I/O support) needs to be fixed in future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR does not need to change for now.
Adding a configure check (and appropriate warning messages) for NetCDF4
chunking constants.
Fixes #523