Do you still need to hand-build NCCL for clustering?

The docs at https://build.nvidia.com/spark/nccl have you build the NCCL library from source, at the “latest” version 2.30.7. However, in DGX OS’s package repository, there is a libnccl2 package at version 2.31.2. apt show libnccl2 shows that the maintainers of the package is cudatools@nvidia.com, and the package is served from nvidia’s own package repository, not upstream Ubuntu.

The guide that says to compile NCCL from source dates back to December 2025. Does the binary package shipped by nvidia now support Blackwell out of the box? Can the system libnccl2 be used instead to have less random stuff to maintain and update by hand?

All the Nvidia guides are hopelessly out of date.

You have two easy options:

Use Nvidia Sync and use the Cluster Wizard.

Or

Use sparkrun

Checked on a GB10 today, without installing anything on the host.

The newest libnccl2 packages in the CUDA sbsa repository (developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/sbsa) are 2.30.7-1 and 2.31.2-1, each for cuda12.9 and cuda13.3; apt policy libnccl2 will tell you what your DGX OS sources actually resolve to. I pulled the two cuda13.3 arm64 debs, extracted them with dpkg -x, and ran cuobjdump --list-elf on the libraries:

$ cuobjdump --list-elf libnccl.so.2.31.2 | grep sm_120 | head -2
ELF file    5: libnccl.so.2.31.5.sm_120.cubin
ELF file   11: libnccl.so.2.31.11.sm_120.cubin
$ cuobjdump --list-elf libnccl.so.2.31.2 | grep -oE 'sm_[0-9]+a?' | sort | uniq -c
     76 sm_100
     56 sm_110
     56 sm_120
     56 sm_75
     56 sm_80
     56 sm_90

libnccl.so.2.30.7 has the same six targets (28 cubins each, 38 for sm_100). Neither has PTX. No JIT fallback; that sm_120 cubin is what has to run. GB10 is compute capability 12.1, and a cubin built for 12.0 runs on 12.x devices. The packaged library covers the Spark’s GPU, and it already did at the version the December playbook builds by hand.

Then I ran it. In the vllm/vllm-openai:qwen38-flash-next container (PyTorch 2.13, built against NCCL 2.29.7 headers) I set LD_PRELOAD to the extracted libnccl.so.2.31.2 and ran a one-rank torch.distributed all-reduce on the GB10. NCCL logged NCCL version 2.31.2+cuda13.3, Init COMPLETE, and the all-reduce returned the right sum. (torch.cuda.nccl.version() still says 2.29.7; that is a compile-time constant, not the loaded library.) Driver 580.159.03, cudaDriverVersion 13000: a cuda13.3 build on a 13.0 driver, and it worked. I didn’t try the cuda12.9 variant.

Didn’t test two-node on the package. One rank exercises kernel load and launch, nothing between ranks, and it used the Socket transport, so it says nothing about RoCE over the CX7 link, which is what the playbook’s networking steps and its “medium risk” label are about. Those steps are the same either way; whether a hand build differs from the package in other build options I didn’t check.

Containers use their bundled NCCL unless you inject the host copy the way I did, so the package mostly matters for host-built binaries.