Skip to main content
Vantage Compute Logo

Slurm Factory

License Python PyPI Docker

Build relocatable, GPG-signed Slurm packages using Docker and Spack.

Documentation | Buildcache

Quick Start

Option 1: Install Pre-built Slurm from Buildcache

Use Spack to install GPG-signed pre-built binaries (no slurm-factory tool needed). Each OS toolchain has one mirror holding every Slurm version for both amd64 and arm64:

# Install Spack and the slurm_factory package repository
git clone --depth 1 --branch v1.0.0 https://github.com/spack/spack.git ~/spack
source ~/spack/share/spack/setup-env.sh
git clone --depth 1 https://github.com/vantagecompute/slurm-factory-spack-repo.git ~/slurm-factory-spack-repo
spack repo add ~/slurm-factory-spack-repo/spack_repo/slurm_factory

# Add the mirror for your OS toolchain
TOOLCHAIN=noble  # or: resolute, jammy, rockylinux10, rockylinux9, rockylinux8
spack mirror add slurm-factory "https://slurm-factory-spack-binary-cache.vantagecompute.ai/${TOOLCHAIN}/spack"

# Import the GPG keys, then install the published spec by hash (5-15 min)
spack buildcache keys --install --trust
spack buildcache list --allarch --long slurm@26-05-5-1
spack install --cache-only /<hash>

Full guide: Installing Slurm from Buildcache

Option 2: Build Custom Slurm with slurm-factory Tool

Install the slurm-factory tool to build custom packages (requires Docker):

pip install slurm-factory

# Build Slurm 26.05 (the default) with the Ubuntu 24.04 toolchain (GCC 13.3.0)
slurm-factory build-slurm --slurm-version 26.05

Full guide: Installing slurm-factory Tool

Supported Versions

Slurm × Operating System Matrix

Every combination uses OS-provided compilers and is published for amd64 and arm64:

Slurm Version Release Supported Operating Systems
26.05 26.05.5 Ubuntu 26.04, Ubuntu 24.04, Ubuntu 22.04, Rocky 10, Rocky 9, Rocky 8

Default: Slurm 26.05 on Ubuntu 24.04 (Noble). 26.05 is the only supported series. The Packages page lists what is currently in the cache.

Operating System Compiler Toolchains

Slurm is built using the default system compiler from each OS distribution:

OS Toolchain GCC Version GLIBC Use Case
Ubuntu 24.04 noble 13.3.0 2.39 Recommended, modern stable
Ubuntu 26.04 resolute 15.2.0 2.42 Latest toolchain
Ubuntu 22.04 jammy 11.4.0 2.35 LTS, wide compatibility
Rocky Linux 10 rockylinux10 14.3.1 2.39 RHEL 10 compatible
Rocky Linux 9 rockylinux9 11.5.0 2.34 RHEL 9 compatible
Rocky Linux 8 rockylinux8 8.5.0 2.28 RHEL 8 compatible

GPG Package Signing

All published packages and tarballs are cryptographically signed with GPG for security and integrity.

Why GPG Signing?

  • Authenticity: Verify packages were built by Vantage Compute
  • Integrity: Detect tampering or corruption during download
  • Security: Prevent man-in-the-middle attacks
  • Trust Chain: Establish provenance for production deployments

GPG Key Information

Key ID: DFB92630BCA5AB71
Fingerprint: FDEA 9066 7641 5052 64EF  D114 DFB9 2630 BCA5 AB71
Owner: Vantage Compute Corporation (Slurm Factory Spack Cache Signing Key)
Email: info@vantagecompute.ai

Importing GPG Keys

Keys are imported from the buildcache:

# Import and trust the signing keys
spack buildcache keys --install --trust

# Packages are verified during installation
spack install --cache-only /<hash>

Features

  • GPG-Signed Packages: Spack binaries and tarballs are cryptographically signed
  • 10-15x Faster: pre-built packages install in 5-15 minutes vs 45-90 minutes
  • Relocatable: deploy to any path, no host dependencies
  • CDN Distribution: CloudFront-distributed buildcache for fast global access
  • 6 OS Toolchains: Ubuntu 22.04/24.04/26.04, Rocky Linux 8/9/10
  • Slurm 26.05: the current upstream series (26.05.5)
  • amd64 and arm64: every combination is built natively for both architectures
  • OS-Native Compilers: uses system-provided GCC for maximum compatibility
  • Clean Builds: Docker isolation, no system pollution

Build Options

Build from Source with slurm-factory

# Default build (CPU-only, Ubuntu 24.04 toolchain)
slurm-factory build-slurm --slurm-version 26.05

# GPU support (CUDA/ROCm)
slurm-factory build-slurm --slurm-version 26.05 --gpu

# Different OS toolchain
slurm-factory build-slurm --slurm-version 26.05 --toolchain jammy

# Reuse the remote Spack buildcache for dependencies
slurm-factory build-slurm --slurm-version 26.05 --buildcache

# Build, push the Spack packages, then sign and upload the tarball
slurm-factory build-slurm --slurm-version 26.05 --publish=all \
  --signing-key "$GPG_KEY_ID" \
  --gpg-private-key "$GPG_PRIVATE_KEY" \
  --gpg-passphrase "$GPG_PASSPHRASE"

