Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some clarification/context to MPI code #13

Open
ocaisa opened this issue Mar 25, 2021 · 1 comment
Open

Add some clarification/context to MPI code #13

ocaisa opened this issue Mar 25, 2021 · 1 comment

Comments

@ocaisa
Copy link
Member

ocaisa commented Mar 25, 2021

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.

@ocaisa
Copy link
Member Author

ocaisa commented Mar 25, 2021

The example in general has massive overlap with https://carpentries-incubator.github.io/hpc-intro/16-parallel/index.html so we also need to figure out how to maintain the two without double the effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant