/isambard:modulesfrom isambard
Guides users through the Cray Programming Environment module system on Isambard-AI and Isambard 3 supercomputers, including compiler wrappers, profiling tools, and BriCS-supplied modules.
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.
Both Isambard-AI and Isambard 3 are HPE/Cray systems and use the Cray Programming Environment for managing compilers, MPI, and scientific libraries through a modular software system.
| Command | Effect |
|---|---|
module avail | List all available modules |
module load <name> | Load a module into the current session |
module unload <name> | Unload a module from the current session |
module list | List all currently loaded modules |
module purge | Unload all loaded modules |
module spider <name> | Search for a module and show details |
BriCS provides the following utility modules. Check the availability columns before suggesting one — several are not on Isambard 3:
| Module | Description | AIP1 | AIP2 | Isambard 3 |
|---|---|---|---|---|
brics/default | Default user environment (loaded by default) | ✓ | ✓ | ✓ |
brics/userenv | Sets $LOCALDIR, $SCRATCHDIR, and $TMPDIR (loaded by default) — see the storage docs | ✓ | ✓ | ✓ |
brics/emacs | Emacs text editor | ✓ | ✓ | ✓ |
brics/nano | nano text editor | ✓ | ✓ | — |
brics/tmux | tmux terminal multiplexer — reload the module when restarting a terminal; sessions persist | ✓ | ✓ | ✓ |
brics/nccl | Required for multi-node GPU workflows. Provides NCCL (built against libfabric) and the NCCL AWS-OFI plugin for Slingshot high-speed network support | ✓ | ✓ | — |
brics/apptainer-multi-node | Support for multi-node Apptainer jobs — see the Apptainer multi-node docs | ✓ | ✓ | — |
Arm Performance Libraries (Arm PL) are available on Isambard 3 at /opt/arm/.
They provide libamath: an optimised subset of standard math.h functions, in
scalar (compatible with libm naming) and vectorised implementations. Use them
from C/C++ with:
#include <amath.h>
See the Arm PL math functions documentation.
module av PrgEnv # quick list
module spider PrgEnv # detailed view
PrgEnv-cray/8.5.0 PrgEnv-gnu/8.5.0
PrgEnv-gnu is recommended — good performance, familiar behaviour, all dependencies loaded automatically:
module load PrgEnv-gnu
module list
# Loads: brics/userenv, brics/default, gcc-native/13.2, craype, craype-arm-grace,
# libfabric, craype-network-ofi, cray-libsci, cray-mpich, PrgEnv-gnu
Key components loaded by PrgEnv-gnu:
| Module | Purpose |
|---|---|
gcc-native/13.2 | GCC 13.2 compiler suite |
libfabric | Communication library for Slingshot 11 high-speed interconnect |
cray-libsci | Scientific and math libraries (BLAS, LAPACK, etc.) |
cray-mpich | MPI libraries |
With a PrgEnv loaded, use the Cray compiler wrappers rather than invoking GCC directly:
| Wrapper | Language | GCC equivalent |
|---|---|---|
cc | C | gcc |
CC | C++ | g++ |
ftn | Fortran | gfortran |
The wrappers automatically link to loaded Cray PE libraries (MPI, LibSci, etc.). Do not mix wrapper commands and raw GCC commands in the same build.
To see exactly what the wrapper passes to the underlying compiler:
ftn -craype-verbose -o hello hello.f90
# Shows full flags, include paths, and linked libraries
Use -mcpu=neoverse-v2 to target the Grace CPU architecture. Note this differs from x86 (-march):
cc -mcpu=neoverse-v2 -O3 mycode.c -o mycode
For further tuning guidance see the NVIDIA Grace Performance Tuning Guide.
Non-GNU compilers (e.g. NVIDIA) can depend on the default system GCC, which may
not support the C++ standard you request (e.g. --std=c++23). Use
--gcc-toolchain to select a newer GCC:
nvc++ --std=c++23 --gcc-toolchain=/usr/bin/gcc-13 mycode.cpp -o mycode
Load just the NVIDIA compiler suite (without a full programming environment):
module load nvidia
nvc --version # C
nvc++ --version # C++
nvfortran --version
# All target: linuxarm64, aarch64, neoverse-v2
Note: Loading only
module load nvidiadoes not load MPI libraries automatically. For MPI, load a fullPrgEnvinstead, or see the MPI guide.
Available without loading any modules:
gprof ./a.out
module load perftools-base
pat_run ./a.out
Full docs: HPE Cray Performance Tools
module load cudatoolkit
nsys profile ./a.out
Full docs: NVIDIA Nsight Systems User Guide
| Goal | Command |
|---|---|
| Recommended build environment | module load PrgEnv-gnu |
| Compile C | cc -mcpu=neoverse-v2 -O3 myfile.c |
| Compile C++ | CC -mcpu=neoverse-v2 -O3 myfile.cpp |
| Compile Fortran | ftn -mcpu=neoverse-v2 -O3 myfile.f90 |
| Debug wrapper flags | cc -craype-verbose ... |
| Multi-node GPU jobs | module load brics/nccl |
| Profile with Cray tools | module load perftools-base → pat_run |
| Profile with NVIDIA tools | module load cudatoolkit → nsys |
| Spack builds | See Spack guide for compiler config |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 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.
npx claudepluginhub isambard-sc/skills.isambard.ac.uk --plugin isambardOther plugins' skills for the same job