<div dir="ltr">Thanks, Dave.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 6:39 PM, Dave Goodell <span dir="ltr"><<a href="mailto:goodell@mcs.anl.gov" target="_blank">goodell@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fixed by <a href="http://git.mpich.org/mpich.git/commitdiff/ba2e444" target="_blank">http://git.mpich.org/mpich.git/commitdiff/ba2e444</a><br>
<br>
It looks like I accidentally put the wrong URL into the commit message for some reason. The correct mailing list URL should be: <a href="http://lists.mpich.org/pipermail/discuss/2013-January/000227.html" target="_blank">http://lists.mpich.org/pipermail/discuss/2013-January/000227.html</a><br>
<br>
-Dave<br>
<div><div class="h5"><br>
On Jan 1, 2013, at 1:09 PM CST, Jed Brown wrote:<br>
<br>
> With MPI_Reduce, we get a nice helpful error message:<br>
><br>
> Fatal error in PMPI_Reduce: Invalid MPI_Op, error stack:<br>
> PMPI_Reduce(1217)...........: MPI_Reduce(sbuf=0x7fff3e39fa50, rbuf=0x7fff3e39fa40, count=1, dtype=USER<contig>, MPI_MAXLOC, root=0, MPI_COMM_WORLD) failed<br>
> MPIR_MAXLOC_check_dtype(151): MPI_Op MPI_MAXLOC operation not defined for this datatype<br>
><br>
><br>
> With MPI_Accumulate, we just get wrong results. See attached code using a user-defined contiguous results.<br>
><br>
> I care about this because I'm stuck [1] dispatching into alternative mechanisms for type combinations that are not directly supported by MPI (e.g., struct {int u; long long k;} and __float128). I missed a spot and had a confusing bug that I think MPICH should be catching.<br>
><br>
><br>
> [1] As usual, the crud would evaporate if only MPI_Accumulate were extensible over datatypes.<br>
</div></div>> <maxloc.c>_______________________________________________<br>
<div class="HOEnZb"><div class="h5">> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br></div>