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

Fix PETSc segfault issues #469

Merged
merged 4 commits into from
Jul 11, 2024
Merged

Fix PETSc segfault issues #469

merged 4 commits into from
Jul 11, 2024

Conversation

sblauth
Copy link
Owner

@sblauth sblauth commented Jul 11, 2024

This PR merges the changes from patch 2.1.4 into main.
This will hopefully be sufficient for #325 and #320

There, calling transfer_matrix.createVecs() was causing segfaults.
However, the matrix could still be used for multiplication, which works just fine

The call to createVecs was unnecessary, and thus removed.
Replace calls to `getVec...` with `createVec` for better petsc4py / PETSc match
Refactor the way the transfer matrix is used for the global deformation (createVec does not have to be called here)
@sblauth sblauth added bug Something isn't working development labels Jul 11, 2024
@sblauth sblauth self-assigned this Jul 11, 2024
@sblauth sblauth merged commit b086200 into main Jul 11, 2024
24 checks passed
@sblauth sblauth deleted the hotfix/2.1.4 branch July 11, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant