]> https://gitweb.dealii.org/ - dealii.git/commitdiff
some more info about SLEPc-PETSc misaligned versions 15064/head
authorStefano Zampini <stefano.zampini@gmail.com>
Sat, 8 Apr 2023 11:35:46 +0000 (14:35 +0300)
committerStefano Zampini <stefano.zampini@gmail.com>
Mon, 10 Apr 2023 13:56:13 +0000 (16:56 +0300)
cmake/configure/configure_50_slepc.cmake

index 3dc135565a7a4706bc28973c2b637ae987ecc556..44fa72de70d85b31b880eb49f4d5c6d6c3075140 100644 (file)
@@ -35,9 +35,13 @@ macro(feature_slepc_find_external var)
        ("${SLEPC_VERSION_MINOR}" STREQUAL "${PETSC_VERSION_MINOR}"))
       set(${var} TRUE)
     else()
-
+      set(SLEPC_VERSION_STR "${SLEPC_VERSION_MAJOR}.${SLEPC_VERSION_MINOR}")
+      set(PETSC_VERSION_STR "${PETSC_VERSION_MAJOR}.${PETSC_VERSION_MINOR}")
       message(STATUS "Could not find a sufficient SLEPc installation: "
-        "The SLEPc library must have the same version as the PETSc library."
+        "The SLEPc library "
+        ${SLEPC_VERSION_STR}
+        " must have the same version as the PETSc library "
+        ${PETSC_VERSION_STR}
         )
       set(SLEPC_ADDITIONAL_ERROR_STRING
         "Could not find a sufficient SLEPc installation: "

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.