Hello all,

Sorry if this is a stupid question, but how to I make a distributed array
of arrays (*not* a 2-dimensional array)? For instance, I want an array for
each locale (not the same size on each locale), and I want these stored in
an array which is distributed round-robin.  Something like:

var locdom = {1..numLocales} dmapped Cyclic(1);
var stuff: [locdom][???] thing;

Except that it's not obvious what ??? should be, given that it needs to be
a different domain for each index in locdom.

Considering that the domain forms part of the type of the array, I'm now
wondering if it's even syntactically possible?

Of course, you can achieve a similar thing with an array of Vectors instead.

Chris
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to