HI Benjamin, thanks for reply, between X10 (java-backend) vs Java, should X10 be slower in performance on local machine? so I implemented AES in Java and X10? I can see that X10 is much slower. The encryption is good, so I wonder it is X10 or my code?
Instead of using 2D region, I used Array[Array[Byte]], wonder that is issue? Thanks Anh Trinh On 11/2/11 6:08 AM, Benjamin W Herta wrote: > Hi Anh - when using more than one place, the runtime will check the > environment variables X10_HOSTFILE or X10_HOSTLIST to determine what > machines those places should run on (see "Running with Sockets Backend" > here: > http://x10-lang.org/documentation/getting-started/x10rt-implementations.html). > If these are not set, it will try to start the places on "localhost". > Does your computer have "localhost" defined (can you ping "localhost")? If > so, can you please provide us with the full command line that you are > running, including any X10-specific environment variables that you have > set? > > - Ben > > > > |------------> > | From: | > |------------> > > >--------------------------------------------------------------------------------------------------------------------------------------------------| > |Anh Trinh<anh.tr...@nasa.gov> > | > > >--------------------------------------------------------------------------------------------------------------------------------------------------| > |------------> > | To: | > |------------> > > >--------------------------------------------------------------------------------------------------------------------------------------------------| > |<x10-users@lists.sourceforge.net>, > | > > >--------------------------------------------------------------------------------------------------------------------------------------------------| > |------------> > | Date: | > |------------> > > >--------------------------------------------------------------------------------------------------------------------------------------------------| > |11/01/2011 22:04 > | > > >--------------------------------------------------------------------------------------------------------------------------------------------------| > |------------> > | Subject: | > |------------> > > >--------------------------------------------------------------------------------------------------------------------------------------------------| > |[X10-users] problem run on localmachine with X10_NPLACES=2 > | > > >--------------------------------------------------------------------------------------------------------------------------------------------------| > > > > > > Hi > > I tried the following code, and it ran fine with X10_NPLACES=1 but not > other than that. It either gives nothing on screen or > "FATAL Error 22 : cannot resolve remote hostname: Invalid argument" > > import x10.io.*; > class Test{ > public static def main(Array[String](1)){ > x10.io.Console.OUT.println(Place.ALL_PLACES); > x10.io.Console.OUT.println(Place.MAX_PLACES); > } > } > > > > ------------------------------------------------------------------------------ > > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > > > > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users