This version is outdated by a newer approved version.DiffThis version (2021/08/27 08:43) is a draft.
Approvals: 0/1

This is an old revision of the document!


List available Packages

Most software on VSC4 is installed via spack, to list available software packages use:

spack find

List all available packages compiled with a specific compiler:

spack find %gcc@9.1.0

A specific version can be requested as well:

spack find openmpi@4.1.0

List a specific version compiled with a specific compiler:

spack find openmpi@4.1.0%gcc@9.1.0

The detail level of information can be specified with the following options:

spack find -l openmpi@4.1.0%gcc@9.1.0
spack find -lv openmpi@4.1.0%gcc@9.1.0
spack find -lvd openmpi@4.1.0%gcc@9.1.0

The latter lists all dependencies of the package.

The option '-l' will display the short hash of a package:

# spack find -l openmpi@4.1.0%gcc@9.1.0
==> 1 installed package
-- linux-centos7-x86_64 / gcc@9.1.0 -----------------------------
2cmze2s openmpi@4.1.0

The hash 2cmze2s uniquely identifies the package and can also be used to load the software module:

spack load /2cmze2s
spack find -lvd py-scipy %intel@19.0.5.281 ^python@3.7.4 ^intel-mkl
  • doku/spack.1630053807.txt.gz
  • Last modified: 2021/08/27 08:43
  • by jz