Skip to content

Resolving error: No. of planewaves not consistent!  #11

@tharindufernando

Description

@tharindufernando

Do you have any advice on mitigating the following error?

Code (from https://hungqpham.com/mcu/plottingwfn.html):
import mcu mymcu = mcu.WAVECAR() unk = mymcu.get_unk() # Generate the unk

Error:
unk = mymcu.get_unk() # Generate the unk Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/software/mcu/mcu/vasp/wavecar.py", line 195, in get_unk gvec = self.get_gvec(kpt) - Gp File "/software/mcu/mcu/vasp/wavecar.py", line 148, in get_gvec assert Gvec.shape[0] == self.nplws[kpt] / n, 'No. of planewaves not consistent! %d %d %d' % \ AssertionError: No. of planewaves not consistent! 13681 27362 44573

I used a uniform G-centered k-grid.

Apologies if this is the wrong place to ask. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions