@@ -262,7 +262,7 @@ To map processes:
262
262
263
263
* ``--bynode ``: Launch processes one per node, cycling by node in a
264
264
round-robin fashion. This spreads processes evenly among nodes and
265
- assigns MPI_COMM_WORLD ranks in a round-robin, "by node" manner.
265
+ assigns `` MPI_COMM_WORLD `` ranks in a round-robin, "by node" manner.
266
266
(deprecated in favor of ``--map-by node ``)
267
267
268
268
* ``--cpu-list <cpus> ``: Comma-delimited list of processor IDs to
@@ -272,7 +272,7 @@ To map processes:
272
272
.. note :: You can run Run the hwloc ``lstopo(1)`` command to see a
273
273
list of available cores and their logical IDs.
274
274
275
- To order processes' ranks in MPI_COMM_WORLD:
275
+ To order processes' ranks in `` MPI_COMM_WORLD `` :
276
276
277
277
* ``--rank-by <mode> ``: Rank in round-robin fashion according to the
278
278
specified mode, defaults to slot. Supported options include
@@ -311,15 +311,15 @@ To manage standard I/O:
311
311
specified filename. Any directories in the filename will
312
312
automatically be created. Each output file will consist of
313
313
``filename.id ``, where the ``id `` will be the processes' rank in
314
- MPI_COMM_WORLD, left-filled with zero's for correct ordering in
314
+ `` MPI_COMM_WORLD `` , left-filled with zero's for correct ordering in
315
315
listings. A relative path value will be converted to an absolute
316
316
path based on the cwd where mpirun is executed. Note that this will
317
317
not work on environments where the file system on compute nodes
318
318
differs from that where :ref: `mpirun(1) <man1-mpirun >` is
319
319
executed.
320
320
321
- * ``--stdin <rank> ``: The MPI_COMM_WORLD rank of the process that is
322
- to receive stdin. The default is to forward stdin to MPI_COMM_WORLD
321
+ * ``--stdin <rank> ``: The `` MPI_COMM_WORLD `` rank of the process that is
322
+ to receive stdin. The default is to forward stdin to `` MPI_COMM_WORLD ``
323
323
rank 0, but this option can be used to forward stdin to any
324
324
process. It is also acceptable to specify none, indicating that no
325
325
processes are to receive stdin.
@@ -329,7 +329,7 @@ To manage standard I/O:
329
329
330
330
* ``--tag-output ``: Tag each line of output to stdout, stderr, and
331
331
stddiag with ``[jobid, MCW_rank]<stdxxx> `` indicating the process
332
- jobid and MPI_COMM_WORLD rank of the process that generated the
332
+ jobid and `` MPI_COMM_WORLD `` rank of the process that generated the
333
333
output, and the channel which generated it.
334
334
335
335
* ``--timestamp-output ``: Timestamp each line of output to stdout,
@@ -342,7 +342,7 @@ To manage standard I/O:
342
342
specified file.
343
343
344
344
* ``--xterm <ranks> ``: Display the output from the processes
345
- identified by their MPI_COMM_WORLD ranks in separate xterm
345
+ identified by their `` MPI_COMM_WORLD `` ranks in separate xterm
346
346
windows. The ranks are specified as a comma-separated list of
347
347
ranges, with a ``-1 `` indicating all. A separate window will be created
348
348
for each specified process.
@@ -716,7 +716,7 @@ options that describe mapping policies.
716
716
717
717
Consider the same hostfile as above, again with ``-n 6 ``. The table
718
718
below lists a few ``mpirun `` variations, and shows which
719
- MPI_COMM_WORLD ranks end up on which node:
719
+ `` MPI_COMM_WORLD `` ranks end up on which node:
720
720
721
721
.. list-table ::
722
722
:header-rows: 1
@@ -832,7 +832,7 @@ Open MPI employs a three-phase procedure for assigning process locations
832
832
and ranks:
833
833
834
834
#. **Mapping **: Assigns a default location to each process
835
- #. **Ranking **: Assigns an MPI_COMM_WORLD rank value to each process
835
+ #. **Ranking **: Assigns an `` MPI_COMM_WORLD `` rank value to each process
836
836
#. **Binding **: Constrains each process to run on specific processors
837
837
838
838
The mapping step is used to assign a default location to each process
@@ -864,7 +864,7 @@ gives you detailed control over process binding as well. Rankfiles
864
864
are discussed :ref: `below <man1-mpirun-rankfiles >`.
865
865
866
866
The second phase focuses on the ranking of the process within the
867
- job's MPI_COMM_WORLD. Open MPI separates this from the mapping
867
+ job's `` MPI_COMM_WORLD `` . Open MPI separates this from the mapping
868
868
procedure to allow more flexibility in the relative placement of MPI
869
869
processes. This is best illustrated by considering the following
870
870
cases where we used the ``--np 8 --map-by ppr:2:package --host aa:4,bb:4 `` option:
@@ -1168,7 +1168,7 @@ Rankfiles are text files that specify detailed information about how
1168
1168
individual processes should be mapped to nodes, and to which
1169
1169
processor(s) they should be bound. Each line of a rankfile specifies
1170
1170
the location of one process (for MPI jobs, the process' "rank" refers
1171
- to its rank in MPI_COMM_WORLD). The general form of each line in the
1171
+ to its rank in `` MPI_COMM_WORLD `` ). The general form of each line in the
1172
1172
rankfile is:
1173
1173
1174
1174
.. code ::
@@ -1301,11 +1301,11 @@ Standard I/O
1301
1301
retained, or removed?
1302
1302
1303
1303
Open MPI directs UNIX standard input to ``/dev/null `` on all processes
1304
- except the MPI_COMM_WORLD rank 0 process. The MPI_COMM_WORLD rank 0
1304
+ except the `` MPI_COMM_WORLD `` rank 0 process. The `` MPI_COMM_WORLD `` rank 0
1305
1305
process inherits standard input from ``mpirun ``.
1306
1306
1307
1307
.. note :: The node that invoked ``mpirun`` need not be the same as the
1308
- node where the MPI_COMM_WORLD rank 0 process resides. Open
1308
+ node where the `` MPI_COMM_WORLD `` rank 0 process resides. Open
1309
1309
MPI handles the redirection of ``mpirun ``'s standard input
1310
1310
to the rank 0 process.
1311
1311
@@ -1322,7 +1322,7 @@ example:
1322
1322
1323
1323
shell$ mpirun -n 2 my_app < my_input > my_output
1324
1324
1325
- Note that in this example only the MPI_COMM_WORLD rank 0 process will
1325
+ Note that in this example only the `` MPI_COMM_WORLD `` rank 0 process will
1326
1326
receive the stream from ``my_input `` on stdin. The stdin on all the other
1327
1327
nodes will be tied to ``/dev/null ``. However, the stdout from all nodes
1328
1328
will be collected into the ``my_output `` file.
@@ -1645,15 +1645,15 @@ that job are designated "secondary" jobs):
1645
1645
1646
1646
* If one or more processes in the primary job normally terminate with
1647
1647
non-zero exit status, ``mpirun `` returns the exit status of the
1648
- process with the lowest MPI_COMM_WORLD rank to have a non-zero
1648
+ process with the lowest `` MPI_COMM_WORLD `` rank to have a non-zero
1649
1649
status.
1650
1650
1651
1651
* If all processes in the primary job normally terminate with exit
1652
1652
status 0, and one or more processes in a secondary job normally
1653
1653
terminate with non-zero exit status, ``mpirun ``:
1654
1654
1655
1655
#. Returns the exit status of the process with the lowest
1656
- MPI_COMM_WORLD rank in the lowest jobid to have a non-zero
1656
+ `` MPI_COMM_WORLD `` rank in the lowest jobid to have a non-zero
1657
1657
status, and
1658
1658
#. Outputs a message summarizing the exit status of the primary and
1659
1659
all secondary jobs.
@@ -1707,7 +1707,7 @@ processes exited before calling :ref:`MPI_FINALIZE(3) <mpi_finalize>`.
1707
1707
If an internal error occurred in mpirun, the corresponding error code
1708
1708
is returned. In the event that one or more processes exit before
1709
1709
calling :ref: `MPI_FINALIZE(3) <mpi_finalize >`, the return value of
1710
- the MPI_COMM_WORLD rank of the process that mpirun first notices died
1710
+ the `` MPI_COMM_WORLD `` rank of the process that mpirun first notices died
1711
1711
before calling :ref: `MPI_FINALIZE(3) <mpi_finalize >` will be
1712
1712
returned. Note that, in general, this will be the first process that
1713
1713
died but is not guaranteed to be so.
0 commit comments