Metadata-Version: 2.4
Name: gpridge
Version: 1.0.0
Summary: GPRidge: Gaussian-process accelerated NEB and dimer saddle searches (Python interface)
Keywords: gpridge,gaussian process,gaussian process regression,nudged elastic band,minimum energy path,saddle point,saddle point search,transition state,dimer,dimer method,potential energy surface,machine-learned potentials,computational chemistry,atomistic simulation,ase
Author: Maxim Masterov, Satish Kamath
Author-Email: Rohit Goswami <rgoswami@ieee.org>
License-Expression: MIT AND SunPro
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: C
Classifier: Programming Language :: C++
Classifier: Programming Language :: Fortran
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Chemistry
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Project-URL: Homepage, https://gpridge.rgoswami.me/
Project-URL: Documentation, https://gpridge.rgoswami.me/
Project-URL: Repository, https://github.com/TheochemUI/gpridge
Project-URL: Issues, https://github.com/TheochemUI/gpridge/issues
Project-URL: Changelog, https://github.com/TheochemUI/gpridge/blob/main/CHANGELOG.md
Project-URL: Paper, https://arxiv.org/abs/2611.20591
Requires-Python: >=3.11
Requires-Dist: numpy
Requires-Dist: scipy>=1.10
Provides-Extra: ase
Requires-Dist: ase>=3.23; extra == "ase"
Provides-Extra: test
Requires-Dist: pytest>=7; extra == "test"
Requires-Dist: hypothesis>=6; extra == "test"
Requires-Dist: ase>=3.23; extra == "test"
Requires-Dist: sympy; extra == "test"
Requires-Dist: readcon-chemfiles<0.24,>=0.23.2; extra == "test"
Requires-Dist: readcon-db<0.2,>=0.1.6; extra == "test"
Requires-Dist: scipy>=1.10; extra == "test"
Requires-Dist: PyYAML<7,>=6; extra == "test"
Requires-Dist: h5py<4,>=3.15.1; extra == "test"
Requires-Dist: click<9,>=8.1; extra == "test"
Requires-Dist: polars<2,>=1; extra == "test"
Requires-Dist: jsonschema<5,>=4; extra == "test"
Requires-Dist: spdx-tools<0.9,>=0.8; extra == "test"
Requires-Dist: license-expression<31,>=30; extra == "test"
Requires-Dist: featomic>=0.6.7; extra == "test"
Requires-Dist: pydseamslib>=2.11.1; extra == "test"
Requires-Dist: pycapnp>=2.1.0; extra == "test"
Requires-Dist: snakemake>=8.0; extra == "test"
Requires-Dist: build; extra == "test"
Requires-Dist: meson>=1.8.0; extra == "test"
Requires-Dist: meson-python; extra == "test"
Requires-Dist: nanobind; extra == "test"
Requires-Dist: ninja>=1.11.1; extra == "test"
Description-Content-Type: text/markdown

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="assets/branding/gpridge-logo-dark.svg">
    <img src="assets/branding/gpridge-logo.svg" alt="gpridge" width="420">
  </picture>
</p>

**GPRidge** is a C++ library, command-line suite, and Python package for minimum energy path and first-order saddle point searches.
It uses Gaussian process regression to reduce energy and gradient evaluations from electronic-structure codes and machine-learned potentials.
The nudged elastic band (NEB) and dimer method share observations between the path and saddle point search.

