diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2018-07-26 17:50:26 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2018-08-02 14:46:34 (GMT) |
commit | 0623b06b15a6b33d05393f481994ebfb1a22b48c (patch) | |
tree | 227020aa4089575d53b9023b9f55aea19c76eadf /CMakeLists.txt | |
parent | 07c33d0eb86a990b1babf0f9718578fe2755ff5d (diff) | |
download | hdf5-0623b06b15a6b33d05393f481994ebfb1a22b48c.zip hdf5-0623b06b15a6b33d05393f481994ebfb1a22b48c.tar.gz hdf5-0623b06b15a6b33d05393f481994ebfb1a22b48c.tar.bz2 |
Add configure check for MPI_Mprobe and MPI_Imrecv functions
Add line to libhdf5settings file for status of Parallel writes to
filtered datasets status
Surround Parallel Compression code in MPI_VERSION >= 3 checks
Add disabled message for Parallel Compression built w/ MPI-2
Modify Parallel Compression tests to only run the parallel filtered read
tests when parallel filtered writes are disabled
Update big I/O code to handle being built with MPI-2
Add checks to CMakeLists.txt for MPI_Mprobe and MPI_Imrecv
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a6d708..a2cc314 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -559,6 +559,14 @@ if (HDF5_ENABLE_PARALLEL) # Used by Fortran + MPI CHECK_SYMBOL_EXISTS (MPI_Comm_c2f "${MPI_C_INCLUDE_DIRS}/mpi.h" H5_HAVE_MPI_MULTI_LANG_Comm) CHECK_SYMBOL_EXISTS (MPI_Info_c2f "${MPI_C_INCLUDE_DIRS}/mpi.h" H5_HAVE_MPI_MULTI_LANG_Info) + + # Used by Parallel Compression feature + CHECK_FUNCTION_EXISTS (MPI_Mprobe "${MPI_C_INCLUDE_DIRS}/mpi.h" H5_HAVE_MPI_Mprobe) + CHECK_FUNCTION_EXISTS (MPI_Imrecv "${MPI_C_INCLUDE_DIRS}/mpi.h" H5_HAVE_MPI_Imrecv) + if (NOT H5_HAVE_MPI_Mprobe OR NOT H5_HAVE_MPI_Imrecv) + message (WARNING "The MPI_Mprobe and/or MPI_Imrecv functions could not be located. + Parallel writes of filtered data will be disabled.") + endif () else () message (STATUS "Parallel libraries not found") endif () |