Question about the path of KSS file

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
xiangpisai
Posts: 19
Joined: Thu Mar 24, 2011 3:02 pm

Question about the path of KSS file

Post by xiangpisai » Mon Apr 25, 2011 5:11 pm

Hi all,
When I run a GW calculation, the screening calculation requires the KSS file. Can I specify an absolute path for this KSS file? It is annoying to copy it everywhere since the file size is huge(several GB). Thank you very much for your help.
Best Regards
xiangpisai

david.waroquiers
Posts: 138
Joined: Sat Aug 15, 2009 12:45 am

Re: Question about the path of KSS file

Post by david.waroquiers » Mon Apr 25, 2011 6:50 pm

Hello,

You can have a symbolic link to your KSS file.
Assume your KSS file is located in :
/home/xiangpisai/mysimulation/mykssfile_KSS

You type :
ln -s /home/xiangpisai/mysimulation/mykssfile_KSS mylinktothekssfile_KSS
in the directory you want to make your screening calculation (with mylinktothekssfile_KSS being the correct name from your .files file of your screening calculation. You can of course have several links to the same file.

David

xiangpisai
Posts: 19
Joined: Thu Mar 24, 2011 3:02 pm

Re: Question about the path of KSS file

Post by xiangpisai » Tue May 03, 2011 9:51 pm

david.waroquiers wrote:Hello,

You can have a symbolic link to your KSS file.
Assume your KSS file is located in :
/home/xiangpisai/mysimulation/mykssfile_KSS

You type :
ln -s /home/xiangpisai/mysimulation/mykssfile_KSS mylinktothekssfile_KSS
in the directory you want to make your screening calculation (with mylinktothekssfile_KSS being the correct name from your .files file of your screening calculation. You can of course have several links to the same file.

David

Hi, David,
Sorry for the late reply. Your method works, thank you very much for your help!
Best regards!
xiangpisai

Locked