Skip to main content

Spack on Ubuntu 20.04

·63 words·1 min

Spack installations can be really slow on some platforms, however, there are pre-built packages for ubuntu 20.04

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
apt install gcc-11
spack mirror add spack-build-cache-develop https://binaries.spack.io/develop
spack buildcache keys --install --trust

And now you have spack pre-compiled goodness for your packages!

You can see the spack cache index for details for what packages are pre-built for which platforms.

Author
Robert Underwood
Robert is an Assistant Computer Scientist in the Mathematics and Computer Science Division at Argonne National Laboratory focusing on data and I/O for large-scale scientific applications including AI for Science using techniques of lossy compression, and data management. He currently co-leads the AuroraGPT Data Team with Ian Foster. In addition to AI, Robert’s library LibPressio, allows users to experiment and adopt advanced compressors quickly, has over 200 average unique monthly downloads, is used in over 17 institutions worldwide, and he is also a contributor to the R&D100 winning SZ family of compressors and other compression libraries. He regularly mentors students and is the early career ambassador for Argonne to the Joint Laboratory for Extreme Scale Computing.