Note in the case of execution on a JVM, a single process will be spawned with P places. In the case of native execution, each place will be executed in a separate process. The nodes on which the processes are spawned is determined by the hosts file.
Also setting the number of initial threads in a place is important. When using mpirun, please use the -x option to set the X10_NTHREADS variable, thus: mpirunx10 -x X10_NTHREADS=<n> -np <p> --hostfile <hostfilename> <x10executable> <program args> Igor Peshansky wrote: > 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 > ------------------------------------------------------------------------------ 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