Skip to content

Conversation

@cxp484
Copy link
Contributor

@cxp484 cxp484 commented Nov 4, 2025

In detailed chemistry simulations, CVODE warning messages for each warning cell can clutter the error log. This code suppresses per-cell warning messages. Now, in verbose mode, a consolidated CVODE warning summary will be printed in the error file in the following format:

 RANK=0 End of time step                                   CPU Time:      23.035   2025-11-03T22:57:50.812-05:00
 --------------- CVODE Warning Summary ----------------
 Code     Cells (% Chem)             Message
  -3        2 (0.22 %)     Minimum step size was reached.
  -4        2 (0.22 %)     CVODE took all internal substeps.
  -10       2 (0.22 %)     CVODE didn't finish ODE solution with this code.
 ------------------------------------------------------
 RANK=0 End of time step                                   CPU Time:      24.671   2025-11-03T22:57:52.448-05:00
 RANK=0 End of time step                                   CPU Time:      25.878   2025-11-03T22:57:53.655-05:00
 RANK=0 End of time step                                   CPU Time:      27.313   2025-11-03T22:57:55.090-05:00

The second column shows the number of cells that triggered a CVODE warning for the corresponding CVODE code. The percentage is calculated relative to the total number of chemically active cells across the entire domain (including all MPI processes).

@cxp484 cxp484 merged commit 3d70877 into firemodels:master Nov 4, 2025
19 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.

1 participant