[mpich-devel] MPI_Dist_graph_create self-edge

Balaji, Pavan balaji at anl.gov
Sat Oct 24 18:21:07 CDT 2015


Daniel,

Do you have a test program that shows these errors?

The algorithms are a first cut, for now, but we are hoping to optimize them in 2016 (together with one of our vendor partners, who will be contributing code for it).

Thanks,

  -- Pavan

From: Daniel Ibanez <dan.a.ibanez at gmail.com<mailto:dan.a.ibanez at gmail.com>>
Reply-To: "devel at mpich.org<mailto:devel at mpich.org>" <devel at mpich.org<mailto:devel at mpich.org>>
Date: Saturday, October 24, 2015 at 5:05 PM
To: "devel at mpich.org<mailto:devel at mpich.org>" <devel at mpich.org<mailto:devel at mpich.org>>
Subject: [mpich-devel] MPI_Dist_graph_create self-edge

Hello,

Using MPICH 3.1.4, I'm getting internal assertions of this kind
of when using MPI_Dist_graph_create :

Assertion failed in file src/mpi/topo/dist_gr_create.c at line 223: s_rank >= 0
Assertion failed in file src/mpi/topo/dist_gr_create.c at line 195: sources[i] < comm_size

I've checked that ranks passed in are in the proper range,
rather I think the issue is caused by requesting an edge
from rank 0 to itself.
(Another hint is that its non-deterministic which assertion
I get; it depends on the order in which the ranks get scheduled
by the OS, so there is a bit of a bug in the implementation,
or at least no check for self-edges).

Does the MPI standard allow for self-edges in these graphs ?

Thank you,

P.S. - I'll throw in a bigger question while I'm at it: are
MPI_Dist_graph_create and MPI_Neighbor_alltoallv
implemented with optimally scalable algorithms ?
I'm betting my scalability on them being roughly
O(log(P)) where P is communicator size, assuming
neighborhood sizes and message sizes are constant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/devel/attachments/20151024/fd1670cc/attachment.html>


More information about the devel mailing list