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

[PYSCF] Geometry Optimisation - No message of failing to converge within the maxsteps #191

Closed
calvinp0 opened this issue Jan 22, 2024 · 2 comments

Comments

@calvinp0
Copy link

Hi, I posted this question to the PySCF group and I was directed to here in hopes of solving this issue

Link: pyscf/pyscf#2031

As you see, when I run PySCF and use geomeTRIC for the optimisation with 100 maxstreps, the output from geomeTRIC does not inform me of failing to converge. I am uncertain why this is the case.

Now, I am not certain if this is related to PySCF but when I do mol_opt.converged in my code, I get the return False. Which I would say is my solution, but I have also noticed that if I do have a molecule that does converge, mol_opt.converged will still return False

Thanks for any help!

@leeping
Copy link
Owner

leeping commented Jan 24, 2024

Hello Calvin,

I can see that your original issue regarding querying convergence success / failure has been resolved on the PySCF forum. However, I'm concerned that you are seeing a convergence failure with 100 steps for such a small molecule. I viewed your structure, which seems to be an organic radical, and I think it should have converged in 20 steps or less. I tried to reproduce the job in Q-Chem and indeed it converged in 17 steps.

Geometry optimization can sometimes fail if the nuclear gradient of the energy is not accurate. This is one possible cause of the issue, but it could be something else altogether.

  • Lee-Ping

org-rad.zip

@leeping leeping closed this as completed Jun 5, 2024
@ganfisher
Copy link

Hello Calvin,

I can see that your original issue regarding querying convergence success / failure has been resolved on the PySCF forum. However, I'm concerned that you are seeing a convergence failure with 100 steps for such a small molecule. I viewed your structure, which seems to be an organic radical, and I think it should have converged in 20 steps or less. I tried to reproduce the job in Q-Chem and indeed it converged in 17 steps.

Geometry optimization can sometimes fail if the nuclear gradient of the energy is not accurate. This is one possible cause of the issue, but it could be something else altogether.

  • Lee-Ping

org-rad.zip

So, how can I handle with the unconverged nuclear gradients?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants