Skip to content

Commit 2007d34

Browse files
committed
Update docs to reflect change that configure script will automatically check for libcuda.so
1 parent aa2e117 commit 2007d34

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/tuning-apps/networking/cuda.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,16 @@ Open MPI offers two flavors of CUDA support:
4141
shell$ ./configure --prefix=/path/to/ucx-cuda-install --with-cuda=/usr/local/cuda --with-gdrcopy=/usr
4242
4343
# Configure Open MPI this way
44-
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>
44+
shell$ ./configure --with-cuda=/usr/local/cuda --with-ucx=/path/to/ucx-cuda-install <other configure params>
4545
4646
#. Via internal Open MPI CUDA support
4747

4848
Regardless of which flavor of CUDA support (or both) you plan to use,
4949
Open MPI should be configured using the ``--with-cuda=<path-to-cuda>``
50-
and ``--with-cuda-libdir=<path-to-libcuda.so>`` configure options to
51-
build CUDA support into Open MPI.
50+
configure option to build CUDA support into Open MPI. The configure
51+
script will automatically search the path given for libcuda.so. If it cannot
52+
be found, please also pass ``--with-cuda-libdir``. For example:
53+
``--with-cuda=<path-to-cuda> --with-cuda-libdir=/usr/local/cuda/lib64/stubs``.
5254

5355
Open MPI supports building with CUDA libraries and running on systems
5456
without CUDA libraries or hardware. In order to take advantage of
@@ -65,7 +67,7 @@ An example configure command would look like the following:
6567
.. code-block:: sh
6668
6769
# Configure Open MPI this way
68-
shell$ ./configure --with-cuda=/usr/local/cuda --with-cuda-libdir=/usr/local/cuda/lib64/stubs \
70+
shell$ ./configure --with-cuda=/usr/local/cuda \
6971
--enable-mca-dso=btl-smcuda,rcache-rgpusm,rcache-gpusm,accelerator-cuda <other configure params>
7072
7173
/////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)