Ex. 1 master_worker instructions

This commit is contained in:
David Doblas Jiménez 2021-04-12 14:49:43 +02:00
parent 32176938f3
commit 77d9142b6f

13
Exercises/ex_2/ring.txt Normal file
View File

@ -0,0 +1,13 @@
Exercise: Rotating information around a ring
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- A set of processes are arranged in a ring.
- Each process stores its rank in MPI_COMM_WORLD in an integer.
- Each process passes this on to its neighbour on the right.
- Keep passing what is received until the own rank is back where it started.
- Each processor calculates the sum of the values.