Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message by providing a clickable link #14105

Merged
merged 1 commit into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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