MPI_Start (&aReq[j]);
}
}
-
+
/* complete the sends */
switch (k/2) {
case 0:
else if (rank == 1) {
/* set up receives for all of the sends */
for (j = 0; j < 2; j++) {
- MPI_Irecv (&buf[j * BUF_SIZE], BUF_SIZE,
+ MPI_Irecv (&buf[j * BUF_SIZE], BUF_SIZE,
MPI_INT, 0, j, comm, &aReq[j]);
}
/* complete all of the receives... */