- MPI_Send(header_buf, HEADER_SIZE, MPI_INT, to, tag, comm);
- MPI_Recv(tmp_buf, count, datatype, from, tag, comm, &status);
- star_reduction(op, tmp_buf, rbuf, &count, &datatype);
+ smpi_mpi_send(header_buf, HEADER_SIZE, MPI_INT, to, tag, comm);
+ smpi_mpi_recv(tmp_buf, count, datatype, from, tag, comm, &status);
+ smpi_op_apply(op, tmp_buf, rbuf, &count, &datatype);