<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>If I read your message right, it's a bug with when you want the result in a different tag? Will fix this soon, should be easy. <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. <br><br><span style="font-size:87%">- tim <br><br>(Sent from an Androd that dosnt autocorect as wel as an ipone) </span> </div><br><br><br>-------- Original message --------<br>Subject: Re: question about reduce_tags behavior <br>From: Lorenzo Alessio Botti <ihabiamx@yahoo.it> <br>To: Tim Tautges <tautges@mcs.anl.gov>,MOAB-dev@mcs.anl.gov <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->reduce_tags(gid_tag_vec, gid_tag_vec, MPI_SUM, sharedFaces);<br>and not<br>pcomm->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> </body>