Stateful + adaptivity + recover = crash #13972
Labels
C: Framework
P: normal
A defect affecting operation with a low possibility of significantly affects.
T: defect
An anomaly, which is anything that deviates from expectations.
Bug Description
The combination of stateful material properties, adaptivity and recovering doesn't work, leading to a seg fault on recovery (possibly related to or the same issue as in #9703).
Steps to Reproduce
It looks like this combination is tested in the tests
test/tests/materials/stateful_prop/stateful_prop_adaptivity_test.i
and/test/tests/materials/stateful_prop/spatial_adaptivity_test.i
which both currently have stateful material properties and mesh adaptivity. These tests pass with--recover
.However, these tests are set up so that there is no adaptivity in the first part of the recover test, because only one time step is taken when the
--half-transient
flag is used. This is misleading, as simply increasingnum_steps
to 4 will result in mesh adaptivity in the first half of the run, and a crash when recovering.This is trivial to replicate. Simply set
num_steps = 4
in either of these tests andrun_tests --recover
to see it crash while trying to load the stateful material properties.Impact
Could be a problem for long running jobs that use both stateful materials and mesh adaptivity as no recovery is possible.
The two tests mentioned above should probably be changed so that they don't pass in recovery (and then skipped during recovery testing) as it currently looks like this combination works when in it doesn't.
The text was updated successfully, but these errors were encountered: