[gpaw-users] An error occurs when performing STM simulation using GPAW
kgd
kgdu198801 at 126.com
Thu Jul 15 14:44:47 CEST 2010
Dear gpaw-users,
An error occurs when we perform STM simulation using GPAW(see attachment). First,we run surface.py and it works.Then,we run mystm.py and an error occurs during "stm.initialize()"(see error_CuO). The error is as following:
Traceback (most recent call last):
File "mystm.py", line 28, in ?
stm.initialize()
File "/usr/lib64/python2.4/site-packages/gpaw/transport/jstm.py", line 360, in initialize
f = AtomCenteredFunctions(self.srf.wfs.gd, [phit], spos_c, j)
File "/usr/lib64/python2.4/site-packages/gpaw/transport/jstm.py", line 156, in __init__
lfc.set_positions((spos_c[np.newaxis, :] * gd.N_c - corner_c + 1) /
File "/usr/lib64/python2.4/site-packages/gpaw/lfc.py", line 262, in set_positions
movement |= sphere.set_position(spos_c, self.gd, self.cut)
File "/usr/lib64/python2.4/site-packages/gpaw/lfc.py", line 89, in set_position
for beg_c, end_c, sdisp_c in gd.get_boxes(spos_c, rcut, cut):
File "/usr/lib64/python2.4/site-packages/gpaw/grid_descriptor.py", line 259, in get_boxes
raise RuntimeError(('Atom at %.3f %.3f %.3f ' +
RuntimeError: Atom at 0.500 0.500 0.504 too close to boundary (beg. of box [-2 1 1], end of box [23 24 25])
It is strange that the atom at ( 0.500 0.500 0.504) is not found. "Atom at 0.500 0.500 0.504 too close to boundary (beg. of box [-2 1 1], end of box [23 24 25])" , we set pbc= (1, 1, 0), that is the systerm has periodicity on X,Y,but not on Z. The negative value [-2 1 1] of beg. of box appears on X, we don't know where is the error considering periodicity. Any reply is appreciated.
Best regards!
Xianxin Wu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20100715/60ce531d/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mystm.py
Type: application/octet-stream
Size: 1006 bytes
Desc: not available
Url : http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20100715/60ce531d/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: surface.py
Type: application/octet-stream
Size: 2287 bytes
Desc: not available
Url : http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20100715/60ce531d/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_CuO
Type: application/octet-stream
Size: 958 bytes
Desc: not available
Url : http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20100715/60ce531d/attachment-0002.obj
More information about the gpaw-users
mailing list