unsigned char* tmpbuf = smpi_get_tmp_sendbuffer(count * datatype->get_extent());
int ret = reduce__default(sendbuf, tmpbuf, count, datatype, op, 0, comm);
unsigned char* tmpbuf = smpi_get_tmp_sendbuffer(count * datatype->get_extent());
int ret = reduce__default(sendbuf, tmpbuf, count, datatype, op, 0, comm);