Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
131 views

I am trying to sort an array in x10 using qsort(). First I was writing sequential code, so there were no issues. Now, I am trying to parallelize my code. Now I need to run this sort function from ...
Dheeraj's user avatar
  • 15
1 vote
1 answer
115 views

I have been reading the Lifeline Global Load Balancing Paper (the paper is available on the link http://www.cs.columbia.edu/~martha/courses/4130/au12/p201-saraswat.pdf). I am new to x10 language. I am ...
unkemptArc99's user avatar
1 vote
0 answers
95 views

I am working on a project, in which, a part is to send message from one process to another which are running on different machines. (I have to code it in X10 language). From this link, I figured out ...
Shinichi's user avatar
2 votes
2 answers
167 views

We need to pass an x10 arraylist[string] to a Java method as an object. What we tried is this.The method signature in Java interface is as follows. public void getX10ArrayList ( ArrayList <String &...
Nandula's user avatar
  • 23
1 vote
1 answer
177 views

I encountered following behavior when reading from a text file. val input = new File(inputFileName); val inp = input.openRead(); Console.OUT.println(inp.lines().next()); if (inp.lines().hasNext()) ...
Marina's user avatar
  • 15
-1 votes
1 answer
831 views

I need to store fixed size records to a file. Each record has two Ids which share 4bytes per each. I'm doing my project in x10-language. If you can help me with x10 code it would be great. But even ...
Isuru Herath's user avatar
-2 votes
2 answers
230 views

I am doing a project in x10 language. Its back-end is java. I need to import some useful java libraries to x10 class. But when I build the project with ant, it gives build errors saying imported class ...
Isuru Herath's user avatar
1 vote
1 answer
149 views

I have an old X10 example in class which I'm trying to compile. import x10.array.Array; import x10.io.Console; ... public static def main(args: Array[String](1)) { val regionTest = 1..12; ...
joschuck's user avatar
  • 423
0 votes
1 answer
92 views

I don't understand the following piece of code. val array = new Array[INT](1..1000, ([i]:Point) => 0); val dist = Dist.makeBlock(array.region); val distArray = DistArray.make(dist, ([i]:Point) =&...
user avatar
1 vote
1 answer
157 views

I wrote a canonical "Hello, World" demo class in X10: class Hello { public static def main(args:Rail[String]):void { finish for (p in Place.places()) { at (p) async Console.OUT....
Alexei Odeychuk's user avatar
1 vote
1 answer
438 views

I would like to generate and print the first 10 Fibonacci numbers. I don't want to be efficient, but I want to see some (working) X10 code that is easy to understand. My try // file Fibonacci.x10 ...
Martin Thoma's user avatar
2 votes
1 answer
628 views

I'm currently learning for an exam. In an multiple choice question of an old exam are two different versions of a for loop marked as valid: finish async for (i in array) async { ... } and finish ...
Martin Thoma's user avatar
1 vote
1 answer
642 views

I'm currently reading this and I try to compile the very first example // file HelloWorld.x10 public class HelloWorld { public static def main(args: Array[String](1)){ x10.io.Console.OUT....
Martin Thoma's user avatar
1 vote
1 answer
193 views

i'm playing around with X10 currently, and i'm getting multiple exceptions. This is the code i created: Main.x10 public class Main { // main Method for the Main class public static def main(argv:...
Martze's user avatar
  • 921
0 votes
1 answer
81 views

Can anyone tell me if X10 lang (http://x10-lang.org/) works based on tight coupling or loose coupling systems?
Carlcox89's user avatar
  • 613

15 30 50 per page