Skip to content

Fix abort on dt_change_max for single precision - #216

Merged
atmyers merged 1 commit into
AMReX-Fluids:developmentfrom
atmyers:dt_change_max_fix
Sep 9, 2026
Merged

atmyers merged 1 commit into
AMReX-Fluids:developmentfrom
atmyers:dt_change_max_fix

Conversation

@atmyers

@atmyers atmyers commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Without this change, incflo aborts for many inputs in single precision with:

MPI initialized with 1 MPI processes
MPI initialized with thread support level 0
AMReX (26.09-13-g9878e5e01332-dirty) initialized
incflo git hash: 20.08-376-g46de336
amrex::Abort::0::We require 1. < dt_change_max <= 1.1 !!!
SIGABRT
See Backtrace.0 file for details

I have also changed the < to <= on the lower bound of the message to be consistent with the actual behavior.

@atmyers
atmyers merged commit a3f825c into AMReX-Fluids:development Sep 9, 2026
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants