-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update ORCA to work with ASE v3.23 #333
Conversation
No idea why there's a problem with the unit tests' torch set up, locally that bit executes without a problem. |
It's a pip version issue, which is fixed in #332 (or, more accurately, should be, but I'm waiting for my suggested fix to be tested) |
@gelzinyte I just merged #330, so maybe merge from main into this branch, so we can confirm there are no bad interactions? |
Ah, missed that. Let's hear from that PR before fixing these tests. |
The local orca tests still pass ok after the merge |
@gelzinyte can you merge from Actually, since this is a branch in the main github, I can try to do it. |
Some notes on the changes:
ase.orca.ORCA.calculate
. This PR instead calls the parentself.calculate()
and all the modifications are moved in before and after. These areengrad
keyword that turns on the forces calculation.engrad
keyword. Currently, if it's not supplied by the user,get_forces()
either fails or runs orca for a second time.The documentation example and frequency reading still need updating, but I would like to contribute those in a separate PR, so that the major fixes aren't any more delayed.
All unit tests pass locally, except for the one marked with an x-fail.
@bernstei how does this look?