All the files have been commented for your ease. Furthermore you may also add further comments if you may.
For further queries contact me at : chhxnshah@gmail.com
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.
C++MIT
All the files have been commented for your ease. Furthermore you may also add further comments if you may.
For further queries contact me at : chhxnshah@gmail.com