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

Question about building dynamic library libnccl-net.so file #96

Open
ngoyal2707 opened this issue Nov 2, 2022 · 1 comment
Open

Question about building dynamic library libnccl-net.so file #96

ngoyal2707 opened this issue Nov 2, 2022 · 1 comment

Comments

@ngoyal2707
Copy link

I am following the build instructions as it is, but I only get libnccl-net.la file in my src/ folder and not libnccl-net.so.

I tried --enable-shared also but doesn't seem to work. I have sharp and cuda installed and giving both the paths with --with-cuda and --with-sharp,

any suggestions?

@yinwaii
Copy link

yinwaii commented Jun 24, 2024

It seems that you should use --libdir=(DIR) in the ./configure phase.
For example:

./autogen.sh
./configure --libdir=$(pwd)/build --with-sharp=no --with-cuda=/usr/local/cuda
make
make install

Then you can find libnccl-net.so in ./build directory.

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