33 #ifndef SC_ALLGATHER_H
34 #define SC_ALLGATHER_H
38 #ifndef SC_ALLGATHER_ALLTOALL_MAX
40 #define SC_ALLGATHER_ALLTOALL_MAX 5
56 int datasize,
int groupsize,
57 int myoffset,
int myrank);
71 int datasize,
int groupsize,
72 int myoffset,
int myrank);
Support for process management (memory allocation, logging, etc.)
int sc_allgather(void *sendbuf, int sendcount, sc_MPI_Datatype sendtype, void *recvbuf, int recvcount, sc_MPI_Datatype recvtype, sc_MPI_Comm mpicomm)
Drop-in allgather replacement.
void sc_allgather_recursive(sc_MPI_Comm mpicomm, char *data, int datasize, int groupsize, int myoffset, int myrank)
Perform recursive bisection allgather.
void sc_allgather_alltoall(sc_MPI_Comm mpicomm, char *data, int datasize, int groupsize, int myoffset, int myrank)
Allgather by direct point-to-point communication.
sc3_MPI_Datatype_t sc_MPI_Datatype
Emulate MPI datatypes.
Definition: sc_mpi.h:452
sc3_MPI_Comm_t sc_MPI_Comm
Emulate an MPI communicator.
Definition: sc_mpi.h:450