<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div><div>Hi,<br><br></div>I have questions regarding MPI_Isend and MPI_Test. A sample code is attached, output is as follows.<br><br></div>For instance, both Isend and Recv of 0 start at 15:46:14, but 2 MPI_Test are called before Recv of 0 finishes. My understanding is first Test receives the signal that receiver is ready, and data transfer follows. Then the second Test will see the transfer is complete, and free MPI_Request. Is my understanding correct? Thanks.<br><div><div><br><br clear="all"><div><div><div class="gmail_signature"><div dir="ltr">Best regards,<div>Zhen<br><br>MPI 1: Recv of 0 started at 15:46:14.<br>MPI 0: Isend of 0 started at 15:46:14.<br>MPI 0: Isend of 1 started at 15:46:14.<br>MPI 0: Isend of 2 started at 15:46:14.<br>MPI 0: Isend of 3 started at 15:46:14.<br>MPI 0: Isend of 4 started at 15:46:14.<br>MPI 0: MPI_Test of 0 at 15:46:16.<br>MPI 0: MPI_Test of 0 at 15:46:18.<br>MPI 0: Isend of 0 finished at 15:46:18.<br>MPI 1: Recv of 0 finished at 15:46:18.<br>MPI 1: Recv of 1 started at 15:46:18.<br>MPI 0: MPI_Test of 1 at 15:46:20.<br>MPI 0: MPI_Test of 1 at 15:46:22.<br>MPI 0: Isend of 1 finished at 15:46:22.<br>MPI 1: Recv of 1 finished at 15:46:22.<br>MPI 1: Recv of 2 started at 15:46:22.<br>MPI 0: MPI_Test of 2 at 15:46:24.<br>MPI 0: MPI_Test of 2 at 15:46:26.<br>MPI 0: Isend of 2 finished at 15:46:26.<br>MPI 1: Recv of 2 finished at 15:46:26.<br>MPI 1: Recv of 3 started at 15:46:26.<br>MPI 0: MPI_Test of 3 at 15:46:28.<br>MPI 0: MPI_Test of 3 at 15:46:30.<br>MPI 0: Isend of 3 finished at 15:46:30.<br>MPI 1: Recv of 3 finished at 15:46:30.<br>MPI 1: Recv of 4 started at 15:46:30.<br>MPI 0: MPI_Test of 4 at 15:46:32.<br>MPI 0: MPI_Test of 4 at 15:46:34.<br>MPI 0: Isend of 4 finished at 15:46:34.<br>MPI 1: Recv of 4 finished at 15:46:34.<br><br></div></div></div></div>
</div></div></div></div>