From: Matthias Maier Date: Thu, 7 Jul 2022 02:10:41 +0000 (-0500) Subject: Improve error message by providing a clickable link X-Git-Tag: v9.5.0-rc1~1110^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14105%2Fhead;p=dealii.git Improve error message by providing a clickable link --- diff --git a/include/deal.II/lac/lapack_support.h b/include/deal.II/lac/lapack_support.h index f663f1cc0a..9bd25f9c87 100644 --- a/include/deal.II/lac/lapack_support.h +++ b/include/deal.II/lac/lapack_support.h @@ -220,13 +220,12 @@ namespace LAPACKSupport DeclException1( ExcMissing, std::string, - << "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 - << "> 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."); + << "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 << "> can not be called. " + << "Refer to the readme at https://dealii.org/current/readme.html for " + << "information on how to ensure that deal.II picks up an existing " + << "BLAS and LAPACK installation at configuration time."); } // namespace LAPACKSupport diff --git a/source/lac/sparse_direct.cc b/source/lac/sparse_direct.cc index 3951c64a3f..1e2dabc2d7 100644 --- a/source/lac/sparse_direct.cc +++ b/source/lac/sparse_direct.cc @@ -666,7 +666,7 @@ SparseDirectUMFPACK::factorize(const Matrix &) ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } @@ -678,7 +678,7 @@ SparseDirectUMFPACK::solve(Vector &, const bool) const ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } @@ -691,7 +691,7 @@ SparseDirectUMFPACK::solve(Vector> &, const bool) const ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } @@ -704,7 +704,7 @@ SparseDirectUMFPACK::solve(BlockVector &, const bool) const ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } @@ -718,7 +718,7 @@ SparseDirectUMFPACK::solve(BlockVector> &, ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } @@ -732,7 +732,7 @@ SparseDirectUMFPACK::solve(const Matrix &, Vector &, const bool) ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } @@ -748,7 +748,7 @@ SparseDirectUMFPACK::solve(const Matrix &, ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } @@ -762,7 +762,7 @@ SparseDirectUMFPACK::solve(const Matrix &, BlockVector &, const bool) ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } @@ -778,7 +778,7 @@ SparseDirectUMFPACK::solve(const Matrix &, ExcMessage( "To call this function you need UMFPACK, but you configured deal.II " "without passing the necessary switch to 'cmake'. Please consult the " - "installation instructions in doc/readme.html.")); + "installation instructions at https://dealii.org/current/readme.html")); } #endif