Basic HTML version of Foils prepared
19 September 98
Foil 74 Jacobi Iteration: MPI Program Design
From
MPI Message Passing Interface Computational Science for Simulations --
Fall Semester 1998
.
by
Geoffrey C. Fox, Nancy McCracken
1
Mapping: Cartesian grid directly supported by MPI virtual topologies
2
For generality, write as the 2-D version
Create a 1?P (or P?1) grid for 1-D version
3
Adjust array bounds, iterate over local array
For convenience, include shadow region to hold communicated values (not iterated over)
4
0 nylocal
5
nxlocal
6
nx by ny points in a
7
npx by npy decomposition
in Table To:
©
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