Hi,<br>When doing variable cell relaxation it is useful to have the current volume of the variable cell. This is reported in the output when cell_dynamics='damp-w', e.g. in a line as the following<br> new unit-cell volume = 3705.0385 (a.u.)^3<br>
<br>However, when cell_dynamics='bfgs' the cell volume is not reported (pw.x of version 4.0.4 ).<br><br>I see in the text that bfgs is still experimental. If interesting for debuging the code, I can supply an input case where the relaxation fails . In this case, in the 3rd bfgs step, <br>
<br> WARNING: integrated charge= 140.52433035, expected= 288.00000000<br><br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br> from electrons : error # 1<br> charge is wrong<br>
<br clear="all">I suspect the bgfs made drastic change and the electronic calculation went crazy. With damped dynamics it works smoothly. <br><br>Best regards<br><br>-- <br>Eduardo Menendez<br>Departamento de Fisica<br>Facultad de Ciencias<br>
Universidad de Chile<br>Phone: (56)(2)9787439<br>URL: <a href="http://fisica.ciencias.uchile.cl/~emenendez">http://fisica.ciencias.uchile.cl/~emenendez</a><br>