[mpich-discuss] mpiexec Execution Problem - No file or directory

Dave Goodell goodell at mcs.anl.gov
Mon Jan 25 15:34:01 CST 2010


On Jan 25, 2010, at 3:26 PM, Brooks Garrison wrote:

[...]
> by CDing into the directory with the executable and running:
>
> mpiexec -n 2 /home/bgarrison/bin/mpi_hello
>
> but I get an error:
>
> problem with execution of /home/bgarrison/bin/mpi_hello on Node1:
> [Errno 2] No such file or directory.
>
> BUT...if I copy the executable to the /home/bgarrison/bin directory on
> Node 1, everything works fine.  I don't understand this.  I thought
> MPI did the copy for you?

Nope, none of the mpiexec implementations provided by MPICH2 provide  
executable staging.  You are responsible for staging the executable  
yourself.  The most common way to handle this is to run the executable  
from a network file system such as NFS that is mounted on all of the  
participating nodes.

-Dave



More information about the mpich-discuss mailing list