GPRidge GPRidge GPRidge
  • Python API
  • C++ API
    • SciMap Research software and its dependencies
    • eOn Saddle point finding on potential energy surfaces
    • rgpot Universal RPC potential interface
/

Getting started

  • Install GPRidge
  • Quickstart: a band on a Lennard-Jones pentamer

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: build and install

  • Native packages and downstream bindings
  • Native EasyBuild installation
  • Build against EESSI with the pixi overlay
  • Build the Kokkos backend for CPU, CUDA or HIP
  • Spack installation
  • Run the fuzz targets

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

  • Run a search across MPI ranks
  • Run on an HPC cluster
  • Check run-to-run determinism
  • Reproduce the paper’s results
  • Build SBOM and reproducible builds
  • Find where a search spends its time

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

  • Use GPRidge from ASE and eOn
  • Use GPRidge with the SciMap tools
  • Use an rgpot engine plugin
  • Engine oracles for saddle and path searches
  • How to use the searches from Fortran
  • Run a GP model through its C lifecycle
  • Load Cap’n Proto parameters and wrap potentials

How-to: extend

  • How to add an uncertainty arm

Explanation

  • How GPRidge finds a saddle
  • The surrogate loop and derivative observations
  • The scalar surrogate for a noisy oracle
  • Saddle-point certificates
  • Mathematics
    • The joint energy-force Gaussian process
    • The soft geodesic heat-kernel prior
    • Tangent projection and physical constraints
    • The switched ZBL residual prior mean
    • Conditional chart gradients
    • Objective precision in GP hyperparameter fits
    • Molecular instanton reference calculation
    • Gaussian-process helpers for spectral instantons
    • Verification notes
      • Formal Verification of gpridge Mathematical Foundations
      • Energy and derivative observation scaling
      • Conditional means with a selected covariance background
      • Exact contractions for tied pair lengths
      • Supplied-factor CHOLMOD and precision contracts
      • Exact SCG Curvature for Distributed GP Training
      • TLA+ Model for SCG Curvature-Mode Policy
      • TLA+ Model for GP-OIE NEB Control
      • Scope of variance fitting and dimer convergence claims
      • Measuring curvature outside the sampled subspace
      • Selecting an additional negative-curvature probe
      • Far-field list
  • 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
    • Methods: the linear solve
    • Methods: approximate models
    • Methods: numerics, noise and uncertainty
  • Where the time goes
  • History

Reference

  • Command-line reference
    • gprn command-line reference
    • gprd command-line reference
    • Variational atomic environments
    • Environment types of the pair kernel
    • Scheme II training products
    • Configuration files
  • Training policy
  • TOML configuration keys
  • Build options
  • Bindings and external interfaces
    • C API
    • C API function reference
    • Fortran module
    • Python bindings
    • Rust binding
    • R and Julia bindings
    • Cap’n Proto configuration schema
    • Native ABIs, Rust crates and data formats
  • Native library ABI checks
  • IRC certificate walk: the old and the current protocol
  • GP surface API
  • C++ API
  • API Reference
    • gpridge
      • gpridge._adapters
      • gpridge._api
      • gpridge._calculator
      • gpridge._core
      • gpridge._observers
      • gpridge.ase_active_gp
      • gpridge.ase_bridge
      • gpridge.baker_board
      • gpridge.build_info
      • gpridge.dimer
      • gpridge.engine
      • gpridge.errors
      • gpridge.fes
      • gpridge.gp
      • gpridge.instanton
        • gpridge.instanton.circle_hess
        • gpridge.instanton.cokriging
        • gpridge.instanton.gate
        • gpridge.instanton.manifold_ef
      • gpridge.integrations
        • gpridge.integrations.ase_oracle
        • gpridge.integrations.errors
        • gpridge.integrations.examples
        • gpridge.integrations.geometry
        • gpridge.integrations.gromacs_quantities
        • gpridge.integrations.lammps_oracle
        • gpridge.integrations.openmm_oracle
        • gpridge.integrations.oracle
        • gpridge.integrations.plumed_bias
        • gpridge.integrations.units
      • gpridge.neb
      • gpridge.policy
      • gpridge.provenance
      • gpridge.pyeon_bridge
      • gpridge.session
      • gpridge.surrogate
      • gpridge.wheel_smoke
  • Fortran API
  • C++ API Reference
    • C API
      • Analytical potentials (Tier 3)
        • struct gpr_lj_params_t
      • Configuration structs
        • struct gpr_atoms_config_t
        • struct gpr_bq_config_t
        • struct gpr_bq_fit_report_t
        • struct gpr_bq_integral_report_t
        • struct gpr_bq_loo_report_t
        • struct gpr_bq_uncertainty_t
        • struct gpr_calibration_report_t
        • struct gpr_dimer_config_t
        • struct gpr_local_band_config_t
        • struct gpr_marginal_likelihood_report_t
        • struct gpr_minimize_config_t
        • struct gpr_model_config_t
        • struct gpr_neb_config_t
        • struct gpr_periodic_band_config_t
      • Dimer search (Tier 1)
        • struct gpr_dimer_report_t
      • Free-energy surrogate (ABI 1.23)
        • struct gpr_fes_config_t
        • struct gpr_fes_rate_config_t
        • struct gpr_fes_rate_report_t
      • GP-accelerated NEB and OCINEB (Tier 1)
        • struct gpr_neb_report_t
        • struct gpr_ocineb_config_t
      • GP/TP model (Tier 2)
        • struct gpr_noise_floor_report
      • Harmonic rate prefactors (ABI 1.20)
        • struct gpr_htst_half
        • struct gpr_htst_options
      • Hyperparameter access (Tier 2)
        • struct gpr_rff_selection
      • Posterior-mean derivatives (ABI 1.20)
        • struct gpr_derivative_options
        • struct gpr_derivative_report
      • Scalar GP and Bayesian quadrature (ABI 1.17)
      • Scalar surrogate and parameter search (ABI 1.26)
    • Global Namespace
      • namespace Eigen
        • template struct Eigen::NumTraits<gpr::derivatives::CountedReal>
        • template struct Eigen::NumTraits<gpr::extended::DoubleDouble>
      • namespace Kokkos
      • namespace atmd
        • enum atmd::DimerOracleProgressAction
        • enum atmd::DimerProposalGlobalizationAction
        • enum atmd::DimerRelaxationCycleKind
        • enum atmd::DimerRelaxationTerminationReason
        • enum atmd::DimerResidualGlobalizationAction
        • enum atmd::DimerSurrogateActionTermination
        • enum atmd::HssvdModeSelectionPolicy
        • struct atmd::DimerRelaxationBacktrackResult
        • struct atmd::DimerRelaxationCycleCertificate
        • struct atmd::DimerSaddleMeritBacktrackResult
        • struct atmd::DimerSurrogateActionCertificate
        • class atmd::AtomicDimer
        • class atmd::OracleBudgetExhausted
      • namespace aux
        • namespace aux::distance
        • struct aux::AtomSignature
        • struct aux::ChainRealignStats
        • struct aux::EndpointAlignResult
        • struct aux::InverseDistanceCache
        • struct aux::LebedevNode
        • struct aux::OracleOrientation
        • class aux::AuxiliaryFunctionality
        • class aux::Distance
        • class aux::Gradient
        • class aux::ProblemSetUp
      • namespace ceres
      • namespace dimer
        • class dimer::Dimer
        • class dimer::SphereRotation
      • namespace featomic
      • namespace funcmin
        • struct funcmin::MapObjectiveConfig
        • template struct funcmin::RgminNlmlCtx
        • struct funcmin::RgminTensorDeleter
        • class funcmin::ADAM
        • class funcmin::Ceres
        • template class funcmin::GprCostFunction
        • class funcmin::RgminCallbackFailure
        • class funcmin::RgminLbfgs
        • class funcmin::RgminOpt
        • class funcmin::RgminScg
      • namespace gaussianinfluence
        • struct gaussianinfluence::Result
      • namespace gpr
        • namespace gpr::abi
        • namespace gpr::bo
        • namespace gpr::capi
        • namespace gpr::cli
        • namespace gpr::coord
        • namespace gpr::derivatives
        • namespace gpr::extended
        • namespace gpr::field
        • namespace gpr::geometry
        • namespace gpr::htst
        • namespace gpr::io
        • namespace gpr::irc
        • namespace gpr::itergp
        • namespace gpr::kokkos_environment
        • namespace gpr::laplace
        • namespace gpr::linalg
        • namespace gpr::memory
        • namespace gpr::neb
        • namespace gpr::numerics
        • namespace gpr::optim
        • namespace gpr::optim_abi
        • namespace gpr::pairlocal
        • namespace gpr::policy
        • namespace gpr::posterior
        • namespace gpr::potentials
        • namespace gpr::priors
        • namespace gpr::quantum
        • namespace gpr::readcon_abi
        • namespace gpr::readcon_db_abi
        • namespace gpr::rgmin_abi
        • namespace gpr::rgpot_abi
        • namespace gpr::runtime
        • namespace gpr::sfc
        • namespace gpr::ski
        • namespace gpr::startup
        • namespace gpr::track
        • namespace gpr::uasaddle
        • namespace gpr::vecchia
        • enum gpr::BorderedSchurSign
        • enum gpr::ChartScalarKernel
        • enum gpr::GPModelProfile
        • enum gpr::HyperparameterObjectiveMode
        • enum gpr::HyperparameterOptimizationMode
        • enum gpr::MapPriorWeightMode
        • enum gpr::PriorMeanStatistic
        • enum gpr::ScgCurvatureMode
        • enum gpr::UncertaintyMode
        • struct gpr::ARDSearchResult
        • struct gpr::AdamOptimizationSettings
        • struct gpr::AtomicEnvironments
        • struct gpr::AtomsConfiguration
        • struct gpr::AtomsPositionAndType
        • struct gpr::BMAPrediction
        • struct gpr::BorderedNoiseReport
        • struct gpr::BorderedVarianceInterval
        • struct gpr::CanonicalDimerDefaultOptions
        • struct gpr::CeresOptimizationSettings
        • struct gpr::CutoffPairFeature
        • template struct gpr::Derivatives
        • struct gpr::DeviceResidency
        • struct gpr::EnergyAndGradient
        • struct gpr::EnergySurfaceOutputInfo
        • struct gpr::FactoredTrainingGeometry
        • struct gpr::GPRSetup
        • struct gpr::INLAPrediction
        • struct gpr::Indices2D
        • struct gpr::InputParameters
        • struct gpr::IterationsLimits
        • struct gpr::JointObservationVarianceReduction
        • template struct gpr::KeyValuePair
        • struct gpr::LBFGSInfo
        • struct gpr::LazyFactoredTrainingGeometry
        • struct gpr::NoiseSearchResult
        • struct gpr::Observation
        • struct gpr::OptimizerCommonSettings
        • template struct gpr::Pair
        • struct gpr::PhaseTimers
        • struct gpr::PhaseTotals
        • struct gpr::PublicLayoutBytes
        • struct gpr::RFFFeatureSelection
        • struct gpr::RFFValidationPlan
        • struct gpr::RadialPairFeature
        • struct gpr::RigidDeflationDiagnostic
        • struct gpr::SaddleCertificate
        • struct gpr::ScaleFreeTrustConfig
        • struct gpr::ScgOptimizationSettings
        • struct gpr::SexpatLocalOracleScope
        • struct gpr::StableBasisPosteriorWeights
        • struct gpr::StopCriteriaForDimer
        • struct gpr::StructuredPermutation
        • struct gpr::SupportedAtomicEnvironments
        • struct gpr::TrainingKernelGeometry
        • struct gpr::TrainingKernelGeometryBlock
        • struct gpr::TrainingKernelGeometrySubset
        • struct gpr::TransitionParameters
        • template struct gpr::Triplet
        • class gpr::ARDGridSearch
        • class gpr::AdditivePairKernel
        • class gpr::AtomicInducingPosterior
        • class gpr::BayesianModelAveraging
        • class gpr::ConditionalKernelProjection
        • class gpr::ConditionalPosterior
        • class gpr::ConditionedKernel
        • class gpr::ConstantCF
        • class gpr::ConstrainedChartCovariance
        • class gpr::FactorizedLikelihood
        • class gpr::FeatomicEnvironmentDescriptor
        • class gpr::GaussianProcessRegression
        • class gpr::GeodesicCovarianceEvidence
        • class gpr::GeodesicHeat
        • class gpr::GeodesicHeatEnergyForceKernel
        • class gpr::InverseDistanceDescriptor
        • class gpr::KernelOperator
        • class gpr::Kronecker
        • class gpr::LaplaceINLA
        • class gpr::LikGaussian
        • class gpr::LowRankCholesky
        • class gpr::ManifoldEnergyForceKernel
        • class gpr::Matern52
        • class gpr::ModeRefitPolicy
        • class gpr::MpiLifetime
        • class gpr::NoiseGridSearch
        • class gpr::ObservationLikelihood
        • class gpr::PairCutoff
        • class gpr::PriorBase
        • class gpr::PriorGaussian
        • class gpr::PriorLogNormal
        • class gpr::PriorLogUnif
        • class gpr::PriorSqrtt
        • class gpr::PriorT
        • class gpr::PriorUnif
        • class gpr::Project
        • class gpr::Pullback
        • class gpr::RFFFeatureSelectionError
        • class gpr::RFFModel
        • class gpr::RandomFourierFeatures
        • class gpr::ScaleFreeTrustRegion
        • class gpr::ScopedPhaseTimer
        • class gpr::ScopedPredictTimer
        • class gpr::ScopedVarianceTimer
        • class gpr::Sexpat
        • class gpr::SexpatCF
        • class gpr::SpeciesEnvironmentKernel
        • class gpr::StableBasis1D
        • class gpr::StableBasisND
        • template class gpr::StationaryChartKernel
        • class gpr::StudentTProcessRegression
        • class gpr::Sum
        • class gpr::TrustRadius
        • class gpr::WallClockLimit
        • class gpr::WallClockLimitReached
      • namespace math
        • class math::DistributionFunctions
        • class math::MatrixProperties
      • namespace pot
        • enum pot::OracleBatchStatus
        • struct pot::ActiveGPConfig
        • struct pot::AotiPackageTarget
        • struct pot::EngineAbiStamp
        • struct pot::EngineBinding
        • struct pot::EngineCaps
        • struct pot::EngineDerivativeReport
        • struct pot::EngineReport
        • struct pot::EngineRequest
        • struct pot::HostIsa
        • struct pot::OracleBatchLayout
        • struct pot::OracleBatchOutcome
        • struct pot::OracleEvaluationScope
        • struct pot::OraclePathChoice
        • struct pot::RgpotBackend
        • struct pot::RgpotRequest
        • class pot::ActiveGP
        • class pot::ActiveGPPotential
        • class pot::EngineError
        • class pot::EnginePotential
        • class pot::GprMeanPotential
        • class pot::NestedEngineOracle
        • class pot::PotentialWrapper
      • namespace quantumbridge
        • namespace quantumbridge::quadrature
        • namespace quantumbridge::secondcumulantdetail
        • struct quantumbridge::BridgeResidualOptions
        • struct quantumbridge::BridgeResidualResult
        • struct quantumbridge::GroundStateMomentCorrection
        • struct quantumbridge::PolynomialTerm
        • struct quantumbridge::SecondCumulantResult
      • namespace readcon_db
        • class readcon_db::Corpus
      • namespace rgpot
      • namespace std
        • template struct std::numeric_limits<gpr::extended::DoubleDouble>
      • enum ConvergenceNormType
      • enum DebugLevels
      • enum DimerAlgorithm
      • enum Directions
      • enum DistanceMetricType
      • enum FrozenAndMovingAtoms
      • enum OptimizationAlgorithms
      • enum OptionsForGradCalculation
      • enum Potentials
      • enum eon_relax_kind_t
      • enum eon_relax_neb_status_t
      • enum eon_relax_rc_t
      • enum rgpot_engine_gpr_hill_policy
      • enum rgpot_engine_gpr_hint_kind
      • enum rgpot_engine_gpr_phase
      • struct Compensated
      • struct RgpotEngineGprHint
      • struct RgpotEngineGprResidualPrior
      • struct RgpotEngineGprStats
      • struct RgpotEnginePot
      • struct eon_relax_band_t
      • struct eon_relax_outcome_t
      • struct eon_relax_surface_request_t
      • struct eon_relax_version_t
      • struct gpr_scheme2_cuda_operand_v1
      • struct gpr_scheme2_cuda_table_v1
      • struct gpr_scheme2_cuda_task_v1

Project

  • Citing GPRidge
  • Changelog

Development

  • Development
    • Contributing
    • Version and releases
    • Version and source
    • Installed packages
    • Reproduction archive
    • Release order
    • Correctness checks
    • Performance development guidelines
  • 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

On this page

  • Load a saved GP
  • Restart from the previous directory
  • Python
Edit this page
gpridge 0 0
  1. GPRidge /
  2. Restart or warm-start a search
View Source Open in ChatGPT Open in Claude

Restart or warm-start a search¶

A finished gprn or gprd run writes gp-state.npz beside its output. The file holds the training observations and the fitted hyperparameters. A later search that names that file starts from those rows. The rows are prior data: they are not counted as oracle calls.

Load a saved GP¶

Pass the file with --gp-init:

gprn --help

gprd takes the same flag:

gprd --help

A TOML run file uses the same path under [run] as gp_init.

Restart from the previous directory¶

--restart reads gp-state.npz from a directory, or the gp-state.npz next to a previous output file:

gprn --help

--gp-init and --restart together must name the same file.

The log lines Seeded, Seed file, Seed sha256 and Prior observations record the seed. seed-provenance.txt next to the new gp-state.npz records the same hash. Oracle calls does not include the prior rows.

Python¶

gp_neb, run_ocineb, gp_minimize, search_local, search_periodic and run_dimer take gp= and init_data=. gp= is a GaussianProcess or a path. init_data= is an Observation or a path. GaussianProcess.save(path) writes the same gp-state.npz. A path loads that file’s observations and its fitted kernel. A fitted GaussianProcess contributes its rows and its hyperparameters. Anything else passed as gp= is an error.

The seed’s coordinate width has to be the width of the search. A mismatch is an error, and so is a non-finite row: the message names how many rows were kept and how many were dropped. gprd uses that same check. An empty observation table round-trips beside a fitted kernel.

search_local and search_periodic report those rows as prior_observations. They are not part of oracle_calls. A local band (GP_LOCAL) installs the seed rows and, when the file has a positive signal variance and length scales, that signal variance and the geometric mean of the length scales. The kernel is not replaced by a spacing estimate unless the search was asked to refit.

run_dimer and gprd keep an imported kernel through the next refit. A later observation does not reseed the signal variance back to 1. A minimizer with at least three seed rows treats that table as the design it already has, so the first new observation does not restart hyperparameter seeding. gprn’s outer loop does the same for a kernel the seed installed.

A dimer seed written by gprd has one column per moving coordinate, so a frozen atom does not have to be a suffix of the system. A table that already holds every atom is sliced down to the moving coordinates.

Previous
Run a GP-NEB band
Next
Run a GP-NEB band from C++

Copyright (c) gpridge developers

Made with Sphinx and Shibuya theme.

Analytics · Antics by TurtleTech ehf