Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Distributed mean and deviation computation

Little program to compute the mean and the standard deviation of an array of size n filled with random integers between 0 and 50 with Open MPI Program developed for an assignment during my fourth year in the Griffith College (Dublin)

Installation

This program needs Open MPI to work. Open MPI is a library for distributed system in C++.

Try to follow this steps to install open MPI on your system :

Usage

Feel free to upgrade it to give data through .txt or .dat file.

Compilation

mpic++ name_searcher.cpp -o <executable-name>

Execution

Default random array size

mpiexec -n <number-of-nodes> <executable-name>

example: mpiexec -n 4 ./a.out

Defined random array size

mpiexec -n <number-of-nodes> <executable-name> <random-array-size>

example: mpiexec -n 4 ./a.out 100000

About

Little program to compute the mean and the standard deviation of an array of size n filled with random integers between 0 and 50 with Open MPI

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages