Skip to content

A Frequency Histogram is a special graph that uses vertical columns to show frequencies (how many times each score occurs):

Notifications You must be signed in to change notification settings

MarwanaMostafa/Parallel-Processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Parallel-Processing_Histogram_MPI and OPENMP

A Frequency Histogram is a special graph that uses vertical columns to show frequencies (how many times each score occurs):

How To Run :

1-you must have a virtual machine

2-to compile code : mpicc -fopenmp FILENAME.c

3-to set number of threads : export OMP_NUM_THREADS= Any Number

4-to run : mpiexec -n __ numberOfProcesses __ ./a.out

Input :

1-Number Of Bars

2-Number Of Points

3-Number Of Threads

4-Number Of Processes

5- file contain data set to do statistics about groups

Example :

if Number Of Bars =4 , Number Of Points=20 , Number Of Threads=4, Number Of Processes=4

and Data Set is : 10-11-12-13-14-21-22-23-24-1-10-11-12-13-14-21-22-23-24-1

Output :

See Also:

About

A Frequency Histogram is a special graph that uses vertical columns to show frequencies (how many times each score occurs):

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages