impactx
impactx copied to clipboard
Signaling NaNs / Arithmetic Errors
Bugs like https://github.com/ECP-WarpX/impactx/pull/707 might be able to be caught in CI if we enable signaling NaNs and arithmetic error throwing (AMReX options at runtime) for some of our CI runs.
We would inject them via a CMake option, only for CI, here: https://github.com/ECP-WarpX/impactx/blob/556153c09fbeff6891a80c483a00021f04c28dbd/examples/CMakeLists.txt#L81-L85
@EZoni did something similar recently in WarpX