Skip to content

Spack installation

Spack (version 1.1.0) offers a straightforward installation process, ideal for users only. GPU support is not available with Spack: use the CMake installation to build the GPU version.

Installing Spack

1
2
3
git clone --depth=2 --branch=v1.1.0 https://github.com/spack/spack.git
export SPACK_ROOT=$PWD/spack
source ${SPACK_ROOT}/share/spack/setup-env.sh

Installing hippoLBM

First, get the Collab4exaNBody spack repository and add it to spack. It contains the onika and hippolbm packages:

git clone https://github.com/Collab4exaNBody/spack-repos.git
spack repo add spack-repos

Then install hippoLBM (this also installs cmake, yaml-cpp and onika as dependencies):

spack install hippolbm

Finally, load the package to make the hippoLBM executable available in your shell:

spack load hippolbm
hippoLBM my_simulation.msp