]> https://gitweb.dealii.org/ - dealii.git/commitdiff
obtain SLEPc version for build test
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 30 Jun 2010 21:24:52 +0000 (21:24 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 30 Jun 2010 21:24:52 +0000 (21:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@21422 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/Make.global_options.in
deal.II/common/scripts/report_features.cc

index 5cb0cf9eb0a253f910215892339e5f394f77458c..f3d6928f9cd0ac1266a782f5ae42ac4e32a6b8f8 100644 (file)
@@ -371,15 +371,11 @@ print-summary:
        @echo "dealii-feature: host=`hostname`"
        @echo "dealii-feature: target=$(TARGET)"
        @echo "dealii-feature: compiler=$(GXX-VERSION-DETAILED)"
-       @echo "dealii-feature: BUILDTESTFLAGS=$(BUILDTESTFLAGS)"
-       @echo "dealii-feature: BUILDTESTNOTE=$(BUILDTESTNOTE)"
        @echo "dealii-feature: multithreading=$(enable-threads)"
        @echo "dealii-feature: shared_libs=$(enable-shared)"
        @echo "dealii-feature: parser=$(subst no,,$(enable-parser))"
        @echo "dealii-feature: PETSc=$(subst ..,,$(DEAL_II_PETSC_VERSION_MAJOR).$(DEAL_II_PETSC_VERSION_MINOR).$(DEAL_II_PETSC_VERSION_SUBMINOR))"
-       @echo "dealii-feature: SLEPc=$(subst no,,$(USE_CONTRIB_SLEPC))"
        @echo "dealii-feature: Trilinos=$(subst ..,,$(DEAL_II_TRILINOS_VERSION_MAJOR).$(DEAL_II_TRILINOS_VERSION_MINOR).$(DEAL_II_TRILINOS_VERSION_SUBMINOR))"
-       @echo "dealii-feature: MUMPS=$(subst no,,$(USE_CONTRIB_MUMPS))"
        @echo "dealii-feature: METIS=$(subst no,,$(USE_CONTRIB_METIS))"
        @cd $D/common/scripts ; make report_features && ./report_features
 endif
index 8abd015753b6a7e553c08e6efe98fac4e0747b46..61d0cb2ce88e59fa15ef11238325d7eb7a9ecc6c 100644 (file)
@@ -26,6 +26,9 @@ extern "C" {
 #  include <dmumps_c.h>
 #endif 
 
+#ifdef DEAL_II_USE_SLEPC
+#  include <slepcversion.h>
+#endif
 
 int main()
 {
@@ -44,6 +47,18 @@ int main()
            << UMFPACK_SUBSUB_VERSION << std::endl;
 #endif
 
+#ifdef DEAL_II_USE_MUMPS
+  std::cout << "dealii-feature: MUMPS=yes" << std::endl;
+#endif
+
+#ifdef DEAL_II_USE_SLEPC
+  std::cout << "dealii-feature: SLEPc="
+           << SLEPC_VERSION_MAJOR << '.'
+           << SLEPC_VERSION_MINOR << '.'
+           << SLEPC_VERSION_SUBMINOR << 'p'
+           << SLEPC_VERSION_PATCH << std::endl;
+#endif
+  
 #if defined(HAVE_HSL_MA27) || defined(HAVE_HSL_MA47)
   std::cout << "dealii-feature: HSL=";
 #ifdef HAVE_HSL_MA27

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.