[mpich-discuss] mpi_scatter

Jen B jenbna at gmail.com
Sat Dec 5 13:05:07 CST 2015


Hi,

Sorry for bugging you guys again, I have a couple of things I wanted to
make sure about.

So mpi_scatter uses a binomial tree. If, for example, I have processes p0,
p1, p2, p3. Then the binomial tree would be p0 -> p1,p0 -> p2,p2 -> p3. For
my total message n, the parts that need to send to the processes are n0,
n1, n2, n3. Then, will p0->p1 have only n1 in transit, and p0->p2 have
n2+n3 in transit, and finally p2->p3 have n3 in transit?

And how would the binomial tree be built for processes p0,p1,p2,p3,p4? Is
it as above with addition of p0->p4 (i.e., we get closest binomial tree and
add the rest to p0)?

Any help will be greatly appreciated!

Best,
Jen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151205/9df1aaab/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list