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

pythonapi fail for missing properties #597

Open
bhourahine opened this issue Aug 5, 2020 · 7 comments
Open

pythonapi fail for missing properties #597

bhourahine opened this issue Aug 5, 2020 · 7 comments
Labels
API Relates to the API enhancement Python API Relates specifically to the Python API

Comments

@bhourahine
Copy link
Member

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.

@bhourahine bhourahine added API Relates to the API Python API Relates specifically to the Python API labels Aug 13, 2020
@bhourahine
Copy link
Member Author

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).

@ritwit
Copy link

ritwit commented Nov 13, 2020

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!

@stale
Copy link

stale bot commented May 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label May 20, 2021
@bhourahine bhourahine removed the stale label May 26, 2021
@stale
Copy link

stale bot commented Nov 22, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Nov 22, 2021
@bhourahine bhourahine removed the stale label Nov 22, 2021
@stale
Copy link

stale bot commented May 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label May 21, 2022
@bhourahine bhourahine removed the stale label May 21, 2022
@stale
Copy link

stale bot commented Nov 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Nov 17, 2022
@aradi aradi removed the stale label Nov 22, 2022
@stale
Copy link

stale bot commented May 25, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to the API enhancement Python API Relates specifically to the Python API
Projects
None yet
Development

No branches or pull requests

3 participants