/isambard:spackfrom isambard
Guides installing, configuring, and using Spack to build HPC software on Isambard AI supercomputers. Covers concretizing packages, targeting neoverse_v2/aarch64, and troubleshooting builds on Cray HPE/Slingshot 11 systems.
Ships in isambard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Spack is a package manager for building HPC software and its dependencies in a consistent, reproducible way, taking into account the target machine's architecture and interconnect.
Note: Not every package is guaranteed to be supported. Only configurations outlined here have been tested by BriCS. Known issues will be listed in the upstream docs as they are reported.
Prerequisites: Familiarity with modules, MPI, and system specs (especially the Slingshot 11 interconnect).
buildit config.SPACK_DISABLE_LOCAL_CONFIG=true to avoid conflicts with local ~/.spack settings.spack/share/spack/setup-env.sh before using spack.spack install, spack add, or
spack env create.buildit config branch.| System | Architecture | Spack target |
|---|---|---|
| Isambard-AI Phase 1 | aarch64 / NVIDIA Grace | neoverse_v2 |
| Isambard-AI Phase 2 | aarch64 / NVIDIA Grace | neoverse_v2 |
| Isambard 3 Grace | aarch64 / NVIDIA Grace | neoverse_v2 |
| Isambard 3 MACS | x86_64 (mixed) | zen3 or similar — build on the target node |
Slingshot 11 (SS11) is the high-speed interconnect on all systems. The buildit config ensures
correct dependencies are used to exploit it.
Clone a stable release into your home or project directory. The --depth=2 flag limits
download size (Spack has a long history):
git clone --depth=2 --branch=releases/v1.1 https://github.com/spack/spack.git
Cache conflicts: If you have used a previous version of Spack,
$HOME/.spackcan cause issues. Either delete/move it, or isolate caches per version:export SPACK_USER_CACHE_PATH=$PWD/spack-cache
Source the setup script to make the spack command available:
. spack/share/spack/setup-env.sh
Verify it works and check the detected architecture:
spack arch
# linux-sles15-neoverse_v2 (Isambard-AI / Isambard 3 Grace)
# linux-sles15-zen3 (Isambard 3 MACS, approx.)
buildit ConfigBriCS provides a configuration repository that pre-configures compilers, MPI, and libraries
correctly for each system. Clone it alongside the spack directory:
git clone --depth 1 --branch=releases/v2.1 https://github.com/isambard-sc/buildit.git
You should now have two directories: spack/ and buildit/.
Disable local user config to avoid conflicts, then create an isolated environment:
export SPACK_DISABLE_LOCAL_CONFIG=true # add to .bash_profile to make permanent
spack env create --dir myenv
spack env activate ./myenv
Apply the BriCS-provided packages config for your specific system, then set common options:
Isambard-AI Phase 1
spack config add --file buildit/config/aip1/v1.1/packages.yaml
Isambard-AI Phase 2
spack config add --file buildit/config/aip2/v1.1/packages.yaml
Isambard 3 Grace
spack config add --file buildit/config/3/v1.1/packages.yaml
Isambard 3 MACS
spack config add --file buildit/config/macs3/v1.1/packages.yaml
Then apply the same common settings for all systems:
spack config add config:build_jobs:8
spack config add view:true
spack config add concretizer:unify:true
spack config add concretizer:reuse:false
Verify compilers were found:
spack compiler list
# Expect: cce, gcc (multiple versions), nvhpc on aarch64 systems
# MACS also shows: aocc (x86_64)
The buildit repo provides extra packages and fixes not yet upstream in Spack:
spack repo add ./buildit/repo/v1.1/spack_repo/isamrepo
# ==> Added repo to config with name 'isamrepo'.
Browse all available packages with spack list.
Add a package to the environment (does not install yet):
spack add osu-micro-benchmarks
Concretize — resolve all dependencies consistently:
spack concretize
# Shows the full resolved dependency tree targeting neoverse_v2
Review the concretized output. If it looks correct, install:
spack install
# Installs to spack/opt/spack/linux-sles15-neoverse_v2/
# Environment view created at ./myenv/.spack-env/view/
After install, reload the environment to ensure everything is on PATH:
spack env deactivate && spack env activate ./myenv
Verify the install:
which osu_latency
# ./myenv/.spack-env/view/libexec/osu-micro-benchmarks/mpi/pt2pt/osu_latency
spack find
# Shows installed packages with their target (e.g. neoverse_v2)
spack env deactivate
| Goal | Command |
|---|---|
| Activate Spack | . spack/share/spack/setup-env.sh |
| Check detected arch | spack arch |
| Disable local config | export SPACK_DISABLE_LOCAL_CONFIG=true |
| Create environment | spack env create --dir myenv |
| Activate environment | spack env activate ./myenv |
| Apply BriCS config | spack config add --file buildit/config/<system>/v1.1/packages.yaml |
| List compilers | spack compiler list |
| Add Isambard repo | spack repo add ./buildit/repo/v1.1/spack_repo/isamrepo |
| Browse packages | spack list |
| Add package to env | spack add <package> |
| Resolve dependencies | spack concretize |
| Install | spack install |
| List installed | spack find |
| Deactivate environment | spack env deactivate |
buildit config for the correct system — it wires up Slingshot 11 MPI, system compilers, and scientific libraries correctly. Skipping this and letting Spack build its own MPI will produce binaries that don't use the high-speed interconnect.view:true means installed binaries are symlinked into ./myenv/.spack-env/view/ and available on PATH without loading modules.concretizer:reuse:false forces fresh builds rather than reusing cached installs — recommended for correctness on Isambard.spack/opt/ install tree is per-architecture (e.g. linux-sles15-neoverse_v2).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub isambard-sc/skills.isambard.ac.uk --plugin isambard11 skills in this plugin
/brics-hpc-ai-codeGuidance for writing, reviewing, and running AI-generated code responsibly on Bristol Centre for Supercomputing (BriCS) shared HPC resources: Isambard-AI and Isambard 3. Use this skill whenever generating, adapting, or debugging code intended to run on BriCS facilities, writing Slurm job scripts, managing storage, installing software, or ensuring compliance with BriCS policies.
/containersGuide for using containers on Isambard AI (BriCS) supercomputers with Podman-HPC and Apptainer (formerly Singularity). Use this skill whenever a user asks about running containers on Isambard, using podman-hpc or apptainer/singularity, pulling or building container images, running containers on compute nodes or across multiple nodes with MPI or NCCL, GPU access inside containers, squashfs image migration, the brics/nccl or brics/apptainer-multi-node modules, using NGC (Nvidia GPU Cloud) containers on Isambard, or getting full Slingshot 11 interconnect bandwidth from containerised workloads. Also trigger for questions about aarch64-compatible container images, --fakeroot builds, the /host/adapt.sh entrypoint, or any container-related workflow on an HPE Cray system.
/cudaGuide for using GPUs and CUDA on Isambard AI (BriCS) supercomputers (Isambard-AI Phase 1 and Phase 2, which have NVIDIA GH200 Grace Hopper GPUs). Use this skill whenever a user asks about CUDA on Isambard, loading the cudatoolkit or nvhpc modules, compiling CUDA kernels with nvcc, the correct -arch flag for the GH200 (sm_90), CUDA forward compatibility, using a newer CUDA version than the installed driver supports, the NVIDIA HPC SDK on Isambard, NGC container images for GPU workloads, nvidia-smi on compute nodes, or diagnosing CUDA version mismatches. Also trigger for general GPU programming setup questions on Isambard, even if the user doesn't say "CUDA" explicitly. Note: GPUs are only on Isambard-AI (Phase 1 and Phase 2) — not Isambard 3.
/data-transferGuide for transferring data to, from, and between BriCS Isambard facilities (Isambard-AI Phase 1, Isambard-AI Phase 2, Isambard 3). Covers the standard scp/rsync-over-SSH workflow (including clifton for project-to-project transfers and submitting large transfers as Slurm jobs) and the early-access data mover service (S3-compatible staging storage accessed via rclone or AWS CLI, with Netham for temporary credentials). Use this skill whenever a user asks how to copy, upload, download, sync, or move files/data to or from Isambard, between projects, or between BriCS clusters, or asks about scp, rsync, tar transfers, the data mover, rclone, AWS CLI, Netham, or S3 staging buckets on Isambard — even if the user doesn't name a specific tool.
/getting-supportGuidance on how to get help with Isambard-AI and Isambard 3, including when and how to raise a support ticket on the BriCS helpdesk, checking service status and known issues first, and what to include in a ticket. Use this skill whenever a user hits an error or blocker on Isambard, asks how to contact support, report a bug, request help, or check for an outage, or before telling a user to "raise a ticket" or "contact support".
/modulesGuide for using the modules system, programming environments, compilers, and profiling tools on Isambard AI (BriCS) supercomputers (Isambard-AI and Isambard 3). Use this skill whenever a user asks about loading modules on Isambard, the Cray Programming Environment (PrgEnv-gnu, PrgEnv-cray), compiler wrappers (cc, CC, ftn), GCC or NVIDIA compilers, compiler flags for Arm/Grace (neoverse-v2), BriCS-supplied modules (brics/nccl, brics/tmux, etc.), profiling with gprof, Cray perftools, or Nvidia Nsight Systems. Also trigger for questions about linking MPI or scientific libraries on Isambard, or troubleshooting compiler and build issues on the Cray HPE system — even if the user doesn't explicitly say "modules".
Other plugins' skills for the same job