Function t8_shmem_array_allgatherv
Defined in File t8_shmem.h
Function Documentation
-
void t8_shmem_array_allgatherv(void *sendbuf, const int sendcount, sc_MPI_Datatype sendtype, t8_shmem_array_t recvarray, sc_MPI_Datatype recvtype, sc_MPI_Comm comm)
Fill a t8_shmem array with an Allgatherv Computes the recvcount-array and displacement-array for each rank of a node using the sendcount.
The total number of items of each node is then used to compute the recvcount-array and displacement-array between nodes. Use t8_shmem_array_allgather if the sendcount is equal on all procs for better scaling.
- Parameters:
sendbuf – [in] the source from this process
sendcount – [in] the number of items to gather on this proc
sendtype – [in] the type of items to gather
recvarray – [inout] array of type recvtype where the data gets written to
recvtype – [in] the type of items to receive
comm – [in] the mpi communicator