enrico
enrico copied to clipboard
Ability to suppress diagnostics
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
-vruntime flag - The
NDEBUGmacro. This is defined by CMake for release builds. It's also understood byassert()as specified by the C++ standard. However, it doesn't appear to affect the behavior ofEnsuresorExpectsin GSL.
I'm tending towards a -v flag.
Yes, I agree that a -v flag is probably the simplest way to do this.