Skip to content

amstokely/spack_site_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spack Site Generator

spack_site_generator is a Python package that automates the creation of site-specific YAML configuration files for Spack. It simplifies defining compilers, package preferences, module settings, and global configurations, ensuring consistency across installations.

Features

  • Compilers: Define compiler versions, paths, and associated modules.
  • Packages: Configure package providers, external installations, and build options.
  • Modules: Customize module system settings for Lmod or Tcl.
  • Global Configuration: Set build jobs, cache paths, and stage directories.
  • Automatic YAML Generation: Write site configuration files in Spack’s expected format.

HPC Environments

Every HPC system is unique, and Spack needs to account for site-specific quirks such as wrapper compiler scripts, custom MPI implementations, or proprietary drivers. Because of this, the generated YAML configuration files may not work perfectly out of the box on all machines. However, they serve as a strong starting point and typically remove about 90% of the boilerplate needed when setting up Spack on complex HPC systems.


Installation

Clone this repository and install the package:

git clone https://github.com/amstokely/spack_site_generator.git
cd spack_site_generator
pip install .

Usage

See the examples directory for detailed usage examples.

codecov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages