Embedding Calculations

Questions will be moved to this forum when we consider them out of scope for support from our side: for instance when we do not have the necessary expertise to come up with an answer.
Another user still might, though!

Moderators: Global Moderator, Moderator

Locked
Message
Author
elena_kolodzeiski
Newbie
Newbie
Posts: 3
Joined: Mon Dec 19, 2022 1:59 pm

Embedding Calculations

#1 Post by elena_kolodzeiski » Wed Jan 25, 2023 1:14 pm

Dear all,
i would like to conduct QM/QM embedding according to the embedding schemes of the Carter group. In 2018 they stated that the new Vasp6 version shall include hookups to run these calculations (see https://github.com/EACcodes/VASPEmbedding). Are they already included and is there a manual explaining how to use them?
Best regards
Elena

elena_kolodzeiski
Newbie
Newbie
Posts: 3
Joined: Mon Dec 19, 2022 1:59 pm

Re: Embedding Calculations

#2 Post by elena_kolodzeiski » Thu Jan 26, 2023 7:00 am

I found that the new Vasp version has some modules called embed.F, which expect to define flags like "LEMBED" in the INCAR. Unfortunately I cannot find any explanation how to use it. Do you have any experiences and advices for me how I can conduct the embedding calculations using VASP?

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

Re: Embedding Calculations

#3 Post by martin.schlipf » Thu Jan 26, 2023 8:33 am

The Carter group develops the embedding module. We can only offer limited support on its installation and usage; you can ask in their GitHub issue list for more details. At first glance, it appears you need to replace the extpot_glb.F with the extpot.F.

elena_kolodzeiski
Newbie
Newbie
Posts: 3
Joined: Mon Dec 19, 2022 1:59 pm

Re: Embedding Calculations

#4 Post by elena_kolodzeiski » Sat Feb 04, 2023 5:33 pm

Hey again,
according to the Github instructions I have to replace the export.F file, but it seems that the file is not compartible with the new (> 5.*) VASP version. The group stated that it has been tested extensively with VASP 5.3.3. Is there a possibility to download this version?

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

Re: Embedding Calculations

#5 Post by martin.schlipf » Tue Feb 07, 2023 3:01 pm

I looked into this a bit more because it should work with VASP.6. Turns out that there were just a few function names that were different. I suggested these changes to the original authors. For now the instructions to use it are

Code: Select all

cd vasp_directory
wget -O src/extpot_glb.F https://raw.githubusercontent.com/martin-schlipf/VASPEmbedding/master/extpot.F
rm src/extpot.F
sed -i -n '/extpot.o/!p' src/.objects
make veryclean
make DEPS=1 all
This will be a bit simpler once the changes have been merged into VASP and their repo. Then it should really be just copying the extpot.F to the VASP source directory.

Please give some feedback whether these changes worked for you or not.

Locked