Sarat, Kshitij,
A ValRail would essentially be replicated across places (its contents
will be, at any rate). An array is usually distributed, and thus not
replicated.
Again, please see the sample programs in the distribution for more
examples. You might also want to look at the tutorial on the
Hi,
Could you please tell us how to replicate an array or variable across all
the places so that its accessible at all places.
Or is there a way to make a variable global so that it can be accessed
everywhere?
Thanks,
Sarat
On Mon, Dec 7, 2009 at 5:32 PM, Kshitij Mehta wrote:
> Thats exactly w
Thats exactly what I want. I want an array to be available/replicated in all
places.
Also, I am not clear why I get the classCastException.
Thanks, Kshitij
On Mon, Dec 7, 2009 at 5:20 PM, Igor Peshansky wrote:
> Kshitij Mehta wrote on 12/07/2009 05:53:30 PM:
>
> > Is there a way to make a vari
Kshitij Mehta wrote on 12/07/2009 05:53:30 PM:
> Is there a way to make a variable global such that it is available on
all
> places? I want to avoid declaring it on one place and fetching it at
other
> places using a future.
>
> Also, I get a classCastException at the foll.statement:
> finish
Is there a way to make a variable global such that it is available on all
places? I want to avoid declaring it on one place and fetching it at other
places using a future.
Also, I get a classCastException at the foll.statement:
finish ateach(val p(t):Point(1) in Dist.makeUnique(Place.places))