-
Notifications
You must be signed in to change notification settings - Fork 90
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
Adding H2 geometry optimzation example #278
Conversation
I could have added the optimization geometry on H2O, but it takes way too much time even on my computer, so I don't think it might be a good idea to put it in the examples as it will take too long to compute on the cloud. |
Yes, having examples that run quickly is important. What is taking so long here? Is it forces? |
Yes, that's it: computing forces along with optimization in R^9. |
The test on Travis to generate doc is failing with the following error (which I don't get on my computer...) :
Do you know where it might come from ? Maybe we should not use symmetries ? |
Oh that's a fun error. I'm guessing our check uses tolerances different from the one spglib uses? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! A few remarks.
Ah yes the issue is that spglib uses a tolerance of 1e-5 to find symmetries, but than we check in DFTK whether these symmetries are correct (with probably a different algorithm). If you add some leg freedom for numerical errors in https://github.com/JuliaMolSim/DFTK.jl/blob/master/src/external/spglib.jl#L90 (like a factor 2 or 5 say) than this error should not show up. |
…ies by a factor of 5
No description provided.