Which set of tasks should you include in the application?

You create a parallel application by using Microsoft Visual Studio 2008. The application prints a message to the console of all Microsoft Message Passing Interface (MPI) processes except for one. The application terminates and displays an error message. You need to change the code in the application so that the application completes successfully. Which set of tasks should you include in the application?

You create a parallel application by using Microsoft Visual Studio 2008. The application prints a message to the console of all Microsoft Message Passing Interface (MPI) processes except for one. The application terminates and displays an error message. You need to change the code in the application so that the application completes successfully. Which set of tasks should you include in the application?

A.
Include mpi.h
Link to msmpi.lib
Call MPI_Start
Call MPI_Comm_rank
Call MPI_Finalize

B.
Include mpi.h
Link to msmpi.lib
Call MPI_Init
Call MPI_Comm_rank
Call MPI_Finalize

C.
Include mpi.h
Link to ccpapi.tlb
Call MPI_Init
Call MPI_Comm_rank

D.
Include mpi.h
Link to msmpi.lib
Call MPI_Init
Call MPI_Comm_size



Leave a Reply 0

Your email address will not be published. Required fields are marked *