Built tarballs land in ~/.slurm-factory/builds/<toolchain>/<slurm_version>/.

Download Pre-built Tarball

Download a complete Slurm installation as a tarball with GPG signature verification:

# Set versions
SLURM_VERSION=26.05
TOOLCHAIN=noble     # or: resolute, jammy, rockylinux10, rockylinux9, rockylinux8
ARCHITECTURE=amd64  # or: arm64
CLOUDFRONT_URL=https://slurm-factory-spack-binary-cache.vantagecompute.ai
TARBALL="slurm-${SLURM_VERSION}-${TOOLCHAIN}-${ARCHITECTURE}-software.tar.gz"

# Download tarball and signature
wget "${CLOUDFRONT_URL}/${TOOLCHAIN}/${SLURM_VERSION}/${ARCHITECTURE}/${TARBALL}"
wget "${CLOUDFRONT_URL}/${TOOLCHAIN}/${SLURM_VERSION}/${ARCHITECTURE}/${TARBALL}.asc"

# Import GPG key and verify the signature
gpg --keyserver keyserver.ubuntu.com --recv-keys DFB92630BCA5AB71
gpg --verify "${TARBALL}.asc" "${TARBALL}"

# Extract and load
sudo mkdir -p /opt/slurm-factory
sudo tar -xzf "${TARBALL}" -C /opt/slurm-factory
module use /opt/slurm-factory/view/assets/modules
module load slurm

Package Structure

Every build produces a relocatable tarball holding a single Spack view:

slurm-26.05-noble-amd64-software.tar.gz
└── view/
    ├── bin/ sbin/ lib/ ...        # Slurm, OpenMPI, PMIx and runtime libraries
    ├── etc/slurm/plugstack.conf.d/ # Pyxis SPANK plugin config
    └── assets/modules/slurm/       # Lmod module (relocatable)

Configuring the cluster (slurm.conf, users, services) is left to you; see the Deployment guide.

Buildcache Structure

The public buildcache is organized by OS toolchain:

https://slurm-factory-spack-binary-cache.vantagecompute.ai/
├── source/                       # Source mirror used by builds
└── <toolchain>/                  # resolute, noble, jammy, rockylinux10, rockylinux9, rockylinux8
    ├── spack/                    # Spack binary mirror: Slurm 26.05, both architectures (GPG-signed)
    └── <slurm_version>/          # 26.05
        └── <arch>/               # amd64, arm64
            ├── slurm-<slurm_version>-<toolchain>-<arch>-software.tar.gz      # Complete tarball
            └── slurm-<slurm_version>-<toolchain>-<arch>-software.tar.gz.asc  # GPG signature

Mirror Architecture

One Spack mirror per toolchain (<toolchain>/spack) holds Slurm and all of its dependencies, including build dependencies, for every Slurm version and both architectures. This allows:

  • Better caching: dependencies are shared across Slurm versions within a toolchain
  • OS compatibility: packages are built with native system compilers
  • Reduced storage: no duplication of common packages within a toolchain

A tarball name always holds the newest release of its series (for example slurm-26.05-... is 26.05.5), so tarballs are served with a short cache lifetime.

Requirements

  • Python 3.12+
  • Docker 24.0+ (for building from source)
  • 50GB disk space
  • 4+ CPU cores (8+ recommended)
  • 16GB RAM (32GB+ recommended)

For buildcache installs: only Spack required (no Docker needed)

Documentation

docs.vantagecompute.ai/developer/slurm-factory

Development

# Install from source
git clone https://github.com/vantagecompute/slurm-factory.git
cd slurm-factory
just env

# Lint, typecheck and run the tests
just check

# Build the docs site
just docs-build

License

Apache License 2.0. See the LICENSE file.

Support


Built by Vantage Compute.

Metadata

Release files for slurm-factory 0.1.40

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slurm-factory 0.1.40
File Size Uploaded Provenance Actions
slurm_factory-0.1.40.tar.gz 44.0 kB Without provenance Details for slurm_factory-0.1.40.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slurm-factory 0.1.40
File Interpreter ABI Platform Actions
slurm_factory-0.1.40-py3-none-any.whl Python 3 none any Details for slurm_factory-0.1.40-py3-none-any.whl

Total release size: 96.0 kB

Release files / slurm_factory-0.1.40.tar.gz

Download URL slurm_factory-0.1.40.tar.gz
Size 44.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3147e86c0449b40de2f0f1684f3b19c1161c114fcae660704b32ebd4f980d08d
BLAKE2b-256 checksum
How to use checksums
82d0ce07f2073ae66376e1b336733037920342be9a6ef3e98dbf66b1bbe47ed4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / slurm_factory-0.1.40-py3-none-any.whl

Download URL slurm_factory-0.1.40-py3-none-any.whl
Size 52.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa758641c67cb34a1bf8ccb1c753d7a3aa545506dbe784035f9273b0ea0134f7
BLAKE2b-256 checksum
How to use checksums
dce0c15d5ac4e1df6a050e8f331c2282ea8c583b1761dff5b4b9f982945bb944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for slurm-factory 0.1.40

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page