https://github.com/sameetasadullah/searching-a-number-among-slave-processes-using-openmp-and-mpi
Program written in C++ language to search a number from an array after distributing it equally to all slave processes and using OpenMP and MPI for parallel searching
https://github.com/sameetasadullah/searching-a-number-among-slave-processes-using-openmp-and-mpi
cpp linux mpi openmp parallel-programming search-number ubuntu
Last synced: 3 months ago
JSON representation
Program written in C++ language to search a number from an array after distributing it equally to all slave processes and using OpenMP and MPI for parallel searching
- Host: GitHub
- URL: https://github.com/sameetasadullah/searching-a-number-among-slave-processes-using-openmp-and-mpi
- Owner: SameetAsadullah
- Created: 2022-08-13T12:16:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-13T13:19:21.000Z (almost 3 years ago)
- Last Synced: 2025-01-21T17:51:05.412Z (4 months ago)
- Topics: cpp, linux, mpi, openmp, parallel-programming, search-number, ubuntu
- Language: C++
- Homepage:
- Size: 769 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Searching a Number Among Slave Processes Using OpenMP and MPI
### Description
Program written in `C++ language` to search a number from an array after distributing it equally to all `Slave Processes` and using `OpenMP` and `MPI` for `Parallel Searching`. You can view the detailed project description [Here](https://github.com/SameetAsadullah/Searching-a-Number-Among-Slave-Processes-Using-OpenMP-and-MPI/blob/main/Project%20Statement.pdf).### Manual
1) Use following command to `Compile the Code`:
```
mpic++ -fopenmp Source.cpp -o Source
```2) Use following command to `Execute the Code`. 3 indicates total number of processes to create:
```
mpiexec -n 3 -f machinefile ./Source
```
### Working Screenshots
![]()
![]()