[![img](https://github.com/TheochemUI/gpridge/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/TheochemUI/gpridge/actions/workflows/c-cpp.yml)
[![img](https://github.com/TheochemUI/gpridge/actions/workflows/docbuilder.yml/badge.svg)](https://github.com/TheochemUI/gpridge/actions/workflows/docbuilder.yml)


# Install


## C++ library and command-line tools

On Linux x86-64, install Pixi, Rust 1.88 or newer, and libclang.
Build `gprn` for path searches and `gprd` for saddle refinement.

```bash :eval no :why clones and builds the full project in the native CI job
git clone https://github.com/TheochemUI/gpridge.git
cd gpridge
pixi run -e python install-cbindgen
pixi run -e python meson setup builddir
pixi run -e python meson compile -C builddir gprn gprd
```


## Python bindings

[PyPI wheels](https://pypi.org/project/gpridge/) cover CPython 3.11–3.13 on Linux (x86-64 and AArch64) and macOS (Intel and Apple silicon).

```bash :eval no :why the release wheel workflow installs and tests the distribution
python -m pip install gpridge
```

The [installation guide](docs/orgmode/getting-started/installation.org) covers source distributions, library-only builds, and native packages.


# A first search

From the repository root, with `builddir/gprn` built, this runs a GP-NEB band between two relaxed Lennard-Jones pentamer structures.
The built-in Lennard-Jones potential needs no model file:

```bash
mkdir pentamer-band && cd pentamer-band
cp ../examples/lj-pentamer/reactant.con \
   ../examples/lj-pentamer/product.con .
../builddir/gprn --reactant reactant.con --product product.con \
    --potential lj --nimages 7 --gp-model-profile gprd_zbl \
    --output neb.h5 --write-con band.con
```

The run ends with a summary that includes `Oracle calls:`, `Converged: yes` and `Certified: yes`.
The call count differs with the build and the hardware.
The model barrier is about 0.6232 eV with epsilon of 1 eV and sigma of 1 Angstrom.
The
[quickstart](docs/orgmode/getting-started/quickstart.org)
explains each flag and each output file.
The tutorials continue with a
[GP dimer in Python](docs/orgmode/tutorials/first_gp_dimer.org)
and a [gprn band on a pentamer](docs/orgmode/tutorials/gprn_lj_pentamer.org).


# About

-   **Path and saddle searches**.
    `gprn` searches for a path between two endpoint structures.
    `gprd` refines a saddle from a structure and dimer orientation.
    Both use a Gaussian process surrogate and check candidate geometries against the underlying potential.
-   **Library and bindings**.
    Use the C++ or C interfaces from your application, or call `GPNEB` and `GPDimer` from Python with ASE calculators.
    The repository also contains Fortran, R, Julia, and Rust bindings.
-   **Potentials and solvers**.
    Built-in model potentials run without data files.
    External calculators and models include UMA, PET-MAD, NWChem, CP2K, and LAMMPS.
    Eigen is the default linear algebra backend.


# Documentation

-   **Full site**. [gpridge.rgoswami.me](https://gpridge.rgoswami.me/)
-   **On GitHub**.
    [Documentation index](docs/orgmode/index.org) · [CLI reference](docs/orgmode/reference/cli_reference.org) ·
    [Build options](docs/orgmode/reference/build_options.org)
-   **Library users**.
    [API and bindings](docs/orgmode/reference/bindings/index.org) · [Native packages](docs/orgmode/howto/native_packages.org) ·
    [Python usage](docs/orgmode/howto/python_usage.org)
-   **Ecosystem**.
    [SciMap](https://scimap.rgoswami.me/) maps the software used with GPRidge.
    The [integration guide](docs/orgmode/howto/scimap.org) follows a band from calculation to visualization.
-   **Developers**.
    [Development quick reference](docs/maintainer/development.md)


# Citation

If you use GPRidge, cite the preprint and record the software version used for your calculation.

> Goswami, R., Masterov, M., Kamath, S., Peña-Torres, A., Vishart, A. L., Bligaard, T., and Jónsson, H. (2026).
> GPRidge: Gaussian-process Accelerated Calculations of Minimum Energy Paths and First-order Saddle Points.
> arXiv.
> [arXiv:2611.20591](https://arxiv.org/abs/2611.20591).

[Citing GPRidge](docs/orgmode/reference/citing.org)
lists the software, methods and reproduction data.
GitHub also exports the preprint citation from [CITATION.cff](CITATION.cff).


## BibTeX

```bibtex
@misc{goswami2026gpridge,
  author        = {Goswami, Rohit and Masterov, Maxim and Kamath, Satish and
                   Pe{\~n}a-Torres, Alejandro and Vishart, Andreas Lynge and
                   Bligaard, Thomas and J{\'o}nsson, Hannes},
  title         = {{GPRidge}: {Gaussian}-process Accelerated Calculations of
                   Minimum Energy Paths and First-order Saddle Points},
  year          = {2026},
  month         = nov,
  eprint        = {2611.20591},
  archiveprefix = {arXiv},
  primaryclass  = {physics.chem-ph},
  doi           = {10.48550/arXiv.2611.20591},
  url           = {https://arxiv.org/abs/2611.20591},
}
```


# Contributing

See [CONTRIBUTING](CONTRIBUTING.md) for the development setup and the checks to run before a pull request, and [Code of Conduct](CODE_OF_CONDUCT.md).


# License

[MIT](https://spdx.org/licenses/MIT.html).
See `LICENSE`.
