Question: where is nccl installed ubuntu?
Answer: 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>/ .