LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: pele_smk (pelesmk_at_[hidden])
Date: 2006-02-16 18:07:29


Great, the -s option worked for me. Thanks

On 2/15/06, Jeff Squyres <jsquyres_at_[hidden]> wrote:
>
> On Feb 14, 2006, at 4:45 PM, pele_smk wrote:
>
> > Everything seems to build fine until I try to actually execute my
> > output file. I'm recieving the error:
> >
> > mpirun: cannot start pingpong.o on n1: No such file or directory
> >
> > After reading, I've found I need to copy this file from the local
> > computer to all of the nodes I want to execute it at, but that's
> > work I was expecting mpicc or mpiexec to accomplish. Am I missing
> > something? Here is my execution string:
> >
> > $ mpicc -g -o pingpong.o pingpong.c
> > $ mpiexec -np 2 pingpong.o
> >
> > In order to execute pingpong.o I currently have to scp the file to
> > the other nodes. How can I change this?
>
> Check out the "Running MPI applications" section of the LAM FAQ:
>
> http://www.lam-mpi.org/faq/
>
> In particular, check out the questions "What directory does my LAM/
> MPI program run in on the remote nodes?" and "How does LAM find
> binaries that are invoked from mpirun?"
>
> With all that background, check out the "-s" option to mpirun (see
> the mpirun(1) man page); I think it'll do what you're looking for.
>
> --
> {+} Jeff Squyres
> {+} The Open MPI Project
> {+} http://www.open-mpi.org/
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>