6
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
MPI_Scatter(matrix, SIZE, MPI_DOUBLE, row, SIZE, MPI_DOUBLE,
0, MPI_COMM_WORLD);
1
8
9
MPI_Scatter(row, 1, MPI_DOUBLE,
&column|2 1, MPI_DOUBLE, 2 MPI_COMM_WORLD);
MPI_Scatter(row, 1, MPI_DOUBLE,
&column| 1], 1, MPI_DOUBLE, 1 MPI_COMM_WORLD);
1 |
4 |
7 |
2 |
5 |
8 |
3 |
6 |
9 |
MPI_Scatter(row, 1, MPI_DOUBLE,
&column[0], 1, MPI_DOUBLE, O, MPI_COMM_WORLD);
ł