]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: require MPI 3.0 13461/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 28 Feb 2022 11:03:29 +0000 (05:03 -0600)
committerMatthias Maier <tamiko@43-1.org>
Mon, 28 Feb 2022 11:03:29 +0000 (05:03 -0600)
cmake/configure/configure_1_mpi.cmake

index 07f1897fc82de2495d0b8e32a25a96a47f78f11a..4f1d6aad89eb2f7354d40585526981d6ef7d5958 100644 (file)
@@ -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()
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.