<div dir="ltr"><div><div>Ok, I'm gonna test your suggestions. Thanks a lot!<br><br></div>Best,<br></div>Lorenzo Lagasco</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Il giorno mer 8 apr 2026 alle ore 13:08 Frederick Stein <<a href="mailto:f.stein@hzdr.de">f.stein@hzdr.de</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Dear Lorenzo,</div><div>Regarding the oscillations, you may need to decrease EPS_DEFAULT and EPS_SCHWARZ. With OT, you may also try other preconditioners and try to lower ENERGY_GAP in the OT section. I am also not sure whether PBE-pseudopotentials are suitable with HSE06 and should be replaced with pseudopotentials optimized for hybrid functionals (PBE0).</div><div>HSE06 is generally more expensive than PBE but you may try to set SCREEN_ON_INITIAL_P T in the HF section (at the expense of a lower EPS_SCHWARZ) to decrease the number of necessary integrals. The runtime of the second step should be significantly lower than the first SCF-step. To achieve that, you should set the MAX_MEMORY keyword and increase its value to fit as many integrals into RAM as possible. If there are still too many integrals to be recalculated, you can reduce the number of MPI ranks while increasing the number of OpenMP threads per MPI rank (and MAX_MEMORY).</div><div>It may also help to increase the print level and as soon as the accuracy looks fine, to post a timing report of a few SCF steps for further advice by either using a larger value of EPS_SCF or adding 
<a href="https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/DFT/SCF.html#CP2K_INPUT.FORCE_EVAL.DFT.SCF.IGNORE_CONVERGENCE_FAILURE" title="CP2K_INPUT.FORCE_EVAL.DFT.SCF.IGNORE_CONVERGENCE_FAILURE" target="_blank"><span>IGNORE_CONVERGENCE_FAILURE</span></a> to the SCF section.</div><div>Best,</div><div>Frederick</div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">Lorenzo Lagasco schrieb am Mittwoch, 8. April 2026 um 11:11:34 UTC+2:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Good morning,<br></div>I'm writing here because I'm facing some troubles with a HSE06 calculation, in order to get info about band gap and atomic pdos from my system (delafossite CuAlO2 with cumarin343 anchored above the surface). In particular, following some hints from manual/seminars, I launched a preliminar energy calculation GGA only (PBE). Then, I used the restart wfn file for the following hybrid calculation.<br></div>However, the calculation is extremely slow (probably because I'm using only 1 node with 16 CPU), but also the energy fluctuates strangely among the SCF iterations.<br></div>Here attached the input files of both PBE and HSE06 calculations, the output for the former calculation (still running) and xyz system (395 atoms).<br></div>Thanks in advance for the help </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" target="_blank">cp2k+unsubscribe@googlegroups.com</a>.<br>
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/a312531a-a26f-498a-9704-c48dc5214ed4n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/cp2k/a312531a-a26f-498a-9704-c48dc5214ed4n%40googlegroups.com</a>.<br>
</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/CAKRVyRvj5E-APmt%2B%2Bxm5YQ%3Df_uBs0DiaLptp1-_GHjTwVjoW8Q%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/CAKRVyRvj5E-APmt%2B%2Bxm5YQ%3Df_uBs0DiaLptp1-_GHjTwVjoW8Q%40mail.gmail.com</a>.<br />