Hi Dave, sorry, the "ADD" is a typo (from testing with Rail[Boolean] and Rail[Long]). Switch it around to "AND" for Boolean-Rails and you will get the same results.
By the way: do you have problem with the mailing list? Somehow, i do not receive mails via x10-users (saw your answer on sourceforge). Cheers and thanks in advance, Marco Marco Bungart <m.bungart@...> wrote on 05/05/2015 02:46:17 PM: > > I have a problem while using (all)reduce. If X10_NPLACES is set to > something greater than 1, the code hangs at team.reduce(...). With > X10_NPLACES = 1, the program terminates. The same code with a Rail[Long] > does execute and terminate as expected (see comments in code). I think > the problem is due to the fact that Boolean does not implement > Arithmetic. Is this behavior intended? If so, is there a way to get this > code snippet to terminate (other than extending Boolean and implementing > Arithmetic)? > > Tested with the current SVN-version of X10 (Revision 29416), gcc 4.8.4 > and Oracle Java 1.8.0 U45. > Hi Marco, Ben is going to take a look tomorrow. Our first impression was that ADD applied Boolean isn't a well-defined operation. That probably should have been flagged as an illegal operation at runtime (even in single place mode). For Boolean, it seems to me the reductions that make sense are AND, OR, and perhaps XOR. I expect reduce to work on Boolean with AND or OR. I'm pretty sure we do that in some of the Team test cases to verify that the test case passed. --dave ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users