hxndev / searching-a-number-among-slave-processes-using-openmp-and-mpi Goto Github PK
View Code? Open in Web Editor NEWIn 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.
License: MIT License