[ase-users] issues in BFGS optimizer

GENG SUN gengsun at ucla.edu
Tue Nov 27 17:45:37 CET 2018


Hello everyone,

Recently, I frequently encounter a problem to use BFGS optimizer in ASE
(with VASP calculator).
Firstly, I will see a warning like this:
~/anaconda2/lib/python2.7/site-packages/ase/optimize/bfgs.py:102:
RuntimeWarning: invalid value encountered in divide
  self.H -= np.outer(df, df) / a + np.outer(dg, dg) / b
Although ASE does not stop at this line, it will stop at following VASP
calculation. The reason is that the generated POSCAR contains many "nan"
blocks.

Does anyone know how to get around this problem?
Thank you very much in advance.

Best Regards,

Geng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20181127/16ae84be/attachment.html>


More information about the ase-users mailing list