Build options¶
Status: reference. Every name, type and default below is read from
meson_options.txt. Where the two disagree, that file is correct.
Build options choose the linear algebra backend, the parallel runtimes, the
optional libraries and the potentials that are compiled into libgpridge,
gprd and gprn. They are fixed when the build tree is configured.
Setting an option¶
Pass -D<name>=<value> to meson setup for a new build tree, or to
meson configure for an existing one. A feature option takes enabled,
disabled or auto. The build recipes for each environment are on the
installation page.
meson setup builddir -Dlinalg_backend=scalapack -Dwith_tests=true
meson configure builddir -Duse_openmp=true
Linear algebra and parallelism¶
Option |
Type |
Default |
Effect |
|---|---|---|---|
|
combo |
|
Backend for the dense hot-path operations. Choices: |
|
boolean |
|
Link MPI. Turned on automatically by |
|
boolean |
|
Link Eigen against OpenBLAS. Together with |
|
boolean |
|
Define |
|
boolean |
|
OpenMP threads in the distance and covariance loops. |
|
boolean |
|
OpenMP only inside the per-rank local-oracle gradient regions. Those regions never enter MPI or ScaLAPACK collectives, so the option is compatible with |
|
feature |
|
Bounded parallel-STL execution of independent kernel blocks through TBB. Works with every linear algebra backend. |
|
feature |
|
Build the NVIDIA stdpar environment kernel with |
|
string |
|
NVIDIA target architecture of that kernel, for example |
|
feature |
|
Google Highway SIMD kernels for distance and covariance. |
|
string |
|
Instruction-set baseline passed as |
|
boolean |
|
Default, matching develop. Compile Eigen with |
|
combo |
|
Global allocator. Choices: |
|
boolean |
|
|
|
boolean |
|
Replace the Cholesky and triangular-solve chain in the predict-mean path with a preconditioned conjugate-gradient solver ( |
The effect of deterministic_reductions on repeatability is described in
Check run-to-run determinism. The
arithmetic behind the reproducible distributed kernels is in
Where the time goes.
GPU and Scheme II product engines¶
Option |
Type |
Default |
Effect |
|---|---|---|---|
|
boolean |
|
Compile CUDA/CUTLASS GEMM kernels for rank-local dense products. |
|
string |
empty |
Absolute path to the CUTLASS headers. Empty means the CUDA compiler include path already provides |
|
string |
|
|
|
boolean |
|
Build |
|
string |
|
Comma-separated SM architectures for that library. PTX of the last one is embedded as well. |
|
string |
empty |
Directory with the MKL shared libraries. When set, builds |
|
string |
empty |
Path to |
The design of the CUDA path is in
CUTLASS backend design for RFF and KernelInverse. The Scheme II engines are
selected at run time with --training-product-library.
Optimisation libraries and descriptors¶
Option |
Type |
Default |
Effect |
|---|---|---|---|
|
feature |
|
Required. GP parameter fitting, dimer steps and the L-BFGS two-loop go through |
|
feature |
|
Build the box-ensemble anneal stage that can run before the local GP hyperparameter fit. Needs |
|
boolean |
|
Enable Ceres for hyperparameter optimisation. A system Ceres is tried first, then the subproject. |
|
boolean |
|
Use HiGHs for the earth-mover’s-distance cost matrices. |
|
feature |
|
Native SOAP descriptors from featomic 0.6.5 and metatensor-core 0.1. |
|
combo |
|
Probe for an Enzyme toolchain for derivative-provider automatic differentiation. Choices: |
Input, output and structure matching¶
Option |
Type |
Default |
Effect |
|---|---|---|---|
|
boolean |
|
HDF5 for logs. |
|
boolean |
|
Cap’n Proto for parameters. |
|
boolean |
|
Removed. |
|
boolean |
|
readcon-core structure I/O is required; |
|
feature |
|
readcon-db observation archive. Each oracle evaluation is stored as a CON frame in an LMDB-backed corpus next to the run. |
|
boolean |
|
Build the vendored IRA Fortran library that |
|
string |
empty |
Directory of a prebuilt |
|
string |
empty |
Directory with |
Potentials¶
Each potential option compiles the interface to an external engine. Most
engines are loaded at run time and need a library path in an environment
variable; the variable is named in the option description in
meson_options.txt.
Option |
Type |
Default |
Effect |
|---|---|---|---|
|
boolean |
|
rgpot xTB/GFN potential support. |
|
boolean |
|
rgpot metatomic potential support, which runs TorchScript |
|
boolean |
|
rgpot |
|
boolean |
|
|
|
boolean |
|
rgpot |
|
boolean |
|
rgpot |
|
feature |
|
LAMMPS oracle. |
|
feature |
|
CP2K oracle. |
Run-time parameters tied to these options¶
These parameters are set in the configuration or through the Python parameter
dictionary, not at build time. Defaults are those of schema/params.capnp and
python/gpridge/_api.py. The flags --scalapack-block-size,
--scalapack-nprow, --linalg-mode and --linalg-threads are listed in
the command-line reference and in
configuration keys.
Parameter |
Default |
Effect |
|---|---|---|
|
empty |
Path to the CUDA/CUTLASS plugin library. The GP passes it to |
|
|
Alpha-K contraction in the MAP mean prediction. |
|
|
Alpha-K contraction in the Laplace-mixture mean prediction. |
|
|
Opt-in projection of free-system rigid-motion nullspace modes before factorization. Enabling removes ~4e-11 null-mode rounding drift at step 0, which shifts free 2-atom LJ marginal-likelihood iteration counts (28 -> 33; 38 -> 49 on max_iter=15 restarts) and lets sub-floor (sigma2=1e-28, jitter=0) 2-atom LJ training certify. Incompatible with |
Build products and tests¶
Option |
Type |
Default |
Effect |
|---|---|---|---|
|
feature |
|
Build and install |
|
boolean |
|
Build the Python bindings. |
|
boolean |
|
Build the test suite. |
|
boolean |
|
Build the libFuzzer targets for configuration parsing ( |
|
boolean |
|
Install the built library. |
|
combo |
|
Build SBOM. |