Thank you Jurg! I really appreciate your help.<div><br /></div><div>Will<br /><br /></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Friday, December 6, 2024 at 2:18:56 AM UTC-8 Jürg Hutter wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi
<br>
<br>yes, looks good to me.
<br>I just submitted a patch, so now all possible combinations of functionals with ADMM approximations
<br>will be possible (including  hybrid(ADMM)@GGA)
<br>
<br>fun(A)@ fun(B) means: use functional B to calculate a Kohn-Sham density and then evaluate the energy
<br>                                     using functional A.
<br>
<br>regards
<br>JH
<br>
<br>________________________________________
<br>From: <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a> <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>> on behalf of Will Borrelli <<a href data-email-masked rel="nofollow">will....@gmail.com</a>>
<br>Sent: Thursday, December 5, 2024 4:52 PM
<br>To: cp2k
<br>Subject: Re: [CP2K:20952] DC-DFT; ADMM with Non-Hybrid DFA
<br>
<br>JH,
<br>
<br>Thank you for the reply, I will give that a go. I would also like to verify that my setup (see newly attached file - efp_pb0.inp) is correct for doing PBE0(admm)@HF(ADMM). The calculation seems to be working as expected but I would like to verify. Also, just to make sure I understand, your possibilities mean:
<br>
<br>GGA@GGA: GGA functional corrected with GGA density
<br>GGA@hybrid(ADMM): GGA functional corrected with hybrid density with ADMM used
<br>hybrid(ADMM)@hybrid(ADMM): hybrid functional with ADMM corrected with hybrid density with ADMM
<br>
<br>Best,
<br>Will
<br>
<br>On Thursday, December 5, 2024 at 5:01:51 AM UTC-8 Jürg Hutter wrote:
<br>Hi
<br>
<br>let's use the following nomenclature for DC-DFT : SCAN@HF means use SCAN on top of HF density.
<br>
<br>Your input suggests you want to do LDA@HF(ADMM).
<br>For this to work you have to set ADMM to false in the ENERGY_CORRECTION section, and to avoid later problems
<br>change the ADMM section to
<br>
<br>&AUXILIARY_DENSITY_MATRIX_METHOD
<br>ADMM_PURIFICATION_METHOD NONE
<br>EXCH_CORRECTION_FUNC PBEX
<br>EXCH_SCALING_MODEL NONE
<br>METHOD BASIS_PROJECTION
<br>&END AUXILIARY_DENSITY_MATRIX_METHOD
<br>
<br>BTW the following combinations are currently possible with CP2K
<br>
<br>GGA@GGA
<br>GGA@hybrid(ADMM)
<br>hybrid(ADMM)@hybrid(ADMM)
<br>
<br>what is not working (due to a bug) is hybrid(ADMM)@GGA
<br>
<br>regards
<br>JH
<br>
<br>________________________________________
<br>From: <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a> <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>> on behalf of Will Borrelli <<a href data-email-masked rel="nofollow">will....@gmail.com</a>>
<br>Sent: Thursday, December 5, 2024 3:08 AM
<br>To: cp2k
<br>Subject: [CP2K:20946] DC-DFT; ADMM with Non-Hybrid DFA
<br>
<br>Hi all,
<br>I am trying to implement DC-DFT using the ENERGY_CORRECTION feature. I want to do this using both a hybrid functional and a non-hybrid functional, but my system is too large to do this without ADMM. By doing ADMM T in the ENERGY_CORRECTION section with the hybrid functional everything works, but when I try this with the non-hybrid it does not. I get an error that ADMM can't work if there is no HF section within XC, which of course I do not have since the XC functional is not a hybrid. I do have a HF section under my ENERGY_CORRECTION section (see attached input file).
<br>
<br>Thanks in advance for any guidance.
<br>
<br>
<br>--
<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 data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a><mailto:<a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a>>.
<br>To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/606e9679-5c12-416a-a607-f5beec955b87n%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/606e9679-5c12-416a-a607-f5beec955b87n%2540googlegroups.com&source=gmail&ust=1733586213648000&usg=AOvVaw2LXTBlHj-W0N7xGI9LWGXI">https://groups.google.com/d/msgid/cp2k/606e9679-5c12-416a-a607-f5beec955b87n%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/606e9679-5c12-416a-a607-f5beec955b87n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/606e9679-5c12-416a-a607-f5beec955b87n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1733586213648000&usg=AOvVaw0aAb8vZxuQaisGWp69grLd">https://groups.google.com/d/msgid/cp2k/606e9679-5c12-416a-a607-f5beec955b87n%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<br>
<br>--
<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 data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a><mailto:<a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a>>.
<br>To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/ff356d97-d2c8-4ec3-8c77-e4cc3742fad7n%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/ff356d97-d2c8-4ec3-8c77-e4cc3742fad7n%2540googlegroups.com&source=gmail&ust=1733586213648000&usg=AOvVaw3HvkP_q1hcb3qXCjL9pRHO">https://groups.google.com/d/msgid/cp2k/ff356d97-d2c8-4ec3-8c77-e4cc3742fad7n%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/ff356d97-d2c8-4ec3-8c77-e4cc3742fad7n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/ff356d97-d2c8-4ec3-8c77-e4cc3742fad7n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1733586213648000&usg=AOvVaw0neMgeQq0z_K0kfDqncRdi">https://groups.google.com/d/msgid/cp2k/ff356d97-d2c8-4ec3-8c77-e4cc3742fad7n%40googlegroups.com?utm_medium=email&utm_source=footer</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/74c24693-30c1-4e3a-813f-2afcc88b1705n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/74c24693-30c1-4e3a-813f-2afcc88b1705n%40googlegroups.com</a>.<br />