[CP2K-user] [CP2K:22085] Geometric optimization vs L-BFGS criteria
Krack, Matthias
matthias.krack at psi.ch
Wed Feb 4 17:31:33 UTC 2026
Hi Andreas
You can try to add TRUST_RADIUS 0.1<https://manual.cp2k.org/trunk/CP2K_INPUT/MOTION/GEO_OPT/LBFGS.html#CP2K_INPUT.MOTION.GEO_OPT.LBFGS.TRUST_RADIUS> in the &LBFGS section or increase MAX_H_RANK to 10 or more.
If the system is not too large, you can also resort to BFGS which is more robust.
HTH
Matthias
From: cp2k at googlegroups.com <cp2k at googlegroups.com> on behalf of Andreas Döll <andreasm.doell at gmail.com>
Date: Wednesday, 4 February 2026 at 18:06
To: cp2k <cp2k at googlegroups.com>
Subject: [CP2K:22085] Geometric optimization vs L-BFGS criteria
Hello,
I have the exact same script, but with different molecules and I am doing geometric optimization. One time it says Geometric optimization completed as usual, but for the other xyz file it says before reaching all convergence criteria at an optimization step (Max grad not converged)
***********************************************
* Specific L-BFGS convergence criteria
* WANTED_PROJ_GRADIENT and WANTED_REL_F_ERROR
* satisfied .... run CONVERGED!
***********************************************
and it stops the optimization.
I found https://groups.google.com/g/cp2k/c/ERSHqK6yAHg/m/iQEhlX57AAAJ where "Tomas Kuehne" explains that LBFGS optimizer is working as intended and does not use RMS/MAX values, but what can I change to reach my geo opt criterion before the optimizer terminates? Just making other geo opt criteria tighter should lead to the desired result? Anything else?
Cheers,
Andreas
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/f1495f1c-4534-4475-9cb3-07256b928293n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/f1495f1c-4534-4475-9cb3-07256b928293n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/ZR2P278MB1146A36DC7301E871143E33BF498A%40ZR2P278MB1146.CHEP278.PROD.OUTLOOK.COM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20260204/c3905d1d/attachment-0001.htm>
More information about the CP2K-user
mailing list