README.spack.md 910 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
To compile the full stack on bebop as of August 2018 using spack:

# load numactl in environment; it looks like this is an implied dependency
# of one of the packages

```
module load numactl
```

# get spack repos:
```
git clone https://github.com/spack/spack.git
cd spack
. share/spack/setup-env.sh
# do not bootstrap; we will use existing lmod install on Bebop

git clone git@xgitlab.cels.anl.gov:sds/sds-repo
spack repo add .
```
20 21 22 23
This directory contains a packages.yaml that should be copied to one of the spack
configuration locations documented here: https://spack.readthedocs.io/en/stable/configuration.html .  This could be your ~/.spack/linux/ directory, for example.
The automation scripts in this directory use $SPACK_ROOT/etc/spack to avoid
perturbing the account on which the regression tests are executed.
24 25 26 27 28

```
# compile everything and load module for ssg
spack install ssg
spack load -r ssg
29
```