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.
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 |
|
|
CLI |
|
|
C |
|
|
Fortran |
module in |
|
R, Julia |
|
|
Rust |
|
|
C++ |
headers under |
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.
Getting started
Tutorials¶
Lessons that end in a completed search.
Tutorials
- Python API: a first dimer search
- First NEB band: Berry pseudorotation of a Lennard-Jones pentamer
- A periodic Pt(111) Morse band
- UMA HCN band
- UMA HCN dimer
- Python API: the functional dimer interface
- Use a trained GP as a potential
- Tutorial: Fortran interop
- C API: from a GP model to a saddle point
- C++: a GP-NEB band on a Lennard-Jones cluster
- OCI-NEB: a climbing image with dimer bursts
- Compare the GPRidge binding examples
How-to guides¶
Recipes for one task each.
How-to: build and install
How-to: run searches
- Run a GP-NEB band
- Restart or warm-start a search
- Run a GP-NEB band from C++
- Minimise with a GP surrogate
- Run a Baker-24 cell with an external potential
- Choose GP settings
- Control what goes into the GP
- Get an IRC certificate for a saddle
- Compute a harmonic rate prefactor
- Python usage
- Use the Student-t process model
- Fit a free-energy surface on collective variables and estimate a rate
- Run GPRidge on a GPU
How-to: scale and reproduce
How-to: choose and tune the solver
- Choose a solver or approximation by problem size
- Use the covariance operator layer and the Krylov solvers
- Choose the random-feature count automatically
- Use the variational atomic inducing posterior
- Use the HS-SVD stable-basis solver
- Set the noise floor and keep the variance stable
- Use the derivative providers
How-to: use with other programs
How-to: extend
Explanation¶
Why the surrogate loop works, the mathematics behind the kernels and priors, and where the time goes.
Explanation
- How GPRidge finds a saddle
- The surrogate loop and derivative observations
- The scalar surrogate for a noisy oracle
- Saddle-point certificates
- Mathematics
- The local pair-baseline band (gp_local)
- How gprd checks the saddle index
- GP-assisted fixed-energy tunneling paths
- Potential-independent quantum paths and Gaussian fluctuations
- Gaussian-reference force-gradient correction
- Methods and design decisions
- Where the time goes
- History
Reference¶
Every command-line flag, TOML key, binding and API symbol.
Reference
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¶
Project
Development¶
How to contribute, how the documentation is built, and the design notes that fix the internal contracts.
Development
- Development
- Documentation build and style
- GP module layout
- GP execution and component ownership
- GP optimizer boundary contracts
- GP-NEB to GP-Dimer state transfer
- GP-OIE controller invariants and design record
- TPE acquisition for GP-OIE oracle targeting
- CUTLASS backend for RFF and KernelInverse
- Unified InputParameters schema
- SLATE as a linear-algebra backend
License¶
MIT. See the LICENSE file in the repository root.