Skip to content

Repository files navigation

numeric-stats-mpi

Computes stats (min, max, mean, frequency distribution) of very large array of large unsigned integers using MPI.

Stats computed

  • Min
  • Max
  • Mean
  • Frequency array

Requirements

  • MPI
  • Docker

Usage

Generate test data:

bash scripts/generate_data.sh

Compile and run (defaults to 4 processes):

bash scripts/run.sh [num_processes]

Run experiments across multiple process counts (2, 4, 6, 8, 16) with timing summary:

bash scripts/run_experiments.sh

MPI + Docker implementation

compile and run the code using the respective script for each topology. You can specify the number of processes as an argument minimum 2 and maximum 7 (default is 7, which is the maximum for our setup).

the setup includes 1 master + 6 worker nodes each with 1 slot

Two Topologies used:

  • star topology
  • fat-tree topology

Run with star topology:

bash scripts/run.star.sh [num_processes]

Run with fat-tree topology:

bash scripts/run.fattree.sh [num_processes]

About

Computes stats (min, max, mean, frequency distribution) of very large array of large unsigned integers using MPI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages