Updated x10 with Atomic[Fill in the blank]

2 views
Skip to first unread message

Chatura Atapattu

unread,
Dec 8, 2010, 4:02:54 PM12/8/10
to coms4995pppp
In class today, Prof. Saraswat mentioned that the new x10 compiler/runtime supports AtomicFloats/Doubles/etc.  Where can we get access to that?  As far as the sourceforge files, the most up to date is 2.1.0.1 which was released in November.  Also, will three musketeers be updated with the same compiler/runtime?

Thanks!

- Chat

Chatura Atapattu

unread,
Dec 10, 2010, 10:01:40 AM12/10/10
to Chatura Atapattu, coms4995pppp

Any update on this?

Martha Kim

unread,
Dec 10, 2010, 11:11:24 AM12/10/10
to coms49...@googlegroups.com, Chatura Atapattu
Hi Chat,

It appears that runtime is already installed on the musketeers cluster.  Just set the following environment variable:  X10_PATH=/opt/x10-2.1.0.1/bin

See /opt/x10-2.1.0.1/ for include files, samples, etc.

Martha 

Chatura Atapattu

unread,
Dec 10, 2010, 11:20:39 AM12/10/10
to Martha Kim, coms49...@googlegroups.com
Yeah, we are using 2.1.0.1 but that compiler/runtime does not support the AtomicFloats and AtomicDouble, etc. that Prof. Vijay mentioned that the current x10 version supports.  I saw the x10 trunk in the code and could download that and try to build that?  Besides the compiler and runtime folders, do I need anything else?

Martha Kim

unread,
Dec 10, 2010, 11:22:58 AM12/10/10
to Chatura Atapattu, coms49...@googlegroups.com
That seems odd as presumably the "current x10 version" should be supported by the current version of the compiler and runtime.  Perhaps Vijay, Yoav or Shreedhar can help out on this one?

Martha

Vijay Saraswat

unread,
Dec 11, 2010, 6:54:57 AM12/11/10
to coms49...@googlegroups.com, David Cunningham
Hi Chatura --

I thought I said in class to get it from SVN head?

http://x10.svn.sourceforge.net/viewvc/x10/trunk/x10.runtime/src-x10/x10/util/concurrent/

You should simply be able to copy the code from there into your own packages, appropriately renaming.

(There is nothing native or magical about these classes.)

Thanks to Dave Cunningham for implementing them in short order.

Best,
Vijay

Vijay Saraswat

unread,
Dec 11, 2010, 7:02:57 AM12/11/10
to coms49...@googlegroups.com
(The code was committed in the last few days to SVN head. We have not made a new release since then. So the code is accessible only in SVN head. As I said in a previous message, you can copy it out from their into your own package and use it.)
Reply all
Reply to author
Forward
0 new messages