[gpaw-users] RPA: RuntimeWarning: invalid value encountered in sqrt
Thomas Stenbæk Jauho
s093006 at student.dtu.dk
Tue Nov 11 21:44:18 CET 2014
Hi,
I am doing RPA calculations for Na and 30 other systems. I have attached
the scripts for Na, the RPA calculation is separated in three separate
files; a PBE calculation, a diagonalization and the RPA.
While 30 systems do work, Na does not. I receive the following error:
/home/niflheim/s093006/gpaw/gpaw/response/chi0.py:302: RuntimeWarning:
invalid value encountered in sqrt
x_m = (-2 * df_m * deps_m / (omega.imag**2 + deps_m**2))**0.5
I gather that it means that the square root (omega.imag**2 +
deps_m**2))**0.5 receives a negative argument, but I don't know why.
Previously I experienced the same problem with Li, but I resolved the
issue by setting occupations=FermicDirac(0.01) i GPW(...) when making
the DFT calculation. But this does not help for the Na system.
Any help will be highly appreciated!
/Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dft05_Na.py
Type: text/x-java
Size: 2132 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141111/b82d3d12/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dia05_Na.py
Type: text/x-java
Size: 1696 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141111/b82d3d12/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpa05_Na.py
Type: text/x-java
Size: 1966 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141111/b82d3d12/attachment-0002.bin>
More information about the gpaw-users
mailing list