<div>Deare Laurie,</div><div>Calculations with hybrid functionals are generally significantly (usually at least an order of magnitude) more expensive than non-hybrid calculations. This also affects the amount of necessary ressources for these kind of calculations. You may try the following things for testing:</div><div>- switch the RUN_TYPE to ENERGY_FORCE (default)</div><div>- restart your calculation from a non-hybrid calculation (PBE is usually a good guess). Add SCREEN_ON_INITIAL_P to enable density matrix screening to reduce the memory demands further.</div><div>- try a smaller system (to get a feeling for the usage of the methods) see https://github.com/cp2k/cp2k/tree/master/benchmarks/QS for some examples. Try H2O-32 and H2O-64, but you need to switch to HF/hybrid calculations first.</div><div>- try a smaller AUX_FIT basis set</div><div>- RI-Hybrid methods are not linear scaling for large systems (I do not know the crossing-over points as I am not familiar with the RI flavor)</div><div>- I do not know the amount of ressources you have available. For H2O-64 with ADMM but without RI, I need ca. 4 nodes of Piz Daint for PBE-calculations but ca. 16 for hybrid calculations(1 P100, 24 cores, 64 GB memory per node). For you system, it may be a factor of 4-8 more depending on the scaling behavior.</div><div>- Check the timings at the end of the output file (ask here if you need more advice on that)</div><div>- If it still breaks, enabling tracing of routines (add the TRACE and TRACE_MASTER keywords to your GLOBAL section) and post the last ca. 100 lines of the output file as the output file becomes huge (millions of lines of output)</div><div>- accuracy-wise: check EPS_DEFAULT in the QS section as it determines the accuracy of your calculation as well.</div><div>Best,</div><div>Frederick</div><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">Laurie Stevens schrieb am Freitag, 21. Februar 2025 um 16:32:18 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;"><br><div>Dear CP2K community, </div><div><br><br></div><div>I'm trying to run a REFTRAJ with the revPBE0 functional and I'm facing issues. I have been working with lower levels of theory before (mostly BLYP-D3, revPVBE and SCAN). When switching to a hybrid functional, I first tried to use only CPUs but it seemed way slower than I would have expected and I am now trying to move to GPUs. <br><br>However, I'm still encountering issues during my tests: either I get a OoM error, or the first SCF step is not finished after 45 minutes. (When I tried again with the CPUs, I had the same issues). I'm unsure if the SCF is even starting or if the GPU is correclty used. <br>The same REFTRAJ calculation was running perfectly fine for BLYP-D3 and revPBE functionals. <br><br>Is that a typical timing that one could expect in this case or am I doing something wrong? <br>Is it recommended to use GPUs when working with revPBE0 or is it reasonable to run it only on CPUs? Is there a way to speed up the calculation? <br><br>I'm really not familiar with hybrid functionals, so I don't know what to expect. Is there any recommendations regarding the setup on a cluster (number of nodes, MPI processes, OMP threads, etc) which are specific to this level of theory? <br><br><br>Thank you in advance for you help, <br>Best regards,<br>Laurie Stevens<br><br></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/978f1f50-cc69-4e9f-918d-62be3677b961n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/978f1f50-cc69-4e9f-918d-62be3677b961n%40googlegroups.com</a>.<br />