Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning and error about dtype #4

Open
yingxiangcai opened this issue Aug 10, 2018 · 0 comments
Open

Warning and error about dtype #4

yingxiangcai opened this issue Aug 10, 2018 · 0 comments

Comments

@yingxiangcai
Copy link

python elf.py

        ###################################################################
        If you are using VESTA to view the resulting ELF, please rename the
        output file as ELFCAR, otherwise there will be some error in the
        isosurface plot!

        When CHG*/PARCHG/*.vasp are read in to visualize isosurfaces and
        sections, data values are divided by volume in the unit of bohr^3.
        The unit of charge densities input by VESTA is, therefore, bohr^−3.

        For LOCPOT/ELFCAR files, volume data are kept intact.

        You can turn off this warning by setting "warn=False" in the "elf"
        method.
        ###################################################################

/opt/intelpython2/lib/python2.7/site-packages/scipy/fftpack/basic.py:160: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq]. In the future this will be interpreted as an array index, arr[np.array(seq)], which will result either in an error or a different result.
z[index] = x
Traceback (most recent call last):
File "elf.py", line 10, in
chi = wfc.elf(kptw=kptw, ngrid=[56, 56, 320])
File "/opt/VaspBandUnfolding/vaspwfc.py", line 748, in elf
tau += -phi_r * lap_phi_r.conj() * weight
TypeError: Cannot cast ufunc add output from dtype('complex128') to dtype('float64') with casting rule 'same_kind'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant