Installation
<< Wannier Functions | > Step-by-step guide
Installation
-
See the download page for a version of Fleur including Wannier functions.
-
The Library of the Wannier90 Program
libwannier.a
has to be linked to the Fleur program during compilation. Download the source of Wannier90 (version v1.1) athttp://www.wannier.org/ and compile both the Wannier90 program and the library
libwannier.a
. As described in the wannier90 documentation, you need a filemake.sys
corresponding to the compiler and libraries specific to your computer. However, if you use the Juelich computer cluster or Juelich super computers, you may also find appropriate filesmake.sys
here. -
Add the line "#define wann" into the file "Imakefile" and run
imake
. Then runmake
to compileFLEUR
. -
For the calculation of Wannier functions, the full Brillouin zone is needed. To generate the corresponding k-point files, it is sometimes convenient to use an external k-point generator instead of the one included in the Fleur program. You may generate a k-point set using the following Fortran programs: kpointgen generates the kpts file and w90kpointgen generates the w90kpts file.