Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

c

What is MPI_Error_class?

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 (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_Error_class

This method converts an error code into an error class.

Syntax

int MPI_Error_class(int errorcode, int *errorclass)

Parameters

  • errorcode is the error code returned by an MPI method.

  • errorclass is the output parameter that is returned, representing the error class associated with the error code.

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.

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