Non-determinism in examples, traced back to initial implicit residual in ImplicitEquationJacobian
#2228
Labels
bug
Something isn't working
Found (by luck) in #2225. I've since initialized the data to zeros, to help improve CI determinism, but if after
we do
then the solution is (sometimes) driven to NaNs. This appears to be a bug because the solution should not depend on the initial state of the residual--it should be (properly) computed before it is used.
Here are two builds where I've observed this (I also observed this locally):
However, I just tried
∂Yₜ∂Y
with NaNs, and the solution wasNaN
-free, so this seems to be non-deterministic.Running on the CPU, with Julia 1.10, here is a "reproducer":
ENV["TEST_NAME"] = "sphere/held_suarez_rhoe"; using Revise; include("examples/hybrid/driver.jl")
cc @dennisYatunin
The text was updated successfully, but these errors were encountered: