Which of the following is not part of minimal set of MPI (Message Passing Interface) routines ?
MH SET - 2018, SET Exam - 2018,
Answer: C
The routine not in the minimal set is MPI_Sendrecv.
A complete MPI program can be written with six routines: MPI_Init and MPI_Finalize to start and end MPI, MPI_Comm_size and MPI_Comm_rank (printed 'MPI_Comm_Size') to find the number of processes and each process's rank, and MPI_Send and MPI_Recv for point-to-point messages.
MPI_Sendrecv combines a send and a receive in one call to avoid deadlock in exchanges. It is convenient but can be built from MPI_Send and MPI_Recv, so it is not part of the minimal set.
Please log in or register to report this question.