David E Hudak <dhu...@osc.edu> wrote on 05/31/2011 10:45:44 AM: > dhudak@opt0003 573%> x10c++ -x10rt mpi -STATIC_CALLS -O -o Driver > DistPrefixSum.x10 Driver.x10 > /nfs/07/dhudak/devel/x10/20110525r2/osc-x10/tutorial/ > DistArrayExamples/DistPrefixSum/DistPrefixSum.x10:81: No valid > method call found for call in given type. > Call: apply(x10.lang.Int{self==lastIndex}) > Type: x10.array.Dist > {self==DistPrefixSum#this.DistPrefixSum#prefixSumArray.x10.array.DistArray#dist} > /nfs/07/dhudak/devel/x10/20110525r2/osc-x10/tutorial/ > DistArrayExamples/DistPrefixSum/DistPrefixSum.x10:27: 'this' or > 'super' cannot escape via an 'at' statement during c > onstruction. > /nfs/07/dhudak/devel/x10/20110525r2/osc-x10/tutorial/ > DistArrayExamples/DistPrefixSum/DistPrefixSum.x10:28: 'this' or > 'super' cannot escape via an 'at' statement during c > onstruction. > /nfs/07/dhudak/devel/x10/20110525r2/osc-x10/tutorial/ > DistArrayExamples/DistPrefixSum/DistPrefixSum.x10:42: 'this' or > 'super' cannot escape via an 'at' statement during c > onstruction. > /nfs/07/dhudak/devel/x10/20110525r2/osc-x10/tutorial/ > DistArrayExamples/DistPrefixSum/DistPrefixSum.x10:43: 'this' or > 'super' cannot escape via an 'at' statement during c > onstruction. > 5 errors. > > This example worked in X10 2.1.1, so I figured that there must have > been some more substantial changes. I have to turn my attention to > the GA code, but figured I would pass this on to the mailing list to > see if anyone has seen something like this before. Let me know.
Dave There are many changes in 2.1.2. It looks like your X10 source needs some updates. As to the method apply(), it's been removed from Dist. Instead you can use operator() to access the Place from the distribution. If you can send us your source code, we can help you correct the issues you're currently having. Cheers, Jim Xia Compiler Testing, X10 & XLF IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7 905-413-3444 ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users