Dear all,
Could anyone please clarify me the difference between MPI_Bsend and
MPI_Ibsend? Or, in other words, what exactly is "blocking" in
MPI_Bsend, when the data is stored in the buffer and we "return"? :-)
Another, but similar, question:
What about the data-buffer - when can it be reused in each of the
cases - simple examples:
for (i=0; i<NUMBER_OF_SLAVES; i++) {
MPI_Bsend (&data_buffer[0], ..., slave_id1...);
} // Can any problem occur here, since we send the data_buffer several times?
for (i=0; i<NUMBER_OF_SLAVES; i++) {
MPI_Ibsend (&data_buffer[0], ..., slave[i]..., &request);
MPI_Test(&request...)
} // Any difference to previous example? Concerning the re-use of data_buffer?
Thank you a lot in advance.
Regards,
Jovana