Open MPI logo

MPI_Close_port(3) man page (version 5.0.0rc2)

  |   Home   |   Support   |   FAQ   |  

« Return to documentation listing

Table of Contents

Name

C]MPI_Close_portR] - Releases the specified network address.

Syntax

C Syntax



C]#include <mpi.h>int MPI_Close_port(const char *port_name)R]Fortran Syntax



C]USE MPI! or the older form: INCLUDE [aq]mpif.h[aq]MPI_CLOSE_PORT(PORT_NAME, IERROR) CHARACTER*(*) PORT_NAME INTEGER IERRORR]Fortran 2008 Syntax



C]USE mpi_f08MPI_Close_port(port_name, ierror) CHARACTER(LEN=*), INTENT(IN) :: port_name INTEGER, OPTIONAL, INTENT(OUT) :: ierrorR]Input Parameter

[bu]
C]port_nameR] : A port (string).

Output Parameter

[bu]
C]IERRORR] : Fortran only: Error status (integer).

Description

C]MPI_Close_portR] releases the network address represented by C]port_nameR].

Errors

Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last 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 C]MPI_Comm_set_errhandlerR]; the predefined error handler C]MPI_ERRORS_RETURNR] 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.


Table of Contents

« Return to documentation listing