Note that there are some explanatory texts on larger screens.

plurals
  1. POSending data to randomly selected hosts by using MPI
    primarykey
    data
    text
    <p>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).</p> <p>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 <code>MPI_Send</code> and <code>MPI_Recv</code> 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. <code>MPI_ISend</code> and <code>MPI_IRecv</code> may be useful but I could not find a way. Because the example programs which I found mostly used <code>MPI_Wait</code>. Eventually these programs also wait for the data from distributer computer without doing anything. <strong>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.</strong></p> <p>How can I do it? At least, which functions can be used for this purpose.</p> <p>Thanks for reading</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload