Southampton-RSG-Training / dirac-intro-to-mpi

WIP: training material for DiRAC MPI course
https://southampton-rsg-training.github.io/dirac-intro-to-mpi/
Other
0 stars 0 forks source link

Fixes #10 - incorporated example of splitting work up #21

Closed steve-crouch closed 11 months ago

steve-crouch commented 11 months ago

This addresses a point (see issue #10) of Ed's review, including an example of calculating prime numbers to split work up using MPI.

Edward-RSE commented 11 months ago

Looks good to me!

I only one comment. I think it's worth saying that the prime problem is easy to split across ranks, because it's an example of an embarrassingly parallel problem (and maybe why it is EP?). And following that, mentioning that not every problem can be broken up like this with reference to, e.g., general problems vs EP problems (reference first episode) and other patterns (e.g. communication patterns episode).

What do you think?

Edward-RSE commented 11 months ago

I'm going to merge this PR and put my previous comments into the review issue, in case Peter (or someone else) does a review of the current material.