mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
Switch to CheckSymbolExists in CMake
This commit is contained in:
parent
e1e10743cf
commit
256fc4754b
@ -561,8 +561,8 @@ if (HDF5_ENABLE_PARALLEL)
|
||||
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)
|
||||
CHECK_SYMBOL_EXISTS (MPI_Mprobe "${MPI_C_INCLUDE_DIRS}/mpi.h" H5_HAVE_MPI_Mprobe)
|
||||
CHECK_SYMBOL_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.")
|
||||
|
Loading…
Reference in New Issue
Block a user