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

Add --no-as-needed to make sure that cudart library gets linked #18

Merged
merged 1 commit into from
Apr 19, 2016

Conversation

apaszke
Copy link
Contributor

@apaszke apaszke commented Apr 13, 2016

This fixes ngimel/nccl.torch#5. Apparently without this flag libcudart.so wasn't present in the dynamic table of libnccl.so, and wasn't loaded when required in torch.

@apaszke apaszke changed the title Add --no-as-needed to make sure that cudart library gets liked Add --no-as-needed to make sure that cudart library gets linked Apr 13, 2016
@nluehr nluehr merged commit 0d4f8f4 into NVIDIA:master Apr 19, 2016
@onepiece666
Copy link

can you please show me the details. I already added libnccl.so to my LD_LIBRARY_PATH.i do not know how to modify de nccl's makefile

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

Successfully merging this pull request may close these issues.

require 'nccl' doesn't work
3 participants