Distributing patch file for VASP

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Locked
Message
Author
seongjoojung
Newbie
Newbie
Posts: 5
Joined: Fri Apr 02, 2021 4:29 pm

Distributing patch file for VASP

#1 Post by seongjoojung » Thu Jun 01, 2023 9:32 pm

Hi, I'd like to upload a patch file for VASP from my github, similar to how VTST codes and other custom patches are being distributed. I've prepared a patch so that in includes as little original code as possible. I've also made sure to put a disclaimer about requiring a VASP license. Does distributing custom patches require an additional procedure or approval?

Best,
Seongjoo

martin.schlipf
Global Moderator
Global Moderator
Posts: 455
Joined: Fri Nov 08, 2019 7:18 am

Re: Distributing patch file for VASP

#2 Post by martin.schlipf » Fri Jun 02, 2023 6:56 am

Can you share the changes you intend to do with us? Generally, we allow for these kind of modifications to be released but it would nice to have a quick look at it.

seongjoojung
Newbie
Newbie
Posts: 5
Joined: Fri Apr 02, 2021 4:29 pm

Re: Distributing patch file for VASP

#3 Post by seongjoojung » Fri Jun 02, 2023 6:40 pm

The patch is to allow relaxation to specific set of forces of the ions (proportionate to their Born effective charges) instead of zero forces, to simulate fixed electric field. Here are related papers:

https://journals.aps.org/prl/abstract/1 ... .91.057601
https://chemrxiv.org/engage/chemrxiv/ar ... 336f3a59aa

It seems I cannot attach the patch file itself, so I've made the github repository public for you to review. I plan to add instructions and tutorials for it.
https://github.com/seongjoojung/VASP-fo ... tion-patch

martin.schlipf
Global Moderator
Global Moderator
Posts: 455
Joined: Fri Nov 08, 2019 7:18 am

Re: Distributing patch file for VASP

#4 Post by martin.schlipf » Mon Jun 05, 2023 6:06 am

That file is certainly small enough that you can release it as it is. It is also for an old version of VASP so perhaps you want to distribute a newer patch file at some point.

seongjoojung
Newbie
Newbie
Posts: 5
Joined: Fri Apr 02, 2021 4:29 pm

Re: Distributing patch file for VASP

#5 Post by seongjoojung » Mon Jun 05, 2023 7:26 pm

Sure, thanks.

Locked