<div>Dear Andreas,</div><div>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>`).</div><div>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.</div><div>Best,</div><div>Frederick</div><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">Andreas Döll schrieb am Donnerstag, 18. Dezember 2025 um 19:36:43 UTC+1:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Dear cp2k community,</div><div><br></div><div>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.</div><div><br></div><div>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?</div><div>Should I use the restart file? </div><div><br></div><div>Cheers, </div><div>Andreas</div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/6e1cf672-2100-40d9-9d53-06aff7d716bfn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/6e1cf672-2100-40d9-9d53-06aff7d716bfn%40googlegroups.com</a>.<br />