Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.16 KB

File metadata and controls

35 lines (25 loc) · 1.16 KB

Spack based projects

Some examples of Spack customization:

To initialize the spack copy

#go into top spack folder (inside deploy)
#cd deploy/spack_test

source share/spack/setup-env.sh
spack  config --site  get bad_section_name

#add system compiler
spack  compiler find --scope site    
#print what has been found
spack  config --site  get compilers

#add our our package repo folder
spack repo add ../../repo --scope site
#print what has been added
spack  config --site  get repos

#list all available packages   
spack list

#hints from https://github.com/LLNL/spack/issues/2583#issuecomment-271857954
#fetch all the dependencies
spack mirror create -d ~/production/spack-mirror -D emacs