Re: [X10-users] Using foreach and ateach

2009-10-29 Thread Jim LaGrone
I may have just figured it out. I didn't have a Dist defined. I add that and it at least compiles. val imagesRegion: Region{rank==1} = [0..EST_TOT_GRID_SIZE-1]; val imagesDist: Dist{rank==1} = Dist.makeBlock(imagesRegion,0); finish ateach ((i_imag

Re: [X10-users] Using foreach and ateach

2009-10-29 Thread Vijay Saraswat
offending source code would really help... need specifics. Jim LaGrone wrote: > I'm having problems implementing a large loop. It works with foreach > but with ateach I get this message: > > State.x10:480-559: No valid method call found for apply(x10.lang.Point > {self.x10.lang.Point#rank==imag

[X10-users] Using foreach and ateach

2009-10-29 Thread Jim LaGrone
I'm having problems implementing a large loop. It works with foreach but with ateach I get this message: State.x10:480-559: No valid method call found for apply(x10.lang.Point {self.x10.lang.Point#rank==imagesRegion.x10.lang.Region#rank}) in x10.lang.Region. 1 error. make[1]: *** [InternalCon