This repository is a spack repo for DARMA/vt and its required dependencies.
Make sure spack is installed.
spack repo add /path/to/spack-package/
It's important that spack uses the right version of mpi or it may try to build mpi from source. Similarly, it may be useful for it to be configured to use the system's cmake.
Edit ~/.spack/packages.yaml
. For example:
packages:
openmpi:
paths:
openmpi@3.1.3%gcc@8.2.0: /path/to/system/openmpi
cmake:
paths:
cmake@3.13.2: /path/to/system/cmake
This avoids spack trying to build openmpi and cmake from source. To check what a particular install command will install, use:
spack install --fake <package_name>
However, you will have to uninstall the packages afterwards.
Now, darma-vt is accessible to your spack instance.
spack install darma-vt
By default it will install version 1.0. You can specify darma-vt@develop
to install the latest development version.