Dear All,
I required few clarifications regarding X10 run-time environment variables
X10_HOSTLIST and X10_HOSTFILE.
Hello.x10 program:
class Hello {
public static def main(args:Rail[String]) {
for(p in Place.places())
at(p) Console.OUT.println("Hello");
}
}
I tried to execute the above Hello.x10 program with distributed environment
(c++) set up with X10 run-time variables as follows,
*Case 1:*
export X10_HOSTLIST=node1, node2
export X10_NPLACES=16
export X10_NTHREADS=2, the program executed and printed "Hello" 16 time.
But, when run the same program with,
*Case 2:*
export X10_HOSTLIST=node1, node2
export X10_NPLACES=32
export X10_NTHREADS=2, the program throws the below error,
*ERROR:*Launcher 14: Error launching place 30 on host "k2n01". Please
verify hostnames are specified correctly.
Launcher 9: Error launching place 19 on host "k2n01". Please verify
hostnames are specified correctly.
Launcher 11: Error launching place 23 on host "k2n01". Please verify
hostnames are specified correctly.
Launcher 10: Error launching place 22 on host "k2n01". Please verify
hostnames are specified correctly.
Launcher 5: Error launching place 12 on host "k2n01". Please verify
hostnames are specified correctly.
Launcher 6: tearing down remaining runtimes after waiting 3 seconds
Launcher 6: Error launching place 13 on host "k2n01". Please verify
hostnames are specified correctly.
To summarize, I am getting "launching place" error when I increase the
X10_NPLACES from 16 to 32. I also tried with one node (export
X10_HOSTLIST=node1), faced the same error.
*Case 3:*
unset X10_HOSTLIST
export X10_NPLACES=32
export X10_NTHREADS=2, the program executed and printed "Hello" 32 time.
With one node by NOT using "X10_HOSTLIST", I am not getting the error.
Please advise, how to fix the above error.
Thanks.
Arun T
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users