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:
[email protected]%[email protected]: /path/to/system/openmpi
cmake:
paths:
[email protected]: /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.