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.println(here+" says hello");
}
Console.OUT.println("Goodbye");
}
}
My computer has a 2-core CPU, but X10 code does not recognize two processing cores. As I understand, it recognizes one core of the CPU only. So, the output to console is as follows:
Place(0) says hello
Goodbye
instead of
Place(0) says hello
Place(1) says hello
Goodbye
as it might be expected to be.
How to force X10 code to recognize all processing cores of the CPU available on my laptop? My laptop is equipped with an Intel Core 2 Duo CPU. The operating system is Windows 7.
Thank you in advance.