Upload
hanis-salwan
View
63
Download
1
Embed Size (px)
Citation preview
P R E S E N T E D B Y :
H A N I S S A L W A N B I N T I M O B I D I N
( 2 0 1 2 1 4 4 4 4 9 )
N I K F A T I N A H B I N T I N . M O H D F A R I D ( 2 0 1 2 7 9 0 8 0 7 )
Assignment 4:Point-to-point Communication
(Finding Maximum Value)
Point to Point Communication
Point to point communication is the simplest form of message passing.
A message is sent from sending processor to a receiving processor.
This assignment is about Synchronous communication, which means the communication does not complete until the message has been received.
Generate Random Array on Root
Distribute Array to other Slave Processes
Find Max at Process 1
Find Max at Process 2
Find Max at Process 3
Find Final Maximum Value at Process 0
Output 1
Output 2
Illustration of the program
References
https://inventorsworkshop.wikispaces.com/file/view/Finding%20Maximums%20with%20MPI-%20Tutorial.pdf/376845822/Finding%20Maximums%20with%20MPI-%20Tutorial.pdf.
http://msdn.microsoft.com/en-us/library/vstudio/kak4h79y
http://www.osl.iu.edu/research/mpi.net/documentation/reference/0.5.0/html/T_MPI_Intercommunicator.htm