Hey, it works! KMeansCUDA.x10 does compile and run, and it produces: points: 100000 clusters: 8 dim: 4
as output when run from the samples folder. Of course, it takes 47 seconds to compile and uses over 500 MB of RAM doing so, but at least it succeeds! CUDABlackScholes.x10 still fails mysteriously, this time at runtime with a segmentation fault. I'm on a Macbook testing this, not on a cluster, so really all I have to do is find a benchmark that runs in C++ with MPI and compare it to an X10 program that does the same thing and I should have a picture on the small-scale performance of X10 (I know it won't be especially representative of the actual power of X10 on a large scale, but it would help me understand how fast the generated C++ is). In any case, I have plenty to do while waiting for the 2.1 release in October (like setting up my school's ghetto cluster of 13 circa-2000 Sun Netra X1 servers with 1 GB RAM each), so I won't be trying to compile the CUDABlackScholes benchmark again for a while (and even then it wouldn't run on the cluster of discarded servers due to zero support for CUDA). X10 looks pretty amazing, and I'm glad to see it is still going (unlike Fortress). On Mon, Sep 13, 2010 at 8:26 AM, David Cunningham <dcun...@us.ibm.com>wrote: > It's quite likely the code is rotted. the x10cuda is actually not > generated but should be in the bin directory already. It could be that it > has not been included in the releases, however, since we have yet to do a > formal CUDA release. The next release (2.1) will have official CUDA > support. It definitely doesn't work in SVN at the moment but there is a lot > of upheaval there. > > Instead of running x10cuda you can run x10c++ with additional options -J-ea > -extclass x10cuda.ExtensionInfo > > Then you can try to compile KMeansCUDA.x10 and see what happens. > > thanks > > > > Vijay Saraswat <vi...@saraswat.org> wrote on 12/09/2010 20:39:53: > > > Vijay Saraswat <vi...@saraswat.org> > > 12/09/2010 20:39 > > > > To > > > > David Cunningham/Watson/i...@ibmus > > > > cc > > > > Subject > > > > Fwd: [X10-users] Is x10cuda available in version 2.0.6? ( was: CUDA > > sample fails with syntax error? ) > > > > > > > > -------- Original Message -------- > > > > Subject: > > > > [X10-users] Is x10cuda available in version 2.0.6? ( was: CUDA > > sample fails with syntax error? ) > > > > Date: > > > > Sun, 12 Sep 2010 17:30:31 -0700 > > > > From: > > > > Tommy Ettinger <tommy.ettin...@gmail.com> > > > > Reply-To: > > > > Mailing list for users of the X10 programming language <x10- > > us...@lists.sourceforge.net> > > > > To: > > > > x10-users@lists.sourceforge.net > > > > > > > I don't think x10cuda is generated by 2.0.6 , but is there an option I am > > missing here? I ran: > > > > ant -Doptimize=true -DX10RT_CUDA squeakyclean dist > > > > in the (version 2.0.6) x10.dist directory, but it seems not to produce an > > x10cuda executable in the bin subfolder. The only information I found on > > this was a post that mentioned an earlier version's SVN, so I assumed > that > > the CUDA stuff had been merged into the stable releases, but I suppose > that > > is not the case. Should I just wait for the fixes to be released and > > coordinated in 2.1 in about a month? > > > > (Sorry for the topic change, GMane was not working for me and I had to > > switch to standard list-by-email form.) > > -- > > > > Thomas (Tommy) Ettinger > > > ------------------------------------------------------------------------------ > > Start uncovering the many advantages of virtual appliances > > and start using them to simplify application deployment and > > accelerate your shift to cloud computing > > http://p.sf.net/sfu/novell-sfdev2dev > > _______________________________________________ > > X10-users mailing list > > X10-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/x10-users > > > > > > > -- Thomas (Tommy) Ettinger ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users