Conway's Game of Life project for Parallel and Distributed Computing course at MIPT 2015.
- single threaded (it was created for tests)
- using pthreads
- using MPI point to point operations
- using MPI collective operations
- using OpenMP
make life
creates interactive version of Game of Life called lifemake test
creates benchmark version called test
start width height number_of_threads
- game set upstart field_layout.csv number_of_threads
- game set uprun number_of_iterations
- launches the gamestop
- stops the gamestatus
- shows fieldquit
- waits for workers to finish and quits
-
pthreads and single threaded:
./test width height number_of_threads number_of_iterations
-
both MPI versions:
mpirun -np number_of_threads ./test width height number_of_iterations
Also you can run series of tests by executing ./cluster_test.sh