Hi Luis - if you have fewer hosts defined than places, the runtime will
wrap around in your list of hosts, running multiple places at each host.
For example, if you have only two lines in your hostfile, for two hosts
named A and B, but you specify X10_NPLACES=5, then you will get places 0,
2, 4 on host A, and places 1 and 3 on host B.

More details can be found here:
http://x10-lang.org/documentation/practical-x10-programming/x10rt-implementations.html


   - Ben



From:   "Luis Quesada" <l.ques...@4c.ucc.ie>
To:     x10-users@lists.sourceforge.net,
Date:   06/05/2012 11:40
Subject:        [X10-users] X10_HOSTFILE and X10_NPLACES



Dear all,

I know that in order to run in multiple places, on multiple hosts, I have
to do this:

export X10_HOSTFILE=<hostfile>
export X10_NPLACES=<num_places>
./<class_name>

Could you please explain how places are associated with hosts when the
number of hosts is less than the number of places?


Thanks in advance!
Cheers,
Luis

------------------------------------------------------------------------------

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to