Installation¶
Requirements¶
Rust 1.75+ (for building from source)
pixi (recommended, handles dependencies)
Building from source¶
git clone https://github.com/lode-org/ChemGP.git
cd ChemGP
cargo build --release
Or using pixi:
pixi run -e dev build
Running tests¶
cargo test -p chemgp-core
Or:
pixi run -e dev test
Optional features¶
The chemgp-core crate has two optional feature flags:
ioEnables file I/O through
chemfiles(for.extxyz) andreadcon-core(for.confiles).rgpotEnables the RPC oracle interface through
rgpot-corefor connecting to external potential energy calculators.
Enable features in your Cargo.toml:
[dependencies]
chemgp-core = { version = "0.1", features = ["io", "rgpot"] }