Russel Winder <rus...@russel.org.uk> wrote on 11/03/2010 05:11:16 PM:
> I am fairly confident I am just missing something very simple but . . . > > I have a (trivial) embarrassingly parallel scatter/gather code which > compiles fine in both Java back-end and C++ back-end modes. The Java > backend-version runs nicely using all the cores it can for the number of > places specified in the code -- though the code runs excruciatingly > slowly compared to Java or Scala. The point is I see the scaling that > should be present. Using the C++ backend, it is nice and fast > (essentially as fast as C++ coded version using asynchronous function > calls a la C++0x) but it only ever runs on one core. So how do I get > the runx10 command to map places to cores? > > Am I just being very stupid and missing the line that tells me how to do > this? > > Thanks. > > PS I remembers to switch off PGP signing before sending this one so > hopefully it doesn't get rejected. Russel, You cannot run multi-place code with runx10 -- that script only supports launching one place at a time. With 2.1.0 using the pgas_sockets transport, you can either use mpiexec from an existing MPI installation to launch multiple processes, or use the manager/launcher combination (the process is described in the INSTALL.txt file in the distribution). Igor P.S. The mime type filter for the list includes application/pgp-signature, so I'm surprised the messages still get rejected... -- Igor Peshansky (note the spelling change!) IBM T.J. Watson Research Center X10: Parallel Productivity and Performance (http://x10-lang.org/) XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/) "I hear and I forget. I see and I remember. I do and I understand" -- Xun Zi ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users