]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve error message when no LAPACK is available. 532/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 13 Feb 2015 04:18:18 +0000 (22:18 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 13 Feb 2015 13:55:19 +0000 (07:55 -0600)
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.

include/deal.II/lac/lapack_support.h

index 9372af56e92ce9366dd2cd62ba896cc27ead0598..e3a0e822a526201c3420630ec61f5472583c5e8a 100644 (file)
@@ -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.");
 }
 
 

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.