The Power Method using MPI on a simulated ring

 

Implement the row-partitioned power method from the lecture on network topologies. To simplify the implementation you can assume the following (although your program should work in the general case with small changes). Let ß be the block size.

 

 

Here are a few things your program must do:
 

Fortran or C is OK.

Hint 1

Hint 2


If you implement the routine using the standard MPI_Send / MPI_Recv you may get problems. Why? One way to avoid the problems is to use MPI_Sendrecv.

 


Back