Edit

Share via


MPI_Comm_create_errhandler function

Create a communicator error handler.

Syntax

int MPIAPI MPI_Comm_create_errhandler(
  _In_  MPI_Comm_errhandler_function *function,
  _Out_ MPI_Errhandler               *errhandler
);

Parameters

  • function [in]
    User defined error handling procedure.

  • errhandler [out]
    MPI error handler.

Return value

Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.

In Fortran, the return value is stored in the IERROR parameter.

Fortran

    MPI_COMM_CREATE_ERRHANDLER(COMM_ERRHANDLER_FN, ERRHANDLER, IERROR)
        EXTERNAL COMM_ERRHANDLER_FN
        INTEGER ERRHANDLER, IERROR

Requirements

Product

HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities

Header

Mpi.h; Mpif.h

Library

Msmpi.lib

DLL

Msmpi.dll

See also

MPI Management Functions