-
Notifications
You must be signed in to change notification settings - Fork 19
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
Script to extract DFT data #49
Comments
Yes, the default extxyz file written by ASE may not work since it does not contain certain info needed by KLIFF. KLIFF does not distribute scripts to parse VASP outputs. There are many existing excellent packages to do it, like ASE you've mentioned. Another widely used package is pymatgen, see its OUTCAR parser here. To solve your problem, you can use ASE or pymatgen to parse VASP output, and then use the KLIFF write_extxyz function to write out to extxyz files. |
Dear @mjwen , Thank you very much for your suggestions. Best regards, from glob import glob mkdir kliff_data working_dir = Path() print('finished') |
The above code seems fine to me that it will correctly create the extxyz files. In general, PBC should matter, you should use whatever PBC you used in your DFT calculation. Typically, DFT calculations use PBCs. Specifically, pymatgen assumes PBC is always on and thus it does not provide a PBC property in the Vasprun object. So the use of PBC=[1,1,1] has no problem. |
Hello, I'm sorry for the disturbance. Could you please tell me how you parse the output from VASP? After I performed an AIMD calculation, running your script only resulted in a single file. As I am a beginner, could you inform me of the specific steps? I am looking forward to your reply. |
Hi @LiMahappy, you might find a way to do it here: #177 |
Dear Developers,
Thanks for Kliff. Would you shear the script to extract vasp data from outcar or xml file?
I am seeing that etxyz file generated by ase is not working.
Waiting for reply.
Best regards,
Rana
The text was updated successfully, but these errors were encountered: