[prev in list] [next in list] [prev in thread] [next in thread] 

List:       beowulf
Subject:    Re: [Beowulf] Problem with a simple MPI Program
From:       Chris Samuel <csamuel () vpac ! org>
Date:       2008-01-14 6:17:07
Message-ID: 1801047904.42861200291427379.JavaMail.root () zimbra ! vpac ! org
[Download RAW message or body]


----- "J Pill" <jpilldev@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@beowulf.org
To change your subscription (digest mode or unsubscribe) visit \
http://www.beowulf.org/mailman/listinfo/beowulf


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic