Hello Andreas, <div><br /></div><div>Are you sure that the problem is SCCS? </div><div>I ask because the DFT settings seem not to be optimal.</div><div>In particular, the PW cutoff is very low, which could explain the incorrect calculation of the electron density and as a consequence of the total charge.</div><div><br /></div><div>As side comments, the mixing of the density  is not applied when OT is active.</div><div> With OT, it helps running fewer iterations in the inner loop, such that the preconditioner is updated.</div><div><br /></div><div>Regards</div><div>Marcella</div><div><br /></div><br /><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Monday, June 2, 2025 at 2:00:46 PM UTC+2 andreas...@gmail.com 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>My original message was too large, which is why I attach the output in a seperate file. Due to its size it seems I have to cut it into pieces, so I present the first and last slice of the output where you can observe the charge going from 0.000002 to 73, as well as the "Cholesky decomposition failed. Matrix ill conditioned ?" after which the run fails.</div><div><br></div><div><br></div><div>Thanks You all in advance!</div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">Andreas Döll schrieb am Montag, 2. Juni 2025 um 13:53:44 UTC+2:<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>Hello cp2k community, </div><div><br></div><div>I want to calculate the RESP charges of a structure respecting periodic boundaries in a solvent of epsilon=8. For that I want to do a geometric optimization using the implicit solvent model. However, after some outer SCF iterations I get the following:<br><br>*** WARNING in qs_sccs.F:458 :: The system (solute) has a non-negligible ***<br> *** charge of +.000002. It is recommended to use non-periodic boundary   ***<br> *** conditions (PERIODIC none) combined with an appropriate Poisson      ***<br> *** solver (POISSON_SOLVER MT or analytic)</div><div> </div><div>This charge deviation propagates until the end where I have a charge of 73! </div><div>I attached input and output file. I do not understand why suddenly I have a leftover charge, which then goes wild. Is it not possible to use SCCS in periodic systems?</div><div><br></div><div>Cheers, </div><div>Andreas</div><div><br></div><div><br></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 visit <a href="https://groups.google.com/d/msgid/cp2k/5e57ad45-97e6-4c4b-bf66-b50513284d4bn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/5e57ad45-97e6-4c4b-bf66-b50513284d4bn%40googlegroups.com</a>.<br />