git clone https://github.com/NVIDIA/nccl.git
cd nccl
make -j$(nproc) install
-
Download from: https://developer.nvidia.com/nccl
-
Extract the NCCL package to your home directory or in
/usr/local
if installed as root for all users:
cd /usr/local
tar xvf nccl-<version>.txz
- When compiling applications, specify the directory path to where you installed NCCL, for example
/usr/local/nccl-<version>/