I really feel like something is off, because it really does not seem to want to converge. For the anatase unit cell CELL_OPT it easily optimized in just a few steps, but there I used k-points as it was much faster than supercell calculations and thus had to use traditional diagonalization instead of OT. I'll attach the input and output file for this calculation if this would help in any way <br /><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Wednesday, 28 June 2023 at 15:46:08 UTC+2 Léon Luntadila Lufungula 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;"><p><span lang="EN-US" style="font-size:11pt">Hi Matthias,</span></p>
<p><span lang="EN-US" style="font-size:11pt"> </span></p>
<p><span lang="EN-US" style="font-size:11pt">Thanks for you reply!</span></p><p><span lang="EN-US" style="font-size:11pt"><br></span></p><p><span lang="EN-US" style="font-size:11pt">I looked at my CIF file in various visualization software and it looked
okay there. Is there a way to check this via CP2K to be sure?</span></p><p><span lang="EN-US" style="font-size:11pt">I also have some preliminary results of some ongoing calculations with DIIS/FULL_ALL and DIIS/FULL_SINGLE_INVERSE and these seem to be a bit faster than CG but reaching convergence is still a big issue (see attachments).<br>
<br>
Best,<br>
Léon</span></p><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Wednesday, 28 June 2023 at 15:35:32 UTC+2 Krack Matthias 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-CH" link="blue" vlink="purple" style="word-wrap:break-word">
<div>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:11.0pt">Hi Léon<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Did you check the set of atomic coordinates read from the cif file for close contacts possibly caused by the periodic boundary conditions?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Best<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Matthias<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<div>
<div></div></div></div></div><div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word"><div><div><div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><a rel="nofollow">cp...@googlegroups.com</a> <<a rel="nofollow">cp...@googlegroups.com</a>> on behalf of Léon Luntadila Lufungula <<a rel="nofollow">Leon.luntad...@uantwerpen.be</a>><br>
<b>Date: </b>Wednesday, 28 June 2023 at 14:16<br>
<b>To: </b>cp2k <<a rel="nofollow">cp...@googlegroups.com</a>><br>
<b>Subject: </b>[CP2K:19014] Re: TiO2 slab not converging<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<span style="font-size:11.0pt">I forgot to add the cif file which is read with the input, so here it is if someone needs it.<u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">On Wednesday, 28 June 2023 at 13:54:37 UTC+2 Léon Luntadila Lufungula wrote:<u></u><u></u></span></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">
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Update:<br>
<br>
I tried to optimize a 3-layer slab with altered SCF cycle settings (inner loop: 15 steps, outer loop: 45 steps) and still it does not converge. The convergence goes towards 2E-7 after 22 outer SCF cycles, but then doesn't seem to get lower (see attachment a101-3-layer-jobID_188.out).
I tried to restart the calculation with altered EPS_SCF (= 1E-6) and then the restarted SCF cycle converges as the convergence was already below 1E-6. Unfortunately, after that the SCF again seems to only very slowly converge, after 27 outer SCF steps it's
still only at 8E-5 convergence (see attachment a101-3-layer-jobID_189.out). Can anybody please help me out? I feel like the calculation is not converging properly, as after nearly 2 hours it still hasn't converged one SCF cycle but I don't know what might
be wrong orhow to fix it... Requiring 300+ steps to reach SCF convergence seems quite high to me and makes me start to think there is something fundamentally wrong with my input. If anyone could look at my inputs and tell me what's wrong with them, I would
be forever thankful!<br>
<br>
Kind regards,<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Léon <br>
<br>
P.S. Could the TZVP basis set pose a problem? I often see people use DZVP-SR for similar calculations, but my promotor and co-promotor both told me that TZVP is required for proper energetics and should be used in production runs.<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">On Wednesday, 28 June 2023 at 10:04:07 UTC+2 Léon Luntadila Lufungula wrote:<u></u><u></u></span></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">
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Dear all,<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">I am trying to determine the ideal slab thickness for an anatase (101) slab but my SCF cycles are not converging. I optimized the cutoffs for the anatase bulk and did a CELL_OPT
calculation on the unit cell to get the converged structure. From this optimized unit cell, I then used ASE to build the (101) slabs with a 20 Å vacuum width and thicknesses varying from 2 to 12 layers. During the GEO_OPT calculation I keep the bottom layer
frozen to act as the bulk. I started the 2-layer calculation yesterday but when I looked at the output today, I see that the SCF cycle fails at every step of the geometry optimization (see output in attachment). Is there something wrong with my setup (too
tight convergence criteria, wrong SCF setup, ...), or is it because a 2-layer structure is perhaps too small? The changes in energy go to 1E-5 - 1E-6 but never reach the convergence criteria of 1E-7 even after 300 steps (inner cycle: 10 steps, outer cycle
30 steps). I would guess that it could converge if I would increase the maximum number of steps, but 300 steps already seems quite a lot to me, although I could be wrong...<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">If anyone could share their thoughts on the situation so I can continue my work, I would greatly appreciate the help! Thanks in advance!<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Best regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Léon<u></u><u></u></span></p>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div></div></div></div><div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word"><div><div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">--
<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">cp2k+uns...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/12b3aec6-38d8-404f-b68f-aa681ccd6266n%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=https://groups.google.com/d/msgid/cp2k/12b3aec6-38d8-404f-b68f-aa681ccd6266n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1688046666238000&usg=AOvVaw2e2WyuogxenZvvv5AbaltG">
https://groups.google.com/d/msgid/cp2k/12b3aec6-38d8-404f-b68f-aa681ccd6266n%40googlegroups.com</a>.<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</blockquote></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/8e80ad70-1b30-413b-9de1-4d210ee0fdben%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/8e80ad70-1b30-413b-9de1-4d210ee0fdben%40googlegroups.com</a>.<br />