Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ assignees: ''
**Describe the bug**
A clear and concise description of what the bug is.

**Environment**
- `xtb` version (output of `xtb --version`):
- OS and architecture (e.g., Linux `x86_64`, macOS `arm64`, Windows `x86_64`):
- Installation method (e.g., static release binary, `bleed` binary, `conda-forge`, Homebrew, built from source):
- Backend used (native `xtb` or `--tblite`):

**To Reproduce**
Steps to reproduce the behaviour:

Expand Down
5 changes: 2 additions & 3 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"license": "LGPL-3.0-or-later",
"version": "v6.2.3",
"license": "LGPL-3.0-or-later",
"references": [
"S. Grimme, C. Bannwarth, P. Shushkov, J. Chem. Theory Comput., 2017, 13, 1989-2009. DOI: 10.1021/acs.jctc.7b00118",
"C. Bannwarth, S. Ehlert and S. Grimme., J. Chem. Theory Comput., 2019, 15, 1652-1671. DOI: 10.1021/acs.jctc.8b01176",
Expand All @@ -9,7 +8,7 @@
"E. Caldeweyher, S. Ehlert, A. Hansen, H. Neugebauer, S. Spicher, C. Bannwarth and S. Grimme, J. Chem. Phys., 2019, 150, 154122. DOI: 10.1063/1.5090222",
"S. Grimme and C. Bannwarth, J. Chem. Phys., 2016, 145, 054103. DOI: 10.1063/1.4959605",
"V. Asgeirsson, C. Bauer and S. Grimme, Chem. Sci., 2017, 8, 4879. DOI: 10.1039/c7sc00601b",
"S. Grimme, J. Chem. Theory Comput., 2019, 155, 2847-2862. DOI: 10.1021/acs.jctc.9b00143"
"S. Grimme, J. Chem. Theory Comput., 2019, 15, 2847-2862. DOI: 10.1021/acs.jctc.9b00143"
],
"upload_type": "software",
"keywords": [
Expand Down
11 changes: 5 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Contributing to xTB

> **Important**: please sign off *all* your commits. To avoid commiting unsigned changes you can use the Python script `scripts/install-hooks.py` to install a commit hook to check whether you signed off.
> **Important**: please sign off *all* your commits. To avoid committing unsigned changes you can use the Python script `scripts/install-hooks.py` to install a commit hook to check whether you signed off.

First off, thank you for considering contributing to `xtb`.
Please take a moment to review this guidelines to make the contribution process
Please take a moment to review these guidelines to make the contribution process
simple and effective for all involved.

Respecting these guidelines helps communicate that you respect the time of
Expand All @@ -13,14 +13,14 @@ evaluating changes, and helping you handle your pull requests.

## Reporting a Bug

A bug is a *demonstratable problem* caused by the code in this repository.
A bug is a *demonstrable problem* caused by the code in this repository.
Good bug reports are extremely valuable for us - thank you!

Before opening a bug report:

1. Check if the issue has already been reported.
2. Check if it still is an issue or has already been fixed?
Try to reproduce it with the latest version from the `master` branch.
Try to reproduce it with the latest version from the `main` branch.
3. Isolate the problem and create a reduced test case.

A good bug report should not leave others needing to chase you up for more
Expand Down Expand Up @@ -58,8 +58,7 @@ Contributions are welcome via Github pull requests.
standalone.
- Make sure the code compiles and the tests run successful on more than
your local machine (*e.g.* on cluster of your university).

Please sign-off your commits
- Sign off all your commits (see [Sign Your Work](#sign-your-work)).

### For New Contributors

Expand Down
42 changes: 24 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Semiempirical Extended Tight-Binding Program Package

[![License](https://img.shields.io/github/license/grimme-lab/xtb)](https://github.com/grimme-lab/xtb/blob/master/COPYING)
[![License](https://img.shields.io/github/license/grimme-lab/xtb)](https://github.com/grimme-lab/xtb/blob/main/COPYING)
[![Latest Version](https://img.shields.io/github/v/release/grimme-lab/xtb)](https://github.com/grimme-lab/xtb/releases/latest)
[![DOI](https://img.shields.io/badge/DOI-10.1002%2Fwcms.1493-blue)](https://doi.org/10.1002/wcms.1493)
[![Github Downloads All Releases](https://img.shields.io/github/downloads/grimme-lab/xtb/total)](https://github.com/grimme-lab/xtb/releases)
Expand All @@ -13,6 +13,9 @@ This is the official repository of the `xtb` program package developed by the Gr

## Table of Contents
- [Installation](#installation)
- [Meson](#meson)
- [CMake](#cmake)
- [Conda](#conda)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [Citations](#citations)
Expand All @@ -22,32 +25,34 @@ This is the official repository of the `xtb` program package developed by the Gr

[![Build Status](https://img.shields.io/github/actions/workflow/status/grimme-lab/xtb/fortran-build.yml?branch=main)](https://github.com/grimme-lab/xtb/actions)

Statically linked binaries (Intel Compiler) can be found at the [latest release page](https://github.com/grimme-lab/xtb/releases/latest), a version for Linux (Intel 18.0.2, GLIBC 2.19) and Windows (Intel 2022, GNU-15) is provided.
The `xtb` program and library are packaged on conda-forge for Linux (x86\_64, aarch64, ppc64le) and MacOS (x86\_64, arm64).
For homebrew users a custom tap is available at [grimme-lab/homebrew-qc](https://github.com/grimme-lab/homebrew-qc) providing prebuilt MacOS/x86\_64 binaries, for MacOS/arm64 binaries will be compiled on installation automatically.
Statically linked binaries are provided on the [latest release page](https://github.com/grimme-lab/xtb/releases/latest), and bleeding-edge static binaries (as well as the source distribution archive) built from the latest `main` branch are available on the [continuous release tag (`bleed`)](https://github.com/grimme-lab/xtb/releases/tag/bleed) for five platforms:
- Linux (`x86_64`, compiled with Intel oneAPI `ifx`/`icx` and MKL; `aarch64`, compiled with GCC and OpenBLAS)
- macOS (`arm64` and `x86_64`, compiled with GCC and OpenBLAS)
- Windows (`x86_64`, compiled with MinGW-w64 UCRT64 GCC and OpenBLAS)

Bleeding edge releases (Linux and Windows) of the latest source from this repository are available on the [continuous release tag](https://github.com/grimme-lab/xtb/releases/tag/bleed).
The `xtb` program and library are also packaged on conda-forge for Linux (`x86_64`, `aarch64`, `ppc64le`) and macOS (`x86_64`, `arm64`).
For Homebrew users a custom tap is available at [grimme-lab/homebrew-qc](https://github.com/grimme-lab/homebrew-qc) providing prebuilt macOS/`x86_64` binaries; for macOS/`arm64`, binaries will be compiled on installation automatically.

This projects supports two build systems, meson and CMake.
A short guide on the usage of each is given here, follow the linked instructions for a more detailed information ([meson guide](./meson/README.adoc), [CMake guide](./cmake/README.adoc)).
This project supports two build systems, meson and CMake.
A short guide on the usage of each is given here, follow the linked instructions for more detailed information ([meson guide](./meson/README.adoc), [CMake guide](./cmake/README.adoc)).

**Compilers**:
1. ifort(<=2021.10.0), icc(<=2021.10.0)
2. gfortran, gcc
3. ifx, icx (some versions may not work)
1. `ifx`, `icx`, `icpx`
2. `gfortran`, `gcc`, `g++`
3. `ifort` (<=2021.10.0), `icc` (<=2021.10.0)

Known issues with combinations:
1. GCC-13 + MacOS + AArch64


### Meson

Using [meson](https://mesonbuild.com/) as build system requires you to install a fairly new version like 0.62 or newer (except 1.8.0).
Using [meson](https://mesonbuild.com/) as build system requires you to install a fairly new version like 0.62 or newer (except 1.8.0 and 1.8.1).
To use the default backend of meson you have to install [ninja](https://ninja-build.org/) version 1.7 or newer.

```bash
export FC=ifort CC=icc
meson setup build --buildtype release --optimization 2 -Dfortran_link_args="-qopenmp"
export FC=ifx CC=icx
meson setup build --buildtype release --optimization 2
ninja -C build test
```

Expand All @@ -65,7 +70,7 @@ Example:
```bash
brew install gcc gfortran openblas
```
2. **meson setup call with appropriate environment variables**: Use the following adapted `meson setup` call to compile `xtb` on macOS. Obviously, the paths to the libraries might differ on your system.
2. **meson setup call with appropriate environment variables**: Use the following adapted `meson setup` call to compile `xtb` on macOS (adjusting the OpenBLAS path and the installed Homebrew compiler version, e.g., `gfortran-14`/`gcc-14`, for your system).
```bash
LDFLAGS="-L/opt/homebrew/opt/openblas/lib" CPPFLAGS="-I/opt/homebrew/opt/openblas/include" FC=gfortran-14 CC=gcc-14 meson setup _build --buildtype release -Dlapack=openblas
```
Expand All @@ -85,7 +90,7 @@ For more information on the build with meson see the instructions [here](./meson

### CMake

The CMake build system requires both make and CMake to be installed, the latter has to be version 3.17 or newer.
The CMake build system requires both make and CMake to be installed, the latter has to be version 3.18 or newer.

Building `xtb` with CMake works with the following chain of commands:

Expand Down Expand Up @@ -163,8 +168,9 @@ features reality:
- [S. Grimme](https://www.chemie.uni-bonn.de/pctc/mulliken-center/grimme/) ([@stefangrimme](https://github.com/stefangrimme))
- C. Hölzer ([@hoelzerC](https://github.com/hoelzerc))
- A. Katbashev ([@Albkat](https://github.com/albkat))
- J. Kohn ([@demonic-daisy](https://github.com/demonic-daisy))
- J. Koopman ([@JayTheDog](https://github.com/jaythedog))
- C. Lavinge ([@clavigne](https://github.com/clavigne))
- C. Lavigne ([@clavigne](https://github.com/clavigne))
- S. Lehtola ([@susilehtola](https://github.com/susilehtola))
- F. März
- M. Müller ([@marcelmbn](https://github.com/marcelmbn))
Expand All @@ -174,6 +180,7 @@ features reality:
- C. Plett ([@cplett](https://github.com/cplett))
- P. Pracht ([@pprcht](https://github.com/pprcht))
- F. Pultar ([@pultar](https://github.com/pultar))
- T. Rose ([@Thomas3R](https://github.com/thomas3r))
- J. Seibert ([@liljay42](https://github.com/liljay42))
- L. M. Seidler ([@lmseidler](https://github.com/lmseidler))
- C. E. Selzer ([@chselz](https://github.com/chselz))
Expand All @@ -183,7 +190,6 @@ features reality:
- M. Steiner ([@steinmig](https://github.com/steinmig))
- T. Strunk ([@timostrunk](https://github.com/timostrunk))
- J. Stückrath ([@jbstueckrath](https://github.com/jbstueckrath))
- T. Rose ([@Thomas3R](https://github.com/thomas3r))
- J. Unsleber ([@nabbelbabbel](https://github.com/nabbelbabbel))

Contributors are listed in alphabetical order.
Expand Down Expand Up @@ -293,7 +299,7 @@ for DIPRO refer to:
DOI: [10.1063/5.0167484](https://doi.org/10.1063/5.0167484)

for O1NumHess refer to:
- B. Wang, S. Luo, Z. Wang, W. Liu, *J. Chem. Theory Comput.* **2025**, 21, 10893-10909.
- B. Wang, S. Luo, Z. Wang, W. Liu, *J. Chem. Theory Comput.*, **2025**, 21, 10893-10909.
DOI: [10.1021/acs.jctc.5c01354](https://doi.org/10.1021/acs.jctc.5c01354)

All references are available in [bibtex format](./assets/references.bib).
Expand Down
47 changes: 23 additions & 24 deletions assets/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ @article{grimme2019
}

@article{koopman2019,
title={Calculation of Electron Ionization Mass Spectra with Semiempirical GFNn-xTB Methods},
title={Calculation of Electron Ionization Mass Spectra with Semiempirical {GFNn-xTB} Methods},
author={Koopman, Jeroen and Grimme, Stefan},
journal={ACS Omega},
volume={4},
Expand All @@ -62,7 +62,7 @@ @article{koopman2019
}

@article{koopman2021,
title = {From QCEIMS to QCxMS: A Tool to Routinely Calculate CID Mass Spectra Using Molecular Dynamics},
title = {From {QCEIMS} to {QCxMS}: A Tool to Routinely Calculate {CID} Mass Spectra Using Molecular Dynamics},
author = {Koopman, Jeroen and Grimme, Stefan},
journal = {J{.} Am{.} Soc{.} Mass Spectrom{.}},
volume = {32},
Expand All @@ -75,7 +75,7 @@ @article{koopman2021
}

@article{gorges2025,
title={QCxMS2 -- a program for the calculation of electron ionization mass spectra via automated reaction network discovery},
title={{QCxMS2} -- a program for the calculation of electron ionization mass spectra via automated reaction network discovery},
author={Gorges, Johannes and Grimme, Stefan},
journal={Phys{.} Chem{.} Chem{.} Phys{.}},
volume={27},
Expand All @@ -102,7 +102,7 @@ @article{asgeirsson2017
}

@article{grimme2016,
title={Ultra-fast computation of electronic spectra for large systems by tight-binding based simplified Tamm-Dancoff approximation (sTDA-xTB)},
title={Ultra-fast computation of electronic spectra for large systems by tight-binding based simplified {Tamm-Dancoff} approximation ({sTDA-xTB})},
author={Grimme, Stefan and Bannwarth, Christoph},
journal={J{.} Chem{.} Phys{.}},
volume={145},
Expand All @@ -115,7 +115,7 @@ @article{grimme2016
}

@article{caldeweyher2020,
title={Extension and evaluation of the D4 London-dispersion model for periodic systems},
title={Extension and evaluation of the {D4} {London}-dispersion model for periodic systems},
author={Caldeweyher, Eike and Mewes, Jan-Michael and Ehlert, Sebastian and Grimme, Stefan},
journal={Phys{.} Chem{.} Chem{.} Phys{.}},
volume={22},
Expand All @@ -128,7 +128,7 @@ @article{caldeweyher2020
}

@article{wittmann2024,
title={Extension of the D3 and D4 London dispersion corrections to the full actinides series},
title={Extension of the {D3} and {D4} {London} dispersion corrections to the full actinides series},
author={Wittmann, Lukas and Gordiy, Igor and Friede, Marvin and Helmich-Paris, Benjamin and Grimme, Stefan and Hansen, Andreas and Bursch, Markus},
journal={Phys{.} Chem{.} Chem{.} Phys{.}},
volume={26},
Expand All @@ -141,7 +141,7 @@ @article{wittmann2024
}

@article{caldeweyher2019,
title={A generally applicable atomic-charge dependent London dispersion correction},
title={A generally applicable atomic-charge dependent {London} dispersion correction},
author={Caldeweyher, Eike and Ehlert, Sebastian and Hansen, Andreas and Neugebauer, Hagen and Spicher, Sebastian and Bannwarth, Christoph and Grimme, Stefan},
journal={J{.} Chem{.} Phys{.}},
volume={150},
Expand All @@ -154,7 +154,7 @@ @article{caldeweyher2019
}

@article{caldeweyher2017,
title={Extension of the D3 dispersion coefficient model},
title={Extension of the {D3} dispersion coefficient model},
author={Caldeweyher, Eike and Bannwarth, Christoph and Grimme, Stefan},
journal={J{.} Chem{.} Phys{.}},
volume={147},
Expand All @@ -175,12 +175,12 @@ @article{spicher2020
year={2020},
doi={10.1002/anie.202004239},
url={https://dx.doi.org/10.1002/anie.202004239},
publisher={Wiley Online Library}
publisher={Wiley}
}

@article{spicher2021,
author={Spicher, Sebastian and Grimme, Stefan},
title={Single-Point Hessian Calculations for Improved Vibrational Frequencies and Rigid-Rotor-Harmonic-Oscillator Thermodynamics},
title={Single-Point {Hessian} Calculations for Improved Vibrational Frequencies and Rigid-Rotor-Harmonic-Oscillator Thermodynamics},
journal={J{.} Chem{.} Theory Comput{.}},
volume={17},
number={3},
Expand All @@ -202,7 +202,7 @@ @article{pracht2019
}

@article{bannwarth2019,
title={GFN2-xTB—An accurate and broadly parametrized self-consistent tight-binding quantum chemical method with multipole electrostatics and density-dependent dispersion contributions},
title={{GFN2-xTB}—An accurate and broadly parametrized self-consistent tight-binding quantum chemical method with multipole electrostatics and density-dependent dispersion contributions},
author={Bannwarth, Christoph and Ehlert, Sebastian and Grimme, Stefan},
journal={J{.} Chem{.} Theory Comput{.}},
volume={15},
Expand Down Expand Up @@ -240,11 +240,10 @@ @article{grimme_non-self-consistent_2023
month = mar,
year = {2023},
pages = {124111},
file = {Full Text PDF:/Users/marcelmueller/Zotero/storage/LRJJ6T9I/Grimme et al. - 2023 - A non-self-consistent tight-binding electronic str.pdf:application/pdf;Snapshot:/Users/marcelmueller/Zotero/storage/FAT76IUH/A-non-self-consistent-tight-binding-electronic.html:text/html},
}

@article{wang2025o1numhess,
title={O1NumHess: a fast and accurate seminumerical Hessian algorithm using only O (1) gradients},
title={{O1NumHess}: a fast and accurate seminumerical {Hessian} algorithm using only {O}(1) gradients},
author={Wang, Bo and Luo, Shaohang and Wang, Zikuan and Liu, Wenjian},
journal={J{.} Chem{.} Theory Comput{.}},
volume={21},
Expand All @@ -257,7 +256,7 @@ @article{wang2025o1numhess
}

@article{rose2024,
title={Fast and Robust Modeling of Lanthanide and Actinide Complexes, Biomolecules, and Molecular Crystals with the Extended GFN-FF Model},
title={Fast and Robust Modeling of Lanthanide and Actinide Complexes, Biomolecules, and Molecular Crystals with the Extended {GFN-FF} Model},
author={Rose, Thomas and Bursch, Markus and Mewes, Jan-Michael and Grimme, Stefan},
journal={Inorg{.} Chem{.}},
volume={63},
Expand All @@ -270,7 +269,7 @@ @article{rose2024
}

@article{grimme2024,
title={mcGFN-FF: an accurate force field for optimization and energetic screening of molecular crystals},
title={{mcGFN-FF}: an accurate force field for optimization and energetic screening of molecular crystals},
author={Grimme, Stefan and Rose, Thomas},
journal={Z{.} Naturforsch{.} B},
volume={79},
Expand All @@ -283,7 +282,7 @@ @article{grimme2024
}

@article{stahn2023,
title={Extended Conductor-like Polarizable Continuum Solvation Model (CPCM-X) for Semiempirical Methods},
title={Extended Conductor-like Polarizable Continuum Solvation Model ({CPCM-X}) for Semiempirical Methods},
author={Stahn, Marcel and Ehlert, Sebastian and Grimme, Stefan},
journal={J{.} Phys{.} Chem{.} A},
volume={127},
Expand All @@ -305,11 +304,11 @@ @article{neugebauer2023
year={2023},
doi={10.1002/jcc.27185},
url={https://doi.org/10.1002/jcc.27185},
publisher={Wiley Online Library}
publisher={Wiley}
}

@article{nottoli2024,
title={ddX: Polarizable continuum solvation from small molecules to proteins},
title={{ddX}: Polarizable continuum solvation from small molecules to proteins},
author={Nottoli, Michele and Herbst, Michael F. and Mikhalev, Aleksandr and Jha, Abhinav and Lipparini, Filippo and Stamm, Benjamin},
journal={{WIREs} Comput{.} Mol{.} Sci{.}},
volume={14},
Expand All @@ -318,12 +317,12 @@ @article{nottoli2024
year={2024},
doi={10.1002/wcms.1726},
url={https://doi.org/10.1002/wcms.1726},
publisher={Wiley Online Library}
publisher={Wiley}
}

@article{kohn2023,
title={Efficient calculation of electronic coupling integrals with the dimer projection method via a density matrix tight-binding potential},
author={Kohn, J. T. and Gildemeister, N. and Grimme, Stefan and Fazzi, Daniele and Hansen, Andreas},
author={Kohn, Julia T. and Gildemeister, Nora and Grimme, Stefan and Fazzi, Daniele and Hansen, Andreas},
journal={J{.} Chem{.} Phys{.}},
volume={159},
number={14},
Expand All @@ -335,7 +334,7 @@ @article{kohn2023
}

@article{mueller2024,
title={Advanced Charge Extended H{\"u}ckel (CEH) Model and a Consistent Adaptive Minimal Basis Set for the Elements Z = 1--103},
title={Advanced Charge Extended {H{\"u}ckel} ({CEH}) Model and a Consistent Adaptive Minimal Basis Set for the Elements {Z} = 1--103},
author={M{\"u}ller, Marcel and Froitzheim, Thomas and Hansen, Andreas and Grimme, Stefan},
journal={J{.} Phys{.} Chem{.} A},
volume={128},
Expand All @@ -357,7 +356,7 @@ @article{grimme2015
year={2015},
doi={10.1002/anie.201501887},
url={https://doi.org/10.1002/anie.201501887},
publisher={Wiley Online Library}
publisher={Wiley}
}

@article{bauer2017,
Expand All @@ -370,11 +369,11 @@ @article{bauer2017
year={2017},
doi={10.1002/chem.201604682},
url={https://doi.org/10.1002/chem.201604682},
publisher={Wiley Online Library}
publisher={Wiley}
}

@article{plett2023,
title={ONIOM meets xtb: efficient, accurate, and robust multi-layer simulations across the periodic table},
title={{ONIOM} meets xtb: efficient, accurate, and robust multi-layer simulations across the periodic table},
author={Plett, Christoph and Katbashev, Abylay and Ehlert, Sebastian and Grimme, Stefan and Bursch, Markus},
journal={Phys{.} Chem{.} Chem{.} Phys{.}},
volume={25},
Expand Down
Loading
Loading