About the diff.patch in vasp.5.4.4.pl2

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
hui_fang1
Newbie
Newbie
Posts: 1
Joined: Mon Nov 22, 2021 10:10 am

About the diff.patch in vasp.5.4.4.pl2

#1 Post by hui_fang1 » Fri Nov 26, 2021 6:28 am

Hi all
I am confused about the diff.patch in vasp.5.4.4.pl2.
After I made the vasp using the vasp.5.4.4.pl2, I still need to patch the diff.patch using patch -p0 < diff.patch ?
or the bug has fixed and I don't need to patch the diff.patch?

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

Re: About the diff.patch in vasp.5.4.4.pl2

#2 Post by henrique_miranda » Mon Nov 29, 2021 7:25 am

When you download the vasp.5.4.4.pl2.tgz file from the vasp portal and extract it, the source already contains the changes in the diff.patch (you can verify it manually).
Indeed if you try applying the patch using "patch -p0 < diff.patch" you should get a warning message.
In short: you don't need to apply the patch.

Post Reply