消息传递接口 (MPI) 中的 send 和 isend 有什么区别

what is the difference between send and isend in message passing interface (MPI)

我正在学习 MPI,但我不知道它们到底有什么不同。

有人可以给我解释一下 MPI_SendMPI_Isend 之间的区别吗?

MPI_Send() 阻塞,直到可以修改发送缓冲区。

从实用的角度来看,MPI_Send() 大消息在收到之前会阻塞。 尽管 MPI_Send() 的短消息可能会立即 return,但正确编写的 MPI 应用程序不应期望 MPI_Send() return 秒后收到消息。

MPI_Isend() return秒,发送缓冲区不能修改,直到下发请求完成。