-
Notifications
You must be signed in to change notification settings - Fork 66
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
optimizer crash #126
Comments
Hello Michal, Thanks for sharing, this seems to be a rare error and I don't have any examples here that can reproduce it. For these cases, one possibility is you can change the coordinate system, for example using If you could write out the
You can do this by editing the line indicated in the file above to the following:
Thanks,
|
Hi @leeping, I am also seeing this consistently for molecules when performing 2D torsiondrives. I have attached the json input for an optimisation extracted from the 2D scan run in QCFractal. The job requires Update: changing the coordsys to tric avoids the issue. |
Hi Josh,
Thanks for letting me know about this issue! This is a late response, but
I will work on it and let you know when I find a solution. It seems that a
problem is being encountered in diagonalizing the Hessian, and possibly a
try/except block that re-initializes the Hessian to the initial guess would
be good enough to get past that issue.
- Lee-Ping
…On Tue, Nov 16, 2021 at 4:30 AM Josh Horton ***@***.***> wrote:
Hi @leeping <https://github.com/leeping>,
I am also seeing this consistently for molecules when performing 2D
torsiondrives. I have attached the json input for an optimisation extracted
from the 2D scan run in QCFractal. The job requires xtb-python and can be
run via the QCEngine CLI using qcengine run-procedure geometric
geo_fail.json. Let me know if there is anything else I can provide to
help debug the issue.
geo_fail.json.txt
<https://github.com/leeping/geomeTRIC/files/7546246/geo_fail.json.txt>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#126 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK76GB72B55UUIPGIOCMFTUMJFGJANCNFSM4ZS7GEUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@jthorton I noticed that this issue has been open for a long time now. Is it still an issue with the latest release? |
For certain molecules, we are getting this error reproducibly:
Unknown Error:
Traceback (most recent call last):
File "/sw-pmpv/sdk/anaconda-python/2020.07/envs/anaconda-2020/lib/python3.8/site-packages/geometric/optimize.py", line 1893, in main
run_optimizer(**vars(args))
File "/sw-pmpv/sdk/anaconda-python/2020.07/envs/anaconda-2020/lib/python3.8/site-packages/geometric/optimize.py", line 1821, in run_optimizer
progress = Optimize(coords, M, IC, engine, dirname, params)
File "/sw-pmpv/sdk/anaconda-python/2020.07/envs/anaconda-2020/lib/python3.8/site-packages/geometric/optimize.py", line 1331, in Optimize
return optimizer.optimizeGeometry()
File "/sw-pmpv/sdk/anaconda-python/2020.07/envs/anaconda-2020/lib/python3.8/site-packages/geometric/optimize.py", line 1299, in optimizeGeometry
self.evaluateStep()
File "/sw-pmpv/sdk/anaconda-python/2020.07/envs/anaconda-2020/lib/python3.8/site-packages/geometric/optimize.py", line 1277, in evaluateStep
Eig1 = np.linalg.eigh(self.H)[0]
File "<array_function internals>", line 5, in eigh
File "/sw-pmpv/sdk/anaconda-python/2020.07/envs/anaconda-2020/lib/python3.8/site-packages/numpy/linalg/linalg.py", line 1470, in eigh
w, vt = gufunc(a, signature=signature, extobj=extobj)
File "/sw-pmpv/sdk/anaconda-python/2020.07/envs/anaconda-2020/lib/python3.8/site-packages/numpy/linalg/linalg.py", line 94, in _raise_linalgerror_eigenvalues_nonconvergence
raise LinAlgError("Eigenvalues did not converge")
numpy.linalg.LinAlgError: Eigenvalues did not converge
Unfortunately, I can't share any of the offending structures due to their confidential nature. I hope we will find a non-confidential test case soon. Anyway, do you have any hints how to fix this?
The text was updated successfully, but these errors were encountered: