/MPI-examples

Examples of some algorithms implemented in C using MPI

Primary LanguageC

MPI examples in C

All the examples contain small reports (readme files) containing the results on several tests. Some of the are speedup, weak and strong scalability. Some where tested on a cluster computer.

Example 1: 1D Stencil

The implemention of the 1D stencil operation using MPI is shown in example 1.

drawing

Example 2: Matrix-Matrix multiplication

The implementation of Matrix-Matrix multiplication can be found in example 2.

drawing

Example 3: The Parallel Quicksort algorithm

The implementation of Parallel quicksort can be found in example 3.

drawing

Example 4: Conjugate gradient method

The conjugate gradient method was used to solve the 2D Poission equation. The implementation is shown in example 4.

drawing