GPRidge

Author:

Rohit Goswami, Maxim Masterov, Satish Kamath

Find reaction paths and saddle points

GPRidge uses Gaussian processes to reduce the number of energy and force evaluations in minimum-energy path and first-order saddle point searches. Use gprn to find a path between two structures and gprd to refine a saddle. The two searches can share their energy and force observations, so evaluations that place the band also train the saddle search.

Lennard-Jones energy contours in the RMSD reaction valley with a path through the climbing image and the three cluster structures below.

Berry pseudorotation of a Lennard-Jones pentamer. The white line follows the converged band through the square-pyramidal climbing image. Black dots mark independent Lennard-Jones evaluations around the band. The structures show the reactant, climbing image, and product.

Choose a tutorial

  • The quickstart finds a path for a five-atom cluster using the built-in Lennard-Jones potential. It explains the barrier, convergence status, and output files.

  • The Python dimer tutorial refines a saddle on an analytical two-atom potential using ASE.

  • The Pt(111) tutorial finds a diffusion path on a periodic slab with a Morse potential.

  • The UMA band tutorial uses a machine-learned potential to calculate a molecular reaction path.

How GPRidge finds a saddle explains where the surrogate saves evaluations and where the search calls the underlying potential.

Interfaces and API reference

Interface

Entry point

Guide

Python

gpridge (GPDimer, GPNEB, GaussianProcess)

Python usage

CLI

gprn (bands), gprd (dimer)

CLI reference

C

gpr/capi/gpridge_c.h, libgpridge

C API

Fortran

module in fortran/gpridge.f90

Fortran tutorial

R, Julia

r/gpridge, julia/GPRidge.jl

Native packages

Rust

rust/gpridge-sys

Rust bindings

C++

headers under gpr/

C++ API

Install the Python bindings with python -m pip install gpridge and use import gpridge. The installed C library is libgpridge, with gpridge.pc for pkg-config and a CMake package for find_package(gpridge). The R, Julia, Fortran and Rust bindings use the C API.

How these pages are organised

The pages fall into four kinds. A tutorial is a lesson that ends in a finished search. A how-to guide is a recipe for one task. An explanation says why the method works and what it assumes. A reference lists every flag, key and symbol, and most of it is generated from the sources so that it cannot drift. Code blocks on the tutorial and how-to pages run in the documentation tests unless the block says why it cannot (a missing model file, a GPU, a scheduler); the documentation build page says how.

Getting started

Build the drivers and run a first band.

Tutorials

Lessons that end in a completed search.

How-to guides

Recipes for one task each.

Explanation

Why the surrogate loop works, the mathematics behind the kernels and priors, and where the time goes.

Reference

Every command-line flag, TOML key, binding and API symbol.

The C++ pages are the Doxygen XML tree folded into this site via doxyrest. A standalone doxyYoda HTML tree (inline source, treeview) is published beside this site as api-cpp.

Project

Development

How to contribute, how the documentation is built, and the design notes that fix the internal contracts.

License

MIT. See the LICENSE file in the repository root.