<div dir="ltr">Hi,<div><br></div><div>You're not activating CDFT correctly.  CDFT settings should only be defined inside the &CDFT block. You need to remove all references to CDFT in  &SCF&OUTER_SCF (lines 71-79), i.e., by changing it to</div><div><br></div><div><div><span style="white-space:pre">        </span>&OUTER_SCF</div><div><span style="white-space:pre">        </span>EPS_SCF 1.0e-6</div><div><span style="white-space:pre">        </span>MAX_SCF 40</div><div><span style="white-space:pre">    </span>&END OUTER_SCF</div></div><div><br></div><div><br></div><div>Please check the tutorial for examples. Note that CDFT + Diagonalization is often very difficult to converge and if possible you should use OT instead.</div><div><br></div><div>BR,</div><div>Nico</div><div><br>On Tuesday, 19 March 2019 13:26:00 UTC+2, Andres Ortega  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear CP2K users, <div><br></div><div>I have been trying to conduct a CDFT calculation in CP2K 5.1.</div><div><br></div><div>I have been trying different configurations and I always get this error related to the inverse of the Jacobian. </div><div><br></div><div>







<p><span>Matrix to be inverted of zero size<span> </span></span></p><p><span><span><br></span></span></p><p><span><span>I have tried different options and I was wondering if you could give me some advice to go through these calculations.</span></span></p><p><span><span><br></span></span></p><p><span><span>Please find here the input and output  </span></span></p><p><span><span><br></span></span></p><p><span><span><br></span></span></p><p><span><span>best, </span></span></p><p><span><span><br></span></span></p><p><span><span><br></span></span></p><p><span><span>Andres Ortega </span></span></p><p><span><span>EPFL LSMO</span></span></p></div><div><br></div><div> </div><div><br></div><div><br></div></div></blockquote></div></div>