Hi guys,

The IP address is only one of various attributes one may be interested 
about a certain Place.

I'm focusing my efforts on CUDA related code and some other attributes 
came to my mind like: amount of available memory, relative performance 
index, compute capability and ping lag time. These attributes would be 
interesting if one would like to build an heterogeneous topology.

Cheers :)

Richard Gomes
M: +44(77)9955-6813
http://tinyurl.com/frgomes
twitter: frgomes

JQuantLib is a library for Quantitative Finance written in Java.
http://www.jquantlib.org/
twitter: jquantlib

On 10/12/10 17:17, Igor Peshansky wrote:
> I had the impression that she wants something more elaborate than that.
>
> But sure, if Yan had a way of finding out the IP address for each node,
> she could build a reverse table on her own.
>          Igor
>
> Stephen Fink/Watson/i...@ibmus wrote on 12/10/2010 12:04:40 PM:
>
>> I'd suggest that Li Yan wants an X10 equivalent of java.net.InetAddress.
>
>> Since we have permission to port libraries from Harmony, we can put this
>
>> on the list of desired classes.
>>
>> I'll open a JIRA feature request for this.
>>
>> SJF
>> ------------------------------------------------------------------------
>> Stephen Fink
>> IBM T.J. Watson Research Center
>> sjf...@us.ibm.com
>> (914)784-7776
>>
>>
>>
>>
>> From:
>> Igor Peshansky/Watson/i...@ibmus
>> To:
>> Mailing list for users of the X10 programming language
>> <x10-users@lists.sourceforge.net>
>> Cc:
>> Yan CRL Li<liyan...@cn.ibm.com>, Qi Ming Teng<teng...@cn.ibm.com>
>> Date:
>> 12/10/2010 08:28 AM
>> Subject:
>> Re: [X10-users] How to Map IP address to Place ID
>>
>>
>>
>> Yan CRL Li<liyan...@cn.ibm.com>  wrote on 12/10/2010 05:35:06 AM:
>>
>>> For this scenario, I know the IP address of each node, I want to know
>> each
>>> Place id corresponding to this IP.
>>>
>>> For example :I put different files on these nodes. I start 5 places on
>
>> two
>>> physical nodes:
>>> File A, File B are on node 1 with IP: 192.168.1.1
>>> FileC,File D and File E anre on node 2 with IP :192.168.1.2
>>>
>>> When I access these Files, I need to know the mapping relationship
>> between
>>> Place ID and IP address.
>>>
>>> But when programming with X10, I only know the place id, I do not know
>>> which node is mapping to this id, how can I do this ?
>>
>> Yan,
>>
>> The mapping of places to nodes is external to X10.
>>
>> When you launch using the sockets or MPI transport, you specify the host
>
>> list
>> as one of the parameters.  The hosts will be picked out of the host list
>
>> in a
>> round-robin fashion, so you know exactly which host corresponds to which
>> place.
>>
>> If you use an external launcher, e.g., SLURM, you would have to look at
>> the
>> documentation for that system to see how to force it to use particular
>> nodes
>> as specific places.
>>
>> The usual approach is to have a shared filesystem, put all 5 files on
> it,
>> and let each node access the file that corresponds to its place.  I
>> realize
>> that the files may be too large for this to be immediately feasible, but
>> disk space is cheap, and it may end up being the most general solution.
>>          Igor

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to