Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

c

What is MPI_Win_complete?

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_Win_complete

This method completes RMA (Remote Memory Access) operations begun after MPI_Win_start. All RMA communication calls issued on the window during this epoch will have been completed at the origin when the call returns.

Syntax

int MPI_Win_complete(MPI_Win win)

Parameters

  • win is the window object used by processes to perform RMA operations.

Return value

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

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

  • In case an invalid window object is provided in the function’s argument, MPI_ERR_WIN is returned.

  • MPI_ERR_OTHER is returned there are any other errors. MPI_Error_string can be used to get more information about this error code.

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