<div dir="ltr"><div>Thank you! </div><div><br></div><div>I have done it at last by changing the 'EPS_SCF' and 'MAX_SCF' parameters of inter and outer SCF loop, following your first idea!</div><div><br></div><div>Best wishes</div><div>Jianhao</div><div><br></div>在 2019年5月7日星期二 UTC+8下午4:23:40,Matt W写道:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi,<div><br></div><div>a few ideas:</div><div><br></div><div>I'd only run for say 20-30 scf steps in the inner loop. Only run 2-3 outer scf loops with FULL_ALL preconditioner - it can become unstable if repeatedly applied to bad problems, in my experience.</div><div><br></div><div>If nearly converged do a complete restart from the final wavefunction so all history is cleared and hopefully you'll be OK.</div><div><br></div><div>Try using CG instead of DIIS.</div><div><br></div><div>Matt<br><br>On Tuesday, May 7, 2019 at 2:16:47 AM UTC+1, <a>qjh...@gmail.com</a> wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thans for your help, but it didn't work.<div>There is something strange I forgot  mentioning before.</div><div> I run single point calculation. When the helium atom is 5.5A away from MoS2's Mo atom vertically, the calculation converged; but when the helium atom is 5.6 A away from MoS2's Mo atom, the calculation didn't converge!</div><div>I firstly considered cutoff value. But it does't work by changing he cutoff value.</div><div><br>在 2019年5月6日星期一 UTC+8下午11:56:54,Travis写道:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Try lowering the energy gap to 0.001 au. The FULL_ALL preconditioner requires an energy gap much lower than the material's band gap. 0.1 au is greater than the band gap of MoS2 from Materials Project, which may be leading to your observed instability.<br></div><div><br></div><div>-T<br></div><div><br></div><br>On Monday, May 6, 2019 at 11:00:47 AM UTC-3, <a>qjh...@gmail.com</a> wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="text-align:left;clear:both"><img src="https://groups.google.com/group/cp2k/attach/4199223355eb2/1.jpg?part=0.2&view=1&authuser=0" alt="1.jpg" style="margin-left:1em;margin-right:1em" width="400" height="262"><a style="margin-left:1em;margin-right:1em"><img src="https://groups.google.com/group/cp2k/attach/4199223355eb2/2.jpg?part=0.3&view=1&authuser=0" alt="2.jpg" width="400" height="270" border="0"></a></p><p style="text-align:left;clear:both"><br></p><p style="text-align:left;clear:both"><br></p><div>Hello everyone!</div><div>I encount a problem about convergence, and my input file has been uploaded. It's a single point (energy) calculation about a helium atom and a 2D MoS2 material.</div><div><br></div><div>Well, it's not wise to run thousands SCF loops, but I wanted to see if it would converge finally. Obvisouly, it didn't converge. </div><div>Was I choosing a wrong  <span style="background-color:rgb(249,251,252);color:rgb(95,98,102);font-family:Arial,"Microsoft YaHei",微软雅黑,宋体,"Malgun Gothic",Meiryo,sans-serif">algorithm?</span></div><div><span style="background-color:rgb(249,251,252);color:rgb(95,98,102);font-family:Arial,"Microsoft YaHei",微软雅黑,宋体,"Malgun Gothic",Meiryo,sans-serif"><br></span></div><div><font face="Arial, Microsoft YaHei, 微软雅黑, 宋体, Malgun Gothic, Meiryo, sans-serif" color="#5f6266"><span style="background-color:rgb(249,251,252)">Thanks for your help!</span></font></div><div><br></div><div><br></div></div></blockquote></div></blockquote></div></div></blockquote></div></div></blockquote></div>