Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

c

What is MPI_File_call_errhandler?

Adnan Abbas

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

MPI library

MPI, short for Message Passing Interface, is a library that allows you to write parallel programs in Fortran77 or C. The library uses common operating system services to exchange information among the parallel processes it creates.

Parallel processing

MPI_File_call_errhandler

This method invokes the error handler assigned to the file with the given error code.

Syntax

int MPI_File_call_errhandler(MPI_File fh, int errorcode)

Parameters

  • fh is the MPI file with the error handler.
  • errorcode is the error code supplied to the file’s error handler.

Return value

If unsuccessful, the function returns an error. The error aborts the MPI job by default.

  • In case of success, MPI_File_call_errhandler returns MPI_SUCCESS, the value returned upon successful termination of any MPI routine.
  • In case of an invalid MPI filehandle provided in the arguments, the function returns MPI_ERR_FILE.

RELATED TAGS

c

CONTRIBUTOR

Adnan Abbas
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring