Development

This section is for people who change the code, the build or the documentation of GPRidge. The contribution workflow is on one page, Contributing. The other pages describe how the documentation is built, how the version and a release are handled, which correctness checks exist, and the design of the internal contracts.

Where to start

To do this

Read

Set up a checkout, build, test and send a change

Contributing

Write or change a documentation page

Documentation build and style

Change the version or cut a release

Version and releases

Publish packages and a reproduction archive

Publishing software and reproduction records

Run the sanitizer, fuzzing and reference-GP checks

Correctness checks

Profile or speed up a hot path

Performance development guidelines

Understand an internal contract

the design notes below

Repository layout

Path

Content

gpr/

The C++ library, one directory per concern (ml, neb, dimer, linalg, covariance_functions, potentials, capi, cli, quantum and others). See GP module layout .

backend/, data_types/, structures/, managers/

Shared types, parameter structures, and the I/O and configuration loaders (managers/io/).

main_neb.cpp, main.cpp

The drivers gprn (NEB) and gprd (dimer).

schema/

The Cap’n Proto schemas and their ordinal records.

python/gpridge/, python/tests/

The Python package and its tests.

fortran/, rust/, r/, julia/

The Fortran module and the Rust, R and Julia packages over the C API.

tests/

The C++ tests, the fuzz corpora under tests/fuzz/corpus/ and the Python integration tests in tests/integration/.

benchmarks/

The asv benchmarks.

proofs/

The Lean and Rocq developments.

abi/

The recorded symbol list of the C library.

packaging/, easybuild/, eessi/, nix/

Recipes for conda, Spack, EasyBuild, EESSI and Nix.

docs/

Documentation sources (docs/orgmode/), news fragments (docs/newsfragments/), and two notes outside the site: docs/dev/crate-usage.md (which sibling crate each call site uses) and docs/dev/upstream-requests.md (pins and overlays of those crates). UPSTREAM.md at the root holds drafts of reports to third-party projects.

scripts/, tools/

Build, check and generator scripts.

subprojects/

Meson wraps of the third-party dependencies.

Design notes

The pages under design/ are developer reference. Each starts with a status line. The table gives that status.

Page

Status

Subject

GP module layout

implemented

the files that define GaussianProcessRegression

GP execution and component ownership

partially implemented

MPI ownership, covariance assembly, device contract

GP optimizer boundary contracts

implemented

the rgmin objective adapters

GP-NEB to GP-Dimer state transfer

implemented

model leases, observation archive, seed kernel

GP-OIE controller invariants and design record

partially implemented

outer-loop rules, MPI contract, TLA+ model

TPE acquisition for GP-OIE oracle targeting

implemented, default

oracle-target choice among images

CUTLASS backend for RFF and KernelInverse

partially implemented

optional GPU matrix products

Unified InputParameters schema

implemented for gprn

the params.capnp configuration schema

SLATE as a linear-algebra backend

requirements

distributed layout, kernel providers, the backend interface