Z2Pack
Z2Pack copied to clipboard
About the cooperation between Z2Pack and first-principles codes, such as Quantum espresso and SIESTA.
I'm still not so clear about the guidance described here:
Z2Pack uses the Wannier90 software to compute overlap matrices from first-principles.
This means that Z2Pack can be used with any first-principles code that interfaces to
Wannier90. If you are using Wannier90 version 2.1.0 or higher, it is compatible with Z2Pack.
Does this mean that if I use the latest version of Wannier90, there is needless to do any specific setup similar to things described there, i.e., ABINIT Setup and VASP Setup?
Regards, HZ
It's been a while since I installed either ABINIT or VASP - do they come with a native interface to the latest Wannier90 version? If the Wannier90 version used accepts either skip_B1_tests
or (preferably) nnkpts
inputs, the specific setup steps are not needed.
In the nnkpts
case, you can use the wannier90_full k-point generation method to let Wannier90 know which overlaps to compute.
The newest version of VASP does work with Wannier90 3.1.0. Unfortunately, the VASP team has not add much documentation on the updated interface yet. @hongyi-zhao, you might find this forum post helpful.
@jkidd1 VASP is a closed source software. The VASP team never intends to cooperate with the open source community, and always has a superior attitude and arrogance. I have given up the use of it.
@greschd
It's been a while since I installed either ABINIT or VASP
Me too.
- do they come with a native interface to the latest Wannier90 version?
So I know nothing about the situation you described above. I am mainly concerned about the cooperation between Z2Pack and other open source codes, such as Quantum espresso and SIESTA, which is also the purpose of this issue.
If the Wannier90 version used accepts either
skip_B1_tests
or (preferably)nnkpts
inputs, the specific setup steps are not needed.
According to the parameter comments provided in the source code:
!! no longer an input keyword
logical, public, save :: skip_B1_tests
!! do not check the B1 condition
logical, public, save :: explicit_nnkpts
!! nnkpts block is in the input file (allowed only for post-proc setup)
integer, allocatable, public, save :: shell_list(:)
So, it seems that, in the current Wannier90 version, skip_B1_tests
is no longer used as an input keyword, and nnkpts
is the default accepted one.
In the
nnkpts
case, you can use the wannier90_full k-point generation method to let Wannier90 know which overlaps to compute.
Thank you for pointing this out. Are there any examples in Z2Pack that use this feature?
For Quantum Espresso, there's no need to use special setup instructions. An example with wannier90_full
can be found here: https://github.com/Z2PackDev/Z2Pack/blob/dev/current/examples/fp/espresso/6.2/Bi/run.py
For Siesta, @juijan provided an example using the sisl
library: https://github.com/Z2PackDev/Z2Pack/blob/dev/current/examples/fp/siesta/Bi-monolayer/run.py
This actually uses a different interface on the Z2Pack side, since it directly provides the Hamiltonian matrix (z2pack.hm.System
instead of z2pack.fp.System
). Besides running this example, I don't have experience with Siesta.
In the current Wannier90 version, it seems that skip_B1_tests is no longer used as an input keyword, and nnkpts is the default accepted one.
Yes, if available that is to be preferred. The nnkpts
specifies explicitly which overlap integrals are to be computed, whereas the skip_B1_tests
was a temporary measure to fix a common exception from using the automatic process.
For Quantum Espresso, there's no need to use special setup instructions. An example with
wannier90_full
can be found here: https://github.com/Z2PackDev/Z2Pack/blob/dev/current/examples/fp/espresso/6.2/Bi/run.py
Running rg
under the examples' folder in the Z2Pack repository gives me the following results:
$ rg -l z2pack.fp.kpoint.wannier90_full examples/
examples/fp/espresso/6/Bi/run.py
examples/fp/espresso/6.2/Bi_volume/run.py
examples/fp/espresso/6.2/Bi/run.py
examples/fp/espresso/6/MoP2_weyl/run.py
@jkidd1
https://github.com/Z2PackDev/Z2Pack/issues/118#issuecomment-996174614 The newest version of VASP does work with Wannier90 3.1.0. Unfortunately, the VASP team has not add much documentation on the updated interface yet. @hongyi-zhao, you might find this forum post helpful.
Good news, Wannier90 v.3.x is supported by VASP since 6.2.0:
Thanks for the info. I've closed this issue in favor of the remaining TODOs in #132, #119.