IF(METIS_FOUND AND METIS_MAJOR GREATER 4)
SET(${var} TRUE)
ELSE()
- MESSAGE(STATUS
+ MESSAGE(WARNING
"Could not find a sufficient modern metis installation: "
"Version 5.x required!"
)
# We support petsc from version 3.x.x onwards
#
IF(PETSC_VERSION_MAJOR LESS 3)
- MESSAGE(WARNING
+ MESSAGE(WARNING "\n"
"Could not find a sufficient modern petsc installation: "
- "Version >=3.0.0 required!"
+ "Version >=3.0.0 required!\n\n"
)
SET(${var} FALSE)
ENDIF()
IF( (PETSC_WITH_MPIUNI AND DEAL_II_COMPILER_SUPPORTS_MPI)
OR
(NOT PETSC_WITH_MPIUNI AND NOT DEAL_II_COMPILER_SUPPORTS_MPI))
- MESSAGE(WARNING
+ MESSAGE(WARNING "\n"
"Could not find a sufficient petsc installation: "
- "Petsc has to be configured with the same MPI configuration as deal.II."
+ "Petsc has to be configured with the same MPI configuration as deal.II.\n\n"
)
SET(${var} FALSE)
ENDIF()
MARK_AS_ADVANCED(
PETSC_LIBRARIES
PETSC_INCLUDE_DIRS
+ PETSC_DIR
+ PETSC_ARCH
)
+ELSE()
+ SET(PETSC_DIR "" CACHE STRING
+ "An optional hint to a PETSc directory"
+ )
+ SET(PETSC_ARCH "" CACHE STRING
+ "An optional hint to a PETSc arch"
+ )
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