.


:




:

































 

 

 

 





ParallelResultCalculation, .

, 3, GridSize , :

( ABlockCommunication),

( SerialResultCalculation),

( BlockCommunication).

, iter , . Pivot :

Pivot = (i+iter) mod GridSize,

i , ( , , , GridCoords), mod . , , GridCoords Pivot. , , . MPI_Bcast RowComm. : pMatrixAblock , , pAblock , . pMatrixAblock pAblock, pAblock .

. . MPI_Send MPI_Receive. , , , , , , , , .

pBblock MPI_Sendrecv_replace. . , , ( GridSize-1).

, A , pAblock pBblock, pCblock. pAblock pBblock BlockSize × BlockSize, SerialResultCalculation.

, , . , . , , .

MPI_Gather MPI. . , , MPI_Scatter.

C ResultCollection.





:


: 2016-07-29; !; : 683 |


:

:

, .
==> ...

1570 - | 1353 -


© 2015-2024 lektsii.org - -

: 0.011 .