From 1cd362bd77ff8412da4554dd88630dbdfddeea13 Mon Sep 17 00:00:00 2001 From: kanschat Date: Mon, 3 Sep 2012 13:30:00 +0000 Subject: [PATCH] report additional libraries git-svn-id: https://svn.dealii.org/trunk@26214 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/Make.global_options.in | 1 - deal.II/common/scripts/report_features.cc | 31 +++++++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/deal.II/common/Make.global_options.in b/deal.II/common/Make.global_options.in index d992db8162..9d92fc1996 100644 --- a/deal.II/common/Make.global_options.in +++ b/deal.II/common/Make.global_options.in @@ -393,7 +393,6 @@ print-summary: @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: 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 eb913867f6..5b98f12a74 100644 --- a/deal.II/common/scripts/report_features.cc +++ b/deal.II/common/scripts/report_features.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2010, 2011 by the deal.II authors +// Copyright (C) 2010, 2011, 2012 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -62,7 +62,7 @@ int main() #if defined(DEAL_II_COMPILER_SUPPORTS_MPI) # ifdef OMPI_MAJOR_VERSION - std::cout << "dealii-feature: MPI=OpenMPI
" + std::cout << "dealii-feature: MPI=OpenMPI " << OMPI_MAJOR_VERSION << '.' << OMPI_MINOR_VERSION << '.' << OMPI_RELEASE_VERSION << std::endl; @@ -116,4 +116,31 @@ int main() #endif std::cout << std::endl; #endif + +#ifdef DEAL_II_USE_P4EST + std::cout << "dealii-feature: P4est=yes" << std::endl; +#endif + +#ifdef DEAL_II_HAVE_HDF5 + std::cout << "dealii-feature: HDF5=yes" << std::endl; +#endif + +#ifdef DEAL_II_HAVE_TECPLOT + std::cout << "dealii-feature: Tecplot=yes" << std::endl; +#endif + +#ifdef HAVE_LIBNETCDF + std::cout << "dealii-feature: NetCDF=yes" << std::endl; +#endif + +#ifdef HAVE_LIBZ + std::cout << "dealii-feature: LibZ=yes" << std::endl; +#endif + +#ifdef DEAL_II_DISABLE_PARSER + std::cout << "dealii-feature: parser=no" << std::endl; +#else + std::cout << "dealii-feature: parser=yes" << std::endl; +#endif + } -- 2.39.5