/GameOfLife

Conway's Game of Life on a rectangular 2D grid with OpenMP parallelization.

Primary LanguageC++MIT LicenseMIT

Game of Life

C++ implementation of Conway's Game of Life with OpenMP parallelization.

Status

Actions Status Open Issues Closed Issues

Requirements

Building from source

Generate makefiles and build using CMake by running the build bash script:

./build.sh

Usage

To run a simulation:

/path/to/GameOfLife config_file.cfg

Examples:

(Acorn)

(Pulsar)

Configuration files for both these examples are in the examples/ directory.

Testing

To run integration tests run

ctest

in the build directory.

To view test output, run ctest in extra verbose mode:

ctest -VV

OpenMP scaling benchmarks

Run

benchmark.sh

in the folder benchmarks/

Sample strong scaling benchmark: