Skip to content

Commit bd72103

Browse files
authored
Update README.md
Updated README to note that SPMD mode requires Julia 0.6
1 parent e5b4612 commit bd72103

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ a reference to a DArray object on the creating process for as long as it is bein
244244
`darray_closeall()` is another useful function to manage distributed memory. It releases all darrays created from
245245
the calling process, including any temporaries created during computation.
246246

247-
Working with distributed non-array data
248-
---------------------------------------
247+
Working with distributed non-array data (requires Julia 0.6)
248+
------------------------------------------------------------
249249

250250
The function `ddata(;T::Type=Any, init::Function=I->nothing, pids=workers(), data::Vector=[])` can be used
251251
to created a distributed vector whose localparts need not be Arrays.
@@ -264,8 +264,8 @@ returns a `DArray{T,1,Array{T,1}}`, i.e., it is equivalent to calling `distribut
264264
Given a `DArray{T,1,T}` object `d`, `d[:L]` returns the localpart on a worker. `d[i]` returns the `localpart`
265265
on the ith worker that `d` is distributed over.
266266

267-
SPMD Mode (An MPI Style SPMD mode with MPI like primitives)
268-
------------------------------------------------------------
267+
SPMD Mode (An MPI Style SPMD mode with MPI like primitives, requires Julia 0.6)
268+
-------------------------------------------------------------------------------
269269
SPMD, i.e., a Single Program Multiple Data mode is implemented by submodule `DistributedArrays.SPMD`. In this mode the same function is executed in parallel on all participating nodes. This is a typical style of MPI programs where the same program is executed on all processors. A basic subset of MPI-like primitives are currently supported. As a programming model it should be familiar to folks with an MPI background.
270270

271271
The same block of code is executed concurrently on all workers using the `spmd` function.

0 commit comments

Comments
 (0)