Skip to content

Commit 9303cb6

Browse files
authored
Update README.md
1 parent a1ac47d commit 9303cb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ To execute code with MPI calls on all workers, use `@mpi_do`.
5858
For example:
5959
```
6060
@mpi_do manager begin
61+
using MPI
6162
comm=MPI.COMM_WORLD
62-
println("Hello world, I am $(MPI.Comm_rank(comm)) of $(MPI.Comm_size(comm))"))
63+
println("Hello world, I am $(MPI.Comm_rank(comm)) of $(MPI.Comm_size(comm))")
6364
end
6465
```
6566
executes on all MPI workers belonging to `manager` only

0 commit comments

Comments
 (0)