(i) disable slepc/ tests with complex PETSc
(ii) require real-valued PETSc for step-36
#
# Are all dependencies fulfilled?
#
-IF(NOT DEAL_II_WITH_PETSC OR NOT DEAL_II_WITH_SLEPC)
+IF(NOT DEAL_II_WITH_PETSC OR NOT DEAL_II_WITH_SLEPC OR DEAL_II_PETSC_WITH_COMPLEX)
MESSAGE(FATAL_ERROR "
Error! The deal.II library found at ${DEAL_II_PATH} was not configured with
DEAL_II_WITH_PETSC = ON
DEAL_II_WITH_SLEPC = ON
+ DEAL_II_PETSC_WITH_COMPLEX = OFF
One or all of these are OFF in your installation but are required for this tutorial step."
)
ENDIF()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)
INCLUDE(../setup_testsubproject.cmake)
PROJECT(testsuite CXX)
-IF(DEAL_II_WITH_PETSC AND DEAL_II_WITH_SLEPC)
+IF(DEAL_II_WITH_PETSC AND DEAL_II_WITH_SLEPC AND NOT DEAL_II_PETSC_WITH_COMPLEX)
DEAL_II_PICKUP_TESTS()
ENDIF()
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