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 6547419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:49:43+00:00 2026-05-25T11:49:43+00:00

I have 41 computers that used MPI on the same local area network. MPI

  • 0

I have 41 computers that used MPI on the same local area network. MPI works good on these machines without any problem. I want to use one of them for sending a float number to the other 40 computers by selecting randomly. I mean that the main distributor computer will randomly select a host and send a float number to it. This process will be performed repeatedly.These 40 hosts will use these float numbers for their calculations. The random selection is needed for some “heuristic optimization” reasons. Thus, for sending a float number, some hosts may be selected frequently, some hosts may be selected rarely (may be never selected).

I tried to understand the blocking and nonblocking communication by reading the documents and using the examples. As a result, I saw that I cannot use MPI_Send and MPI_Recv for a randomly selection as I mentioned. Because, the receiver hosts have to wait for the sending process of distributor computer without doing any benefit calculation as a nature of their blocking model. MPI_ISend and MPI_IRecv may be useful but I could not find a way. Because the example programs which I found mostly used MPI_Wait. Eventually these programs also wait for the data from distributer computer without doing anything. My hosts must check for the message but if there is no message, it must continue its own calculations with initial float number values or the values which is previously received.

How can I do it? At least, which functions can be used for this purpose.

Thanks for reading

  • 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-25T11:49:44+00:00Added an answer on May 25, 2026 at 11:49 am

    MPI_Test is what you’re looking for. It will poll a nonblocking receive initiated by MPI_Irecv, and return immediately even if the communication didn’t complete yet. You can check the MPI_Status object flag parameter after the call to see whether a new message was received or not, and branch accordingly.

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

Sidebar

Related Questions

I have an application that can be used without authentication on computers in public
I have an application that is used on several hundred computers across the company
I have roughly 12 computers that each have the same script on them. This
I have X interfaces to Y computers that communicate over a public network (Think
I have a couple Windows computers on my network that will be running a
I have an OpenGL program that works on all of my computers but one.
I have 50+ kiosk style computers that I want to be able to get
I have a lot of people that ask me to fix their computers. Usually
So I have this code that takes care of command acknowledgment from remote computers,
I have a MFC application that launches a IWebBrowser2 window. On users computers where

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.