chon
2008-07-09 11:29:26 UTC
Can anyone solve this problem?
Please show me the answer.
Thank you so much
DO K=1,100
DO J=1,100
DO I=1,100
A(I+1,J+K+1,K+1) = A(I,J,K)
ENDDO
ENDDO
ENDDO
1) Suppose the given program is executed on a SMP.
(assume that an identical program is executed on each processor.)
Write a program for a processor.
In writing the requested program please use MPI for communication.
Hint: HPF
(2) Write an algorithm which map a given array in the given program on
SMP.
Note that this is an open ended problem.
Hint: Data Mapping
Please show me the answer.
Thank you so much
DO K=1,100
DO J=1,100
DO I=1,100
A(I+1,J+K+1,K+1) = A(I,J,K)
ENDDO
ENDDO
ENDDO
1) Suppose the given program is executed on a SMP.
(assume that an identical program is executed on each processor.)
Write a program for a processor.
In writing the requested program please use MPI for communication.
Hint: HPF
(2) Write an algorithm which map a given array in the given program on
SMP.
Note that this is an open ended problem.
Hint: Data Mapping