-
Notifications
You must be signed in to change notification settings - Fork 80
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
Explore CMake-config-only for NetCDF and HDF5 #336
Conversation
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request |
This is only meant as a vehicle to communicate with the TriBITS team on TriBITSPub/TriBITS#533 |
This reverts commit 84459b0.
without this, TriBITS will ignore the variable TPL_MPI_INCLUDE_DIRS
This reverts commit 876fc4d.
1. provide the minimum version as the one I'm testing with 2. use HDF5_EXPORTED_LIBRARIES since the set of defined targets is very hard to predict otherwise
TPL_Netcdf_NOT_FOUND still has to be manually set to FALSE for some reason
@bartlettroscoe @ibaned Related to this PR, see the following on the netCDF github -- Unidata/netcdf-c#1733 (comment) |
FYI: This PR is a duplicate of the PR trilinos/Trilinos#11175 to test these changes against Trilinos. Once these PRs are fully tested, I will pull off these commits and apply them to TriBITS proper. (TriBITS itself has no way to test these changes. The TriBITS repo is just a place to store a common implementation of these that our projects can share.) |
@gsjaardema, you can go ahead and merge this if you want. This is what I will bring over to TriBITS proper (see trilinos/Trilinos#11175 (comment)). Or, you can wait until I update TriBITS 'master' and then you can update the SEACAS TriBITS snapshot. It is up to you. |
endif() | ||
if (Netcdf_ALLOW_MODERN) | ||
|
||
set(minimum_modern_HDF5_version 1.13.2) |
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.
@ibaned Is 1.13.2
really the minimum version that can be used for modern
? I thought THG was keeping cmake information current in their 1.12 branches also...
endif() | ||
|
||
if (TPL_ENABLE_MPI) | ||
set(HDF5_PREFER_PARALLEL TRUE) | ||
set(REQUIRED_LIBS_NAMES ${REQUIRED_LIBS_NAMES} z) |
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.
libz
is required for serial builds also. Is there some issue where it isn't specified correctly in the parallel build/config?
No description provided.