<br>Matthias, after investigating further, it does seem like using the SR potential is fairly consistent in giving good results for the DFT+U calculations, even when Mulliken leads to a negative +U energy. I have previously not used DFT+U, and always used TZV2PX for O finding no problems, but the population analysis does seem to require a better conditioned overlap matrix. <div><br></div><div>Matt mentioned TZV-SR basis sets in the UCL file, which is true, but not for O. In fact there are a few elements which only go up to DZVP-SR across all the BASIIS_MOLOPT_{, UCL, LnPP1} files. Some of these are O, C, Cl, F, H, etc. which are very common elements. H for instance only has SZV-SR and the rest are non-SR. If I believe that SR should always be used for stability in condensed phase, then it seems like these need some new basis sets, at least up to TZV quality. Maybe you disagree and DZVP is sufficient for these elements for some reason, while others really need larger bases?</div><div><br></div><div>Is there a reference for the procedure for fitting the SR basis sets? The molopt sets are described in "Joost VandeVondele and Juerg Hutter, J. Chem. Phys. 127, 114105 (2007)", but the BASIS_MOLOPT file simply says "variants of these basis sets using less and thus less diffuse primitives " were used for the SR versions, which is a little bit vague to me.</div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, April 22, 2021 at 2:18:31 AM UTC-7 Matt W 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;">Just to note there are MOLOPT-TZVP-SR in the BASIS_MOLOPT_UCL files distributed with CP2K.<div>Matt<br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Wednesday, April 21, 2021 at 11:58:19 PM UTC+1 <a href data-email-masked rel="nofollow">n...@berkeley.edu</a> 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">So something very strange happened.<div><div><br></div><div>I'm hesitant to switch O to a SR basis, because only SZV/DZVP are available. SZV isn't production quality and DZVP really isn't near the basis set limit, but I gave it a try to see what would happen. The warning about negative DFT+U persists, but the energy changed to  -15383.653493175701442. I then re-initialized with TZV2PX and converged to  -15385.210534637011733. </div><div><br></div><div>So to summarize I have three values for U=1.75</div></div>
<div>-15378.643602015281431 with TZV2PX<br></div><div>-15383.653493175701442 with DZVP<br></div><div>-15385.210534637011733 after restarting TZV2PX from the DZVP wfn.<br></div><div><br></div><div>These are enormous differences in energy and I don't know what to make of it. Any more ideas about what is going wrong based on my inputs?</div><div><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Wednesday, April 21, 2021 at 11:12:25 AM UTC-7 Matthias Krack 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">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">At a first glance, the basis set TZV2PX-MOLOPT-GTH-q6 for O is not well suited for condensed phase systems. You should rather use MOLOPT basis sets with “SR”
 in the name.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">HTH<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Matthias<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"></div></div></div><div lang="EN-US" link="blue" vlink="purple"><div><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a rel="nofollow">c...@googlegroups.com</a> <<a rel="nofollow">c...@googlegroups.com</a>>
<b>Im Auftrag von </b>Nicholas Winner<br>
<b>Gesendet:</b> Mittwoch, 21. April 2021 19:36<br>
<b>An:</b> cp2k <<a rel="nofollow">c...@googlegroups.com</a>><br>
<b>Betreff:</b> Re: [CP2K:15178] DFT+U unphysical warning<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Here is my input file for Mn3O4. <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Wednesday, April 21, 2021 at 10:30:13 AM UTC-7 Matthias Krack wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hello Nick</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The selection of the initial guess can help to achieve convergence. Could you provide a case which
 fails to converge with MULLIKEN? Otherwise, it is difficult to give further hints.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Matthias</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<span><a rel="nofollow">c...@googlegroups.com</a></span> <<span><a rel="nofollow">c...@googlegroups.com</a></span>>
<b>Im Auftrag von </b>Nicholas Winner<br>
<b>Gesendet:</b> Mittwoch, 21. April 2021 19:15<br>
<b>An:</b> cp2k <<span><a rel="nofollow">c...@googlegroups.com</a></span>><br>
<b>Betreff:</b> Re: [CP2K:15176] DFT+U unphysical warning</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks for the reply Matthias. I've had moderate success following what you suggested.<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">One issue that still persists, however, is that for some calculations I can only get convergence by using PLUS_U_METHOD LOWDIN. For example, MnO with Ueff=1.75eV, diagonalization
 and small smearing (T=100). I've tried using diagonalization and OT with MULLIKEN to get convergence, but sometimes LOWDIN seems to be the only way. Unfortunately, Lowdin does not support forces, so relaxations are out of the question. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Do you have a suggestion for how to work around this?<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">-Nick<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">On Friday, April 16, 2021 at 11:00:09 PM UTC-7 Matthias Krack wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hello Nick</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I do not recommend the use of the PLUS_U_METHOD MULLIKEN_CHARGES. Just use the PLUS_U_METHOD MULLIKEN.
 The Mulliken population analysis can give unphysical orbital occupations, i.e. values greater than one (UKS case) or two (RKS case). Often the maximum occupation is only slightly exceeded and the warning can be ignored safely. You can print the orbital occupations
 for the orbitals affected by the +U correction with this <a href="https://manual.cp2k.org/cp2k-8_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/PLUS_U.html" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://manual.cp2k.org/cp2k-8_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/PLUS_U.html&source=gmail&ust=1619202292564000&usg=AFQjCNEFTJ5eoQyRmjImIpzEVqUYoBxl4g">
