8000 Crash with large number of point charges · Issue #193 · pyscf/pyscf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Crash with large number of point charges #193

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

Closed
bogdanoff opened this issue Jun 14, 2018 · 1 comment
Closed

Crash with large number of point charges #193

bogdanoff opened this issue Jun 14, 2018 · 1 comment

Comments

@bogdanoff
Copy link
Contributor

Some programs to generate point-charge embedding like Ewald can produce large arrays of charges , say ~10^5, to accurately reproduce the potential.
The usage of fakemol = gto.fakemol_for_charges(coords) in pyscf/qmmm/itrf.py cause an "out of memory" crash.
With the "debug" option crash does not happen.
If memory allocation is the correct behaviour of gto.fakemol, maybe a check can be added to switch to "debug" option if it is insufficient.

@bogdanoff
Copy link
Contributor Author

Fixed in b8c67f3.
Thank you, Qiming.

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

No branches or pull requests

1 participant
0