Basic HTML version of Foils prepared 6 December 96

Foil 21 Cartesian Topology in MPI -- Matrix Multiplication

From Full Matrices - December 4, 1995 CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Geoffrey C. Fox, Nancy J. McCracken


1 Actually in our MatMul program, nobody needs to call MPI_CART_COORDS
2 since they each know their i,j position, but each processor should
3 call MPI_CART_RANK to get a (possibly new) myrank.
4 One can also define subgroups that form lower-dimensional cartesian subgrids. In our case, we want to define the concept of "rows", so that we can shift along rows.

in Table To:


© on Tue Oct 7 1997