Skip to content

Update docs to reflect change that configure script will automatically check for libcuda.so #12385

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

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

nsarka
Copy link

@nsarka nsarka commented Feb 29, 2024

Follow-up for: #12382

Copy link

Hello! The Git Commit Checker CI bot found a few problems with this PR:

2007d34: Update docs to reflect change that configure scrip...

  • check_signed_off: does not contain a valid Signed-off-by line

Please fix these problems and, if necessary, force-push new commits back up to the PR branch. Thanks!

Copy link
Member

@jsquyres jsquyres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks good -- will you address the other issues from #12382 on this PR, or will you open a new PR for that?

@nsarka nsarka force-pushed the nsarka/update-docs-to-find-libcuda branch 2 times, most recently from 46b4e88 to 92579a9 Compare March 1, 2024 16:17
@nsarka
Copy link
Author

nsarka commented Mar 1, 2024

I will address them in this PR. Once this is merged I can cherry-pick it to v5.0.x.

…y find libcuda.so

Also, redirect the find output to /dev/null to avoid unnecessary output

Signed-off-by: Nick Sarkauskas <[email protected]>
@nsarka nsarka force-pushed the nsarka/update-docs-to-find-libcuda branch from 92579a9 to d57ab5b Compare March 1, 2024 20:49
@@ -41,14 +41,16 @@ Open MPI offers two flavors of CUDA support:
shell$ ./configure --prefix=/path/to/ucx-cuda-install --with-cuda=/usr/local/cuda --with-gdrcopy=/usr

# Configure Open MPI this way
shell$ ./configure --with-cuda=/usr/local/cuda --with-cuda-libdir=/usr/local/cuda/lib64/stubs/ --with-ucx=/path/to/ucx-cuda-install <other configure params>
shell$ ./configure --with-cuda=/usr/local/cuda --with-ucx=/path/to/ucx-cuda-install <other configure params>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this --with-cuda example be something other than /usr/local/cuda (because you'll search that directory by default)?

Copy link
Member

@jsquyres jsquyres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a nit comment about the example (which I don't feel strongly about; I think it might be a little better to not use the default dir in the example, but I won't fight to have that changed 😄), but it's otherwise fine.

@janjust janjust merged commit ee16107 into open-mpi:main Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants