1/17
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
True or False, MPI is limited to Processor to Processor communication between two processes?
False
Communication between more than two threads is called BLANK
Communication between more than 2 threads is called collective communication
The BLANK thread has exclusive access to the standard input stream (can transmit to everyone at any time)
The master thread
What is the ideal broadcasting method (uses which 2 concepts), producing a complexity of O(n)?
The ideal broadcasting method is through MPI P2P
What is a hypercube algorithm?
An algorithm where data is distributed to dimensions that have not received data
In the hypercube algorithm, each node distributes data to which node(s)?
The data is distributed to nodes with a higher dimension
What is a higher dimension?
Those ranks that are above the most significant bit (2 of 16 (0010) distributes to 6 of 16 (0110) and 10 of 16 (1010))
Hypercube algorithms only work for blank graphs
they only work for complete graphs
MPI_Bcast() does what?
broadcasts the same information to all nodes in a network optimally
MPI Broadcast applies to which nodes?
All nodes of a communicator
What is a Scatter algorithm?
An algorithm that distributes memory (data) across different processes
With Scatter algorithms, what does each process receive?
A subset of the data
Scatter algorithms leave subset assignments to which node
To the source node
Describe Collective Communication with Scatter algorithms in 3 steps:
Provide access to data for processing
Get results back when finished
Recombine
What does a gather algorithm do?
Collects distributed data from all communicators into the destination processes.H
In which 2 ways is MP Gather similar to MPI Scatter?
Both use 2 buffers (source and dest)
Calls are identical across participating processes
What is an MPI Reduce algorirthm, and how is it different from MPI Gather?
MPI Reduce collects data from distributed memory, but it applies an operation to reduce the received data to a single value
What is the Scan algorithm, and how does it differ from MPI Reduce?
It applies an operation to reduce the received data, but only on lower rank processes