Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freetonik/mpi-life
Game of Life on MPI
https://github.com/freetonik/mpi-life
Last synced: 2 months ago
JSON representation
Game of Life on MPI
- Host: GitHub
- URL: https://github.com/freetonik/mpi-life
- Owner: freetonik
- Created: 2014-01-01T14:54:58.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-08-05T23:38:51.000Z (over 5 years ago)
- Last Synced: 2024-04-14T16:01:36.767Z (10 months ago)
- Language: C++
- Size: 109 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MPI-life
========Game of Life on MPI
## Compiling
$> mpic++ life.cpp -o life
## Running
(restriction: size of the input grid should be dividable by the number of processors)
example for give input (N=100)&> mpirun -np 10 --hostfile hosts ./life input.txt
If program terminated with no errors, the output is written into output.txt file.
## Output
Output for a given input.txt is in Run1.txt file.
Output for 10 generations, printing to file every generation and the same grid as the first is in Run2.txt