Skip to content

Krebrov001/MPI-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

MPI-Project

This was a pair programming project that I worked on with my friend Ethan Robinson in our senior year of University. This project was an exercise of using MPI in multiple programming languages. This project consisted of two parts, two separate individual assignments: Matrix Multiplication and Game of Life. Each student in the pair had to choose which assignment they want to work on for this project. I chose Game of Life, and Ethan chose Matrix Multiplication. These two parts of the project were each worked on individually, only they were supposed to be submitted together. Other than making sure that we both completed our individual part by the due date, there was really no cooperation between us because of the nature of this project.

The requirements of each individual assignment was to write the algorithm using the MPI library in three different programming languages of our choice. I wrote the Game of Life program in C, Python, and Rust. For extra credit, I wrote the algorithm twice, to divide the Game of Life matrix into chunks in terms of rows, and in terms of columns. The algorithm simulates each generation of the Game of Life in the matrix. At the start of each generation it scatters the chunks across different compute nodes, then each node computes the next step in the algorithm, finally all the chunks are gathered into rank 0 to produce the next generation of the Game of Life.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published