Allgatherv
Allgatherv, commonly written MPI_Allgatherv, is a collective communication operation in the Message Passing Interface (MPI). It gathers data from all processes in a communicator and distributes the concatenated result to all processes, allowing each process to contribute and receive a different amount of data.
The operation takes the following parameters: sendbuf, sendcount, and sendtype specify the local data to send
Each process contributes sendcount elements of type sendtype from sendbuf (or may use MPI_IN_PLACE to indicate
Allgatherv is a collective operation; all processes in the communicator must participate. It is commonly used