- if (send_chunk != recv_chunk)
- return MPI_Allgather(sbuf, send_count, send_type, rbuf, recv_count,
- recv_type, comm);
+ if (send_chunk != recv_chunk) {
+ XBT_WARN("MPI_allgather_rhv use default MPI_allgather.");
+ smpi_mpi_allgather(sbuf, send_count, send_type, rbuf, recv_count,
+ recv_type, comm);
+ return MPI_SUCCESS;
+ }