External solver builds¶
Run the scripts for the backends you need. They write artifacts under
build/energy_solvers/ and do not require administrator access. The build
scripts use conda; AVX support is
required by the native toolchain.
| Script | Purpose |
|---|---|
| install_nvhpc.sh | Install the NVIDIA HPC SDK for SBD GPU compilation. |
| build_dice.sh | Build Dice; set DICE_BINARY or place the binary on PATH. |
| build_sbd.sh | Prepare MPI/BLAS and the optional GPU toolchain for the SBD package. |
| build_evsl.sh | Build the EVSL shared library; set SCI_SOLVERS_EVSL_LIB to its path. |
For SBD, source the generated environment before installing the Python extra:
bash scripts/energy_solvers/build_sbd.sh
source build/energy_solvers/sbd_env.sh
uv sync --extra sbd
For GPU builds, install the HPC SDK first and use --extra sbd-gpu. On a login
node without a GPU, set SBD_GPU_ARCH=cc80 for A100 or cc90 for H100. A build
targets one GPU architecture.
See the SBD, Dice and general-algebra guides for usage.