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

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

Open
tharindufernando opened this issue Oct 31, 2022 · 0 comments
Open

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

tharindufernando opened this issue Oct 31, 2022 · 0 comments

Comments

@tharindufernando
Copy link

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!

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