======== 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. - :doc:`Install GPRidge ` - :doc:`Run your first path search ` - :doc:`Refine a saddle with Python and ASE ` - `Read the paper `_ · :doc:`Reproduce the calculations ` · `Browse the source `_ .. figure:: ../orgmode/_static/gprn_lj5_profile.png :alt: The energy rises from the reactant to a 0.623 eV barrier, then returns to the reactant energy at the product. :width: 560px Minimum-energy path for the Lennard-Jones pentamer. The points are images along the band. Choose a tutorial ~~~~~~~~~~~~~~~~~ - The :doc:`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 :doc:`Python dimer tutorial ` refines a saddle on an analytical two-atom potential using ASE. - The :doc:`Pt(111) tutorial ` finds a diffusion path on a periodic slab with a Morse potential. - The :doc:`UMA band tutorial ` uses a machine-learned potential to calculate a molecular reaction path. :doc:`How GPRidge finds a saddle ` explains where the surrogate saves evaluations and where the search calls the underlying potential. Interfaces and API reference ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. table:: +-----------+-----------------------------------------------------------+-------------------------------------------------+ | Interface | Entry point | Guide | +===========+===========================================================+=================================================+ | Python | ``gpridge`` (``GPDimer``, ``GPNEB``, ``GaussianProcess``) | :doc:`Python usage ` | +-----------+-----------------------------------------------------------+-------------------------------------------------+ | CLI | ``gprn`` (bands), ``gprd`` (dimer) | :doc:`CLI reference ` | +-----------+-----------------------------------------------------------+-------------------------------------------------+ | C | ``gpr/capi/gpridge_c.h``, ``libgpridge`` | :doc:`C API ` | +-----------+-----------------------------------------------------------+-------------------------------------------------+ | Fortran | module in ``fortran/gpridge.f90`` | :doc:`Fortran tutorial ` | +-----------+-----------------------------------------------------------+-------------------------------------------------+ | R, Julia | ``r/gpridge``, ``julia/GPRidge.jl`` | :doc:`Native packages ` | +-----------+-----------------------------------------------------------+-------------------------------------------------+ | Rust | ``rust/gpridge-sys`` | :doc:`Rust bindings ` | +-----------+-----------------------------------------------------------+-------------------------------------------------+ | C++ | headers under ``gpr/`` | :doc:`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); :doc:`the documentation build page ` says how. Getting started --------------- Build the drivers and run a first band. .. toctree:: :maxdepth: 1 :caption: Getting started getting-started/installation getting-started/quickstart Tutorials --------- Lessons that end in a completed search. .. toctree:: :maxdepth: 1 :caption: Tutorials tutorials/first_gp_dimer tutorials/gprn_lj_pentamer tutorials/pt111_morse tutorials/uma_band tutorials/uma_dimer tutorials/ase_functional_dimer tutorials/gp_surface tutorials/fortran tutorials/c_api tutorials/cpp_gpneb tutorials/ocineb tutorials/binding_examples How-to guides ------------- Recipes for one task each. .. toctree:: :maxdepth: 1 :caption: How-to: build and install howto/native_packages howto/easybuild howto/eessi_overlay howto/kokkos howto/spack howto/fuzzing .. toctree:: :maxdepth: 1 :caption: How-to: run searches howto/gpneb howto/warm-start howto/gpneb_cpp howto/minimize howto/baker24_board howto/gp_settings howto/training_policy howto/irc_certificate howto/rate_prefactors howto/python_usage howto/tprocess howto/free_energy_surrogate howto/gpu .. toctree:: :maxdepth: 1 :caption: How-to: scale and reproduce howto/mpi howto/hpc howto/determinism howto/reproducing howto/sbom howto/profiling .. toctree:: :maxdepth: 1 :caption: How-to: choose and tune the solver howto/choose_solver howto/operator_layer howto/rff_auto howto/atomic_inducing howto/hssvd howto/noise_floor howto/derivative_providers .. toctree:: :maxdepth: 1 :caption: How-to: use with other programs howto/ase_eon howto/scimap howto/engine_plugins howto/engine_integration howto/fortran_capi howto/capi_lifecycle howto/rpc .. toctree:: :maxdepth: 1 :caption: How-to: extend howto/add_uncertainty_arm Explanation ----------- Why the surrogate loop works, the mathematics behind the kernels and priors, and where the time goes. .. toctree:: :maxdepth: 1 :caption: Explanation explanation/method explanation/surrogate_loop explanation/scalar_surrogate explanation/irc_certificate explanation/theory/index explanation/gp_local_band explanation/dimer_index_checks explanation/line_integral_instanton explanation/quantum_paths explanation/reference_force_gradient explanation/methods/index explanation/performance explanation/history Reference --------- Every command-line flag, TOML key, binding and API symbol. .. toctree:: :maxdepth: 1 :caption: Reference reference/cli_reference reference/training_policy reference/config_keys reference/build_options reference/bindings/index reference/native_library_abi reference/irc_protocol reference/gp_surface reference/cpp_api autoapi/index reference/fortran_api api/index 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 ------- .. toctree:: :maxdepth: 1 :caption: Project reference/citing reference/changelog Development ----------- How to contribute, how the documentation is built, and the design notes that fix the internal contracts. .. toctree:: :maxdepth: 1 :caption: Development development/index development/docs development/design/gp_module_layout development/design/gp_execution_components development/design/gp_optimizer_boundary development/design/gp_neb_dimer_handoff development/design/gp_oie_state_machine development/design/oie_tpe_acquisition development/design/cutlass_rff_kernelinverse development/design/params_capnp development/design/slate_backend License ------- MIT. See the LICENSE file in the repository root.