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

Clarify out of memory error on density #796

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Conversation

pfebrer
Copy link
Contributor

@pfebrer pfebrer commented Jun 20, 2024

I have been testing the limits and for 10000 orbitals numpy needs to allocate 23GiB, which is too much for my RAM, and it fails.

It then throws a numpy.core._exceptions._ArrayMemoryError, which a user might not understand how to solve. Here we raise a clearer error for the user that is trying to compute the density.

It takes veeery long to compute such a system with the direct method, but at least it can be computed.

I have been testing the limits and for 10000 orbitals numpy needs to allocate 23GiB, which is too much for my RAM, and it fails.

It then throws a `numpy.core._exceptions._ArrayMemoryError`, which a user might not understand how to solve. Here we raise a clearer error for the user that is trying to compute the density.

It takes veeery long to compute such a system with the direct method, but at least it can be computed.
@zerothi zerothi merged commit b0feb0c into zerothi:main Jun 20, 2024
6 checks passed
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.

2 participants