LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2006-01-10 08:24:48


On Jan 6, 2006, at 3:04 PM, Arroyo, Elkin wrote:

> I am trying to execute an external program in several procesors.
> Below is
> a copy of my current code. I am getting a problem after executing
> the command
> system. The node is unable to see the executable that I want to
> run. Any suggestion ?
> is there any other way to wath I intend ?

I assume you have compiled the application and have an executable --
let's say it's named "a.out".

You should be able to:

        mpirun C a.out

which will as many a.out's as the size of your LAM universe (i.e.,
however big you lambooted it to be).

This presupposes that a.out is available and visible on all the nodes
that you are running on. For example, if you have a shared
filesystem between all nodes, then a.out should be visible everywhere.

Look through the LAM FAQ for more information on how LAM finds
executables in the category "Running LAM/MPI applications" for more
information.

--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/