print key</a> at the PRINT_LEVEL medium to check the actual occupation. Note, that the U values found appropriate with PW codes in the literature are not necessarily optimal for CP2K, too. CP2K often gives a similar effect, e.g. impact on the band gap, for
 smaller U values.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">HTH</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Matthias</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<span><a rel="nofollow">c...@googlegroups.com</a></span> <<span><a rel="nofollow">c...@googlegroups.com</a></span>>
<b>Im Auftrag von </b>Nicholas Winner<br>
<b>Gesendet:</b> Freitag, 16. April 2021 22:57<br>
<b>An:</b> cp2k <<span><a rel="nofollow">c...@googlegroups.com</a></span>><br>
<b>Betreff:</b> [CP2K:15147] DFT+U unphysical warning</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<p>Hello all, I am running some DFT+U calculations on Mn-O systems. While I have found a cp2k effective U value in the literature of ~1.3 eV for Mn. I notice that when tuning the value myself, I begin seeing the following warning once the U value reaches 0.5eV.<u></u><u></u></p>
<p>*** WARNING in dft_plus_u.F:2006 :: DFT+U energy contibution is negative ***<u></u><u></u></p>
<p> *** possibly due to unphysical Mulliken charges!    <u></u><u></u></p>
<p>Now this is only a warning, not an indication that the calculation is *necessarily* wrong, but it is troubling at least. Especially when my U value is nowhere near the size of lit value. I am using PLUS_U_METHOD MULLIKEN_CHARGES in order to have a marginally
 more robust solution. Does anyone have experience with how seriously to take this warning? I don't have a frame of reference to know if I should ignore it.<u></u><u></u></p>
<p> <u></u><u></u></p>
<p>-Nick<u></u><u></u></p>
</div>
</div>
</div>
<div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<p class="MsoNormal">--
<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
<span><a rel="nofollow">cp...@googlegroups.com</a></span>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/f41c9258-21be-4389-a69f-55aab2a808d4n%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/f41c9258-21be-4389-a69f-55aab2a808d4n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1619202292565000&usg=AFQjCNH1iXRqO4WzJZM5XT5d7sGP4Funiw">
https://groups.google.com/d/msgid/cp2k/f41c9258-21be-4389-a69f-55aab2a808d4n%40googlegroups.com</a>.<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<p class="MsoNormal">--
<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
<span><a rel="nofollow">cp...@googlegroups.com</a></span>.<u></u><u></u></p>
</div>
</div>
</div>
<div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<p class="MsoNormal">To view this discussion on the web visit
<a href="https://groups.google.com/d/msgid/cp2k/66f4854a-2810-4a94-a5d7-6372c2103c4cn%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/66f4854a-2810-4a94-a5d7-6372c2103c4cn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1619202292565000&usg=AFQjCNGlseAsRDSe6-tr_Q6EVlrd5UkDLQ">
https://groups.google.com/d/msgid/cp2k/66f4854a-2810-4a94-a5d7-6372c2103c4cn%40googlegroups.com</a>.<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
</div></div></div><div lang="EN-US" link="blue" vlink="purple"><div><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><p class="MsoNormal">-- <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 rel="nofollow">cp...@googlegroups.com</a>.<br></p></div></div></div><div lang="EN-US" link="blue" vlink="purple"><div><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><p class="MsoNormal">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/a7c40bdf-fdfb-4448-a20e-bb24a88a7ee9n%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/a7c40bdf-fdfb-4448-a20e-bb24a88a7ee9n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1619202292566000&usg=AFQjCNHJtcEX9i2ufDJryDpx7YP2Vxze1A">
https://groups.google.com/d/msgid/cp2k/a7c40bdf-fdfb-4448-a20e-bb24a88a7ee9n%40googlegroups.com</a>.<u></u><u></u></p>
</div>
</div>
</div>

</blockquote></div></blockquote></div></blockquote></div>