From 17fb744b9ca543369b23846a6815ba383130382c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 12 Feb 2015 22:18:18 -0600 Subject: [PATCH] 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. --- include/deal.II/lac/lapack_support.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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."); } -- 2.39.5