File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
docs/tuning-apps/accelerators Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ information to Open MPI at application launch:
3838
3939.. code :: sh
4040
41- # Specify that the application will use system, mpi , and CUDA device memory
42- mpiexec --memory-allocation-kinds system,mpi,cuda:device -n 64 ./< my_executable>
41+ # Specify that the application will use system, MPI , and CUDA device memory
42+ shell$ mpiexec --memory-allocation-kinds system,mpi,cuda:device -n 64 ./< my_executable>
4343
4444 Asserting usage of memory kind when creating a Communicator
4545===========================================================
4646
4747The following code-snipplet demonstrates how to assert that a
4848communicator will only be used for ROCm device buffers:
4949
50- .. code :: sh
50+ .. code :: c
5151
5252 MPI_Info info_assert;
5353 MPI_Info_create (&info_assert);
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Compiling Open MPI with ROCm support requires setting the
2727
2828 # Configure Open MPI with ROCm support
2929 shell$ cd ompi
30- shell$ ./configure --with-rocm=/opt/rocm \
30+ shell$ ./configure --with-rocm=/opt/rocm \
3131 < other configure params>
3232
3333
@@ -82,8 +82,8 @@ in a single node scenario:
8282
8383.. code-block :: sh
8484
85- # Enable the smsc/accelerator component
86- mpirun --mca smsc_accelerator_priority 80 -n 64 ./< my_executable>
85+ # Enable the smsc/accelerator component
86+ shell$ mpirun --mca smsc_accelerator_priority 80 -n 64 ./< my_executable>
8787
8888 * Alternatively, the user can replace the default shared memory
8989 component ``btl/sm `` with the ``btl/smcuda `` component, which has
@@ -96,8 +96,8 @@ in a single node scenario:
9696
9797.. code-block :: sh
9898
99- # Use btl/smcuda instead of btl/sm for communication
100- mpirun --mca btl smcuda,tcp,self -n 64 ./< my_executable>
99+ # Use btl/smcuda instead of btl/sm for communication
100+ shell$ mpirun --mca btl smcuda,tcp,self -n 64 ./< my_executable>
101101
102102 /////////////////////////////////////////////////////////////////////////
103103
You can’t perform that action at this time.
0 commit comments