Basic HTML version of Foils prepared August 29 98

Foil 39 Regular Grid Example: Conclusion

From Designing and Building Parallel Programs 3: MPI Message Passing System DoD Modernization Tutorial -- 1995-1998. by Ian Foster, Gina Goff, Ehtesham Hayder, Chuck Koelbel


Getting neighbors
Sending data
  • Can use any MPI send and receive routine
  • Neighbors at boundary have rank MPI_PROCNULL
  • Send/receive to MPI_PROCNULL has no effect
  • No explicit support for managing "ghost points"
MPI_CART_SHIFT( comm2d, 0, 1, &nbrleft, &nbrright );
MPI_CART_SHIFT( comm2d, 1, 1, &nbrbottom, &nbrtop );



© 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 Sun Apr 11 1999