Installation

In order to install WEST you need to download the QuantumEspresso 6.1.

QuantumEspresso (QE) is an integrated suite of Open-Source computer codes for electronic-structure calculations and materials modeling at the nanoscale, based on density-functional theory (DFT), plane waves (PW), and pseudopotentials (PP). Configure QuantumEspresso by running the configure script that comes with the QE distribution. WEST requires MPI support (Scalapack and OpenMP support is also recommended, but optional). If all the environment variables (compilers, libraries etc.) have been set according to the QE configure guide, this would simply be:

$ wget https://gitlab.com/QEF/q-e/-/archive/qe-6.1.0/q-e-qe-6.1.0.tar
$ mkdir QEdir
$ tar -xvf q-e-qe-6.1.0.tar -C QEdir --strip-components 1
$ cd QEdir
$ wget http://www/west-code.org/downloads/latest/West.tar.gz
$ tar -zxvf West.tar.gz
$ ./configure

It’s now time to create the pw.x, wstat.x, wfreq.x, and westpp.x executables by doing:

$ cd QEdir
$ make pw
$ cd QEdir/West
$ make

You have succefully installed QuantumEspresso and WEST if you see the executables pw.x, wstat.x, wfreq.x, and westpp.x created in the QEdir/bin directory.

$ ls QEdir/bin/
pw.x
wstat.x
wfreq.x
westpp.x
... (other content) ...

Congratulations, you are all set for running QuantumEspresso and WEST!