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

Ability to suppress diagnostics #89

Open
RonRahaman opened this issue Mar 9, 2020 · 1 comment
Open

Ability to suppress diagnostics #89

RonRahaman opened this issue Mar 9, 2020 · 1 comment

Comments

@RonRahaman
Copy link
Collaborator

Should we implement a way to suppress diagnostic messages? Currently, this includes the sanity check for volume calculations. For the disjoint communicators, I also have some diagnostics about the rank layout that I'd like to keep. But these both get pretty verbose in large-ish runs.

I'm considering either:

  • A -v runtime flag
  • The NDEBUG macro. This is defined by CMake for release builds. It's also understood by assert() as specified by the C++ standard. However, it doesn't appear to affect the behavior of Ensures or Expects in GSL.

I'm tending towards a -v flag.

@paulromano
Copy link
Member

Yes, I agree that a -v flag is probably the simplest way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants