HTML version of Scripted Foils prepared 11 November 1996

Foil 11 Examples of Collective Communication/Computation

From CPS615-Completion of MPI foilset and Application to Jacobi Iteration in 2D Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 7 November 96. by Geoffrey C. Fox *
Secs 168.4
1 Four Processors where each has a send buffer of size 2
2 0 1 2 3 Processors
3 (2,4) (5,7) (0,3) (6,2) Initial Send Buffers
4 MPI_BCAST with root=2
5 (0,3) (0,3) (0,3) (0,3) Resultant Buffers
6 MPI_REDUCE with action MPI_MIN and root=0
7 (0,2) (_,_) (_,_) (_,_) Resultant Buffers
8 MPI_ALLREDUCE with action MPI_MIN and root=0
9 (0,2) (0,2) (0,2) (0,2) Resultant Buffers
10 MPI_REDUCE with action MPI_SUM and root=1
11 (_,_) (13,16) (_,_) (_,_) Resultant Buffers

Table Font Size


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Aug 15 1997