You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
attribute: <WallTime of </Info>> and <WallTime of </Info>>
1 differences found
attribute: <File of </Input>> and <File of </Input>>
4397 differences found
dataset: </advected> and </advected>
1550 differences found
dataset: </one_minus_sqrt_one_minus_advected_sq_12> and </one_minus_sqrt_one_minus_advected_sq_12>
1385 differences found
dataset: </one_minus_sqrt_one_minus_advected_sq_37> and </one_minus_sqrt_one_minus_advected_sq_37>
1385 differences found
If I switch to restarting from gold.out1.00005.rhdf I get
attribute: <WallTime of </Info>> and <WallTime of </Info>>
1 differences found
attribute: <File of </Input>> and <File of </Input>>
4396 differences found
dataset: </advected> and </advected>
3987 differences found
dataset: </one_minus_sqrt_one_minus_advected_sq_12> and </one_minus_sqrt_one_minus_advected_sq_12>
3663 differences found
dataset: </one_minus_sqrt_one_minus_advected_sq_37> and </one_minus_sqrt_one_minus_advected_sq_37>
3663 differences found
These diffs are much larger than machine precision (I have to take the tolerance of the h5diff to 1.e-5 before the dataset differences go away), but they are small compared to the magnitude of the solution. What is strange is that if I restart from gold.out1.0000[0-4].rhdf or gold.out1.0000[6-8].rhdf I get bitwise agreement between the gold and silver final outputs. This behavior seems to persist back to at least the most recent release. At least to me, this behavior seems to be a bug.
The text was updated successfully, but these errors were encountered:
Ok, if I set parthenon/mesh/derefine_count=1 at least these two restarts give bitwise exact results. It looks like MeshRefinement::DereferenceCount() is never called during output, so this state must not get saved. (Also I think that function is inappropriately named, it really should be DerefinementCount).
Ok so it sounds like the solution is that DereferenceCount(), which should really be DerefinementCount should be called on output. Maybe we pack it with the other mesh structure vars in Info?
I have a PR in progress that fixes this issue. I could either push that, or continue on down the path of also fixing a similar issue with sparse restarts (the deallocation counter is not saved there), but the sparse restart issue seems to be known.
How I ended up here is a longer story, but today I was looking at restarting the advection example. On current develop in a build directory, if I run
the output I get from the h5diff is
If I switch to restarting from
gold.out1.00005.rhdf
I getThese diffs are much larger than machine precision (I have to take the tolerance of the h5diff to 1.e-5 before the dataset differences go away), but they are small compared to the magnitude of the solution. What is strange is that if I restart from
gold.out1.0000[0-4].rhdf
orgold.out1.0000[6-8].rhdf
I get bitwise agreement between the gold and silver final outputs. This behavior seems to persist back to at least the most recent release. At least to me, this behavior seems to be a bug.The text was updated successfully, but these errors were encountered: