12.07.2015 Views

userguide WIEN2WANNIER: From linearized augmented ... - WIEN 2k

userguide WIEN2WANNIER: From linearized augmented ... - WIEN 2k

userguide WIEN2WANNIER: From linearized augmented ... - WIEN 2k

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.5 InstallationDownload the package fromhttp://www.wien<strong>2k</strong>.at/reg user/unsupported/wien2wannierto a directory of choice, e.g. /opt/wien2wannier(in the following $W2WROOT). Then,gzip -d wien2wannier.tar.gztar -xvf wien2wannier.tar.gzChoose the proper compile script to match the system in the $W2WROOT/sys directory, copyit to $W2WROOT/compile w2w.sh and run it to compile w2w, wplot and all FORTRAN utilityprogramscompile w2wAfter the compilation, every user should call thelink w2w.sh or link w2w.cshfrom the $W2WROOT directory to link the executables. To bring the changes into effect, restart ofthe shell is required (or for bash issuing the commandsource .bashrcfrom the users home directory).Note: For the standard visualization method presented in this guide, XCrySDen [6] is needed.In case of compilation problems: Since wien2wannier is based on wien2K, the easiest way to obtainthe correct Makefile is to look into the corresponding wien2K folder. The correspondences arelapwdm→w2w, lapw7→wplot. Thus, when experiencing problem with the compilation of w2w orwplot, copy the essential parts of the Makefiles from these wien<strong>2k</strong> directories into the Makefilesof the corresponding wien2wannier folders (essential meaning the linking and options block, notthe file names).The package was tested on wien2K Version <strong>WIEN</strong><strong>2k</strong> 10.1 (Release 7/6/2010) and wannier90 Version1.2 .1.5.1 ExampleIn the directory $W2WROOT/templates there are three debugging scripts testcase1.sh,testcase2.sh and testcase3.sh which show the workflow for the compoundSrVO 3 (debug.struct) in the standard case, the spin-polarized case and the spin-polarizedcase including spin-orbit coupling, respectively. To actually run the scripts, create a directoryof choice and copy the corresponding script in that directory. If invoked, it should produce axcrysden visualization of a V-t g orbital if wien<strong>2k</strong>, wien2wannier, wannier90 and xcrysden arecorrectly installed.1.5.2 Installation of wannier90In the following, some hints for the wannier90 installation (details can be found in [5]):◮ download a recent version of wannier90 from www.wannier.org17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!