Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Hotelling Inversion Did Not Converge — Metal/Water Interface

52 views
Skip to first unread message

Lang Li

unread,
Apr 21, 2025, 5:59:15 PMApr 21
to cp2k

Dear CP2K Developers and Users,

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:

Hotelling inversion did not converge

I'm using the 2nd generation CPMD method. Below is the relevant part of my input file:

&SCF
  SCF_GUESS RESTART
  EPS_SCF 3.0E-7
  MAX_SCF 50
  MAX_SCF_HISTORY 5
  CHOLESKY INVERSE_DBCSR
  &OUTER_SCF
    EPS_SCF 1.0E-6
    MAX_SCF 20
  &END
&END SCF

&OT
  MINIMIZER DIIS
  PRECOND_SOLVER INVERSE_UPDATE
  PRECONDITIONER FULL_SINGLE_INVERSE
  STEPSIZE 0.01
&END OT

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.

Thank you in advance for your help!

Best regards,
Lang

abd el ali el omrani

unread,
Apr 22, 2025, 1:55:36 AMApr 22
to cp...@googlegroups.com

OT is not suitable for metals


--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%40googlegroups.com.

Jürg Hutter

unread,
Apr 22, 2025, 4:13:05 AMApr 22
to cp...@googlegroups.com
Hi

try direct methods instead of

CHOLESKY INVERSE_DBCSR

and

PRECOND_SOLVER INVERSE_UPDATE

maybe that helps (at least it should avoid Hotelling's method)

regards
JH

________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of Lang Li <lilan...@gmail.com>
Sent: Monday, April 21, 2025 11:59 PM
To: cp2k
Subject: [CP2K:21398] Hotelling Inversion Did Not Converge — Metal/Water Interface
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns...@googlegroups.com<mailto:cp2k+uns...@googlegroups.com>.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/5d7b8639-475c-4b6c-b109-e1b6dd7b1293n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Lang Li

unread,
May 6, 2025, 10:10:27 AMMay 6
to cp2k

Dear Jürg,

Thank you for your suggestion.

I followed your advice and adjusted my input as follows:

&SCF
  SCF_GUESS RESTART
  EPS_SCF 3.0E-7
  MAX_SCF 50
  MAX_SCF_HISTORY 5
  &OUTER_SCF
    EPS_SCF 1.0E-6
    MAX_SCF 20
  &END

  &OT
    MINIMIZER DIIS
    PRECONDITIONER FULL_ALL
    STEPSIZE 0.01
  &END
&END SCF


However, I now encounter the following error:

Cholesky decompose failed: the matrix is not positive definite or ill-conditioned.

Do you have any further suggestions on how to address this issue?

Best regards,
Lang

Jürg Hutter

unread,
May 6, 2025, 11:47:20 AMMay 6
to cp...@googlegroups.com
Hi

you can reduce EPS_DEFAULT to 10^-14 (if not yet done).
If that doesn't help, your basis set might not be adequate for your problem (linear dependencies).

regards
JH

________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of Lang Li <lilan...@gmail.com>
Sent: Tuesday, May 6, 2025 4:10 PM
To: cp2k
Subject: Re: [CP2K:21442] Hotelling Inversion Did Not Converge — Metal/Water Interface

Dear Jürg,
To view this discussion visit https://groups.google.com/d/msgid/cp2k/91f7110c-11b5-44c8-9301-5e591e801f2dn%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/91f7110c-11b5-44c8-9301-5e591e801f2dn%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages