[CP2K-user] [CP2K:22005] Re: Geometric optimization -> Single point energy calc: Changing basis and reading in coordinates

Frederick Stein f.stein at hzdr.de
Fri Dec 19 14:09:37 UTC 2025


Dear Andreas,
It should definitely work to setup some bash script (run the geometry 
optimization, extract the last geometry using `tail -<number of atoms+2> < 
geometry_history.xyz>`).
I am not entirely sure but the Farming feature could also be worth 
exploring (see https://github.com/cp2k/cp2k/tree/master/tests/FARMING for a 
simple example). It allows you to initialize CP2K once, run the geometry 
optimization and then start a second job with the expensive basis set 
referencing the history file and restarting the wavefunctions from the 
restart file created during the geometry optimization. But I am not sure 
whether it then reads the first or the last geometry. But that is easy to 
find out.
Best,
Frederick

Andreas Döll schrieb am Donnerstag, 18. Dezember 2025 um 19:36:43 UTC+1:

> Dear cp2k community,
>
> I want to do a geometric optimization using a less expensive basis set, 
> then after it is finished run a single point calculation using a more 
> expensive basis set/exchange etc.
>
> How can I in one script finish the optimization and then change basis set 
> and even how do I read in the final coordinates after the optimization? Can 
> this be done in one singular script?
> Should I use the restart file? 
>
> 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.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/6e1cf672-2100-40d9-9d53-06aff7d716bfn%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20251219/f6d4589f/attachment.htm>


More information about the CP2K-user mailing list