110 likes | 120 Views
Quiz Questions ITCS 4145/5145 Spring 2012. What is meant by a blocking message passing routine in MPI?. The routine returns when all the local actions are complete but the message transfer may not have completed. The routine returns immediately but the message transfer may not have completed.
E N D
Quiz QuestionsITCS 4145/5145Spring 2012 ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2012, Jan 24, 2012
What is meant by a blocking message passing routine in MPI? • The routine returns when all the local actions are complete but the message transfer may not have completed. • The routine returns immediately but the message transfer may not have completed. • The routine returns when the message transfer has completed. • The routine blocks all actions on other processes until it has completed its actions. • None of the other answers.
What is meant by a non-blocking (or asynchronous) message passing routine in MPI? • The routine returns when all the local actions are complete but the message transfer may not have completed. • The routine returns immediately but the message transfer may not have completed. • The routine returns when the message transfer has completed. • The routine blocks all actions on other processes until it has completed its actions. • None of the other answers.
In the routine:MPI_Send(message,13,MPICHAR,x,10, MPI_COMM_WORLD);when can x be altered without affecting the message being transferred? • Never. • After the routine returns, i.e. in subsequent statements • Anytime • When the message has been received • None of the other answers
What does the routineMPI_Wtime() do? • Waits a specific time before returning as given by an argument. • Returns the elapsed time from some point in the past, in seconds. • Returns the elapsed time from the beginning of the program execution, in seconds. • Returns the time of the process execution. • Returned the actual time of day • None of the other answers.