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

add dependency of relax_coord_bound set in netcdf-c #90

Merged
merged 4 commits into from
Jul 30, 2018

Conversation

wkliao
Copy link
Contributor

@wkliao wkliao commented Jul 17, 2018

This PR checks the setting of option relax_coord_bound in netcdf-c build (netcdf_meta.h) and adjust the testing program nf_test. This fix relies on netcdf-c #1064. It should resolve #86.

The PR also fixes check for whether netcdf-c is built with parallel I/O enabled from netcdf_meta.h.

@wkliao
Copy link
Contributor Author

wkliao commented Jul 26, 2018

The changes in CMakeLists.txt removes the use of netCDF_LIBRARIES and netCDF_INCLUDE_DIR. It now relies on CMAKE_PREFIX_PATH, a generic cmake variable for searching header and library files. Below is the cmake command I used.

cmake ../netcdf-fortran \
    -DCMAKE_PREFIX_PATH="$NETCDF_DIR;$HDF5_DIR;$PNETCDF_DIR" \
    -DNC_EXTRA_DEPS="-lhdf5_hl -lhdf5 -lpnetcdf -lz -lcurl -ldl -lm"

@WardF WardF merged commit 98c9b3e into Unidata:master Jul 30, 2018
@wkliao wkliao deleted the relax_coord_bound branch April 17, 2022 00:14
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

Successfully merging this pull request may close these issues.

netcdf-fortran test fails when using parallel-netcdf-1.10.0
2 participants