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. #14246

Merged
merged 2 commits into from Sep 22, 2022
Merged

Improve error message. #14246

merged 2 commits into from Sep 22, 2022

Conversation

bangerth
Copy link
Member

@bangerth bangerth commented Sep 7, 2022

Based on today's mailing list post.

/rebuild

@@ -8825,7 +8825,11 @@ DataOutBase::write_hdf5_parallel(
(void)mesh_filename;
(void)solution_filename;
(void)comm;
AssertThrow(false, ExcMessage("HDF5 support is disabled."));
AssertThrow(false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to do it like this:

DeclExceptionMsg(
ExcNeedsLAPACK,
"You are attempting to use functionality that is only available "
"if deal.II was configured to use LAPACK, but cmake did not "
"find a valid LAPACK library.");
?

@bangerth
Copy link
Member Author

I finally got around to updating this.

Copy link
Member

@peterrum peterrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kronbichler
Copy link
Member

The test failure on one machine is unrelated to this PR, so I'm merging.

@kronbichler kronbichler merged commit 4037070 into dealii:master Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants