[Beowulf] Problem with a simple MPI Program

Chris Samuel csamuel at vpac.org
Mon Jan 14 01:17:07 EST 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
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

!DSPAM:478b0455265661735719037!



More information about the Beowulf mailing list