Skip to content

Surface sampling segfaults when LB is turned on#11

Closed
FoamScience wants to merge 8 commits intov2212from
hotfix/sampling
Closed

Surface sampling segfaults when LB is turned on#11
FoamScience wants to merge 8 commits intov2212from
hotfix/sampling

Conversation

@FoamScience
Copy link
Copy Markdown
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
@FoamScience
Copy link
Copy Markdown
Collaborator Author

#29 took over

@FoamScience FoamScience closed this Dec 5, 2025
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