Presently, QUANTUM ESPRESSO is distributed in source form; some precompiled executables (binary files) are provided for PWgui. Packages for the Debian Linux distribution are however made available by debichem developers. Stable releases of the QUANTUM ESPRESSO source package (current version is 5.0) can be downloaded from the Download section of http://www.quantum-espresso.org.
Uncompress and unpack the base distribution using the command:
tar zxvf espresso-X.Y.Z.tar.gz(a hyphen before "zxvf" is optional) where X.Y.Z stands for the version number. If your version of tar doesn't recognize the "z" flag:
gunzip -c espresso-X.Y.Z.tar.gz | tar xvf -A directory espresso-X.Y.Z/ will be created. Given the size of the complete distribution, you may need to download more packages. If the computer you expect to install QUANTUM ESPRESSO is always connected to the internet, the Makefiles will automatically download, unpack and install the required packages on demand. If not, you can download each required package into subdirectory archive but not unpacked or uncompressed: command make will take care of this during installation.
The package GWL needs a manual download and installation please follow the instructions given at gww.qe-forge.org.
Occasionally, patches for the current version, fixing some errors and bugs, may be distributed as a "diff" file. In order to install a patch (for instance):
cd espresso-X.Y.Z/ patch -p1 < /path/to/the/diff/file/patch-file.diffIf more than one patch is present, they should be applied in the correct order.
The bravest may access the development version via anonymous access to the Subversion (SVN) repository : see the Developer Manual (Doc/developer_man.pdf), section ''Using SVN''. Beware: the development version is, well, under development: use at your own risk!
The QUANTUM ESPRESSO distribution contains several directories. Some of them are common to all packages:
Modules/ | source files for modules that are common to all programs |
include/ | files *.h included by fortran and C source files |
clib/ | external libraries written in C |
flib/ | external libraries written in Fortran |
install/ | installation scripts and utilities |
pseudo/ | pseudopotential files used by examples |
upftools/ | converters to unified pseudopotential format (UPF) |
Doc/ | general documentation |
archive/ | contains plug-ins in .tar.gz form |
PW/ | PWscf package |
NEB/ | PWneb package |
PP/ | PostProc package |
PHonon/ | PHonon package |
PWCOND/ | PWcond package |
CPV/ | CP package |
atomic/ | atomic package |
GUI/ | PWGui package |