MACRO(FEATURE_MPI_ERROR_MESSAGE)
MESSAGE(FATAL_ERROR "\n"
- "Could not find any suitable mpi library!\n\n"
+ "Could not find any suitable mpi library!\n"
"Please ensure that an mpi library is installed on your computer.\n"
"If the library is not at a default location, either provide some hints\n"
"for the autodetection, or set the relevant variables by hand in ccmake.\n"
CONFIGURE_FEATURE(MPI)
-
MACRO(FEATURE_TBB_CONFIGURE_EXTERNAL var)
-
INCLUDE_DIRECTORIES(${TBB_INCLUDE_DIR})
IF (CMAKE_BUILD_TYPE MATCHES "Debug")
MACRO(FEATURE_TBB_CONFIGURE_BUNDLED var)
-
#
# Setup threading (before configuring our build...)
# and if successfull return TRUE:
CONFIGURE_FEATURE(TBB)
-
MACRO(FEATURE_ARPACK_CONFIGURE_EXTERNAL var)
-
LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES ${ARPACK_LIBRARIES})
ADD_FLAGS(CMAKE_SHARED_LINKER_FLAGS "${ARPACK_LINKER_FLAGS}")
CONFIGURE_FEATURE(ARPACK)
-
MACRO(FEATURE_BOOST_CONFIGURE_EXTERNAL var)
-
INCLUDE_DIRECTORIES (${Boost_INCLUDE_DIR})
IF (CMAKE_BUILD_TYPE MATCHES "Debug")
MACRO(FEATURE_BOOST_CONFIGURE_BUNDLED var)
-
#
# We need to set some definitions to use the headers of the bundled boost
# library:
)
ENDIF()
ENDIF()
-
CONFIGURE_FEATURE(FUNCTIONPARSER)
-
MACRO(FEATURE_HDF5_ERROR_MESSAGE)
MESSAGE(FATAL_ERROR "\n"
- "Could not find the hdf5 library!\n\n"
+ "Could not find the hdf5 library!\n"
"Please ensure that the hdf5 library is installed on your computer.\n"
"If the library is not at a default location, either provide some hints\n"
"for the autodetection:\n"
CONFIGURE_FEATURE(HDF5)
-
# function we use. We have to ensure that this check is repeated every time
# the lapack library or DEAL_II_WITH_LAPACK changes.
#
-# TODO: Known bug: At the moment we don't cover the case when the lapack
-# library changes..
-#
SET(DEAL_II_LAPACK_FUNCTIONS
daxpy_ dgeev_ dgeevx_ dgelsd_ dgemm_ dgemv_ dgeqrf_ dgesdd_ dgesvd_ dgetrf_
MACRO(FEATURE_LAPACK_CONFIGURE_EXTERNAL var)
-
ADD_FLAGS(CMAKE_SHARED_LINKER_FLAGS "${LAPACK_LINKER_FLAGS}")
LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES
CHECK_FOR_LAPACK_FUNCTIONS()
SET(HAVE_LIBLAPACK TRUE)
-
SET(${var} TRUE)
-
ENDMACRO()
CONFIGURE_FEATURE(LAPACK)
-
#
# Call RESET_LAPACK_FUNCTIONS_CHECK if DEAL_II_WITH_LAPACK is unset to
# clean the configuration
IF(NOT DEAL_II_WITH_LAPACK)
RESET_LAPACK_FUNCTIONS_CACHE()
ENDIF()
-
MACRO(FEATURE_METIS_ERROR_MESSAGE)
MESSAGE(FATAL_ERROR "\n"
- "Could not find the metis library!\n\n"
+ "Could not find the metis library!\n"
"Please ensure that the metis library version 5.0 or newer is installed on your computer.\n"
"If the library is not at a default location, either provide some hints\n"
"for the autodetection:\n"
CONFIGURE_FEATURE(METIS)
-
MACRO(FEATURE_MUMPS_CONFIGURE_EXTERNAL var)
-
INCLUDE_DIRECTORIES(${MUMPS_INCLUDE_DIRS})
LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES
${MUMPS_LIBRARIES}
CONFIGURE_FEATURE(MUMPS)
-
CONFIGURE_FEATURE(NETCDF)
-
MACRO(FEATURE_P4EST_FIND_EXTERNAL var)
-
FIND_PACKAGE(P4EST)
IF(P4EST_FOUND)
MACRO(FEATURE_P4EST_CONFIGURE_EXTERNAL var)
-
INCLUDE_DIRECTORIES(${P4EST_INCLUDE_DIRS})
# The user has to know the location of the p4est headers as well:
MACRO(FEATURE_P4EST_ERROR_MESSAGE)
MESSAGE(FATAL_ERROR "\n"
- "Could not find the p4est and sc libraries!\n\n"
+ "Could not find the p4est and sc libraries!\n"
"Please ensure that the libraries are installed on your computer.\n"
"If the libraries are not at a default location, either provide some hints\n"
"for the autodetection:\n"
CONFIGURE_FEATURE(P4EST)
-
UNSET(PETSC_LIBRARIES CACHE)
ENDIF()
ENDIF()
-
ENDMACRO()
MACRO(FEATURE_PETSC_CONFIGURE_EXTERNAL var)
-
INCLUDE_DIRECTORIES(${PETSC_INCLUDE_DIRS})
# The user has to know the location of the petsc headers as well:
#
ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-long-long")
-
SET(DEAL_II_EXPAND_PETSC_VECTOR "PETScWrappers::Vector")
SET(DEAL_II_EXPAND_PETSC_BLOCKVECTOR "PETScWrappers::BlockVector")
MACRO(FEATURE_PETSC_ERROR_MESSAGE)
MESSAGE(FATAL_ERROR "\n"
- "Could not find the petsc library!\n\n"
+ "Could not find the petsc library!\n"
"Please ensure that the petsc library version 3.0.0 or newer is installed on your computer.\n"
+ "Furthermore PETSc has to be configured with the same mpi options as deal.II.\n"
"If the library is not at a default location, either provide some hints\n"
"for the autodetection:\n"
"PETSc installed with --prefix=<...> to a destination:\n"
CONFIGURE_FEATURE(PETSC)
-
--- /dev/null
+#####
+##
+## Copyright (C) 2012 by the deal.II authors
+##
+## This file is part of the deal.II library.
+##
+## <TODO: Full License information>
+## This file is dual licensed under QPL 1.0 and LGPL 2.1 or any later
+## version of the LGPL license.
+##
+## Author: Matthias Maier <matthias.maier@iwr.uni-heidelberg.de>
+##
+#####
+
+#
+# Configuration for the SLEPC library:
+#
+
+
+SET(FEATURE_SLEPC_DEPENDS DEAL_II_WITH_PETSC)
+
+
+MACRO(FEATURE_SLEPC_FIND_EXTERNAL var)
+ FIND_PACKAGE(SLEPC)
+
+ IF(SLEPC_FOUND)
+ #
+ # Check whether SLEPc and PETSc are compatible.
+ #
+ IF("${SLEPC_VERSION}" STREQUAL "${PETSC_VERSION}")
+ SET(${var} TRUE)
+ ELSE()
+
+ MESSAGE(WARNING "\n"
+ "Could not find a sufficient SLEPc installation: "
+ "The SLEPc library must have the same version as the PETSc library.\n\n"
+ )
+ UNSET(SLEPC_INCLUDE_DIR_ARCH CACHE)
+ UNSET(SLEPC_INCLUDE_DIR_COMMON CACHE)
+ UNSET(SLEPC_INCLUDE_DIRS CACHE)
+ UNSET(SLEPC_LIBRARIES CACHE)
+
+ SET(${var} FALSE)
+ ENDIF()
+ ENDIF()
+
+ENDMACRO()
+
+
+MACRO(FEATURE_SLEPC_CONFIGURE_EXTERNAL var)
+ INCLUDE_DIRECTORIES(${SLEPC_INCLUDE_DIRS})
+
+ # The user has to know the location of the SLEPC headers as well:
+ LIST(APPEND DEAL_II_USER_INCLUDE_DIRS ${SLEPC_INCLUDE_DIRS})
+
+ LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES
+ ${SLEPC_LIBRARIES}
+ )
+
+ SET(DEAL_II_USE_SLEPC TRUE)
+
+ SET(${var} TRUE)
+ENDMACRO()
+
+
+SET(FEATURE_SLEPC_CUSTOM_ERROR_MESSAGE TRUE)
+
+
+MACRO(FEATURE_SLEPC_ERROR_MESSAGE)
+ MESSAGE(FATAL_ERROR "\n"
+ "Could not find the SLEPc library!\n"
+ "Please ensure that the SLEPc library version 3.0.0 or newer is installed on your computer\n"
+ "and the version is the same as the one of the installed PETSc library.\n"
+ "If the library is not at a default location, either provide some hints\n"
+ "for the autodetection:\n"
+ "SLEPc installed with --prefix=<...> to a destination:\n"
+ " $ SLEPC_DIR=\"...\" cmake <...>\n"
+ " $ cmake -DSLEPC_DIR=\"...\" <...>\n"
+ "SLEPc compiled in source tree:\n"
+ " $ SLEPC_DIR=\"...\" SLEPC_ARCH=\"...\" cmake <...>\n"
+ " $ cmake -DSLEPC_DIR=\"...\" -DSLEPC_ARCH=\"...\" <...>\n"
+ "or set the relevant variables by hand in ccmake.\n\n"
+ )
+ENDMACRO()
+
+
+CONFIGURE_FEATURE(SLEPC)
+
MESSAGE(FATAL_ERROR "\n"
"Could not find a suitable set of trilinos libraries!\n"
"Please ensure that all necessary libraries are installed on your computer.\n"
+ "Some Trilinos versions have bugs that make it incompatible with deal.II.\n"
+ "(There will be a warning above if this is the case)\n"
"If the libraries are not at a default location, either provide some hints\n"
"for the autodetection:\n"
" $ TRILINOS_DIR=\"...\" cmake <...>\n"
CONFIGURE_FEATURE(TRILINOS)
-
CONFIGURE_FEATURE(UMFPACK)
-
DEAL_II_ADD_EXTERNAL_LIBS_AT_FRONT($TECPLOT_LIB)
fi
])
-
-
-
-dnl ------------------------------------------------------------
-dnl Check whether SLEPc is installed, and if so store the
-dnl respective links.
-dnl
-dnl Usage: DEAL_II_CONFIGURE_SLEPC
-dnl
-dnl ------------------------------------------------------------
-AC_DEFUN(DEAL_II_CONFIGURE_SLEPC, dnl
-[
- AC_MSG_CHECKING([for SLEPc include directory])
- AC_ARG_WITH(slepc,
- [AS_HELP_STRING([--with-slepc=path/to/slepc],
- [Specify the path to the SLEPc installation, for which the include directory is a subdir; use this if you want to override the SLEPC_DIR environment variable.])],
- [dnl Special case when someone does --with-slepc=no
- if test "x$withval" = "xno" ; then
- AC_MSG_RESULT([explicitly disabled])
- USE_CONTRIB_SLEPC=no
- else
- USE_CONTRIB_SLEPC=yes
- DEAL_II_SLEPC_DIR="$withval"
- AC_MSG_RESULT($DEAL_II_SLEPC_DIR)
-
- dnl Make sure that what was specified is actually correct
- if test ! -d $DEAL_II_SLEPC_DIR \
- -o ! -d $DEAL_II_SLEPC_DIR/include \
- ; then
- AC_MSG_ERROR([Path to SLEPc specified with --with-slepc does not point to a complete SLEPc installation])
- fi
-
- if test ! -d $DEAL_II_SLEPC_DIR/$DEAL_II_PETSC_ARCH \
- -o ! -d $DEAL_II_SLEPC_DIR/$DEAL_II_PETSC_ARCH/lib \
- ; then
- AC_MSG_ERROR([SLEPc has not been compiled for the PETSc architecture])
- fi
- fi
- ],
- [dnl Take something from the environment variables, if it is there
- if test "x$SLEPC_DIR" != "x" ; then
- USE_CONTRIB_SLEPC=yes
- DEAL_II_SLEPC_DIR="$SLEPC_DIR"
- AC_MSG_RESULT($DEAL_II_SLEPC_DIR)
-
- dnl Make sure that what this is actually correct
- if test ! -d $DEAL_II_SLEPC_DIR \
- -o ! -d $DEAL_II_SLEPC_DIR/include \
- ; then
- AC_MSG_ERROR([The path to SLEPc specified in the SLEPC_DIR environment variable does not point to a complete SLEPc installation])
- fi
- else
- USE_CONTRIB_SLEPC=no
- DEAL_II_SLEPC_DIR=""
- AC_MSG_RESULT(not found)
- fi
- ])
-
- if test "$USE_CONTRIB_SLEPC" = "yes" ; then
- AC_DEFINE([DEAL_II_USE_SLEPC], [1],
- [Defined if a SLEPc installation was found and is going to be used])
-
- dnl Set an additional variable (not via AC_DEFINE, since we don't want
- dnl to have it in config.h) which we can use in doc/doxygen/options.dox.in.
- dnl If we have SLEPc, then the value of this variable expands to
- dnl defining the string "DEAL_II_USE_SLEPC" for the preprocessor. If
- dnl we don't have no SLEPc, then it does not define this string.
- DEAL_II_DEFINE_DEAL_II_USE_SLEPC=DEAL_II_USE_SLEPC
- fi
-
- dnl If we have found SLEPc, determine additional pieces of data
- if test "$USE_CONTRIB_SLEPC" = "yes" \
- ; then
- DEAL_II_CONFIGURE_SLEPC_VERSION
-
- dnl Finally set with_slepc if this hasn't happened yet
- if test "x$with_slepc" = "x" ; then
- with_slepc="yes"
- fi fi
-])
-
-dnl ------------------------------------------------------------
-dnl Figure out the version numbers of SLEPc and compare with
-dnl version numbers of PETSc. This is not strictly necessary
-dnl but highly recommended that major, minor, and subminor
-dnl version match. We blissfully ignor patch versions and hope
-dnl for the best. If you want to overide all this you can.
-dnl
-dnl Usage: DEAL_II_CONFIGURE_SLEPC_VERSION
-dnl
-dnl ------------------------------------------------------------
-AC_DEFUN(DEAL_II_CONFIGURE_SLEPC_VERSION, dnl
-[
- AC_MSG_CHECKING([for SLEPc version])
- DEAL_II_SLEPC_VERSION_MAJOR=`cat $DEAL_II_SLEPC_DIR/include/slepcversion.h \
- | grep "#define SLEPC_VERSION_MAJOR" \
- | perl -pi -e 's/.*MAJOR\s+//g;'`
- DEAL_II_SLEPC_VERSION_MINOR=`cat $DEAL_II_SLEPC_DIR/include/slepcversion.h \
- | grep "#define SLEPC_VERSION_MINOR" \
- | perl -pi -e 's/.*MINOR\s+//g;'`
- DEAL_II_SLEPC_VERSION_SUBMINOR=`cat $DEAL_II_SLEPC_DIR/include/slepcversion.h \
- | grep "#define SLEPC_VERSION_SUBMINOR" \
- | perl -pi -e 's/.*MINOR\s+//g;'`
- SLEPC_VERSION="$DEAL_II_SLEPC_VERSION_MAJOR.$DEAL_II_SLEPC_VERSION_MINOR.$DEAL_II_SLEPC_VERSION_SUBMINOR"
-
- dnl Here is where we check if the SLEPc version we have is a
- dnl release but do nothing about it.
- SLEPC_RELEASE=`cat $DEAL_II_SLEPC_DIR/include/slepcversion.h \
- | grep "#define SLEPC_VERSION_RELEASE" \
- | perl -pi -e 's/.*RELEASE\s+//g;'`
- if test "$SLEPC_RELEASE" = "0" ; then
- SLEPC_VERSION+="-dev"
- else
- SLEPC_VERSION+=""
- fi
- AC_MSG_RESULT($SLEPC_VERSION)
-
- dnl Then check that PETSc and SLEPc versions are compatible ie. that
- dnl they are equivalent. Patch numbers don't count for anything anymore,
- dnl but, we do include whether PETSc and SLEPc are both release
- dnl versions in the check. If they are not, we vomit.
- if test "${PETSC_VERSION}" != "${SLEPC_VERSION}" \
- -o "${PETSC_RELEASE}" != "${SLEPC_RELEASE}" \
- ; then
- AC_MSG_ERROR([If SLEPc is used, you must use the same version number as your PETSc Installation])
- fi
-])
HINTS
# petsc is special. Account for that
${PETSC_DIR}
- ${PETSC_DIR}/${PETSC_ARCH}/include
+ ${PETSC_DIR}/${PETSC_ARCH}
${PETSC_INCLUDE_DIRS}
- PATH_SUFFIXES include petsc
+ PATH_SUFFIXES petsc include include/petsc
)
#
FIND_PATH(PETSC_INCLUDE_DIR_COMMON petscversion.h
HINTS
${PETSC_DIR}
- ${PETSC_DIR}/${PETSC_ARCH}/include
+ ${PETSC_DIR}/${PETSC_ARCH}
${PETSC_INCLUDE_DIRS}
- PATH_SUFFIXES petsc
+ PATH_SUFFIXES petsc include include/petsc
)
#
)
IF(PETSC_FOUND)
+ SET(PETSC_PETSCCONF_H "${PETSC_INCLUDE_DIR_ARCH}/petscconf.h")
+ SET(PETSC_PETSCVERSION_H "${PETSC_INCLUDE_DIR_COMMON}/petscversion.h")
#
# Is petsc compiled with support for MPIUNI?
MARK_AS_ADVANCED(PETSC_LIBMPIUNI)
ENDIF()
-
FILE(STRINGS "${PETSC_PETSCVERSION_H}" PETSC_VERSION_MAJOR_STRING
REGEX "#define.*PETSC_VERSION_MAJOR")
STRING(REGEX REPLACE "^.*PETSC_VERSION_MAJOR.*([0-9]+).*" "\\1"
--- /dev/null
+#####
+##
+## Copyright (C) 2012 by the deal.II authors
+##
+## This file is part of the deal.II library.
+##
+## <TODO: Full License information>
+## This file is dual licensed under QPL 1.0 and LGPL 2.1 or any later
+## version of the LGPL license.
+##
+## Author: Matthias Maier <matthias.maier@iwr.uni-heidelberg.de>
+##
+#####
+
+#
+# Try to find the SLEPC library
+#
+# This module exports:
+#
+# SLEPC_FOUND
+# SLEPC_LIBRARIES
+# SLEPC_INCLUDE_DIRS
+# SLEPC_VERSION
+# SLEPC_VERSION_MAJOR
+# SLEPC_VERSION_MINOR
+# SLEPC_VERSION_SUBMINOR
+# SLEPC_VERSION_PATCH
+#
+
+INCLUDE(FindPackageHandleStandardArgs)
+
+SET_IF_EMPTY(SLEPC_DIR "$ENV{SLEPC_DIR}")
+SET_IF_EMPTY(SLEPC_ARCH "$ENV{SLEPC_ARCH}")
+SET_IF_EMPTY(PETSC_DIR "$ENV{PETSC_DIR}")
+
+#
+# Luckily, SLEPc wants the same insanity as PETSc, so we can just copy the
+# mechanism.
+#
+
+FIND_LIBRARY(SLEPC_LIBRARIES
+ NAMES slepc
+ HINTS
+ # SLEPC is special. Account for that
+ ${SLEPC_DIR}
+ ${SLEPC_DIR}/${SLEPC_ARCH}
+ ${PETSC_DIR}
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
+)
+
+
+#
+# So, up to this point it was easy. Now, the tricky part:
+#
+
+
+#
+# Search for the first part of the includes:
+#
+FIND_PATH(SLEPC_INCLUDE_DIR_ARCH slepcconf.h
+ HINTS
+ # SLEPC is special. Account for that
+ ${SLEPC_DIR}
+ ${SLEPC_DIR}/${SLEPC_ARCH}
+ ${SLEPC_INCLUDE_DIRS}
+ ${PETSC_DIR}
+ PATH_SUFFIXES slepc include include/slepc
+)
+
+#
+# Sometimes, this is not enough...
+# If SLEPc is not installed but in source tree layout, there will be
+# ${SLEPC_DIR}/${SLEPC_ARCH}/include - which we should have found by now.
+# ${SLEPC_DIR}/include - which we still have to find.
+#
+# Or it is installed in a non standard layout in the system (e.g. in
+# Gentoo), where there will be
+# ${SLEPC_DIR}/${SLEPC_ARCH}/include
+# /usr/include/slepc ...
+#
+# Either way, slepcversion.h should lie around:
+#
+FIND_PATH(SLEPC_INCLUDE_DIR_COMMON slepcversion.h
+ HINTS
+ ${SLEPC_DIR}
+ ${SLEPC_DIR}/${SLEPC_ARCH}
+ ${SLEPC_INCLUDE_DIRS}
+ ${PETSC_DIR}
+ PATH_SUFFIXES slepc include include/slepc
+)
+
+#
+# And finally set SLEPC_INCLUDE_DIRS depending on the outcome of our crude
+# guess:
+#
+IF( SLEPC_INCLUDE_DIR_ARCH MATCHES "-NOTFOUND" OR
+ SLEPC_INCLUDE_DIR_COMMON MATCHES "-NOTFOUND" )
+ SET(SLEPC_INCLUDE_DIRS "SLEPC_INCLUDE_DIRS-NOTFOUND"
+ CACHE STRING "Include paths for SLEPC"
+ FORCE
+ )
+ UNSET(SLEPC_INCLUDE_DIR_ARCH CACHE)
+ UNSET(SLEPC_INCLUDE_DIR_COMMON CACHE)
+ELSE()
+ UNSET(SLEPC_INCLUDE_DIRS CACHE)
+ SET(SLEPC_INCLUDE_DIRS
+ ${SLEPC_INCLUDE_DIR_ARCH}
+ ${SLEPC_INCLUDE_DIR_COMMON}
+ )
+ENDIF()
+
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(SLEPC DEFAULT_MSG
+ SLEPC_LIBRARIES
+ SLEPC_INCLUDE_DIRS
+ )
+
+IF(SLEPC_FOUND)
+ SET(SLEPC_SLEPCVERSION_H "${SLEPC_INCLUDE_DIR_COMMON}/slepcversion.h")
+
+ FILE(STRINGS "${SLEPC_SLEPCVERSION_H}" SLEPC_VERSION_MAJOR_STRING
+ REGEX "#define.*SLEPC_VERSION_MAJOR")
+ STRING(REGEX REPLACE "^.*SLEPC_VERSION_MAJOR.*([0-9]+).*" "\\1"
+ SLEPC_VERSION_MAJOR "${SLEPC_VERSION_MAJOR_STRING}"
+ )
+
+ FILE(STRINGS "${SLEPC_SLEPCVERSION_H}" SLEPC_VERSION_MINOR_STRING
+ REGEX "#define.*SLEPC_VERSION_MINOR")
+ STRING(REGEX REPLACE "^.*SLEPC_VERSION_MINOR.*([0-9]+).*" "\\1"
+ SLEPC_VERSION_MINOR "${SLEPC_VERSION_MINOR_STRING}"
+ )
+
+ FILE(STRINGS "${SLEPC_SLEPCVERSION_H}" SLEPC_VERSION_SUBMINOR_STRING
+ REGEX "#define.*SLEPC_VERSION_SUBMINOR")
+ STRING(REGEX REPLACE "^.*SLEPC_VERSION_SUBMINOR.*([0-9]+).*" "\\1"
+ SLEPC_VERSION_SUBMINOR "${SLEPC_VERSION_SUBMINOR_STRING}"
+ )
+
+ FILE(STRINGS "${SLEPC_SLEPCVERSION_H}" SLEPC_VERSION_PATCH_STRING
+ REGEX "#define.*SLEPC_VERSION_PATCH")
+ STRING(REGEX REPLACE "^.*SLEPC_VERSION_PATCH.*([0-9]+).*" "\\1"
+ SLEPC_VERSION_PATCH "${SLEPC_VERSION_PATCH_STRING}"
+ )
+
+ SET(SLEPC_VERSION "${SLEPC_VERSION_MAJOR}.${SLEPC_VERSION_MINOR}.${SLEPC_VERSION_SUBMINOR}")
+
+ MARK_AS_ADVANCED(
+ SLEPC_ARCH
+ SLEPC_DIR
+ SLEPC_INCLUDE_DIR_ARCH
+ SLEPC_INCLUDE_DIR_COMMON
+ SLEPC_INCLUDE_DIRS
+ SLEPC_LIBRARIES
+ )
+ELSE()
+ SET(SLEPC_DIR "" CACHE STRING
+ "An optional hint to a SLEPC directory"
+ )
+ SET(SLEPC_ARCH "" CACHE STRING
+ "An optional hint to a SLEPC arch"
+ )
+ENDIF()
+
(major)*10000 + (minor)*100 + (subminor))
+/****************************************
+ * Configured in configure_slepc.cmake: *
+ ****************************************/
+
+/* Defined if a SLEPc installation was found and is going to be used */
+#cmakedefine DEAL_II_USE_SLEPC
+
+
/**************************************
* Configured in configure_tbb.cmake: *
**************************************/
this bug. */
#cmakedefine DEAL_II_TEMPL_SPEC_FRIEND_BUG
-/* Defined if a SLEPc installation was found and is going to be used */
-#cmakedefine DEAL_II_USE_SLEPC
-
/* This error appears in the Apple edition of the gcc 3.3, which ships with
Darwin7.9.0 and probably previous version. It leads to problems during
linking. For the details, look at aclocal.m4 in the top-level directory. */