Skip to content

About

Parallel computing implementations in C using MPI, OpenMP, and hybrid MPI+OpenMP approaches.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

HPC Parallel Computing

A collection of High-Performance Computing implementations using MPI and OpenMP, covering distributed memory, shared memory, and hybrid parallelism.

C MPI OpenMP License

📚 Contents

Assignment Topic Tech
Assignment 1 MPI point-to-point basics (max finder, Caesar cipher) MPI
Assignment 2 Collective ops & applications (primes, matrix sum) MPI
Assignment 3 Hybrid parallelism (vector-matrix mul, std deviation, array sum) MPI + OpenMP

⚙️ Requirements

  • C compiler (gcc ≥ 9)
  • MPI implementation (openmpi or mpich)
  • OpenMP (bundled with GCC)

Ubuntu / Debian

sudo apt update
sudo apt install build-essential openmpi-bin libopenmpi-dev

Fedora / RHEL

sudo dnf install gcc openmpi openmpi-devel

macOS

brew install open-mpi gcc

🚀 Quick Start

git clone https://github.com/philokaram/hpc-parallel-computing.git
cd hpc-parallel-computing

🧪 Example

cd assignment2-mpi-apps
mpicc -O2 -o primes src/counting_primes_bcast.c -lm
mpirun -np 4 ./primes

About

Parallel computing implementations in C using MPI, OpenMP, and hybrid MPI+OpenMP approaches.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages