Skip to content

Spack installation

Installing with spack is the preferred way for people who do not develop in exaDEM. Only stable versions are available with Spack, CPU only.

Note

The main branch of exaDEM is never available with this installation method.

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 exaDEM

Get the spack repository of the Collab4exaNBody projects and add it to spack; it contains the exanbody and exadem packages:

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

Then install exaDEM (this also installs cmake, yaml-cpp, onika and exanbody):

spack install exadem

Running

spack load exadem
exaDEM your_input_file.msp