Message Passing Interface Flashcards
Purpose of MPI_Init
Initializes MPI
Purpose of MPI_Finalize
Terminates MPI
What do MPI functions return?
MPI_SUCCESS
What is a communicator?
Abstract description of a group of processes.
What is MPI_COMM_WORLD?
Describes all the processes involved in your parallel run.
What is a processor rank?
How does one find the rank of a process within a communicator?
A unique identifier assigned to each process.
MPI_Comm_rank()
How are ranks numbered within a communicator?
From zero to the number of processes minus 1
What does MPI_Comm_Split do?
Divides the communicator into disjoint sub communications
What role does the color argument to MPI_Comm_Split perform?
Controls of subset assignment.
What role does the key argument to MPI_Comm_Split perform?
Control the ranking of the divided processes.
What is global numbering?
Numbering the processes in the MPI World (all communicators).
What is local numbering
Numbering the processes within a particular communicator
What does it mean when an MPI program is loosely synchronous?
Tasks synchronize to perform interactions, otherwise, run asynchronously.
What 3 pieces of information are used to pass sending data to a collective communication operation?
Send Buffer
Count
Data Type
What function does MPI_barrier perform?
Blocks all processes until they all reach the barrier wall, synchronizing the processes.