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
pythonapi fail for missing properties #597
Comments
Probably needs error propagation upwards through the C API to fix (internally at the moment it hits call error() in Fortran but this doesn't cleanly shutdown over the ctypes interface). |
Hi! I was trying to use the C API to compute DFTB energies. I noticed that if the SCC fails, exit() is called within dftb+ library, killing my C program. Is there a way to prevent this behaviour? It would be great if dftb+ could return an error code instead of calling exit(). Thank you! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
If gradients are requested from an instance associated with a dftb_in.hsd file that doesn't request an evaluation of them, it kills the python VM without an error message.
The text was updated successfully, but these errors were encountered: