]> https://gitweb.dealii.org/ - dealii.git/commitdiff
suppress use of ROL for older versions of Trilinos
authorvishalkenchan <vishal.boddu@fau.de>
Tue, 14 Nov 2017 16:35:14 +0000 (17:35 +0100)
committervishalkenchan <vishal.boddu@fau.de>
Tue, 14 Nov 2017 16:36:12 +0000 (17:36 +0100)
cmake/configure/configure_2_trilinos.cmake

index cf2e44eb950584ea9495e82d2bc7b5a676386c10..f218fb35404c823d198b6d44bc3c8d6e5487d53e 100644 (file)
@@ -66,6 +66,15 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
       ENDIF()
     ENDFOREACH()
 
+    IF(${DEAL_II_TRILINOS_WITH_ROL})
+      IF(TRILINOS_VERSION VERSION_LESS 12.6.1)
+        MESSAGE(STATUS "ROL interface is disabled."
+          "deal.II will not support ROL interface if Trilinos version is less "
+          "than 12.6.1. Trilinos version found: \"${TRILINOS_VERSION}\".")
+          SET(DEAL_II_TRILINOS_WITH_ROL OFF)
+      ENDIF()
+    ENDIF()
+
     IF((TRILINOS_VERSION_MAJOR EQUAL 11 AND
         NOT (TRILINOS_VERSION_MINOR LESS 14))
        OR

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.