Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Simple Doubt about MPI_Gather in C
From: Maginot Junior (maginot.junior_at_[hidden])
Date: 2012-07-17 14:54:24


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
SENDBUF)?

Regards

--
Maginot Júnior