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.
-
Use following command to
Compile the Code
:mpic++ -fopenmp Source.cpp -o Source
-
Use following command to
Execute the Code
. 3 indicates total number of processes to create:mpiexec -n 3 -f machinefile ./Source