3

Following Installing NCCL I install NCCL:

sudo apt install libnccl2=2.4.2-1+cuda10.0 libnccl-dev=2.4.2-1+cuda10.0

But I can't find nccl.h.

After I install NCCL, where is nccl.h?

empty
  • 371
  • 1
  • 4
  • 14
  • 3
    Related: [How do I get a list of installed files from a package?](https://askubuntu.com/questions/32507/how-do-i-get-a-list-of-installed-files-from-a-package) – steeldriver Apr 17 '19 at 18:44
  • "But I can't find nccl.h" but you forgot how you search for it. – Rinzwind Apr 17 '19 at 18:45
  • locate nccl.h doesn't find it. find . -name 'nccl.h' will take way too long starting from the root, especially taking into account the /mnt directories. – empty Apr 17 '19 at 18:54
  • You can add `-xdev` to prevent `find` from descending into other mounted filesystems. You can likely also root the search at `/usr/include` instead of `/`. – steeldriver Apr 17 '19 at 19:28
  • @empty locate is not updated immediately. you need to rebuild the database if you want newly added files from that. – Rinzwind Apr 17 '19 at 20:27

1 Answers1

5

This worked:

sudo dpkg-query -L libnccl-dev
empty
  • 371
  • 1
  • 4
  • 14