1

I am using ubuntu 16.04 I followed the instruction on nvidia website to update nccl, after running:

(base) alireza@Cube1:~$ sudo apt install libnccl2 libnccl-dev
[sudo] password for alireza: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libnccl-dev is already the newest version (2.4.8-1+cuda10.0).
libnccl2 is already the newest version (2.4.8-1+cuda10.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) alireza@Cube1:~$ 

but when i want to check it via using locate nccl| grep "libnccl.so" | tail -n1 | sed -r 's/^.*\.so\.//' I see it still shows 1 instead of 2.4.8 version. Why is it like that?

Albert
  • 13

1 Answers1

1

nccl did update, but the database used by the locate command still reflects the old library file name.

You can update the locate database by running sudo updatedb. See also:

steeldriver
  • 136,215
  • 21
  • 243
  • 336