Hello Matthias,<br><br>Thank you once again for the explanation. If the wavefunction is so well converged and the energy still changes, is it reasonable to suspect that the behaviour is somehow related to the non-local contribution that is computed in the vdW-DF framework (possibly some numerical noise?)? I also observed that the numbers in the "Change" column that are printed in the output are often the same (usually 1.21E-06 Ha).<br><br>Best regards,<br>Michael<div class="gmail_quote"><div dir="auto" class="gmail_attr">Matthias Krack schrieb am Mittwoch, 23. Juni 2021 um 18:21:14 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 lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hello Michael<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">The OT convergence criterion is defined by the wavefunction gradient printed in the column “Convergence” which reached already 6.8E-10 and not by the energy change
 between two consecutive SCF iteration steps. You can also try an alternative OT minimizer like CG or restart using diagonalization with DIIS instead of OT. On the other hand, your system seems to be well converged already.<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">Best<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 href data-email-masked rel="nofollow">c...@googlegroups.com</a> <<a href data-email-masked rel="nofollow">c...@googlegroups.com</a>>
<b>Im Auftrag von </b>Michael Fischer<br>
<b>Gesendet:</b> Mittwoch, 23. Juni 2021 18:07<br>
<b>An:</b> cp2k <<a href data-email-masked rel="nofollow">c...@googlegroups.com</a>><br>
<b>Betreff:</b> Re: [CP2K:15617] Energy oscillations in vdW-DF calculations<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear Matthias,<br>
<br>
Thank you very much for the fast reply. Even when setting EPS_DEFAULT to 10-14, I get some of these oscillations, as shown below:<u></u><u></u></p>
<div>
<p class="MsoNormal"> Step     Update method      Time    Convergence         Total energy    Change<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  ------------------------------------------------------------------------------<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     1 OT DIIS     0.15E+00    5.1     0.00000073     -5301.9181906664 -5.30E+03<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     2 OT DIIS     0.15E+00    2.5     0.00000029     -5301.9181922654 -1.60E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     3 OT DIIS     0.15E+00    2.5     0.00000005     -5301.9181886933  3.57E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     4 OT DIIS     0.15E+00    2.5     0.00000001     -5301.9181899089 -1.22E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     5 OT DIIS     0.15E+00    2.5     4.4595E-09     -5301.9181899089 -5.09E-11<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     6 OT DIIS     0.15E+00    2.5     1.8983E-09     -5301.9181886941  1.21E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     7 OT DIIS     0.15E+00    2.5     6.8365E-10     -5301.9181899090 -1.21E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">  *** SCF run converged in     7 steps ***<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
I am actually wondering why the SCF cycle converges at all, despite the change in total energy of 1.21E-06 Ha between the 6th and 7th iteration.<br>
<br>
Best regards,<br>
Michael<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Matthias Krack schrieb am Mittwoch, 23. Juni 2021 um 16:59:17 UTC+2:<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 style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Michael</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">you can also try to reduce EPS_DEFAULT to 1.0E-12 or less for a better numerical accuracy.</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 lang="DE" 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 href data-email-masked rel="nofollow">c...@googlegroups.com</a></span> <<span><a href data-email-masked rel="nofollow">c...@googlegroups.com</a></span>>
<b>Im Auftrag von </b>Michael Fischer<br>
<b>Gesendet:</b> Mittwoch, 23. Juni 2021 15:34<br>
<b>An:</b> cp2k <<span><a href data-email-masked rel="nofollow">c...@googlegroups.com</a></span>><br>
<b>Betreff:</b> [CP2K:15615] Energy oscillations in vdW-DF calculations</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Dear CP2K community,<br>
<br>
I am seeing a somewhat strange behaviour in CP2K calculations using vdW-DF functionals (version 7.1): Within one SCF cycle, the calculation sometimes reaches a point where it jumps back and forth between different energy values. Such behaviour is illustrated
 in a portion of a log file appended to this message. This calculation used the vdW-DF-b86r functional, but I have seen the same behaviour with other vdW-DF functionals. <br>
I should add the following points:<br>
1) The compound under consideration, a zeolite with an adsorbed molecule, contains only main group elements (Si, O, C, H, N).<br>
2) Analogous calculations using DFT-D methods (like PBE-D3) show no convergence issues whatsoever.<br>
3) A change of preconditioner (FULL_ALL/FULL_KINETIC) seems to affect the behaviour, but does not resolve the issue.<br>
<br>
I should also note that I tested the "CUTOFF" parameter within &XC &vdW_POTENTIAL &NON_LOCAL part of the input and found that it should be increased with regard to the default setting to get converged adsorption energies (I use 400 Ry).<br>
<br>
Any help or suggestions would be highly appreciated.<br>
Best regards,<br>
Michael<br>
<br>
Portion of output - oscillations start in the 8th iteration<u></u><u></u></p>
<div>
<p class="MsoNormal">  Step     Update method      Time    Convergence         Total energy    Change<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  ------------------------------------------------------------------------------<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     1 OT DIIS     0.15E+00    5.0     0.00004571     -5301.9144127012 -5.30E+03<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     2 OT DIIS     0.15E+00    2.4     0.00001858     -5301.9158989932 -1.49E-03<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     3 OT DIIS     0.15E+00    2.4     0.00001214     -5301.9161596822 -2.61E-04<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     4 OT DIIS     0.15E+00    2.5     0.00000142     -5301.9161913868 -3.17E-05<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     5 OT DIIS     0.15E+00    2.4     0.00000043     -5301.9161930782 -1.69E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     6 OT DIIS     0.15E+00    2.4     0.00000011     -5301.9161943445 -1.27E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     7 OT DIIS     0.15E+00    2.4     0.00000005     -5301.9161967775 -2.43E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     8 OT DIIS     0.15E+00    2.4     0.00000001     -5301.9161955633  1.21E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     9 OT DIIS     0.15E+00    2.4     4.0079E-09     -5301.9161967782 -1.21E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    10 OT DIIS     0.15E+00    2.4     1.7554E-09     -5301.9161955634  1.21E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    11 OT DIIS     0.15E+00    2.4     6.2727E-10     -5301.9161967782 -1.21E-06<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</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 href data-email-masked 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/45540fc6-9eb6-4a4b-91e0-037e3e918eaen%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/45540fc6-9eb6-4a4b-91e0-037e3e918eaen%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1624604227392000&usg=AFQjCNEl8OTpsTgsdkEOfNuU_HPpeIuzTA">
https://groups.google.com/d/msgid/cp2k/45540fc6-9eb6-4a4b-91e0-037e3e918eaen%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 href data-email-masked 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/de44ca45-8343-440f-b8c5-e3996cd18c32n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/de44ca45-8343-440f-b8c5-e3996cd18c32n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1624604227392000&usg=AFQjCNFvVsAFEEiIHIvGhUc7BEZMbUSI0Q">
https://groups.google.com/d/msgid/cp2k/de44ca45-8343-440f-b8c5-e3996cd18c32n%40googlegroups.com</a>.<u></u><u></u></p>
</div>
</div>
</div>

</blockquote></div>