SYNTAX

C Syntax

int MPI_Comm_flush_buffer(MPI_Comm comm)

int MPI_Comm_iflush_buffer(MPI_Comm comm, MPI_Request* request)

Fortran Syntax

USE MPI
! or the older form: INCLUDE 'mpif.h'
MPI_COMM_FLUSH_BUFFER(COMM, IERROR)
    INTEGER COMM, IERROR

MPI_COMM_IFLUSH_BUFFER(COMM, REQUEST, IERROR)
    INTEGER COMM, REQUEST, IERROR

Fortran 2008 Syntax

USE mpi_f08
MPI_Comm_flush_buffer(comm, ierror)
    TYPE(MPI_Comm), INTENT(IN) :: comm
    INTEGER, OPTIONAL, INTENT(OUT) :: ierror

MPI_Comm_iflush_buffer(comm, request, ierror)
    TYPE(MPI_Comm), INTENT(IN) :: comm
    TYPE(MPI_Request), INTENT(OUT) :: request
    INTEGER, OPTIONAL, INTENT(OUT) :: ierror