HTML version of Scripted Foils prepared 11 November 1996

Foil 27 Implementation of GLOBALMAX (TEST)

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 151.2
1 In MPI, this is a single call
2 CALL MPI_ALLREDUCE (TEST,TEST,1,MPI_REAL,MPI_MAX,comm)
3 Flag MPI_MAX specifies global maximum
4 The implementation is quite subtle and usually involves a logarithmic tree
5 There is a clever extension to get maximum in all processors in "same" time as that on one processor on hypercube and other architectures

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