<div>Dear Mikhayla,</div><div>The first approach is correct. But you can make the second approach running by adding the HF section. The LibXC-related sections only affect the DFT part, not the HF part. It is always up to you to set it up because different systems require different setups regarding EPS_SCHWARZ, EPS_SCHWARZ_FORCES, MAX_MEMORY, CUTOFF_RADIUS etc.</div><div>HTH,</div><div>Frederick<br /></div><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">Mikhayla Clothier schrieb am Freitag, 28. Juni 2024 um 18:23:26 UTC+2:<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>Hello,</div><div><br></div><div>I would like to use the PBE50 functional. I followed the tutorial provided on the website (<a href="https://www.cp2k.org/exercises:2017_uzh_cp2k-tutorial:hybrid" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://www.cp2k.org/exercises:2017_uzh_cp2k-tutorial:hybrid&source=gmail&ust=1719679872417000&usg=AOvVaw2ch4XEepr5uljve7MRNfMr">https://www.cp2k.org/exercises:2017_uzh_cp2k-tutorial:hybrid</a>) where the PBE50 functional is created by manually tuning the PBE and HF contributions,</div><div><br></div><div>    &XC<br>        &XC_FUNCTIONAL<br>            &PBE<br>                SCALE_X 0.50<br>                SCALE_C 1.0<br>            &END PBE<br>        &END XC_FUNCTIONAL<br>        &HF<br>            FRACTION 0.50<br>        &END HF<br>    &END XC<br></div><div><br></div><div>However, within the manual, there seems to be a separate way to call the PBE50 functional from the LibXC library by simply saying <br></div><div><br></div><div>    &XC<br>        &XC_FUNCTIONAL<br>            &HYB_GGA_XC_PBE50<br>            &END HYB_GGA_XC_PBE50<br>        &END XC_FUNCTIONAL<br>    &END XC</div><div><br></div><div>
without the need to manually specify the HF contribution. I ran both approaches with a single water molecule to compare, and I got different energies. Also, just using the HYB_GGA_XC_PBE50 approach did not result in the "Hartree Fock exchange energy" being printed in the output.<br></div><div><br></div><div>Which method is the correct approach? If its the first, how does the HYB_GGA_XC_PBE50 functional work?  I am using the 2022.1 version of CP2K with the 4.1.4 version of OpenMPI.<br></div><div><br></div><div>I've attached the output files to this post. The one for manually setting PBE50 is named <br>"water_manual.out" and the one where I just set the functional as HYB_GGA_XC_PBE50 is called "water_hyb.out." If I need to upload my input files as well, please let me know!</div><div><br></div><div>Thank you!</div><div><br></div><div>Mikhayla Clothier<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 on the web visit <a href="https://groups.google.com/d/msgid/cp2k/332f795c-7506-4795-9dd8-e356d4e7568fn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/332f795c-7506-4795-9dd8-e356d4e7568fn%40googlegroups.com</a>.<br />