GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - AFNeves/MultiMat: A performance analysis of matrix multiplication in C++ and Java, comparing sequential and parallel implementations, developed for the Parallel and Distributed Computing course at FEUP.

BranchesTags
Open more actions menu

Latest commit

 

History

38 Commits
38 Commits

Folders and files

NameName
Last commit message
Last commit date
doc
doc
 
 
plots
plots
 
 
src
src
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

MultiMat: Sequential vs Parallel Computation

πŸ“– Description

This project presents a performance analysis of matrix multiplication implemented in C++ and Java, comparing both sequential execution and OpenMP-parallelized versions. The study explores execution time, scalability, and cache performance when handling large-scale computations. It was developed as part of the Parallel and Distributed Computing course at FEUP.

πŸ“˜ Documentation

A detailed report with the complete performance study, methodology, and results is available in:
doc/CPD_Proj1_Report.pdf

βš™οΈ Prerequisites

Before running the programs, ensure the following tools are installed:

  • A C++ compiler with OpenMP support (e.g., g++ or clang++)
  • Java Development Kit (JDK 21 recommended)
  • Bash (to execute the provided helper scripts)

πŸš€ How to Run

⚠️ Note: The programs perform very large matrix multiplications, which may take a significant amount of time to finish. For the C++ implementations, always use the provided scripts to guarantee the correct compilation flags are applied.

Java (Sequential)

Compile and run using the standard Java toolchain:

cd src
javac MatrixProduct.java
java MatrixProduct

C++ (Sequential)

Run the provided script to compile and execute:

cd src
./matrix.sh

C++ (Parallel with OpenMP)

Run the parallel version using the dedicated script:

cd src
./parallel.sh

πŸ‘₯ Authors

  • Afonso Neves ([email protected])
  • Francisco MendonΓ§a ([email protected])

πŸ“Ž License

This project is licensed under the terms of the MIT License.

About

A performance analysis of matrix multiplication in C++ and Java, comparing sequential and parallel implementations, developed for the Parallel and Distributed Computing course at FEUP.

sigarra.up.pt/feup/en/UCURR_GERAL.FICHA_UC_VIEW?pv_ocorrencia_id=541893

Topics

bashcache-optimizationcpphigh-performance-computingjavajupyter-notebookmatplotlibmatrix-multiplicationopenmppapiparallel-computingperformance-analysisscalability

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.