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

HYPRE memory fixup #733

Merged
merged 5 commits into from
Jan 17, 2024
Merged

HYPRE memory fixup #733

merged 5 commits into from
Jan 17, 2024

Conversation

lebuller
Copy link
Collaborator

@lebuller lebuller commented Jan 12, 2024

Removes calls to HYPRE initialize functions for vectors or matrices in setMatrixValues and solve as that leads to a memory leak. May still need more thought in how these functions are called as the way they are used by HYPRE is not the clearest/most logical.

Some leak still present in the setup function, specifically in the implementation of setupImpl. As setupImpl mainly just passes data to HYPRE, it is likely an issue on their end. This issue appears to be less significant than the issue in setMatrixValues but should still be remedied

…ialize in HYPRE. Some leak still present in call to setupImpl which is likely a HYPRE issue
@streeve streeve added the bug Something isn't working label Jan 12, 2024
@streeve streeve self-requested a review January 12, 2024 21:56
@streeve
Copy link
Member

streeve commented Jan 16, 2024

Do you think we should merge or wait until we figure out the setup issue?

@lebuller
Copy link
Collaborator Author

Do you think we should merge or wait until we figure out the setup issue?

I think it may be good to go ahead and merge since this will fix a lot of the memory issue we've seen. Though we can wait to discuss on the call this afternoon

@streeve streeve merged commit 93deaba into ECP-copa:master Jan 17, 2024
33 of 34 checks passed
@streeve streeve deleted the hypre_mem_issue branch January 17, 2024 16:20
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.

2 participants