Skip to content

penguin138/parallel_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parallel_project

Conway's Game of Life project for Parallel and Distributed Computing course at MIPT 2015.

Versions

  • single threaded (it was created for tests)
  • using pthreads
  • using MPI point to point operations
  • using MPI collective operations
  • using OpenMP

Usage

Compiling:

  • make life creates interactive version of Game of Life called life
  • make test creates benchmark version called test

When using interactive version you can execute the following commands:

  • start width height number_of_threads - game set up
  • start field_layout.csv number_of_threads - game set up
  • run number_of_iterations - launches the game
  • stop - stops the game
  • status - shows field
  • quit - waits for workers to finish and quits

Benchmark usage depends on version:

  • 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

About

Conway's Game of Life project for Parallel and Distributed Computing course at MIPT 2015

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published