Closed xylar closed 2 weeks ago
@philipwjones, can you assign this to whoever you think is the right person if it's not you? Thanks!
As discussed on Slack, @xylar, the TimeStepper
should be one of the following: Forward-Backward, RungeKutta4, RungeKutta2
. In the latest version, I encountered the same error when using RK4
. However, I still need to investigate why my previous tests with Polaris worked with RK4
...
I can confirm that switching to RungeKutta4
fixed the problem for me. It seems like we need error checking that the TimeStepper
is valid. Is that missing?
@mwarusz, I think you might be the right person to fix this (or to assign it to someone else). The switch statement here: https://github.com/E3SM-Project/Omega/blob/2b346b258821b12208500e373e9b77346b420be1/components/omega/src/timeStepping/TimeStepper.cpp#L20-L27 needs an else clause that should log a critical error.
Sorry @mwarusz, that's not your code. It's @brian-oneill's but I see how to fix it. I'll just assign it to myself and submit a fix.
When I run Omega in debug mode (not sure about release mode) with an
omega.yml
from Polaris, I'm seeing an error like this:The
omega.yml
looks like:and I presume the issue might be the decimal in
RunDuration
and/orTimeStep
. I didn't immediately see what changes would be needed to correctly support fractional sections here.