MPI_Allgather

int MPI_Allgather(void* , int, MPI_Datatype, void*, int, MPI_Datatype, MPI_Comm);
Collects messages from each task and distributes the resulting message to each.