MPI_Alltoall
--- Sends data from all to all processes
Input Parameters
- sendbuf
- starting address of send buffer (choice)
- sendcount
- number of elements in send buffer (integer)
- sendtype
- data type of send buffer elements (handle)
- recvcount
- number of elements received from any process (integer)
- recvtype
- data type of receive buffer elements (handle)
- comm
- communicator (handle)
Output Parameter
- recvbuf
- address of receive buffer (choice)
Synopsis
#include "mpi.h"
int MPI_Alltoall( sendbuf, sendcount, sendtype,
recvbuf, recvcnt, recvtype, comm )
void *sendbuf;
int sendcount;
MPI_Datatype sendtype;
void *recvbuf;
int recvcnt;
MPI_Datatype recvtype;
MPI_Comm comm;
Location: alltoall.c