[gpaw-users] ValueError: Array has wrong length: 2 != 10.
Punit Kumar
ip.punit.2016 at gmail.com
Tue Sep 26 16:27:29 CEST 2017
Hello GPAW Users
I am trying to calculate the lattice constant for La2O3 crystal after
reading the tutorial given in ase tutorial page
https://wiki.fysik.dtu.dk/ase/tutorials/lattice_constant.html.
I have modify it accordingly and attached my script file below. When I run
my script I got the following error
Traceback (most recent call last):
File "la2o3_lattice_parameter_2.py", line 11, in <module>
la2o3 = bulk('La2O3', 'hcp', a=a0, covera=np.sqrt(8/3))
File "/home/punit/.local/lib/python2.7/site-packages/ase/build/bulk.py",
line 94, in bulk
pbc=True)
File "/home/punit/.local/lib/python2.7/site-packages/ase/atoms.py", line
220, in __init__
self.new_array('positions', positions, float, (3,))
File "/home/punit/.local/lib/python2.7/site-packages/ase/atoms.py", line
403, in new_array
(len(a), len(b)))
ValueError: Array has wrong length: 2 != 10.
Can someone help me in figuring out this error. It will be a great help for
me.
Thank You
Punit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20170926/f00aafa2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: la2o3_lattice_parameter.py
Type: text/x-python
Size: 572 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20170926/f00aafa2/attachment.py>
More information about the gpaw-users
mailing list