Boost C++ Libraries: Ticket #2594: Bug into all_reduce https://svn.boost.org/trac10/ticket/2594 <p> Good Morning.<br /> </p> <p> I've found a bug into the file<br /><br /> <code>boost/mpi/collectives/all_reduce.hpp</code><br /><br /> At line 36 you should change<br /><br /> <code>is_mpi_op&lt;Op, T&gt;::op()</code><br /> <br /> into<br /> <br /> <code>(is_mpi_op&lt;Op, T&gt;::op())</code><br /> <br /> i.e. add a couple of parentheses around the expression. Without those parentheses, this build error occurs:<br /> <br /> <code>error: macro "MPI_Allreduce" passed 7 arguments, but takes just 6</code><br /> <br /> because the comma that separates template parameters confuses the preprocessor.<br /> <br /> I've noticed that the bug is still present into the Boost.MPI development version.<br /> <br /> My compiler is gcc 4.1.2.<br /> <br /> Thank you in advance.<br /> Michele De Stefano </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2594 Trac 1.4.3 federico.golfre@… Wed, 17 Dec 2008 11:37:49 GMT <link>https://svn.boost.org/trac10/ticket/2594#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2594#comment:1</guid> <description> <p> Hi! </p> <p> Using the gather function of the Boost.MPI (which calls the MPI_Allreduce) my compiler (gcc 4.1.2) throws the same error. </p> <p> I've changed the boost/mpi/collectives/all_reduce.hpp following the instructions posted by Michele and it runs. </p> <p> Thank you, Federico Golfrè Andreasi </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 29 Jan 2009 07:03:40 GMT</pubDate> <title>owner, summary changed https://svn.boost.org/trac10/ticket/2594#comment:2 https://svn.boost.org/trac10/ticket/2594#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Douglas Gregor</span> to <span class="trac-author">Matthias Troyer</span> </li> <li><strong>summary</strong> <span class="trac-field-old">Bub into all_reduce</span> → <span class="trac-field-new">Bug into all_reduce</span> </li> </ul> <p> Good Morning. I noticed that on January, 31st, Boost 1.38.0 will be released. I've also noticed that the bug I signaled (see above) has not been fixed yet.<br /> <br /> May you fix it before the release, please ?<br /> <br /> I also suggested the modification and I'm sure that in 5 minutes you'll be done.<br /> Please, control other collectives too.<br /> <br /> Thank you again.<br /> <br /> Michele </p> Ticket micdestefano@… Mon, 23 Feb 2009 11:12:04 GMT owner, version, milestone changed https://svn.boost.org/trac10/ticket/2594#comment:3 https://svn.boost.org/trac10/ticket/2594#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matthias Troyer</span> to <span class="trac-author">Douglas Gregor</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.36.0</span> → <span class="trac-field-new">Boost 1.38.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.39.0</span> </li> </ul> <p> I re-opened this ticket, because the bug is still present into the 1.38.0 version. </p> Ticket micdestefano@… Tue, 05 May 2009 07:54:55 GMT version changed https://svn.boost.org/trac10/ticket/2594#comment:4 https://svn.boost.org/trac10/ticket/2594#comment:4 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> </ul> <p> The bug is still present into the 1.39 release. </p> Ticket Matthias Troyer Thu, 07 May 2009 05:49:17 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2594#comment:5 https://svn.boost.org/trac10/ticket/2594#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket buy Cialis medication Mon, 08 Jun 2009 11:24:03 GMT <link>https://svn.boost.org/trac10/ticket/2594#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2594#comment:6</guid> <description> <p> If I'd known computer science was going to be like this, I'd never have given up being a rock 'n' roll star. </p> <blockquote> <p> -- G. Hirst </p> </blockquote> <p> <a class="ext-link" href="http://forum.studenti.it/members/compraviagraonline.html"><span class="icon">​</span>compra il levitra</a> <a class="ext-link" href="http://www.folkd.com/user/buyfioricetonline"><span class="icon">​</span>why to order fioricet</a> <a class="ext-link" href="http://www.folkd.com/user/buycialisonline"><span class="icon">​</span>buy one tab of Cialis</a> /ZB9BhV <a class="ext-link" href="http://www.folkd.com/user/tramadolonline"><span class="icon">​</span>sleeping tramadol</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>