- if(op!=MPI_OP_NULL) op->apply(
- tmp_recvbuf, ((char *)recvbuf+disps[rank]*extent),
- &recvcounts[rank], datatype);
- /* we can't store the result at the beginning of
- recvbuf right here because there is useful data
- there that other process/processes need. at the
- end, we will copy back the result to the
- beginning of recvbuf. */
+ if (op != MPI_OP_NULL)
+ op->apply(tmp_recvbuf, ((char*)recvbuf + disps[rank] * extent), &recvcounts[rank], datatype);
+ /* we can't store the result at the beginning of
+ recvbuf right here because there is useful data
+ there that other process/processes need. at the
+ end, we will copy back the result to the
+ beginning of recvbuf. */