- 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);
+ Request::recv(tmp_buf, count, datatype, from, tag, comm, &status);
+ if(op!=MPI_OP_NULL) op->apply( tmp_buf, rbuf, &count, datatype);
+ Request::send(rbuf, count, datatype, to, tag, comm);