/Frequency-Histogram

A program that decides which point belongs to each bar. Implemented using MPI and OpenMP, it was implemented as an assignment for the high performance computing class.

Primary LanguageC

Frequency-Histogram

A program that decides which point belong to each bar. Implemented using mpi and openMp The tasks are distributed as the following:
   1- Process 0:
     - Take number of bars, points, threads, processes as input
     - Read the datapoints from the file dataset.txt
     - Find the max and min values in the data points to compute the range of each bar.
     - Distribute the data points among the processes.

   2- All The processes:
     - Fork threads.
     - Distribute data among the threads.
     - Each thread will assign each of its data to the right bar.