gz2.py error
Posted: Tue Sep 25, 2012 1:58 pm
Dear all,
I'm going through the spin tutorial using 6.12.1 version. However, when I issue a python gz2.py command to analize the magnetization around the atoms in antiferromagnetic Fe, it comes out with an error:
igor@igor-desktop:~/Science/DFT/Calculations/Fe/antiferro$ python gz2.py
Number of atoms = 2
Atomic coordinates
[['0.000000E+00', '0.000000E+00', '0.000000E+00'], ['1.650000E+00', '-1.650000E+00', '3.300000E+00']]
number of integration points: 32
Treating atom # 0
Traceback (most recent call last):
File "gz2.py", line 58, in <module>
integral.append(sum/npts_integral)
ZeroDivisionError: integer division or modulo by zero
By looking at the script, I cannot find why would npts_integral be zero. Can someone help me with this issue.
Thank you in advance.
Yours,
Igor Lukacevic
I'm going through the spin tutorial using 6.12.1 version. However, when I issue a python gz2.py command to analize the magnetization around the atoms in antiferromagnetic Fe, it comes out with an error:
igor@igor-desktop:~/Science/DFT/Calculations/Fe/antiferro$ python gz2.py
Number of atoms = 2
Atomic coordinates
[['0.000000E+00', '0.000000E+00', '0.000000E+00'], ['1.650000E+00', '-1.650000E+00', '3.300000E+00']]
number of integration points: 32
Treating atom # 0
Traceback (most recent call last):
File "gz2.py", line 58, in <module>
integral.append(sum/npts_integral)
ZeroDivisionError: integer division or modulo by zero
By looking at the script, I cannot find why would npts_integral be zero. Can someone help me with this issue.
Thank you in advance.
Yours,
Igor Lukacevic