Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7410159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:11:24+00:00 2026-05-29T06:11:24+00:00

I got confused when reading about blocking send and receives in MPI. As stated

  • 0

I got confused when reading about blocking send and receives in MPI. As stated in the MPI Standard 2.2, section 3.4 Communication Modes:

… The receive operation described in the last section is blocking: it
returns only after the receive buffer contains the newly received
message. A receive can complete before the matching send has completed
(of course, it can complete only after the matching send has started).

Can somebody explain to me how a blocking receive can complete before the corresponding send has completed? My understanding is that a blocking receive (MPI_recv) returns when data is ready to be used in the receive buffer (i.e. the data has been received fully). Is this not the case?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:11:25+00:00Added an answer on May 29, 2026 at 6:11 am

    Your understanding is correct.

    The described case (receive completes before send completes) in the standard is telling you not to rely on the ordering of the library calls. It does not necessary need to be the case on a specific machine / implementation.

    If you think about a synchronous send and a blocking receive of a tiny message. The synchronous send may only complete after the matching receive has started, possibly indicated by ‘confirmation message (ACK)’. The actual message transfer might completely transferred (receive may return) before the ACK arrives at the sender (send may return). Please keep in mind this is highly implementation / machine specific.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am preparing for SCJP and I got confused while reading about nested types.
I was reading an article about Javascript's best practices, and kinda got confused about
I've got confused . We hear a lot about Provider in ASP.NET . Membership-Provider
I was reading Google C++ Style Guide, and got confused in the Exceptions part.
I have a few simple questions, because I got confused reading all difference responses.
I got so confused after reading the documentation. I've designed my app to run
I was reading Google C++ Style Guide, and got confused in the Doing Work
Well ! I got confused about the way of declaring variables & implementing its
I was reading this Freuqent Java concurrency problems question and got confused by an
I'm playing around with the HttpWebRequest class and got confused about the Timeout/ReadWriteTimeout members.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.