-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninitialized data in FillPatchTwoLevels #1147
Comments
With |
Here is the source MF's BoxArray. There is a box (BoxArray maxbox(200) |
There is a box in TheFPInfo() on the fine level that is not part of the intersection of the source and destination MultiFabs on the fine level, |
Can you tell me how to reproduce this? There was a recent change in AMReX to regrid that might have introduced a bug. |
I've placed the makefile and the checkpoint file in |
Is this wdmerger? |
Yes, that's right. The makefile will build from wdmerger if you have CASTRO_HOME set. |
AMReX-Codes/amrex#1204 @maxpkatz Can you try that PR? |
That looks like it resolves it, thank you. |
I have hit a case in wdmerger while regridding where FillPatchTwoLevels leaves certain data uninitialized in the coarse MultiFab, resulting in bad data accesses during the interpolation onto the fine MultiFab (or an FPE if running in debug mode with signaling NaNs enabled). As one example of where I see this in a run with amr.max_level = 3, the BoxArray on the coarse grid (on level 2) is
and a NaN is found in box
((768,13696) (1215,13759) (0,0))
in zone (1024, 13696).The text was updated successfully, but these errors were encountered: