Code Monkey home page Code Monkey logo

parallel-game-of-life's Introduction

parallel-game-of-life

Parallel Game of Life explores parallel programming techniques using OpenMP and MPI to optimize the simulation of the classic Game of Life across shared and distributed memory systems.

Authors

@IST
Master in Computer Science and Computer Engineering
Parallel and Distributed Computing - Group 03
Summer Semester of 2023/2024

About the Project ℹ️

The project focuses on gaining experience in parallel programming on shared and distributed memory systems, utilizing OpenMP and MPI, respectively. The task involves implementing sequential and parallel versions of the 3D Game of Life.

Repository Structure 📂

  • serial/: Contains the source code files for the serial implementation, along with a Makefile for compilation. Additional source files are included.

  • omp/: Contains the source code files for the OpenMP implementation, along with a Makefile for compilation. Similar to the serial directory, additional source files and a report are included.

  • mpi/: Contains the source code files for the MPI implementation, along with a Makefile for compilation. Additional source files and a report are included as in the other directories.

Instructions 📝

To compile and run the code, enter in the respective directory of the version you want to run.

To compile the code, use the provided Makefile. Ensure you have the necessary dependencies installed.

To run the code:

  • For the serial implementation: ./life3d <parameters>
  • For the OpenMP implementation: ./life3d <parameters>
  • For the MPI implementation: mpirun -np <num_processes> ./life3d <parameters>

Replace <parameters> with the required input parameters.

parallel-game-of-life's People

Contributors

andre-j3sus avatar devandrepascoa avatar nyckoka avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.