Skip to content

Commit

Permalink
Merge pull request dealii#14105 from tamiko/improve_error_message
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Jul 7, 2022
2 parents 81e5da3 + 8d187a4 commit baa0340
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
13 changes: 6 additions & 7 deletions include/deal.II/lac/lapack_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
18 changes: 9 additions & 9 deletions source/lac/sparse_direct.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}


Expand All @@ -678,7 +678,7 @@ SparseDirectUMFPACK::solve(Vector<double> &, 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"));
}


Expand All @@ -691,7 +691,7 @@ SparseDirectUMFPACK::solve(Vector<std::complex<double>> &, 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"));
}


Expand All @@ -704,7 +704,7 @@ SparseDirectUMFPACK::solve(BlockVector<double> &, 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"));
}


Expand All @@ -718,7 +718,7 @@ SparseDirectUMFPACK::solve(BlockVector<std::complex<double>> &,
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"));
}


Expand All @@ -732,7 +732,7 @@ SparseDirectUMFPACK::solve(const Matrix &, Vector<double> &, 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"));
}


Expand All @@ -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"));
}


Expand All @@ -762,7 +762,7 @@ SparseDirectUMFPACK::solve(const Matrix &, BlockVector<double> &, 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"));
}


Expand All @@ -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
Expand Down

0 comments on commit baa0340

Please sign in to comment.