Module 2: Network and Parallelism With Data-Structures Flashcards
What does MPI mean?
Message Passing Interface
A communicator defines a group of processes that can communicate with one another.
Message Passing Interface (MPI)
It is a basic approach for Inter-Process Communication
Message Passing
The ________ acts as a service provider, the client issues the request and waits for the response from the ____. (Same word)
Server
Until the client makes a call, the ____ does not communicate.
Server
Direct communication between processes.
Peer to peer
Here, there is no client or server, anyone can make a request to others and get a response.
Peer to peer
Acts as an intermediate among independent processes.
Message Systems
It also acts as a switch through which processes exchange messages asynchronously in a decoupled manner.
Message systems
Distributing data from one process to all processes in a group
Broadcast
Takes an array of elements and distributes the elements in the order of process rank
Scatter
Takes elements from many processes and gathers them into a one single process.
Gather
The inverse of MPI Scatter
Gather
Takes an array of elements on each process and returns an array of output elements to the root process.
Reduce
Returns the maximum element
MPI_MAX
Returns the minimum element
MPI_MIN
Sums the element
MPI_SUM
Multiplies the element
MPI_PROD
Performs a logical and across the elements
MPI_LAND
Performs a logical or across the elements.
MPI_LOR