From 25e45f6c5182de5016b0d1422e9dbcd47a19494f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 11 Mar 2021 11:59:11 +0100 Subject: [PATCH] Improve an error message. --- source/lac/trilinos_sparse_matrix.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index 0167dfc8b7..68718d448c 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -2215,7 +2215,12 @@ namespace TrilinosWrappers const_cast( tmp_result.trilinos_matrix())); # else - Assert("false", ExcMessage("This function requires EpetraExt.")); + Assert("false", + ExcMessage("This function requires that the Trilinos " + "installation found while running the deal.II " + "CMake scripts contains the optional Trilinos " + "package 'EpetraExt'. However, this optional " + "part of Trilinos was not found.")); # endif result.reinit(tmp_result.trilinos_matrix()); } -- 2.39.5