Spack Documentation¶
Spack is a package management tool designed to support multiple versions and configurations of software on a wide variety of platforms and environments. It was designed for large supercomputing centers, where many users and application teams share common installations of software on clusters with exotic architectures, using libraries that do not have a standard ABI. Spack is non-destructive: installing a new version does not break existing installations, so many configurations can coexist on the same system.
Most importantly, Spack is simple. It offers a simple spec syntax so that users can specify versions and configuration options concisely. Spack is also simple for package authors: package files are written in pure Python, and specs allow package authors to maintain a single file for many different builds of the same package.
See the Feature Overview for examples and highlights.
Get spack from the github repository and install your first package:
$ git clone https://github.com/llnl/spack.git
$ cd spack/bin
$ ./spack install libelf
If you’re new to spack and want to start using it, see Getting Started, or refer to the full manual below.
Reference¶
- Configuration Files in Spack
- Basic settings in
config.yaml - Build customization
- Mirrors
- Modules
- Package Repositories
- Command Index
- Package List
- abinit
- ack
- activeharmony
- adept-utils
- adios
- adol-c
- allinea-forge
- allinea-reports
- ant
- antlr
- ape
- apex
- applewmproto
- appres
- apr
- apr-util
- armadillo
- arpack
- arpack-ng
- asciidoc
- astyle
- atk
- atlas
- atompaw
- atop
- autoconf
- automaded
- automake
- bamtools
- bash
- bash-completion
- bazel
- bbcp
- bcftools
- bdftopcf
- bdw-gc
- bear
- bedtools2
- beforelight
- bertini
- bib2xhtml
- bigreqsproto
- binutils
- bison
- bitmap
- bliss
- blitz
- boost
- bowtie2
- boxlib
- bpp-core
- bpp-phyl
- bpp-seq
- bpp-suite
- bwa
- bzip2
- c-blosc
- cairo
- caliper
- callpath
- cantera
- cask
- catch
- cblas
- cbtf
- cbtf-argonavis
- cbtf-krell
- cbtf-lanl
- cdd
- cddlib
- cdo
- cereal
- cfitsio
- cgal
- cgm
- cgns
- charm
- cityhash
- cleverleaf
- clhep
- cloog
- cmake
- cmocka
- cmor
- cnmem
- compiz
- compositeproto
- constype
- converge
- coreutils
- cp2k
- cppcheck
- cppunit
- cram
- cryptopp
- cscope
- cube
- cuda
- curl
- czmq
- daal
- dakota
- damageproto
- damselfly
- darshan-runtime
- darshan-util
- datamash
- dbus
- dealii
- dia
- dmxproto
- docbook-xml
- docbook-xsl
- doxygen
- dri2proto
- dri3proto
- dtcmp
- dyninst
- editres
- eigen
- elfutils
- elk
- elpa
- emacs
- encodings
- environment-modules
- espresso
- etsf_io
- everytrace
- everytrace-example
- evieext
- exodusii
- exonerate
- expat
- extrae
- exuberant-ctags
- fastqc
- fastx_toolkit
- fenics
- ferret
- fftw
- fish
- fixesproto
- flex
- flint
- fltk
- flux
- foam-extend
- font-adobe-100dpi
- font-adobe-75dpi
- font-adobe-utopia-100dpi
- font-adobe-utopia-75dpi
- font-adobe-utopia-type1
- font-alias
- font-arabic-misc
- font-bh-100dpi
- font-bh-75dpi
- font-bh-lucidatypewriter-100dpi
- font-bh-lucidatypewriter-75dpi
- font-bh-ttf
- font-bh-type1
- font-bitstream-100dpi
- font-bitstream-75dpi
- font-bitstream-speedo
- font-bitstream-type1
- font-cronyx-cyrillic
- font-cursor-misc
- font-daewoo-misc
- font-dec-misc
- font-ibm-type1
- font-isas-misc
- font-jis-misc
- font-micro-misc
- font-misc-cyrillic
- font-misc-ethiopic
- font-misc-meltho
- font-misc-misc
- font-mutt-misc
- font-schumacher-misc
- font-screen-cyrillic
- font-sony-misc
- font-sun-misc
- font-util
- font-winitzki-cyrillic
- font-xfree86-type1
- fontcacheproto
- fontconfig
- fontsproto
- fonttosfnt
- freetype
- fslsfonts
- fstobdf
- gasnet
- gawk
- gbenchmark
- gcc
- gccmakedep
- gconf
- gdal
- gdb
- gdk-pixbuf
- geant4
- geos
- gettext
- gflags
- ghostscript
- ghostscript-fonts
- giflib
- git
- git-lfs
- gl2ps
- glew
- glib
- glm
- global
- globus_toolkit
- glog
- glpk
- glproto
- gmake
- gmp
- gmsh
- gnu-prolog
- gnuplot
- gnutls
- go
- go-bootstrap
- gobject-introspection
- googletest
- gource
- gperf
- gperftools
- grackle
- grandr
- graphlib
- graphviz
- grib-api
- gromacs
- gsl
- gtkplus
- gts
- guile
- h5hut
- hadoop
- harfbuzz
- harminv
- hdf
- hdf5
- hdf5-blosc
- help2man
- hepmc
- heppdt
- hmmer
- hoomd-blue
- hpctoolkit
- hpctoolkit-externals
- hpl
- hpx5
- hsakmt
- htop
- htslib
- hub
- hwloc
- hydra
- hypre
- ibmisc
- iceauth
- icet
- ico
- icu4c
- ilmbase
- ImageMagick
- imake
- inputproto
- intel
- intel-gpu-tools
- intel-parallel-studio
- intltool
- ior
- ipopt
- ipp
- isl
- itstool
- jansson
- jasper
- jdk
- jemalloc
- jpeg
- jsoncpp
- judy
- julia
- kbproto
- kdiff3
- kealib
- kripke
- launchmon
- lbxproxy
- lcms
- leveldb
- libaio
- libapplewm
- libarchive
- libatomic-ops
- libcerf
- libcircle
- libctl
- libdmx
- libdrm
- libdwarf
- libedit
- libelf
- libemos
- libepoxy
- libevent
- libffi
- libfontenc
- libfs
- libgcrypt
- libgd
- libgpg-error
- libgtextutils
- libhio
- libice
- libiconv
- libint
- libjpeg-turbo
- libjson-c
- liblbxutil
- libmesh
- libmng
- libmonitor
- libNBC
- liboldx
- libpciaccess
- libpng
- libpthread-stubs
- libquo
- libsigsegv
- libsm
- libsodium
- libspatialindex
- libsplash
- libtermkey
- libtiff
- libtool
- libunistring
- libunwind
- libuuid
- libuv
- libvterm
- libwebsockets
- libwindowswm
- libx11
- libxau
- libxaw
- libxaw3d
- libxc
- libxcb
- libxcomposite
- libxcursor
- libxdamage
- libxdmcp
- libxevie
- libxext
- libxfixes
- libxfont
- libxfont2
- libxfontcache
- libxft
- libxi
- libxinerama
- libxkbfile
- libxkbui
- libxml2
- libxmu
- libxp
- libxpm
- libxpresent
- libxprintapputil
- libxprintutil
- libxrandr
- libxrender
- libxres
- libxscrnsaver
- libxshmfence
- libxslt
- libxsmm
- libxstream
- libxt
- libxtrap
- libxtst
- libxv
- libxvmc
- libxxf86dga
- libxxf86misc
- libxxf86vm
- likwid
- listres
- llvm
- llvm-lld
- lmdb
- lmod
- lndir
- lrslib
- lrzip
- lua
- lua-luafilesystem
- lua-luaposix
- LuaJIT
- luit
- lulesh
- lwgrp
- lwm2
- lz4
- lzma
- lzo
- m4
- mafft
- magics
- makedepend
- mariadb
- matio
- maven
- mbedtls
- meep
- memaxes
- mercurial
- mesa
- metis
- mfem
- Mitos
- mkfontdir
- mkfontscale
- mkl
- moab
- mpc
- mpe2
- mpfr
- mpibash
- mpich
- mpileaks
- mpip
- mpir
- mrnet
- msgpack-c
- mumps
- munge
- muparser
- muster
- mvapich2
- mxml
- nag
- nano
- nasm
- nauty
- nccmp
- ncdu
- ncl
- nco
- ncurses
- ncview
- ndiff
- netcdf
- netcdf-cxx
- netcdf-cxx4
- netcdf-fortran
- netgauge
- netlib-lapack
- netlib-scalapack
- nettle
- nextflow
- nfft
- ninja
- nmap
- numdiff
- nwchem
- ocaml
- oce
- oclock
- octave
- octave-splines
- octopus
- ompss
- ompt-openmp
- opari2
- openblas
- opencoarrays
- opencv
- openexr
- openjpeg
- openmpi
- openscenegraph
- openspeedshop
- openssl
- opium
- osu-micro-benchmarks
- otf
- otf2
- p4est
- panda
- pango
- papi
- paradiseo
- parallel
- parallel-netcdf
- paraver
- paraview
- parmetis
- parmgridgen
- parpack
- patch
- patchelf
- pcre
- pcre2
- pdt
- perl
- petsc
- pexsi
- pfft
- pflotran
- pgi
- pidx
- piranha
- pixman
- pkg-config
- plumed
- pmgr_collective
- pngwriter
- polymake
- porta
- postgresql
- ppl
- prank
- presentproto
- printproto
- proj
- protobuf
- proxymngr
- psi4
- py-3to2
- py-alabaster
- py-argcomplete
- py-astroid
- py-astropy
- py-autopep8
- py-babel
- py-basemap
- py-beautifulsoup4
- py-biopython
- py-blessings
- py-bottleneck
- py-cclib
- py-cdo
- py-cffi
- py-configparser
- py-coverage
- py-csvkit
- py-cycler
- py-cython
- py-dask
- py-dateutil
- py-dbf
- py-decorator
- py-docutils
- py-emcee
- py-enum34
- py-epydoc
- py-flake8
- py-funcsigs
- py-genders
- py-genshi
- py-gnuplot
- py-h5py
- py-imagesize
- py-iminuit
- py-ipython
- py-jdcal
- py-jinja2
- py-lockfile
- py-logilab-common
- py-macs2
- py-mako
- py-markdown
- py-markupsafe
- py-matplotlib
- py-mccabe
- py-meep
- py-mistune
- py-mock
- py-mpi4py
- py-mpmath
- py-mx
- py-mysqldb1
- py-nestle
- py-netcdf
- py-networkx
- py-nose
- py-numexpr
- py-numpy
- py-openpyxl
- py-ordereddict
- py-pandas
- py-pathspec
- py-pbr
- py-periodictable
- py-pexpect
- py-phonopy
- py-pil
- py-pillow
- py-ply
- py-pmw
- py-prettytable
- py-proj
- py-protobuf
- py-pudb
- py-py
- py-py2cairo
- py-py2neo
- py-pychecker
- py-pycodestyle
- py-pycparser
- py-pydatalog
- py-pyelftools
- py-pyflakes
- py-pygments
- py-pygobject
- py-pygtk
- py-pylint
- py-pypar
- py-pyparsing
- py-pyqt
- py-pyside
- py-pytables
- py-pytest
- py-python-daemon
- py-pytz
- py-pyyaml
- py-restview
- py-rpy2
- py-rtree
- py-scientificpython
- py-scikit-image
- py-scikit-learn
- py-scipy
- py-setuptools
- py-shiboken
- py-sip
- py-six
- py-sncosmo
- py-snowballstemmer
- py-sphinx
- py-sphinx-rtd-theme
- py-SQLAlchemy
- py-storm
- py-symengine
- py-sympy
- py-tappy
- py-tuiview
- py-twisted
- py-unittest2
- py-unittest2py3k
- py-urwid
- py-virtualenv
- py-wcsaxes
- py-wheel
- py-xlrd
- py-xpyb
- py-yapf
- py-yt
- python
- qhull
- qrupdate
- qt
- qt-creator
- qthreads
- R
- r-abind
- r-assertthat
- r-base64enc
- r-bh
- r-BiocGenerics
- r-bitops
- r-boot
- r-brew
- r-c50
- r-car
- r-caret
- r-catools
- r-chron
- r-class
- r-cluster
- r-codetools
- r-colorspace
- r-crayon
- r-cubature
- r-curl
- r-datatable
- r-dbi
- r-deoptim
- r-devtools
- r-diagrammer
- r-dichromat
- r-digest
- r-doparallel
- r-dplyr
- r-dt
- r-dygraphs
- r-e1071
- r-evaluate
- r-filehash
- r-foreach
- r-foreign
- r-formatr
- r-formula
- r-gdata
- r-geosphere
- r-ggmap
- r-ggplot2
- r-ggvis
- r-gistr
- r-git2r
- r-glmnet
- r-googlevis
- r-gridbase
- r-gridextra
- r-gtable
- r-gtools
- r-hexbin
- r-highr
- r-htmltools
- r-htmlwidgets
- r-httpuv
- r-httr
- r-igraph
- r-influencer
- r-inline
- r-irdisplay
- r-irkernel
- r-irlba
- r-iterators
- r-jpeg
- r-jsonlite
- r-knitr
- r-labeling
- r-lattice
- r-lazyeval
- r-leaflet
- r-lme4
- r-lmtest
- r-lubridate
- r-magic
- r-magrittr
- r-mapproj
- r-maps
- r-maptools
- r-markdown
- r-mass
- r-matrix
- r-matrixmodels
- r-memoise
- r-mgcv
- r-mime
- r-minqa
- r-multcomp
- r-munsell
- r-mvtnorm
- r-ncdf4
- r-networkd3
- r-nlme
- r-nloptr
- r-nmf
- r-nnet
- r-np
- r-openssl
- r-packrat
- r-partykit
- r-pbdzmq
- r-pbkrtest
- r-pkgmaker
- r-plotrix
- r-plyr
- r-png
- r-praise
- r-proto
- r-pryr
- r-quantmod
- r-quantreg
- r-R6
- r-randomforest
- r-raster
- r-rbokeh
- r-rcolorbrewer
- r-rcpp
- r-rcppeigen
- r-registry
- r-repr
- r-reshape2
- r-rgooglemaps
- r-rinside
- r-rjava
- r-rjson
- r-rjsonio
- r-rmarkdown
- r-rmysql
- r-rngtools
- r-rodbc
- r-roxygen2
- r-rpostgresql
- r-rsnns
- r-rsqlite
- r-rstan
- r-rstudioapi
- r-rzmq
- r-sandwich
- r-scales
- r-shiny
- r-sp
- r-sparsem
- r-stanheaders
- r-stringi
- r-stringr
- r-survey
- r-survival
- r-tarifx
- r-testit
- r-testthat
- r-thdata
- r-threejs
- r-tibble
- r-tidyr
- r-ttr
- r-uuid
- r-vcd
- r-visnetwork
- r-whisker
- r-withr
- r-xgboost
- r-xlconnect
- r-xlconnectjars
- r-xlsx
- r-xlsxjars
- r-xml
- r-xtable
- r-xts
- r-yaml
- r-zoo
- raja
- randrproto
- ravel
- readline
- recordproto
- rename
- rendercheck
- renderproto
- resourceproto
- rgb
- root
- rose
- rstart
- rsync
- ruby
- rust
- rust-bindgen
- SAMRAI
- samtools
- sbt
- scalasca
- scons
- scorep
- scotch
- scr
- screen
- scripts
- scrnsaverproto
- sdl2
- sdl2_image
- sed
- seqtk
- serf
- sessreg
- setxkbmap
- showfont
- silo
- slepc
- smproxy
- snappy
- sowing
- spark
- sparsehash
- spdlog
- spindle
- spot
- sqlite
- star-ccm-plus
- stat
- stream
- sublime-text
- subversion
- suite-sparse
- sundials
- superlu
- superlu-dist
- superlu-mt
- swiftsim
- swig
- symengine
- sympol
- szip
- tar
- task
- taskd
- tau
- tbb
- tcl
- tetgen
- tethex
- texinfo
- texlive
- the_platinum_searcher
- the_silver_searcher
- thrift
- tinyxml
- tinyxml2
- tk
- tmux
- tmuxinator
- transset
- trapproto
- tree
- triangle
- trilinos
- turbomole
- twm
- uberftp
- udunits2
- uncrustify
- unibilium
- unison
- unixodbc
- util-linux
- util-macros
- uuid
- valgrind
- veclibfort
- videoproto
- viewres
- vim
- visit
- vizglow
- vtk
- wannier90
- wget
- windowswmproto
- wx
- wxpropgrid
- x11perf
- xauth
- xbacklight
- xbiff
- xbitmaps
- xcalc
- xcb-demo
- xcb-proto
- xcb-util
- xcb-util-cursor
- xcb-util-errors
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xclipboard
- xclock
- xcmiscproto
- xcmsdb
- xcompmgr
- xconsole
- xcursor-themes
- xcursorgen
- xdbedizzy
- xditview
- xdm
- xdpyinfo
- xdriinfo
- xedit
- xerces-c
- xev
- xextproto
- xeyes
- xf86bigfontproto
- xf86dga
- xf86dgaproto
- xf86driproto
- xf86miscproto
- xf86rushproto
- xf86vidmodeproto
- xfd
- xfindproxy
- xfontsel
- xfs
- xfsinfo
- xfwp
- xgamma
- xgc
- xhost
- xineramaproto
- xinit
- xinput
- xkbcomp
- xkbdata
- xkbevd
- xkbprint
- xkbutils
- xkeyboard-config
- xkill
- xload
- xlogo
- xlsatoms
- xlsclients
- xlsfonts
- xmag
- xman
- xmessage
- xmh
- xmlto
- xmodmap
- xmore
- xorg-cf-files
- xorg-docs
- xorg-gtest
- xorg-server
- xorg-sgml-doctools
- xphelloworld
- xplsprinters
- xpr
- xprehashprinterlist
- xprop
- xproto
- xproxymanagementprotocol
- xrandr
- xrdb
- xrefresh
- xrootd
- xrx
- xscope
- xsdktrilinos
- xset
- xsetmode
- xsetpointer
- xsetroot
- xsm
- xstdcmap
- xtrans
- xtrap
- xts
- xvidtune
- xvinfo
- xwd
- xwininfo
- xwud
- xz
- yaml-cpp
- yasm
- yorick
- zeromq
- zfp
- zlib
- zoltan
- zsh
Contributing¶
- Contribution Guide
- Packaging Guide
- Creating & editing packages
- Naming & directory structure
- Trusted Downloads
- Package Version Numbers
- Adding new versions
- Fetching from VCS repositories
- Standard repositories for python packages
- Expanding additional resources in the source tree
- Automatic caching of files fetched during installation
- Licensed software
- Patches
- Handling RPATHs
- Finding new versions
- Parallel builds
- Dependencies
- Extensions
- Virtual dependencies
- Abstract & concrete specs
- Inconsistent Specs
- Implementing the
installmethod - The install environment
- Failing the build
- Prefix objects
- Spec objects
- Shell command functions
- Sanity checking an installation
- File manipulation functions
- Coding Style Guidelines
- Packaging workflow commands
- Graphing dependencies
- Interactive shell support
- Developer Guide
- API Docs
- Subpackages
- Submodules
- spack.abi module
- spack.architecture module
- spack.build_environment module
- spack.compiler module
- spack.concretize module
- spack.config module
- spack.database module
- spack.directives module
- spack.directory_layout module
- spack.environment module
- spack.error module
- spack.fetch_strategy module
- spack.file_cache module
- spack.graph module
- spack.mirror module
- spack.modules module
- spack.multimethod module
- spack.package module
- spack.package_test module
- spack.parse module
- spack.patch module
- spack.preferred_packages module
- spack.provider_index module
- spack.repository module
- spack.resource module
- spack.spec module
- spack.stage module
- spack.store module
- spack.url module
- spack.variant module
- spack.version module
- Module contents