Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.07 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.07 KB

spack-package

This repository is a spack repo for DARMA/vt and its required dependencies.

Installing

Make sure spack is installed.

spack repo add /path/to/spack-package/

Note about spack on clusters

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.

Usage

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.