MPIScatter
MPIScatter is a collective communication operation in the Message Passing Interface (MPI) that distributes blocks of data from one root process to all processes within a communicator. Each process receives a distinct block of data, enabling data parallelism across the participating processes.
In a typical scatter operation, the root process provides a send buffer containing a sequence of data
The standard prototype in C is MPI_Scatter(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, root, comm). In Fortran,
MPIScatter is often used as a building block for parallel algorithms that require dividing input data evenly