Game of Life in Parallel
life2Template.c
This version writes the output each generation to a data file
lifereader.c
This file reads the data file generated by #1, life2Template.c
lifeoutput.txt
This is the first part of the data file generated by a working version of #1.
The numbers at the beginning of the file are:
NumberOfRows NumberOfCols
NumberOfGenerations
I started by using 3 processors, so that a 12 X 12 matrix
is divided into 3 matrices, each 4 rows X 12 cols.
I chose Life patterns that would oscillate and stay in each of the sections
The next step is to make each section communicate with each other
so that the Life patterns can move and travel among the sections