<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br></div></div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 4, 2012, at 5:46 PM, Tautges wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div>If I read your message right, it's a bug with when you want the result in a different tag? &nbsp;Will fix this soon, should be easy.&nbsp;<br><br><div>On your msg about mbzoltan, the fix is much appreciated, we'll definitely get that in the code base. Dont know yet about the option string, haven't looked at code yet.&nbsp;<br><br><span style="font-size:87%">- tim <br><br>(Sent from an Androd that dosnt autocorect as wel as an ipone)&nbsp;</span> </div><br><br><br>-------- Original message --------<br>Subject: Re: question about reduce_tags behavior <br>From: Lorenzo Alessio Botti &lt;<a href="mailto:ihabiamx@yahoo.it">ihabiamx@yahoo.it</a>&gt; <br>To: Tim Tautges &lt;<a href="mailto:tautges@mcs.anl.gov">tautges@mcs.anl.gov</a>&gt;,<a href="mailto:MOAB-dev@mcs.anl.gov">MOAB-dev@mcs.anl.gov</a> <br>CC:  <br><br><br><div style="word-break:break-all;">Hi Tim,<br>I've found the bug in my code...<br>To get the sum of a tag on shared entities I need to call<br><br>pcomm-&gt;reduce_tags(gid_tag_vec, gid_tag_vec, MPI_SUM, sharedFaces);<br>and not<br>pcomm-&gt;reduce_tags(gid_tag_vec, gid_sum_tag_vec, MPI_SUM, sharedFaces);<br><br>Here is the new version, now it works...<br><br></div> </div></blockquote></div><br></div></blockquote></div><br></div></div></body></html>