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

Less cubeprop manual memory management #2345

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

JonathonMisiewicz
Copy link
Contributor

Description

This PR removes several new, delete, block_matrix, and free_block calls in cubeprop. I was hoping to eliminate all such calls in order to use cubeprop as a test case to study memory management in Psi, but I can't finish the job without refactoring BlockOPoints, which is far outside the scope of the PR.

Checklist

  • cubeprop tests still pass

Status

  • Ready for review
  • Ready for merge

@JonathonMisiewicz JonathonMisiewicz added cleanup For issues where the goal is to make Psi4 a little cleaner. cubeprop For issues with cubeprop, for generating cube files. labels Nov 4, 2021
@JonathonMisiewicz JonathonMisiewicz merged commit 273dd3a into psi4:master Nov 8, 2021
@JonathonMisiewicz JonathonMisiewicz deleted the cube_clea branch November 8, 2021 11:41
@JonathonMisiewicz JonathonMisiewicz added this to the Psi4 1.5 milestone Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup For issues where the goal is to make Psi4 a little cleaner. cubeprop For issues with cubeprop, for generating cube files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants