-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Compile error: fatal error: nccl.h: No such file or directory #5035
Comments
The same error for me |
Administrators should install NCCL library on the server. |
I change
but there are another mistake:
|
NCCL is installed using third_party |
I see. |
The error shows up again. NCCL install has been removed from the CMake. If I download the source and compile myself, nccl will not be found. The docker version is fine, however. |
I see that in #8540 we install NCCL in the Dockerfile, so the Docker-based build is alright. I understand that we have to install NCCL manually, or via Dockerfile, but no longer via cmake/external/nccl.cmake, because the latter choice only works with open sourced dependencies. So, the correct way to build PaddlePaddle is to use the Docker image. Or, a secondary solution is to manually install it. However, manually installation must make sure that the build environment and the runtime environment have the same version of NCCL. |
Error:
Environmental:
The text was updated successfully, but these errors were encountered: