[Beowulf] Problem with a simple MPI Program

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