<div dir="ltr"><div>Dear Jiapeng</div><div><br></div><div>Following the reply by Travis, I must apologize -- I did not realize pure Lithium is a metal (rare earth metals, duh!). Needless to say, please follow the advice of Travis and adopt smearing.<br></div><div><br></div><div>Yours sincerely,</div><div>Patrick Gono<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 1, 2019 at 2:10 PM Jiapeng Liu <<a href="mailto:sunta...@gmail.com">sunta...@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Patrick Gono,<div><br></div><div>Thanks for your kind help and very useful suggestions. I tried with your script and the problem seems solved. I am just a beginner of CP2K and found that the SCF does not converge for 100 steps. I am still trying to tune some parameters on it. Thanks.</div><div><br></div><div>Regards,</div><div>Jiapeng<br><br>On Tuesday, October 1, 2019 at 5:37:37 PM UTC+8, Patrick Gono wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear Jiapeng,</div><div><br></div><div>I managed to avoid this error by decreasing the value of EPS_PGF_ORB to 1E-10 from the default value of SQRT(EPS_DEFAULT) = 1E-5:</div><div>    &QS<br>      METHOD GPW ! to optimize the geometry the GPW method will be used<br>      EPS_PGF_ORB 1E-10<br>    &END QS</div><div><br></div><div>However, while the calculation runs, the SCF loop does not converge. I suggest you use an orbital transformation method (section &OT). Unless you need to deal with extra orbitals, smearing, or other methods that clash with the use of OT, you should treat is as the preferred option. Likewise, using an inner and an outer SCF loop will make the calculation more robust and converge faster:</div><div><br></div><div>    &SCF<br>      MAX_SCF 100<br>      EPS_SCF 1.0E-6<br>      SCF_GUESS ATOMIC<br><br>      &OT<br>        MINIMIZER       CG<br>        PRECONDITIONER  FULL_KINETIC<br>      &END OT<br><br>      &OUTER_SCF<br>        EPS_SCF  1.0E-6<br>        MAX_SCF  10<br>      &END OUTER_SCF<br><br>    &END SCF</div><div><br></div><div> I attach the modified input to this email for the sake of convenience.</div><div><br></div><div>Yours sincerely,</div><div>Patrick Gono<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 30, 2019 at 6:38 PM Jiapeng Liu <<a rel="nofollow">su...@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear CP2K users,<div><br></div><div>I am just learning CP2K from the official website and trying to relax a Li bcc structure where 16 atoms are included. I modified from the example shown here <a href="https://www.cp2k.org/exercises:2019_conexs_newcastle:ex3#part_1optimizing_geometry" rel="nofollow" target="_blank">https://www.cp2k.org/exercises:2019_conexs_newcastle:ex3#part_1optimizing_geometry</a> for MgO. But I met some problems running my input file. The output says that "Cholesky decompose failed: the matrix is not positive definite or ill-conditioned". I am quite confused where is the error from. Can you guys help me on this. Thanks for your kind help.</div><div><br></div><div>I also attach my input file here, thank you very much.</div><p style="text-align:center;clear:both"><img src="https://groups.google.com/group/cp2k/attach/a8cf710fc3945/WeChat%20Screenshot_20191001003731.png?part=0.0.1&view=1&authuser=0" alt="WeChat Screenshot_20191001003731.png" style="margin-left: 1em; margin-right: 1em;" width="320" height="172"></p><div><br></div></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 rel="nofollow">c...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/d849b103-df14-456a-8dee-3556d26d5156%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank">https://groups.google.com/d/msgid/cp2k/d849b103-df14-456a-8dee-3556d26d5156%40googlegroups.com</a>.<br>
</blockquote></div>
</blockquote></div></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:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/1945e707-b119-4a68-aa37-e57c97a82063%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/cp2k/1945e707-b119-4a68-aa37-e57c97a82063%40googlegroups.com</a>.<br>
</blockquote></div>