https://github.com/hxndev/searching-a-number-among-slave-processes-using-openmp-and-mpi
In this task, I wrote the code using both OpenMP and MPI inorder to parallelize it. What it does is that the master process distributes a chunk of number equally among the slave processes. Each slave process then searches for the number to find. When one slave process finds the number, it sends a message to the master process who then sends a "terminating message" to the slave processes who then abort their search.
https://github.com/hxndev/searching-a-number-among-slave-processes-using-openmp-and-mpi
code cpp distributed-computing master mpi mpi-library mpich openmp openmp-parallelization openmpi parallel parallel-computing parallel-programming search searching slave
Last synced: about 1 month ago
JSON representation
In this task, I wrote the code using both OpenMP and MPI inorder to parallelize it. What it does is that the master process distributes a chunk of number equally among the slave processes. Each slave process then searches for the number to find. When one slave process finds the number, it sends a message to the master process who then sends a "terminating message" to the slave processes who then abort their search.
- Host: GitHub
- URL: https://github.com/hxndev/searching-a-number-among-slave-processes-using-openmp-and-mpi
- Owner: HxnDev
- License: mit
- Created: 2021-08-05T06:22:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-05T06:23:13.000Z (almost 4 years ago)
- Last Synced: 2023-03-04T18:38:12.307Z (about 2 years ago)
- Topics: code, cpp, distributed-computing, master, mpi, mpi-library, mpich, openmp, openmp-parallelization, openmpi, parallel, parallel-computing, parallel-programming, search, searching, slave
- Language: C++
- Homepage:
- Size: 796 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0