[CP2K-user] [CP2K:17348] Geometry Optimization with Brent's Algorithm: CP2K and VASP
nwinner at berkeley.edu
Thu Jul 21 23:12:53 UTC 2022
I'm working with some people that are using VASP while I am using CP2K.
While CP2K has really fast SCF procedure, it seems to be slower when it
comes to geometry optimization for some reason.
I've dug into VASP's manual and they claim that their CG method uses "a
modified version of Brent's algorithm." No further details are given.
Normally with CP2K, I use 2PNT line search with my CG minimizations, and I
think this is pretty standard for everyone else. I do know that CP2K
supports FIT and GOLD line search options which use Brent's algorithm
(actually I don't 100% know how FIT and Brent's Algorithm are related, but
gold uses it at least). However, GOLD line search is very slow in CP2K, as
we are warned in the manual.
So, my hunch, is that CP2K with some type of gold or fit line search would
be able to match this "modified Brent's algorithm" and provide faster
minimization than what I am currently getting. Are there some insights that
people can provide for choosing settings for gold line search that can give
decent results? To remind, the flags we have to play with are:
*Limit in 1D bracketing during line search in Conjugate Gradients
Default value: 1.00000000E+002
*Maximum number of iterations in brent algorithm (used for the line search
in Conjugated Gradients Optimization)*
Default value: 100
*Tolerance requested during Brent line search in Conjugate Gradients
Default value: 1.00000000E-002
*Initial step size used, e.g. for bracketing or minimizers. Might need to
be reduced for systems with close contacts*
Default value: 2.00000000E-001
Could it be that VASP uses a loose value for BRENT_TOL, or maybe a small
number of max steps? Furthermore, what is the tolerance in the algorithm?
Tolerance for the atomic position refinement, or forces?
If anyone has any ideas, it would be much appreciated.
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 on the web visit https://groups.google.com/d/msgid/cp2k/c3f8726c-7587-4240-8e97-c2a97f3ebdafn%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CP2K-user