+ extent = smpi_datatype_get_extent(datatype);
+ /* If I'm not the root, then my recvbuf may not be valid, therefore
+ I have to allocate a temporary one */
+ if (rank != root && !recvbuf) {
+ recvbuf = (void *)smpi_get_tmp_recvbuffer(count * extent);
+ }