Skip to content

Commit b8d0b6b

Browse files
committed
Merge pull request #63 from enthought/remove-mpi-refs
Remove MPI references from the Protocol.
2 parents cf3cf49 + f1cd6a4 commit b8d0b6b

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

protocol.rst

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ Definitions
6868
-----------
6969

7070
process
71-
A "process" is the basic unit of execution and is as defined in MPI
72-
[#mpi]_. It is also analogous to an IPython.parallel [#ipythonparallel]_
73-
engine. Each process has an address space, has one or more namespaces that
74-
contain objects, and is able to communicate with other processes to send
75-
and receive data.
71+
A "process" is the basic unit of execution and is equivalent to a
72+
conventional OS process. Each process has an address space, has one or
73+
more namespaces that contain objects, and is able to communicate with other
74+
processes to send and receive data. Note that the protocol does not
75+
require any inter-process communication and makes no assumptions regarding
76+
communication libraries.
7677

7778
distributed array
7879
A single logical array of arbitrary dimensionality that is divided among
@@ -199,8 +200,14 @@ dictionary, with the associated value:
199200
information allows the consumer to determine where the neighbor sections of
200201
an array are located.
201202

202-
The MPI standard guarantees that Cartesian process coordinates are always
203-
assigned to ranks in the same way [#mpivirtualtopologies]_.
203+
The mapping of process rank to process grid coordinates is assumed to be row
204+
major. For an ``N`` by ``M`` process grid over ``N * M`` processes with
205+
ranks ``0, 1, ..., (N*M)-1``, process grid coordinate ``(i,j)`` corresponds
206+
to the process with rank ``i*M + j``. This generalizes in the conventional
207+
row-major way.
208+
209+
(The MPI standard guarantees that Cartesian process coordinates are always
210+
assigned to ranks in the same way [#mpivirtualtopologies]_.)
204211

205212
Optional key-value pairs
206213
````````````````````````

0 commit comments

Comments
 (0)