<div dir="ltr">Thanks you all for your replies, <br>I will then consider that this is just a "fake" convergence and I will doublecheck always the SCF convergence in my parser. <br><br>Daniele<br><br>Il giorno venerdì 22 febbraio 2019 14:39:15 UTC+1, Daniele Ongari ha scritto:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div>Dear CP2K mailing list,</div><div><br></div><div>We experience a strange behavior of the L-BFGS optimization algorithm when dealing with cases where SCF convergence is problematic.</div><div><br></div><div>After 20 minimization steps the cp2k printed the following:</div><div><br></div><div><br></div><div>--------  Informations at step =    21 ------------</div><div> Optimization Method        =                LBFGS</div><div> Total Energy               =     -2345.6430825804</div><div> Internal Pressure [bar]    =        23.9760390703</div><div> Real energy change         =         0.0028283710</div><div> Decrease in energy         =                   NO</div><div> Used time                  =             5864.105</div><div><br></div><div> Convergence check :</div><div> Max. step size             =         0.0000000000</div><div> Conv. limit for step size  =         0.0030000000</div><div> Convergence in step size   =                  YES</div><div> RMS step size              =         0.0000000000</div><div> Conv. limit for RMS step   =         0.0015000000</div><div> Convergence in RMS step    =                  YES</div><div> Max. gradient              =         0.0082916384</div><div> Conv. limit for gradients  =         0.0004500000</div><div> Conv. for gradients        =                   NO</div><div> RMS gradient               =         0.0009846623</div><div> Conv. limit for RMS grad.  =         0.0003000000</div><div> Conv. for gradients        =                   NO</div><div> Pressure Deviation [bar]   =       -76.0239609297</div><div> Pressure Tolerance [bar]   =       100.0000000000</div><div> Conv. for  PRESSURE        =                  YES</div><div>------------------------------<wbr>---------------------</div><div><br></div><div>--------------------------</div><div>OPTIMIZATION STEP:     22</div><div>--------------------------</div><div><br></div><div>******************************<wbr>*****************</div><div>* Specific L-BFGS convergence criteria</div><div>* WANTED_PROJ_GRADIENT and WANTED_REL_F_ERROR</div><div>* satisfied .... run CONVERGED!</div><div>******************************<wbr>*****************</div><div><br></div><div><br></div><div><br></div><div>The two things that look strange for us are:</div><div><br></div><div>1) Max. step size and RMS step size were 'artificially' set to 0.0000000000</div><div>2) Not all checks are showing convergence, while L-BFGS algorithm has decided to stop.</div><div><br></div><div><br></div><div>Therefore, we would like to know if this is an expected behavior of the L-BFGS algorithm and if yes, what is the reason behind working this way?</div><div><br></div><div>Please see input and output files attached.</div><div><br></div><div>With best regards,</div><div>Daniele and Sasha</div></div></blockquote></div>