From: Matthias Maier Date: Mon, 28 Feb 2022 11:03:29 +0000 (-0600) Subject: CMake: require MPI 3.0 X-Git-Tag: v9.4.0-rc1~433^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8ad684fab0d29b7d05523b39646312815a7bf83;p=dealii.git CMake: require MPI 3.0 --- diff --git a/cmake/configure/configure_1_mpi.cmake b/cmake/configure/configure_1_mpi.cmake index 07f1897fc8..4f1d6aad89 100644 --- a/cmake/configure/configure_1_mpi.cmake +++ b/cmake/configure/configure_1_mpi.cmake @@ -39,6 +39,15 @@ MACRO(FEATURE_MPI_FIND_EXTERNAL var) SET(${var} FALSE) ENDIF() + IF(MPI_VERSION VERSION_LESS "3.0") + MESSAGE(STATUS + "Could not find a sufficient MPI version: " + "Your MPI implementation does not support the MPI 3.0 standard.") + SET(MPI_ADDITIONAL_ERROR_STRING + "Your MPI implementation does not support the MPI 3.0 standard.\n") + SET(${var} FALSE) + ENDIF() + ENDIF() ENDMACRO()