Skip to content
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

Surface sampling segfaults when LB is turned on #11

Open
wants to merge 8 commits into
base: v2212
Choose a base branch
from

Conversation

FoamScience
Copy link
Collaborator

This is in reference to #10

So far unable to reliably reproduce on the damrBreak2D case. so this PR tracks work on this issue.

From the logs provided with #10 it seems the load balancer
segfaults right after the logic that computes the new imbalance (which would be the logic that "redistributes" the mesh).

Tested on the following combinations:

  • Decomposition methods: ✅ simple ✅ hierarchical ❌ metis ❌ scotch

ATM; it seems sampling classes don't like excessive boundary changes; probably caching some internal lists, which get outdated with LB ops.

All the errors I got are from: Foam::sampledPatch::sampleOnFaces with some reference to interpolation functions, so it's worth testing out different surface sampling ways...

@FoamScience FoamScience self-assigned this Apr 26, 2024
@FoamScience FoamScience changed the title Hotfix/sampling Surface sampling segfaults when LB is turned on Apr 26, 2024
@FoamScience FoamScience linked an issue May 24, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SurfaceSampling and blastAMR
1 participant