Next: Program listing
Up: AE 597: HW #3
Previous: AE 597: HW #3
Figure 1:
(block,block) distribution of
array
among 16 processors.
elements being communicated
using CSHIFT(A,1,1).
 |
- 1.
- As can be easily seen by the figure above, the (block,block) distribution
leads to uniform distribution of the array elements among the 16
processors. The elements communicated by using the CSHIFT(A,1,1) in
this case is
.
Figure 2:
(
,block) distribution of
array
among 16 processors.
No communication required using CSHIFT(A,1,1).
 |
- 2.
- For the (
,block) distribution, the elements communicated by using
CSHIFT(A,1,1) is as there is no inter-processor communication
needed due to the row-wise (or dimension 1) distribution of the
array.
Figure 3:
(block,
) distribution of
array
among 16 processors.
elements being communicated using CSHIFT(A,1,1).
 |
- 3.
- For the (block,
) distribution, the elements communicated by using
CSHIFT(A,1,1) is
which is 4 times as in the
previous case.
Anirudh Modi
3/20/1998