Hi, Soh-san.

Thank you for your report.

We noticed there is a bug in static DistArray handling.

The following code is a simplified case:
class DistArrayTest {
        static val r = 1..1;
        static val a = DistArray.make[Int](Dist.makeBlock(0..1), 
(p:Point)=> r.contains(p) ? 0 : 1);
        public static def main(Array[String]) {
        }
}

If these fields declared as non static fields, it works.
class DistArrayTest {
        val r = 1..1;
        val a = DistArray.make[Int](Dist.makeBlock(0..1), (p:Point)=> 
r.contains(p) ? 0 : 1);
        public static def main(Array[String]) {
                new DistArrayTest();
        }
}

We are investigating this issue (
http://jira.codehaus.org/browse/XTENLANG-2073), but please try this 
workaround for your purpose.

Yuki MAKINO / X10 Compiler, IM, Yamato Software Development Laboratory, 
IBM Japan



From:   Tetsu Soh <tetsu.soh....@gmail.com>
To:     x10-users@lists.sourceforge.net
Date:   2010/11/12 15:38
Subject:        [X10-users] How to run HeatTransfer sample on Java-backend 
?



Hello,

I try to run the HeatTransfer sample code in X10 release package(v 2.1.0)
with Java-back end.
However, except the HeatTransfer_v0, other versions of code cannot finish.
I can sure that the program is running by observing the CPU usage, but the
program just never end.
The way that I execute the program is normal -- compiling with "x10c" and
running with "x10" without any options.

So, why? any wrong with the way of executing the program? or anything 
wrong
with the Place implementation in Java backend?

Btw, with C++ backend, all HeatTransfer code works fine.

Thank you.
-Tetsu
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to