Hi, Michael
I’m reading the doc these days and i found an api that might be useful to you.
In the Runtime class:
getName
public static String getName()
Get a string that identifies the X10 execution environment of this place. The
string is undefined but should be helpful for debugging, typically containing
the pid and hostname. On java it is equivalent to
java.lang.management.ManagementFactory.getRuntimeMXBean().getName().
在 2014年8月27日,下午11:33,Michael Dietrich <michael.dietr...@s2010.tu-chemnitz.de>
写道:
> Hello,
>
> I am using X10 as a part of my bachelor's thesis about high
> performance programming languages (so maybe some more questions may be
> asked later :-) ).
>
> My first questions are about using several places:
>
> * If I set X10_NPLACES=n with having less than n hosts, the places
> will be distributed among the existing hosts, right?
>
> * Is there a possibility to find out which place is located on which
> host? In Chapel you have here.name.
>
> * Should X10_NTHREADS be equal to the amount of cores within a host?
>
> * Let there be X10_HOSTLIST="A,B,foo". A and B are the hosts I want to
> use while foo is a randomly chosen set of letters for simulating a
> mistyped or currently inactive computer.
> If I start a program with this parameter I don't get an error message
> though there is something wrong. If I do isDead() on every place every
> of them returns false.
> Did I maybe forget to set something so it doesn't distribute the
> places to other computers or does X10 ignore host names which cannot
> be reached?
>
> Thank you very much
> bye
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users