Haris H wrote:
> This was very helpful, thank you.
>
> Now, is it possible to find out the *place *of distributed element
> data_squares(i) ?
>   
data_squares.dist(i)
> (I found "apply" abstract method in documentation, but was not sure what to
> make out of it).
>
> How would I go about accessing for example data_squares(3) without iterating
> through the entire array.
>
> Also, don't ask me why, but can I distribute the same array (e.g. 4 element)
> to two different set of places (0-4 and 4-8)?
>   
You have four array elements. These can go into at most four places. You 
seem to want eight array elements..?

(A single array element is a single mutable location. It exists in a 
single place, cannot exist in two places.)


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to