This repository contains Spack configuration files for building packages on Cannon for the RockyLinux 8.7 operating system.
Each of the folders listed below contains configuration files to build software with a different compiler version. Add new folders for additional compilers as necessary.
Contains configuration files that can be shared by Spack builds using different compiler versions.
| File | Description |
|---|---|
compilers.yaml |
Metadata about available compilers |
modules.yaml |
Metadata about how modules should be built |
Contains configuration files for using Spack with the GNU Compiler Collection version 12.2.0 compiler on Cannon.
| File | Description |
|---|---|
compilers.yaml |
Symbolic link to ../shared/compilers.yaml |
modules.yaml |
Symbolic link to ../shared/modules.yaml |
packages.yaml |
Specs for building packages with GNU 12.2.0 compilers. |
To build software with Spack using these customizations, follow these commands:
source spack-env/<build-spec>/setup.sh
$ spack -C spack-env/<build-spec> install <package-name>where build-spec is either gnu10 or gnu12 and <package-name> is the name of the package that you wish to install.
To regenerate module files, use this command:
$ spack -C spack-env/<build-spec> module lmod refresh -yTo clean up build directories, type:
$ spack clean -aSee the spack-env wiki for documentation about known issues with Spack builds and how these issues were resolved.
Please report any new bugs or technical issues in the issue tracker page.
