Skip to content

Commit

Permalink
fix typo in README.md example
Browse files Browse the repository at this point in the history
  • Loading branch information
nolta authored Jan 29, 2019
1 parent db9833b commit 2a7d47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ To execute code with MPI calls on all workers, use `@mpi_do`.
`@mpi_do manager expr` executes `expr` on all processes that are part of `manager`

For example:
`@mpi_do manager (comm=MPI.COMM_WORLD; println("Hello world, I am $(MPI.Comm_rank(comm)) of $(MPI.Comm_size(comm))")`
`@mpi_do manager (comm=MPI.COMM_WORLD; println("Hello world, I am $(MPI.Comm_rank(comm)) of $(MPI.Comm_size(comm))"))`
executes on all mpi workers belonging to `manager` only

`examples/05-juliacman.jl` is a simple example of calling MPI functions on all workers
Expand Down

0 comments on commit 2a7d47a

Please sign in to comment.