I assume that the "AAA" below (without commas between) is a typo?  Using
the environment variable X10_HOSTLIST=A,A,A,A,B,B,B,B,B,B,B,B,B,B,B,B
should work, as would any other combination of 4 A's and 12 B's.  Setting
it to X10_HOSTLIST=A,B,B,B would also do the job, since it will repeat.
You can also use X10_HOSTFILE, and point it to a file with 16 lines, four
of which are A, and the remaining are B (or one A, and three B's).


   - Ben



From:   "Zhijun Hao" <haozhijun.fu...@gmail.com>
To:     x10-users <x10-users@lists.sourceforge.net>,
Date:   12/29/2013 03:46 AM
Subject:        [X10-users] How can I distribute different number of places on
            each        host?



 Hello,
 Did anyone know how to distribute different number of places in X10 on
 each host ?
 For example,  if there are two machines, A and B,
 in A, there are 4 cores, while in B, there are 12 cores.
 So I want to deploy 4 places on A and 12 places on B.
 When I use "X10_NPLACES=16 X10_HOSTLIST=A,B ./a.out" to invoke the
 application, the places are evenly divided.
 Since the document said the hosts are wrapped, I try to use "X10_PLACES=16
 X10_HOSTLIST=A,AAA,B,B,B,B,B,B,B,B,B,B,B,B",
 but it seems that it doesn't work.

 How can I solve this problem? Thanks.



 Best Regards,

 Zhijun Hao
 ------------------------------------------------------------------------------

 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your

 Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
 _______________________________________________
 X10-users mailing list
 X10-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/x10-users

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to