vasp6/wannier90.v2 can't generate any wannier files

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
weiwen_pu
Newbie
Newbie
Posts: 3
Joined: Sat Feb 01, 2020 9:15 am

vasp6/wannier90.v2 can't generate any wannier files

#1 Post by weiwen_pu » Thu May 14, 2020 8:10 am

Dear all
I compile vasp6 and wannier90v2.1, It seemed sucessfully and have no error.
However, When I add LWANNIER90=.T into INCAR, there is no wannier files in the calculation path.
no matter what vasp version is, did anyone experience the same problem?

I am eager to discuss with you , thanks a lot !!

User avatar
chengcheng_xiao1
Newbie
Newbie
Posts: 26
Joined: Sun Nov 17, 2019 6:23 pm
Location: London, UK
Contact:

Re: vasp6/wannier90.v2 can't generate any wannier files

#2 Post by chengcheng_xiao1 » Sun Jun 28, 2020 5:36 pm

First of all, let's make sure you have compiled VASP with wannier90 interface correctly.

Does your `makefile.include` have:
1. `-DVASP2WANNIER90` in `CPP_OPTIONS`
2. absolute path to your `libwannier.a` in `LLIBS`

If not, check out this link wiki/index.php/Installing_VASP.5.X.X#Fo ... ptional.29.

Then, make sure you have `LWANNIER90=.T.` in your INCAR.

With that, you sill need to have a `wannier90.win` file in order to run the interface. This file should at least contain:
- num_wann
- projections BLOCK

VASP will fill in other essential blocks like `unit_cell_cart`, `atom_cart`, `mp_grid` and `kpoints`.
If you don't know what this means, check out Wannier90's user manual and tutorials.

Finally, you should be able to run VASP and see similar output like:
```
DAV 1 xxxx xxxx xxxx xx xxxx
projection 1 done.
projection 2 done.
1F= xxxx
```
As an additional mark, per my understanding, VASP only support Wannier90 up to version 1.2

If you want additional features like non-collinear `UNK` plot and `.spn` files which requires newer version of the Wannier90, check out my repo https://github.com/Chengcheng-Xiao/VASP2WAN90_v2_fix

weiwen_pu
Newbie
Newbie
Posts: 3
Joined: Sat Feb 01, 2020 9:15 am

Re: vasp6/wannier90.v2 can't generate any wannier files

#3 Post by weiwen_pu » Tue Jun 30, 2020 2:32 pm

Dear xiao:
Thanks a lot for your help! :)
I finnally find out that I need add '-DVASP2WANNIER90v2' instead of '-DVASP2WANNIER90' into vasp makefile.include and in that way vasp can successfully run with wannier90.v2
And I sometimes find NPAR tag will also lead to this problem. Using default 'NPAR=1' can figure it out if compile is successful.

Moreover , Your personal page is so useful~, it also help me think over whether vasp is well compiled with wannierv2. I will spend time in reading it and further learning how to use wannier90 , thanks for your earnest response ;D

Post Reply