Next: The Assignment
Up: MPI Graphics and Process
Previous: Program life_g.c
- Rewrite program
life_g to make use of MPI functions
discussed in section 5.2.5 that talked about the diffusion program.
- Rewrite program (1) so that the whole matrix is
laid out onto a 2-dimensional grid of processes.
- Rewrite program (2) to dump the whole matrix onto
an MPI file at the end of its execution.
- Rewrite program (3) to read the initial data from an MPI file
if such a request is made on the command line. Otherwise the program
should initialize the matrix as before.