GPAW

Real-space DFT tightly integrated with the Atomic Simulation Environment.

Tool 014 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

GPAW, open-source tool for electronic structure of solids (periodic DFT): Real-space DFT tightly integrated with the Atomic Simulation Environment.

What GPAW is

GPAW is a DFT code written in Python with C extensions, based on the projector augmented-wave (PAW) method, which reconstructs all-electron wavefunctions from smooth pseudo-wavefunctions. It offers three ways to represent those wavefunctions: a uniform real-space grid with finite differences, a basis of numerical atomic orbitals (LCAO) for larger systems, and plane waves for periodic solids. GPAW is a calculator for the Atomic Simulation Environment (ASE), so structures, optimisers, molecular dynamics and analysis all come from the Python objects of ASE.

A calculation is a Python script: build an Atoms object, attach a GPAW calculator with a mode, functional and k-points, and ask for the energy. Results are stored in .gpw files that can be reloaded for post-processing, and densities and orbitals can be written to cube format. Beyond ground states, GPAW provides linear-response and real-time TDDFT, GW and Bethe-Salpeter, RPA correlation energies, hybrid functionals, DFT+U, spin-orbit coupling, Berry-phase quantities and electron transport. PAW datasets are distributed for most elements.

Running real-space mode on a workstation is fine for small systems, but the grid approach is memory-hungry and parallel runs are the norm for solids.

Features

What it is for

Verified facts

FamilyElectronic structure of solids (periodic DFT)
Language or basisPAW, real-space grid or LCAO
Repositoryhttps://gitlab.com/gpaw/gpaw (GitLab)
Verified2026-11-28 by MolForge's checking script, against the host's API

Where GPAW fits

Codes for crystals, surfaces and periodic materials, with plane waves, augmented plane waves or localised bases. VASP, WIEN2k and CASTEP are the proprietary references.

GPAW appears in these chains of the directory: High-throughput materials screening by DFT; Catalysis and electrochemical screening.

It is the first place to look when you want a crystal or a surface (periodic DFT).

Our comments on GPAW

MolForge does not run GPAW in production. This page is a verified pointer, not a review: the facts above come from the repository on the date shown, the description is ours, and we make no claim about accuracy or speed that we have not measured. If you maintain GPAW and something here is wrong or out of date, write to hello@molforge.ai and we will correct the source file.

Test status

Not tested by MolForge. To check GPAW yourself: clone the repository, follow the installation section of its README, and run the test suite the project ships before trusting a result; the last-commit date and the open issue count above tell you how alive the project is.

Questions people ask

How is GPAW different from Quantum ESPRESSO?
GPAW is driven entirely from Python through ASE and offers real-space and LCAO representations as well as plane waves; Quantum ESPRESSO is a Fortran suite with text input and plane waves only. GPAW folds TDDFT, GW and BSE into the same package, whereas the Quantum ESPRESSO ecosystem reaches them through companion codes. Both use PAW datasets but with different formats.
What is the difference between the GPAW modes?
Finite-difference mode places wavefunctions on a real-space grid, convenient for isolated systems and real-time TDDFT. LCAO mode expands them in atomic orbitals, cheap for large systems and transport but basis-limited. Plane-wave mode is the natural choice for periodic solids and is required for GW, BSE and RPA. The same script switches between them with the mode keyword.
Do I need ASE to use GPAW?
Yes. GPAW is designed as an ASE calculator and has no standalone input format; atoms, cells, optimisers and molecular dynamics come from ASE. This is a convenience for Python users, since the same scripts can drive other codes by swapping the calculator, but it means learning ASE alongside GPAW.
Where is the GPAW source code?
At https://gitlab.com/gpaw/gpaw (GitLab). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
Does MolForge use GPAW?
No. MolForge runs nine of the hundred tools in this directory (RDKit, OpenMM, AutoDock Vina, Open Babel, MDTraj, pymbar and NGL, plus PySCF and xTB in MFsig); GPAW is listed because of its place in electronic structure of solids (periodic DFT), not because we run it.

Other tools in electronic structure of solids (periodic DFT)