Next: Skeleton code for caching
Up: Redistribution of block-cyclic data
Previous: General redistributions
Redistribution With Caching
- Problem:
-
- In the earlier redistribution example a tag was passed to the
redistribution routine to ensure safe message passing. For
compatibility with MPI's collective communication routines
we need to remove this tag but still guarantee safe message
passing.
-
- In this example we show how to do this by caching a ``hidden''
communicator with the communicator passed into the
redistribution routine.
- For compatibility with MPI collective communication routines
we must also return an error code.
David W Walker
Mon Jan 20 11:10:22 GMT 1997