What is MPI_Errhandler_free?

MPI library

MPI (Message Passing Interface) is a library that enables you to write parallel programs in C or Fortran77. The library uses commonly available operating system services to create parallel processes and exchange information among these processes.

Parallel processing

MPI_Errhandler_free

This method frees an MPI error handler.

Syntax

int MPI_Errhandler_free( MPI_Errhandler *errhandler)

Parameters

  • errorhandler is the MPI error handler which is set to MPI_ERRHANDLER_NULL upon terimantion.

Return value

  • The function returns an error if it is unsuccessful. The error aborts the MPI job by default.

  • In case of success, it returns MPI_SUCCESS - the value returned upon successful termination of any MPI routine.

  • MPI_ERR_ARG is returned if some argument is invalid.

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved