From: Guido Kanschat Date: Wed, 30 Jun 2010 21:24:52 +0000 (+0000) Subject: obtain SLEPc version for build test X-Git-Tag: v8.0.0~5879 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b9956675e2ba1b59d552b735bd379ba8823add7;p=dealii.git obtain SLEPc version for build test git-svn-id: https://svn.dealii.org/trunk@21422 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/Make.global_options.in b/deal.II/common/Make.global_options.in index 5cb0cf9eb0..f3d6928f9c 100644 --- a/deal.II/common/Make.global_options.in +++ b/deal.II/common/Make.global_options.in @@ -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 diff --git a/deal.II/common/scripts/report_features.cc b/deal.II/common/scripts/report_features.cc index 8abd015753..61d0cb2ce8 100644 --- a/deal.II/common/scripts/report_features.cc +++ b/deal.II/common/scripts/report_features.cc @@ -26,6 +26,9 @@ extern "C" { # include #endif +#ifdef DEAL_II_USE_SLEPC +# include +#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