Kshitij Mehta <kvm1...@gmail.com> wrote on 11/10/2009 01:08:14 PM:

> Hello
> Is there a way to set the no. of places in the Linux environment? 
> Looks like the default value is 4, which was set by the x10 runtime 
> during installation. Please note that I am not using eclipse.

Hi, Kshitij,

Are you running with the Java backend or the C++ one?  You also did
not mention which version of X10 you're trying to use.

Your question implies that you're using the Java backend.
To run with K places, use

x10 -NUMBER_OF_LOCAL_PLACES=K YourClass

For the C++ backend, the launcher supplies the number of places, e.g.,

mpirunx10 -np K YourApp

Hope this helps,
        Igor
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
X10: Parallel Productivity and Performance (http://x10.sf.net/)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to