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

Problems about POTCAR in pydefec #1

Open
pfwan opened this issue Feb 19, 2021 · 4 comments
Open

Problems about POTCAR in pydefec #1

pfwan opened this issue Feb 19, 2021 · 4 comments

Comments

@pfwan
Copy link

pfwan commented Feb 19, 2021

When I use vise to generate the calculation file, the following information is prompted:

You do not have the right POTCAR with functional pbe 54 and label ga d in your VASP_PSP_DIR

Does the software only recognize specific potcar files?
I'm very interested in trying pydefects for its powerful performance. But I don't know where to get the recognized POTCAR library.

@yuuukuma
Copy link
Contributor

Could you let me know your situation in more details?
Do you have a POTCAR files?
Did you set the .pmgrc.yaml adequately as written in the pymatgen webpage?
https://pymatgen.org/usage.html

@pfwan
Copy link
Author

pfwan commented Feb 22, 2021 via email

@yuuukuma
Copy link
Contributor

Sorry I can't see the image files.

Could you run the following python lines?
Note that they create vasp files so move to the temporary directory.
If the vasp files are not created, the problem should be attributed to the setting of pymatgen.

from pymatgen.io.vasp.sets import VaspInputSet
from pymatgen import Structure, Lattice
from pymatgen.io.vasp.sets import MPRelaxSet

s = Structure(Lattice.cubic(1), ["H", "He"], [[0.0]*3, [0.5]*3])
vasp_set = MPRelaxSet(s)
vasp_set.write_input(".")

@pfwan
Copy link
Author

pfwan commented Feb 23, 2021 via email

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

2 participants