Hi Ben,
Thanks a lot for the explanation.
Cheers,
Luis

On Tue, June 5, 2012 4:48 pm, Benjamin W Herta wrote:
>
> 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
>
>


-- 
Luis Quesada
Research Scientist
Cork Constraint Computation Centre
University College Cork
Cork - Ireland
Phone:  (+353) 21 420 5376
Fax:    (+353) 21 420 5369
Web:    http://4c.ucc.ie/~lquesada

------------------------------------------------------------------------------
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