Search Criteria
Package Details: nccl-cuda12.9 2.30.7-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/nccl-cuda12.9.git (read-only, click to copy) |
|---|---|
| Package Base: | nccl-cuda12.9 |
| Description: | Library for NVIDIA multi-GPU and multi-node collective communication primitives (Maxwell/Pascal/Volta support) |
| Upstream URL: | https://developer.nvidia.com/nccl/ |
| Licenses: | BSD-3-Clause |
| Conflicts: | nccl |
| Provides: | nccl |
| Submitter: | piernov |
| Maintainer: | piernov |
| Last Packager: | piernov |
| Votes: | 0 |
| Popularity: | 0.000000 |
| First Submitted: | 2025-10-18 16:36 (UTC) |
| Last Updated: | 2026-07-11 10:45 (UTC) |
Dependencies (7)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- libgcc (libgcc-fast-optimizedAUR, libgcc-snapshotAUR)
- libstdc++ (libstdc++-fast-optimizedAUR, libstdc++-snapshotAUR)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda-12.5AUR, cuda-12.8AUR, cuda-pascalAUR, cuda-12.9AUR, cuda-12.6AUR) (make)
- gcc14AUR (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- python3 (python) (make)
Required by (43)
- caffe-cuda (requires nccl)
- caffe-cuda (requires nccl) (make)
- caffe-cuda-doc (requires nccl) (make)
- caffe-cuda-doc-git (requires nccl) (make)
- caffe-cuda-git (requires nccl)
- caffe-cuda-git (requires nccl) (make)
- ggml-cuda-git (requires nccl)
- ik-llama.cpp-cuda-git (requires nccl)
- ik-llama.cpp-cuda-opt-git (requires nccl)
- libraft (requires nccl)
- llama.cpp-cuda-git (requires nccl)
- mxnet (requires nccl) (make)
- mxnet-cuda (requires nccl)
- mxnet-cuda (requires nccl) (make)
- mxnet-cuda-git (requires nccl)
- mxnet-cuda-git (requires nccl) (make)
- mxnet-git (requires nccl) (make)
- mxnet-mkl (requires nccl) (make)
- mxnet-mkl-cuda (requires nccl)
- mxnet-mkl-cuda (requires nccl) (make)
- Show 23 more...
Latest Comments
piernov commented on 2026-07-26 19:29 (UTC)
@pqatsi ArchLinux uses bash by default, I assume that's what makepkg was designed for. You can just start bash as a login shell prior to running
makepkgto avoid running into weird problems, if you shell deviates from bash' behaviour.Additionally, the
/etc/profile.d/cuda.shscript is how the officialcudapackage did it when it needed a previous GCC version, since a specific CUDA branch requires a specific GCC version. That's why thecuda-12.9package this package (derived from the officialncclpackage) depends on does the same. And it is not the only package that creates shell scripts in/etc/profile.dwith environment variables for proper use.pqatsi commented on 2026-07-21 23:41 (UTC)
@piernov I partially disagree about the NVCC_CCBIN variable handle. Indeed this variable is set by /etc/profile.d/cuda.sh but you are wrong depending on user shell to this because package build must depend only on PKGBUILD contents and notting else.
For example: If I use fish, I need to run bash inside fish and do a source /etc/profile.d/cuda.sh. Sourcing this file must happens inside PKGBUILD to do not depend on notthing else - even user environment.
gdevenyi commented on 2026-07-11 02:30 (UTC) (edited on 2026-07-11 02:30 (UTC) by gdevenyi)
piernov commented on 2026-07-05 11:11 (UTC)
@yznnyz since the specific compiler version is a requirement of CUDA itself, the
NVCC_CCBINenvironement variable is defined in/etc/profile.d/cuda.sh, provided by the cuda package. Therefore, it should be part of your environment and does not need to be defined in this PKGBUILD.yznnyz commented on 2026-07-05 02:18 (UTC)
The build failed because
NVCC_CCBINwas not defined, so this line effectively passed an emptyCXXto make:Changing it to explicitly use GCC 14 fixed the problem for me:
After this change,
nccl-cuda12.9builds correctly.fxyqmngelonzwoxp commented on 2026-05-14 05:55 (UTC)
When I try to use P2P via NCCL on Maxwell cards I get a failure. Running NCCL with trace logs I believe these lines are related.
NCCL INFO misc/utils.cc:297 memory stack hunk malloc(65536) init.cc:557 NCCL WARN Cuda failure 'operation not supported'
Line 557 in init.cc is this CUDACHECK(cudaMemPoolCreate(&comm->memPool, &props));
I tried to look into this and found this comment https://github.com/pytorch/pytorch/issues/157517#issuecomment-3716213481 Basically even if nvidia supports maxwell cards in cuda 12.9 they seem to have dropped support for them in nccl and cudnn earlier.
I can't find out what version NCCL dropped support for maxwell or if it even if they officially list supported gpus for each nccl version rather than just throw unsupported errors for functions on old hardware.
wyf9661 commented on 2026-05-11 00:47 (UTC)
build failed
cyberpunkrocker commented on 2025-12-21 15:39 (UTC)
Fails to build in a clean chroot:
Supplying cuda-12.9-12.9.1-1, nvidia-580xx-utils-580.119.02-2 and opencl-nvidia-580xx-580.119.02-2 separately to the chroot.