Skip to content

Add some clarification/context to MPI code #13

Open
@ocaisa

Description

@ocaisa

We had a workshop yesterday and there were some questions about why things are done in a particular way for the MPI example

  • Why the use of comm.Barrier()
  • Why do count_item = comm.scatter(counts, root=0) when you know there is no useful information to scatter?

These kinds of lines in the example are done quite deliberately and point to some of the intricacies of MPI, we should probably make more effort to explain why we need to use them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions