<p>Dear <span style="color: rgb(32, 33, 36); font-family: Roboto, Arial, sans-serif; letter-spacing: 0.25px; text-wrap-mode: nowrap;">Jürg</span>,</p>
<p>Thank you for your suggestion.</p>
<p>I followed your advice and adjusted my input as follows:</p>
<div><div><font color="#0000ff">&SCF<br /> SCF_GUESS RESTART<br /> EPS_SCF 3.0E-7<br /> MAX_SCF 50<br /> MAX_SCF_HISTORY 5<br /> &OUTER_SCF<br /> EPS_SCF 1.0E-6<br /> MAX_SCF 20<br /> &END</font></div><div><font color="#0000ff"><br /> &OT<br /> MINIMIZER DIIS<br /> PRECONDITIONER FULL_ALL<br /> STEPSIZE 0.01<br /> &END<br />&END SCF</font><br /><br />However, I now encounter the following error:</div><div><br /></div><div><font color="#ff0000">Cholesky decompose failed: the matrix is not positive definite or ill-conditioned.</font><br /></div><div><br /></div><div><p>Do you have any further suggestions on how to address this issue?</p>
<p>Best regards,<br />
Lang</p></div><div dir="ltr"></div></div><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Tuesday, 22 April 2025 at 10:13:05 UTC+2 Jürg Hutter 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;">Hi
<br>
<br>try direct methods instead of
<br>
<br> CHOLESKY INVERSE_DBCSR
<br>
<br>and
<br>
<br> PRECOND_SOLVER INVERSE_UPDATE
<br>
<br>maybe that helps (at least it should avoid Hotelling's method)
<br>
<br>regards
<br>JH
<br>
<br>________________________________________
<br>From: <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a> <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>> on behalf of Lang Li <<a href data-email-masked rel="nofollow">lilan...@gmail.com</a>>
<br>Sent: Monday, April 21, 2025 11:59 PM
<br>To: cp2k
<br>Subject: [CP2K:21398] Hotelling Inversion Did Not Converge — Metal/Water Interface
<br>
<br>Dear CP2K Developers and Users,
<br>
<br>I’m encountering an issue while running a simulation involving a metal/water interface. Specifically, I fixed all metal atoms (while keeping the water molecules free) and received the following error during the SCF procedure:
<br>
<br>Hotelling inversion did not converge
<br>
<br>I'm using the 2nd generation CPMD method. Below is the relevant part of my input file:
<br>
<br>&SCF
<br> SCF_GUESS RESTART
<br> EPS_SCF 3.0E-7
<br> MAX_SCF 50
<br> MAX_SCF_HISTORY 5
<br> CHOLESKY INVERSE_DBCSR
<br> &OUTER_SCF
<br> EPS_SCF 1.0E-6
<br> MAX_SCF 20
<br> &END
<br>&END SCF
<br>
<br>&OT
<br> MINIMIZER DIIS
<br> PRECOND_SOLVER INVERSE_UPDATE
<br> PRECONDITIONER FULL_SINGLE_INVERSE
<br> STEPSIZE 0.01
<br>&END OT
<br>
<br>This issue seems to be related to the SCF convergence when all metal atoms are constrained. I’d appreciate any suggestions or insights from others who may have encountered something similar.
<br>
<br>Thank you in advance for your help!
<br>
<br>Best regards,
<br>Lang
<br>
<br>--
<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">cp2k+uns...@googlegroups.com</a><mailto:<a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a>>.
<br>To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%2540googlegroups.com&source=gmail&ust=1746626885773000&usg=AOvVaw2izAsFpJim8As2AShNtQT5">https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1746626885773000&usg=AOvVaw1q47YGs6u2NfGhCXfAGfmd">https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<br></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 visit <a href="https://groups.google.com/d/msgid/cp2k/91f7110c-11b5-44c8-9301-5e591e801f2dn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/91f7110c-11b5-44c8-9301-5e591e801f2dn%40googlegroups.com</a>.<br />