From: Wolfgang Bangerth <bangerth@math.tamu.edu>
Date: Fri, 13 Feb 2015 04:18:18 +0000 (-0600)
Subject: Improve error message when no LAPACK is available.
X-Git-Tag: v8.3.0-rc1~473^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F532%2Fhead;p=dealii.git

Improve error message when no LAPACK is available.

The old error message was written when we had ./configure checks for
individual LAPACK functions, but this is no longer the case: we get
all of LAPACK, or nothing. Reflect this in the text of the error
message.
---

diff --git a/include/deal.II/lac/lapack_support.h b/include/deal.II/lac/lapack_support.h
index 9372af56e9..e3a0e822a5 100644
--- a/include/deal.II/lac/lapack_support.h
+++ b/include/deal.II/lac/lapack_support.h
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2005 - 2014 by the deal.II authors
+// Copyright (C) 2005 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -142,13 +142,18 @@ namespace LAPACKSupport
                  << state_name(arg1));
 
   /**
-   * This exception is thrown if a certain function is not implemented in your
-   * LAPACK version.
+   * This exception is thrown if a certain LAPACK function is not available
+   * because no LAPACK installation was detected during configuration.
    */
   DeclException1(ExcMissing, char *,
-                 << "The function "
+                 << "When you ran 'cmake' during installation of deal.II, "
+                 << "no suitable installation of the BLAS or LAPACK library could "
+                 << "be found. Consequently, the function <"
                  << arg1
-                 << " required here is missing in your LAPACK installation");
+                 << "> can not be called. Refer to the doc/readme.html "
+                 << "file for information on how to ensure that deal.II "
+                 << "picks up an existing BLAS and LAPACK installation at "
+                 << "configuration time.");
 }