]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Update report_features to print information about multithreading and blas
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Mar 2013 11:42:10 +0000 (11:42 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Mar 2013 11:42:10 +0000 (11:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@28814 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/report_features.cc

index fcaa0b4226186fe87280cd87b5d6381310eb76bb..820e520f03c88b8303e28b865ee02f37d123d5c9 100644 (file)
@@ -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
 //
 //----------------------------------------------------------------------
 
+/*
+ * TODO: Implement a report line for Arpack, Boost and P4est
+ * - 2013, maier
+ */
 #include <deal.II/base/config.h>
 
 #include <iostream>
@@ -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;

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.