"Check whether the found trilinos package contains all required modules:"
)
-
FOREACH(_module
amesos epetra ifpack aztecoo sacado teuchos
)
ENDFOREACH()
IF(NOT ${var})
+ MESSAGE(STATUS "Could not find a sufficient Trilinos installation: "
+ "Missing ${_modules_missing}"
+ )
SET(TRILINOS_ADDITIONAL_ERROR_STRING
"The Trilinos installation found at\n"
" ${TRILINOS_DIR}\n"
"Please re-install Trilinos with the missing Trilinos subpackages
enabled.\n\n"
)
- MESSAGE(WARNING "\n" ${TRILINOS_ADDITIONAL_ERROR_STRING} "\n")
ENDIF()
#
TRILINOS_VERSION_MINOR EQUAL 8 AND
TRILINOS_VERSION_SUBMINOR LESS 2))
+ MESSAGE(STATUS "Could not find a sufficient Trilinos installation: "
+ "Version ${TRILINOS_VERSION_MAJOR}.${TRILINOS_VERSION_MINOR}.${TRILINOS_VERSION_SUBMINOR} has bugs that make "
+ "it incompatible with deal.II. Please use versions before 10.6 or after 10.8.1"
+ )
SET(TRILINOS_ADDITIONAL_ERROR_STRING
${TRILINOS_ADDITIONAL_ERROR_STRING}
"The Trilinos installation found at\n"
"it incompatible with deal.II. Please use versions before 10.6 or after\n"
"10.8.1.\n\n"
)
- MESSAGE(WARNING "\n" ${TRILINOS_ADDITIONAL_ERROR_STRING} "\n")
SET(${var} FALSE)
ENDIF()
IF( (TRILINOS_WITH_MPI AND NOT DEAL_II_WITH_MPI)
OR
(NOT TRILINOS_WITH_MPI AND DEAL_II_WITH_MPI))
+ MESSAGE(STATUS "Could not find a sufficient Trilinos installation: "
+ "Trilinos has to be configured with the same MPI configuration as deal.II."
+ )
SET(TRILINOS_ADDITIONAL_ERROR_STRING
${TRILINOS_ADDITIONAL_ERROR_STRING}
"The Trilinos installation found at\n"
" DEAL_II_WITH_MPI = ${DEAL_II_WITH_MPI}\n"
" TRILINOS_WITH_MPI = ${TRILINOS_WITH_MPI}\n"
)
- MESSAGE(WARNING "\n" ${TRILINOS_ADDITIONAL_ERROR_STRING} "\n")
SET(${var} FALSE)
ENDIF()
LIST(APPEND DEAL_II_DEFINITIONS "HAS_C99_TR1_CMATH")
LIST(APPEND DEAL_II_USER_DEFINITIONS "HAS_C99_TR1_CMATH")
ELSE()
+ MESSAGE(STATUS "Could not find a sufficient Trilinos installation: "
+ "The installation is not compatible with the C++ standard selected for "
+ "this compiler."
+ )
SET(TRILINOS_ADDITIONAL_ERROR_STRING
${TRILINOS_ADDITIONAL_ERROR_STRING}
"The Trilinos installation found at\n"
"is not compatible with the C++ standard selected for\n"
"this compiler. See the deal.II FAQ page for a solution.\n\n"
)
- MESSAGE(WARNING "\n" ${TRILINOS_ADDITIONAL_ERROR_STRING} "\n")
SET(${var} FALSE)
ENDIF()
ENDIF()