IBM Books

MPI Subroutine Reference

MPI_ERRHANDLER_GET, MPI_Errhandler_get

Purpose

Gets an error handler associated with a communicator.

C synopsis

#include <mpi.h>
int MPI_Errhandler_get(MPI_Comm comm,MPI_Errhandler *errhandler);

FORTRAN synopsis

include 'mpif.h' or use mpi
MPI_ERRHANDLER_GET(INTEGER COMM,INTEGER ERRHANDLER,INTEGER IERROR)

Parameters

comm
is a communicator (handle) (IN)

errhandler
is the MPI error handler currently associated with comm (handle) (OUT)

IERROR
is the FORTRAN return code. It is always the last argument.

Description

This subroutine returns the error handler errhandler currently associated with communicator comm.

Errors

Invalid communicator

MPI not initialized

MPI already finalized

Related information

MPI_ERRHANDLER_CREATE
MPI_ERRHANDLER_SET


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]