« Return to documentation listing
Table of Contents
#include <mpi.h> int MPI_Request_get_status(MPI_Request request, int *flag, MPI_Status *status)
USE MPI ! or the older form: INCLUDE ’mpif.h’ MPI_REQUEST_GET_STATUS(REQUEST, FLAG, STATUS, IERROR) INTEGER REQUEST, STATUS(MPI_STATUS_SIZE), IERROR LOGICAL FLAG
USE mpi_f08 MPI_Request_get_status(request, flag, status, ierror) TYPE(MPI_Request), INTENT(IN) :: request LOGICAL, INTENT(OUT) :: flag TYPE(MPI_Status) :: status INTEGER, OPTIONAL, INTENT(OUT) :: ierror
If your application does not need to examine the status field, you can save resources by using the predefined constant MPI_STATUS_IGNORE as a special value for the status argument.
Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error.