Hi Marc,
we're preparing a brief guide to porting X10 applications from v1.7 to
v2.0. Please take a look and let me know if it's helpful - and feel free
to contribute!
http://docs.codehaus.org/display/XTENLANG/Porting+from+X10+1.7+to+X10+2.0
Cheers,
Josh
Igor Peshansky wrote:
> "TAJCHMAN Mar
"TAJCHMAN Marc" wrote on 10/27/2009 06:10:18 PM:
> Hi,
>
> The following code compiles and runs with x10 1.7.6 :
>
> // laplacian.x10
> import params;
>
> public class laplacian {
>
> var p:params = new params();
>
> def this(args : Rail[String]) {
> p.parse(args);
> }
>
"TAJCHMAN Marc" wrote on 10/27/2009 05:10:18 PM:
>
> When I try to compile it using svn r11743 (to test the x10mpi
> runtime), there are 2 kinds of error messages :
>
> > laplacian.x10:8: Cannot read fields of the proto value proto
laplacian.this
> > params.x10:7: Place type error: method targe
Hi,
The following code compiles and runs with x10 1.7.6 :
// laplacian.x10
import params;
public class laplacian {
var p:params = new params();
def this(args : Rail[String]) {
p.parse(args);
}
public static def main(args : Rail[String]) {
var l:laplacian =