Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCCL not found when build NV caffe #42

Closed
m5061125 opened this issue Aug 19, 2016 · 2 comments
Closed

NCCL not found when build NV caffe #42

m5061125 opened this issue Aug 19, 2016 · 2 comments

Comments

@m5061125
Copy link

Hi, I am new guy to Digits and Linux, So pls forgive me if the issue is too naive.
I biuld the NV caffe using the source code, my system have 4 K40c Tesla cards.
I build the nccl lib according the guidline in this page, but when I "cmake .." the caffe,
the system tell me that NCCL not found. I think it is some problem with enveirment
paras setup. So would pls tell me how to fix it, thanks.

@lukeyeager
Copy link
Member

Try using these CMake flags when configuring your Caffe build:

-DUSE_NCCL=ON -DNCCL_ROOT_DIR=/path/to/nccl

That's assuming you're following these build instructions:
https://github.com/NVIDIA/DIGITS/blob/digits-4.0/docs/BuildCaffe.md#build

@m5061125
Copy link
Author

Thanks Luk, the NCCL is found during the cmake process, but when build the caffe with make commond, it tell me the nccl.h file can't find when build nccl.hpp. I have to manually include the full path of the nccl.h.
So do you have other more efficient method to assigne the include path, thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants