Generally, if you have an array with x elements of a given type (e.g. MPI_Int) you should use x as your SENDCOUNT parameter. Providing the name of the SEND buffer just determine the start address of the buffer and you should expilicitly specify how many elements should be sent.
Tu be sure, execute some sample programs and check the behavior.
On Tue, Jul 17, 2012 at 10:24 PM, Maginot Junior <firstname.lastname@example.org>
Hello, I'm starting with openmpi and still have some doubts and I
think I'm making some confusion around here.
When using MPI_Gather, if SENDBUF is an array of x elements SENDCOUNT
should be 1 if I want to send this entire array or should I use x as
SENDCOUNT parameter (telling to fetch x elements of SENDTYPE from
users mailing list