Using Py4vasp

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
kazeej
Newbie
Newbie
Posts: 15
Joined: Wed Feb 16, 2022 6:38 pm

Using Py4vasp

#1 Post by kazeej » Tue Jul 26, 2022 10:53 am

Hello,
How do I go about using py4vasp if I had already compiled VASP. Changes has to be made to the makefile.include file before compilation in order to use py4vasp.
Do I have to recompile VASP?

henrique_miranda
Global Moderator
Global Moderator
Posts: 506
Joined: Mon Nov 04, 2019 12:41 pm
Contact:

Re: Using Py4vasp

#2 Post by henrique_miranda » Tue Jul 26, 2022 2:26 pm

In order to use py4vasp, you need to have a version of VASP with hdf5 support:
wiki/index.php/Makefile.include#HDF5_su ... mmended.29

You can check if your version of VASP is already compiled in with HDF5 support if after a run a vaspout.h5 file is produced.
py4vasp then serves as a post-processing tool for these vaspout.h5 files.

kazeej
Newbie
Newbie
Posts: 15
Joined: Wed Feb 16, 2022 6:38 pm

Re: Using Py4vasp

#3 Post by kazeej » Wed Jul 27, 2022 9:38 am

VASP does not output vaspout.h5 file after a run. But the version is 6.3.

henrique_miranda
Global Moderator
Global Moderator
Posts: 506
Joined: Mon Nov 04, 2019 12:41 pm
Contact:

Re: Using Py4vasp

#4 Post by henrique_miranda » Wed Jul 27, 2022 11:34 am

That means that your version of VASP was not compiled with hdf5 support.
After you manage to recompile VASP following the instructions in
wiki/index.php/Makefile.include#HDF5_su ... mmended.29
you should get a vaspout.h5 file after every VASP run.

Post Reply