Skip to content
Switch branches/tags
Go to file

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time


DFTB+: general package for performing fast atomistic calculations

LGPL v3.0

DFTB+ is a software package for carrying out fast quantum mechanical atomistic calculations based on the Density Functional Tight Binding method. The most recent features are described in the (open access) DFTB+ paper.

DFTB+ website

DFTB+ can be either used as a standalone program or integrated into other software packages as a library.


Downloading the binary distribution

Binary (threaded) distribution of the latest stable release can be found on the stable release page.

Alternatively, you can also install DFTB+ via the Anaconda package management framework. (This feature is currently experimental.)

Building from source

Note: This section describes the building with default settings (offering only a subset of all possible features in DFTB+) in a typical Linux environment. For more detailed information on the build customization and the build process, consult the detailed building instructions in INSTALL.rst.

Download the source code from the stable release page.

You need CMake (>= 3.16) to build DFTB+. If your environment offers no CMake or only an older one, you can easily install the latest CMake via Python's pip command:

pip install cmake

Start CMake by passing your compilers as environment variables (FC and CC), and the location where the code should be installed and the build directory (_build) and als options:

FC=gfortran CC=gcc cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/dftb+ -B _build .

If the configuration was successful, start the build with:

cmake --build _build -- -j

After successful build, you should test the code. First download the SK-files needed for the test

./utils/get_opt_externals slakos

and then run the tests with

pushd _build; ctest -j; popd

If the tests were successful, install the package with

cmake --install _build

For further details see the detailed building instructions.


In order to carry out calculations with DFTB+, you need according parameterisations (a.k.a. Slater-Koster files). You can download them from


Consult following resources for documentation:


When publishing results obtained with DFTB+, please cite following works:


New features, bug fixes, documentation, tutorial examples and code testing is welcome in the DFTB+ developer community!

The project is hosted on github. Please check CONTRIBUTING.rst and the DFTB+ developers guide for guide lines.

We are looking forward to your pull request!


DFTB+ is released under the GNU Lesser General Public License. See the included LICENSE file for the detailed licensing conditions.