From: maier Date: Fri, 8 Mar 2013 11:42:10 +0000 (+0000) Subject: Update report_features to print information about multithreading and blas X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70bc5908a1c1b88dce14e34e495d689f3e9723c5;p=dealii-svn.git Update report_features to print information about multithreading and blas git-svn-id: https://svn.dealii.org/trunk@28814 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/scripts/report_features.cc b/deal.II/cmake/scripts/report_features.cc index fcaa0b4226..820e520f03 100644 --- a/deal.II/cmake/scripts/report_features.cc +++ b/deal.II/cmake/scripts/report_features.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2010, 2011, 2012 by the deal.II authors +// Copyright (C) 2010, 2011, 2012, 2013 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -11,6 +11,10 @@ // //---------------------------------------------------------------------- +/* + * TODO: Implement a report line for Arpack, Boost and P4est + * - 2013, maier + */ #include #include @@ -51,11 +55,8 @@ extern "C" { int main() { -#ifdef HAVE_LIBBLAS - std::cout << "dealii-feature: BLAS=yes" << std::endl; -#endif - #ifdef DEAL_II_WITH_LAPACK + std::cout << "dealii-feature: BLAS=yes" << std::endl; std::cout << "dealii-feature: LAPACK=yes" << std::endl; #endif @@ -79,6 +80,12 @@ int main() # endif #endif +#ifdef DEAL_II_WITH_THREADS + std::cout << "dealii-feature: multithreading=yes" << std::endl; +#else + std::cout << "dealii-feature: multithreading=no" << std::endl; +#endif + #ifdef DEAL_II_WITH_TRILINOS # ifdef TRILINOS_VERSION_STRING std::cout << "dealii-feature: Trilinos=" << TRILINOS_VERSION_STRING << std::endl;