You need to use 2 calls. One option is an Allgather followed by an
Allgatherv.
Allgather() with one integer, which is the number of nodes the rank is
linked to
Allgatherv() with a variable size array of integers where each entry is
a connected to node
On 06/05/2012 08:39 AM, Mudassar Majeed wrote:
Dear people,
Let say there are N MPI processes. Each MPI process has to communicate
with some T processes, where T < N. This information is a directed graph
(and every process knows only about its own). I need to convert it to
undirected graph, so that each process will inform T other processes
about it. Every process will update this information. (that may be
stored in an array of maximum size N). What can be the best way to
exchange this information among all MPI processes ? MPI_AllGather and
MPI_AllGatherv do not solve my problem.
best regards,
-- Mudassar
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
--
Michael A. Raymond
SGI MPT Team Leader
(651) 683-3434