Skip to content

Spack Envs Cheatsheet

Cyrus Harrison edited this page Mar 22, 2021 · 3 revisions

zero

make sure to load spack bash script for your spack instance

setup and activate env

spack env create -d .
spack env activate .

solidify and view

spack concretize 
spack find -cvl

install

spack install -j 20

cleanup

spack env deactivate 
rm -rf spack.lock .spack-env/
Clone this wiki locally