NERSCPowering Scientific Discovery Since 1974

Wannier90

Description

Wannier90 computes maximally-localised Wannier functions (MLWF)
following the method of Marzari and Vanderbilt (MV). It can be used
in conjunction with Abinit, Quantum ESPRESSO, PARATEC and BerkeleyGW
to computer Wannier functions and a k-point interpolation of various quantities.

Wannier90 computes maximally-localised Wannier functions (MLWF) following the method of Marzari and Vanderbilt (MV). It can be used in conjunction with Abinit, Quantum ESPRESSO, PARATEC and BerkeleyGW to computer Wannier functions and a k-point interpolation of various quantities.

How to Access Wannier90

NERSC uses modules to manage access to software. To use the default version of Wannier90, type:

% module load wannier90

Using Wannier90 on Hopper

There are two ways of running wannier90 on Franklin and Hopper: submitting a batch job, or running interactively in an interactive batch session.

Sample Batch Script for Wannnier90 on Hopper

#PBS -N myjob
#PBS -q debug
#PBS -l mppwidth=16
#PBS -l walltime=00:30:00
#PBS -j oe
#PBS -V

cd $PBS_O_WORKDIR
module load wannier90

aprun -n 16 wannier90.x >& test.log

Then submit the job script using the qsub command, e.g., assuming the job script name is test_wannier90.pbs:

% qsub test_wannier90.pbs 

Sample Interactive Batch Script for Wannier90 on Hopper

To request an interactive batch session, issue the command (e.g., requesting 8 PEs):

% qsub -I -V -q interactive -l mppwidth=8 

When the batch session is returned to you, issue the following commands:

% cd $PBS_O_WORKDIR
% module load wannier90
% aprun -n 16 wannier90.x >& test.log

Documentation

Wannier90 Documentation

Compilation Instructions

Some advanced users may be interested in tweaking the Wannier90 build parameters and building Wannier90 themselves in their own directory. In order to aid in this process, and to provide a greater degree of transparency, the build instructions for the Wannier90 module are listed below. The following procedure was used to build Wannier90 on Hopper.

% module swap PrgEnv-pgi PrgEnv-gnu

% module swap gcc gcc/4.5.2

% cp /usr/common/usg/wannier90/1.2/Build/wannier90-1.2/make.sys make.sys

% make all

Availability

PackagePlatformCategoryVersionModuleInstall DateDate Made Default
Wannier90 carver applications/ material sciences 1.2 wannier90/1.2 2013-09-05 2013-09-05
Wannier90 carver applications/ material sciences 2.0 wannier90/2.0 2014-02-06
Wannier90 edison applications/ material sciences 1.2 wannier90/1.2 2013-09-01 2013-09-01
Wannier90 hopper applications/ material sciences 1.2 wannier90/1.2 2012-01-13 2012-01-13
Wannier90 hopper applications/ material sciences 2.0 wannier90/2.0 2014-02-06