/isambard:ncclfrom isambard
Guides using NCCL on Isambard-AI supercomputers for multi-node GPU communication via GPUDirect RDMA over Slingshot 11. Covers module loading, environment variables, building from source, benchmarking, and container usage.
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.
Read when SKILL.md points to them.
NCCL (NVIDIA Collective Communications Library) provides direct GPU-to-GPU communication for collective operations (all-reduce, broadcast, etc.). On Isambard-AI it uses RDMA via GPUDirect over the Slingshot 11 high-speed network.
Supported systems: Isambard-AI Phase 1 ✓ and Phase 2 ✓ only. Isambard 3 does not support NCCL (no GPUs).
The critical component is the aws-ofi-nccl network plugin, which bridges NCCL to
libfabric and enables RDMA on Slingshot. Without it, NCCL falls back to TCP sockets
and bandwidth collapses — from ~163 GB/s to ~2.3 GB/s on an 8-GPU all-reduce.
brics/nccl ModuleFor most workloads, simply load the BriCS-provided module:
module load brics/nccl
This provides a system-built NCCL and aws-ofi-nccl, pre-configured for Slingshot 11,
and sets all required environment variables automatically.
Use this unless you need a specific NCCL version, are building for a container with a different CUDA runtime, or are doing application-specific tuning.
The brics/nccl module sets these automatically. You only need to set them manually
if building your own NCCL or tuning for a specific application.
export NCCL_NET="AWS Libfabric" # Force use of aws-ofi-nccl plugin (required)
export NCCL_SOCKET_IFNAME="hsn" # Use the high-speed Slingshot NIC
export NCCL_DEBUG="VERSION" # Print NCCL version at startup (use INFO to debug)
export NCCL_NET_GDR_LEVEL="PHB" # P2P when GPUs share the same NUMA node
export NCCL_CROSS_NIC="1" # Allow rings/trees to span multiple NICs
export NCCL_MIN_NCHANNELS="4" # Minimum communication channels (app-dependent)
export NCCL_GDRCOPY_ENABLE="1"
export NCCL_NET_FORCE_FLUSH="0"
export FI_CXI_DEFAULT_CQ_SIZE="131072" # App-dependent
export FI_CXI_DEFAULT_TX_SIZE="2048" # App-dependent
export FI_CXI_DISABLE_NON_INJECT_MSG_IDC="1"
export FI_HMEM_CUDA_USE_GDRCOPY="1"
export FI_CXI_DISABLE_HOST_REGISTER="1"
export FI_MR_CACHE_MONITOR="userfaultfd"
export FI_CXI_RDZV_PROTO="alt_read"
export FI_CXI_RDZV_THRESHOLD="0"
export FI_CXI_RDZV_GET_MIN="0"
export FI_CXI_RDZV_EAGER_SIZE="0"
export FI_CXI_RX_MATCH_MODE="hybrid"
A downloadable copy is available at:
https://docs.isambard.ac.uk/user-documentation/guides/example-data/nccl/env_vars.sh
Application-dependent variables:
NCCL_MIN_NCHANNELS,FI_CXI_DEFAULT_CQ_SIZE, andFI_CXI_DEFAULT_TX_SIZEmay need tuning per workload. The defaults optimise for a broad range of scenarios. See the NCCL environment variable docs for details.
Debugging: Set NCCL_DEBUG=INFO for verbose logs. If you see:
NCCL WARN Error: network AWS Libfabric not found.
the aws-ofi-nccl plugin is not on LD_LIBRARY_PATH or was not built correctly.
Using nccl-tests all_reduce across 2 nodes (8 × GH200 GPUs), 8 GB payload:
| Configuration | Bus Bandwidth |
|---|---|
Without aws-ofi-nccl (TCP fallback) | ~2.3 GB/s |
With aws-ofi-nccl + Slingshot RDMA | ~163 GB/s |
The difference is ~70×. Always verify RDMA is active before running production workloads.
To check which Slingshot NIC is paired with which GPU:
# Dump NCCL topology to a file
export NCCL_TOPO_DUMP_FILE=topo.txt
# List NICs
cxi_stat
# List GPUs
nvidia-smi -L
See references/build.md for step-by-step instructions covering:
aws-ofi-nccl pluginnccl-tests to benchmark bandwidthRead this file when the user needs a custom NCCL version on the host system.
See references/containers.md for:
brics/apptainer-multi-node (simplest)aws-ofi-nccl inside an Apptainer container against a container's
own CUDA runtime (e.g. an NGC PyTorch image requiring a newer CUDA than the host)Read this file when the user is running containerised GPU workloads across multiple nodes.
| Goal | Action |
|---|---|
| Use system NCCL (recommended) | module load brics/nccl |
| Use NCCL in Apptainer (host libs) | module load brics/apptainer-multi-node |
| Diagnose missing plugin | Check NCCL_DEBUG=INFO; look for AWS Libfabric not found |
| Diagnose low bandwidth | Confirm aws-ofi-nccl on LD_LIBRARY_PATH; source env vars |
| Inspect GPU–NIC topology | NCCL_TOPO_DUMP_FILE=topo.txt, cxi_stat, nvidia-smi -L |
| Benchmark bandwidth | Build nccl-tests; see references/build.md |
| Custom NCCL build | See references/build.md |
| NCCL in a custom container | See references/containers.md |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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