GithubHelp home page GithubHelp logo

hpc_final_project's Introduction

Final project FHPC 2022/2023

All the material related to this project can be found at https://github.com/Foundations-of-HPC/Foundations_of_HPC_2022/tree/main/Assignment).

What you will find in this repository

  • Report.pdf: This document provides a comprehensive description of the steps taken to fulfill the assignment.
  • exercise1/: This directory houses all files associated with the first exercise.
  • exercise2/: This directory comprises all files pertinent to the second exercise.

For details on the contents of exercise1/ and exercise2/ directories, as well as instructions on how to replicate the results, please refer to the respective README.md files within each directory.

Assignment Description

Exercise 1

For this exercise, I needed to make a parallel version of Conway's Game of Life and test how well it works when I change the conditions. The assignment asked for a hybrid MPI/OpenMP approach, which means I used both shared and distributed memory in the same code.

What I did was, I made an MPI version of the Game of Life where the work was shared equally between the processes. Each MPI process then created multiple OpenMP threads to get its work done faster. To see how well this scaled, I compiled and ran the program on ORFEO, which is a computer cluster at Area Science Park in Trieste.

You can get more details about this task from this document in the main course repository.

Exercise 2

The second exercise tasked me with benchmarking the performance of three HPC mathematical libraries: MKL, openBLAS, and BLIS. For the latter, I had to download and compile it myself in my dedicated workspace on ORFEO.

Specifically, the task was to compare how well the gemm function from level 3 BLAS performs on matrix-matrix multiplications. The comparisons were done under different conditions: as the size of the matrix increases (while keeping the number of CPUs constant), and as the number of CPUs increases (while keeping the matrix size constant). These tests were carried out on both EPYC and THIN nodes of ORFEO. They were also done for single and double precision floating point numbers, and under different thread allocation policies (I chose to use close cores and spread cores).

More information about this exercise can be found in this document in the main course repository.

hpc_final_project's People

Contributors

eno-sim avatar

Watchers

 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.