@@ -41,14 +41,16 @@ Open MPI offers two flavors of CUDA support:
41
41
shell$ ./configure --prefix=/path/to/ucx-cuda-install --with-cuda=/usr/local/cuda --with-gdrcopy=/usr
42
42
43
43
# 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>
45
45
46
46
#. Via internal Open MPI CUDA support
47
47
48
48
Regardless of which flavor of CUDA support (or both) you plan to use,
49
49
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 ``.
52
54
53
55
Open MPI supports building with CUDA libraries and running on systems
54
56
without CUDA libraries or hardware. In order to take advantage of
@@ -65,7 +67,7 @@ An example configure command would look like the following:
65
67
.. code-block :: sh
66
68
67
69
# 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 \
69
71
--enable-mca-dso=btl-smcuda,rcache-rgpusm,rcache-gpusm,accelerator-cuda < other configure params>
70
72
71
73
/////////////////////////////////////////////////////////////////////////
0 commit comments