Distributed Game of Life with OpenMPI

Game of Life is a simple simulation developed by John Conway. It uses a 2 dimensional array of cells, in each every cell can be either “alive” or “dead”. At each iteration of the process the application logic decides what will be the next status of the cell. This is done basing on the number of adjacent alive cells (including diagonals), and a set of following rules:

  • If a cell has three neighbors that are alive, the cell will be alive. If it was already alive it
    will remain so, and if it was dead it will become alive.
  • If a cell has two neighbors that are alive, there is no change in the state of the cell
  • In all other cases the cell will be dead

Read More