NCCL Testing NVLINK NVIDIA Collectives Library

From Define Wiki
Jump to navigation Jump to search

Install NCCL

git clone https://github.com/NVIDIA/nccl.git
cd nccl
make -j 64
make install

Install NCCL Tests

git clone https://github.com/NVIDIA/nccl-tests.git
cd nccl-tests
export PATH=$PATH:/usr/lib64/openmpi/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64/:/usr/local/lib/
make 
mpirun --allow-run-as-root -np 2 ./build/alltoallperf