Repository for Spack recipes for Phlex, and its related packages and dependencies.
To install phlex using spack on a new system:
- install spack itself
- add the FNAL art spack repo, which is used in the
phlexrecipe - add this repo
- create and activate a spack environment
- add phlex and install it.
Skip steps as appropriate, e.g. if you already have spack installed.
Assuming bash (see spack documentation for other shells), to install spack and add the necessary repos:
$ git clone --depth=2 https://github.com/spack/spack.git
$ . spack/share/spack/setup-env.sh
$ spack repo add https://github.com/FNALssi/fnal_art.git
$ spack repo add https://github.com/Framework-R-D/phlex-spack-recipes.gitCreate and activate an environment, after adding the repos:
$ spack env activate --create PHLEXDEVFinally, within the active environment, add and install phlex in the spack environment:
$ spack add phlex@develop
$ spack install -j<N>