Presentation is loading. Please wait.

Presentation is loading. Please wait.

More Quiz Questions Parallel Programming MPI Collective routines

Similar presentations


Presentation on theme: "More Quiz Questions Parallel Programming MPI Collective routines"— Presentation transcript:

1 More Quiz Questions Parallel Programming MPI Collective routines
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2013, QuizQuestions2b.ppt Sept 23, 2013

2 What does the MPI routine MPI_Barrier() do?
Waits for all messages to be sent and received. Will cause processes to wait for all processes within the specific communicator to call the routine. Then all processes send a message to the master process and continue. Makes a process to execute slower to allow debugging Waits for a specified amount of time. Will cause processes after calling MPI_Barrier() to wait for all processes within the specific communicator to call the routine. Then all processes are released and are allowed to continue.

3 The MPI collective routines are said to have the same semantics as using point-point MPI_send() and MPI_recv() routines separately in respect to when they return. If so, when does the MPI_Bcast() routine return? They all return when the message has been received by all processes. The root returns when its local actions are complete but the message may have not been received and each destination process returns when it receives the message. The root returns when its local actions are complete but the message may have not been received and all destination processes return when all have received the message. Never Immediately even before local actions arte complete. None or the other answers.

4 Name one MPI routine that does not have a named communicator as a parameter (argument).
MPI_Send() MPI_Bcast() MPI_Init() MPI_Barrier() None - they all have a named communicator as a parameter. none of the other answers


Download ppt "More Quiz Questions Parallel Programming MPI Collective routines"

Similar presentations


Ads by Google