Next:
Redistribution of block-cyclic data
Up:
MPI: from Fundamentals to
Previous:
Unpacking integers and reals
Example applications
Redistribution of block-cyclic data
The problem
Example of redistribution
Skeleton code for redistribution
Creating the general datatype
Code for creating the general datatype
Code for communicating the data
Packing the data
Unpacking the data
Detailed communication code
Communication using send/receive
General redistributions
Use of caching in redistribution
Skeleton code for caching
Code for caching operations
Code for creating the general datatype
Notes on caching
Particle migration
The problem
Creating a 3D topology
Skeleton code for migration
Creating the particle datatype
Creating the send and receive datatypes
Communicating the data
Scattering particles
The problem
Creating the datatype
Skeleton code for scattering
David W Walker
Mon Jan 20 11:10:22 GMT 1997