Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

[Beowulf] Problem with a simple MPI Program

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

Chris Samuel csamuel at vpac.org
Sun Jan 13 22:17:07 PST 2008


----- "J Pill" <jpilldev at gmail.com> wrote:

> Hello.

Hiya,

> I compile with mpicc and there's no problem, but when i try to run
> with mpiexec or mpirun y have the folliwing:
> 
> $ mpirun -np 2 hello
> problem with execution of hello on DebianJPill: [Errno 2] No such file
> or directory
> problem with execution of hello on DebianJPill: [Errno 2] No such file
> or directory

You probably just need to do:

mpirun -np 2 ./hello

(or with the full path) to make the location explicit as
it will just be searching your $PATH otherwise (and you
don't want . in your $PATH)..

cheers,
Chris
-- 
Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency



More information about the Beowulf mailing list