<div dir="ltr">Dear CP2k developers and users,<div><br></div><div>Have anyone encountered a problem with GFN-xTB when modeling ionic crystals? If I set</div><div><br></div><div><font face="courier new, monospace"><big class="uctt" style="font-size: 13px; text-transform: uppercase; color: rgb(0, 0, 0);">CHECK_ATOMIC_CHARGES</big><big class="tt" style="font-size: 13px; color: rgb(0, 0, 0);"> .TRUE.</big></font></div><div><br></div><div>When performing <font face="courier new, monospace">CELL_OPT</font> of a CaF_2 supercell, the program stops with the following warning:</div><div><br></div><div><div><font face="courier new, monospace">*** WARNING in xtb_matrices.F:1088 :: Atomic charges outside chemical   ***</font></div><div><font face="courier new, monospace"> *** range were detected. Switch-off CHECK_ATOMIC_CHARGES keyword in the ***</font></div><div><font face="courier new, monospace"> *** &xTB section if you want to force to continue the calculation.      ***</font></div></div><div><br></div><div>Setting <big class="uctt" style="font-family: "courier new", monospace; font-size: 13px; text-transform: uppercase; color: rgb(0, 0, 0);">CHECK_ATOMIC_CHARGES</big><big class="tt" style="font-family: "courier new", monospace; font-size: 13px; color: rgb(0, 0, 0);"> .FALSE.</big><big class="tt" style="font-size: 13px; color: rgb(0, 0, 0);"><font face="arial, sans-serif"> makes the calculation divergent. As I get it, the charges on Ca and F become more and more unphysical in every SCF procedure, and, concomitantly, the total energy becomes lower and lower. I have attached the input and output of the divergent calculation to this message.</font></big></div><div><big class="tt" style="font-size: 13px; color: rgb(0, 0, 0);"><font face="arial, sans-serif"><br></font></big></div><div><big class="tt" style="font-size: 13px; color: rgb(0, 0, 0);"><font face="arial, sans-serif">Could anyone give a hint on what to do in this situation? I am interested in MD of solid-liquid interfaces with ionic crystals. </font></big>GFN-xTB seems the best choice.</div><div><br></div><div>With best regards,</div><div>Mikhail</div></div>