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