[mpich-discuss] success and failure report for mpich-3.0.2

Pavan Balaji balaji at mcs.anl.gov
Tue Apr 30 13:16:54 CDT 2013


On 04/30/2013 05:55 AM US Central Time, Siegmar Gross wrote:
> It seems, that I don't need a path, if the command has the same path
> on both machines. It breaks, if the program has different pathnames.

>From the launching logic, I don't know how that'll be true.  I just
tested this as well and it works fine for me.

> sunpc1 fd1026 108 mpiexec -np 2 -host sunpc1,linpc1 hostname
> sunpc1
> [proxy:0:1 at linpc1] HYDU_create_process 
> (../../../../mpich-3.0.2/src/pm/hydra/utils/launch/launch.c:74):
>   execvp error on file hostname (No such file or directory)

My guess is that "hostname" one of the machines is on your path and the
other is not.

> linpc1 fd1026 105 mpiexec -np 2 -host sunpc1,linpc1 hostname
> linpc1
> sunpc1

Are all of /bin /usr/local/bin and /usr/bin in your path?

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



More information about the discuss mailing list