Collective message passing, Computer Networking

In collective message passing, all the processes of a set participate in communication. MPI gives a number of functions to execute the collective message passing. Some of them are being discussed here.

MPI_Bcast(msgaddr, count, datatype, rank, comm):

This function is used by a procedure ranked rank in set comm to broadcast the message to all the members (including self) in the group.

MPI_Allreduce

MPI_Scatter(Sendaddr, Scount, Sdatatype, Receiveaddr, Rcount, Rdatatype, Rank, Comm):

Using this function process with rank rank in set comm sends personalized message to all the processes (including self) and sorted message (according to the rank of sending processes) are stored in the send buffer of the process. Starting three parameters define buffer of sending process and next three describe buffer of receiving process.

MPI_Gather (Sendaddr, Scount, Sdatatype, Receiveaddr, Rcount, Rdatatype,Rank, Comm):

By Using this function procedure with rank rank in group comm receives personalized message from all the processes (including self) and sorted message (according to the rank of sending processes) are stored in the receive buffer of the process. First three parameters define buffer of sending process and next three define buffer of receiving process.

MPI_Alltoall()

Every process sends a personalized message to each other process in the group.

MPI_Reduce (Sendaddr , Receiveaddr , count, datatype, op, rank, comm):

This function minimizes the partial values stored in Sendaddr of every process into a final result and stores it in Receiveaddr of the process with rank rank. op specifies the decrease operator.

MPI_Scan (Sendaddr,, Receiveaddr , count, datatype, op, comm):

It joins the partial values into p final results which are received into the Receiveaddr of all p processes in the set comm.

MPI_Barrier(cmm):

This function synchronises every processes in the set comm.

Posted Date: 3/2/2013 7:12:02 AM | Location : United States







Related Discussions:- Collective message passing, Assignment Help, Ask Question on Collective message passing, Get Answer, Expert's Help, Collective message passing Discussions

Write discussion on Collective message passing
Your posts are moderated
Related Questions
Set Cookies 1178345 When  Hussan  browser receives  the HTTP response  message it sees the set cookies header. The  browser then appends  a line to the special cookie file  th

You are designing a network for a retail customer; they plan to have 5 locations initially with the main store acting as the warehousing depot.  Within the next year they are plann

What are the benefits of Intranet applications The benefits of successful Intranet applications can be enumerated as follows: Cheaper: Use of client browsers with one

advantages and disadvantages of time sharing system

State in brief about the Information Access Intranet This type of Intranet is the type commonly found on the World Wide Web. The static web page may include information on

Connection Establishment TCP transmits  data in full duplex mode. When two TCP is two machines are  connected they are able  to send segments to each other simultaneously. This

different framing methods

Introduction To Parallel Programming After getting an enormous breakthrough in the serial programming and figuring out its limitations, academicians and computer professionals

Twisted Pair Cable Twisted pair cable  consists of two insulated copper  wires  each  about 1 mm  thick arranged in a regular spiral  pattern. The wires  are twisted together

Overview of the Transport  Layer Protocols Transport layer  can be  available  more than  protocols  to the  network  applications. For  example the network  applications. For