Hi Marco,

on running your code, I found a bug in Team creation over a
SparsePlaceGroup, logged as https://jira.codehaus.org/browse/XTENLANG-3492.
After fixing this (SVN r29025), I was able to run your code with or without
the commented lines.

By the way, I don't think it's necessary to filter dead places on line 58:

val team:Team = new Team(group.filterDeadPlaces());

- as group:PlaceGroup should contain all places except the one that was
killed.

Could you please see whether updating to SVN r29025 fixes the problem for
you?

Thanks,

Josh

On 17 February 2015 at 07:11, Josh Milthorpe <josh.miltho...@gmail.com>
wrote:

> Resending attachment to list.
>
> Run configuration:
>
> $ > x10c++ ../src/Broadcast.x10 -O -NO_CHECKS -o Broadcast && export
> X10_NPLACES=4 X10_RESILIENT_MODE=1 && Broadcast 2
>
> This compiles and starts the program. The parameter tells, which place to
> exclude from the reduction.
>
> gcc used: 2.5.1
> java used: 1.8.0_31
>
>
> On 16 February 2015 at 03:48, Marco Bungart <m.bung...@gmx.net> wrote:
>
>> Hi there,
>>
>> I just cannot wrap my mind around the behaviour I am observing right now.
>>
>> When compiling with the c++ backend, the program appended throws an
>> exception at line 51 (broadcastFlat(...)).
>> However, if you uncomment the try-catch-block (line 22-33), the code
>> will run just fine. Is this behavior intentional? For my intuition, the
>> code should run without the try-catch-block. It looks to me like the
>> SparsePlaceGroup does not actually "skip" Place(2) despite it not being
>> in the rail places.
>>
>> When compiling and running with the java backend, the program throws
>> exceptions, with and without the try-catch-block.
>>
>> Cheers,
>> Marco
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> _______________________________________________
>> X10-users mailing list
>> X10-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/x10-users
>>
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to