[Beowulf] error while using mpirun

Erik Andresen erik at contica.com
Sat Mar 13 07:48:26 PST 2010

> Date: Fri, 12 Mar 2010 23:38:56 +0530
> From: akshar bhosale <akshar.bhosale at gmail.com>
> Subject: [Beowulf] error while using mpirun
> To: beowulf at beowulf.org, torqueusers at supercluster.org
> when i do
> /usr/local/mpich-1.2.6/bin/mpicc -o test test.c ,i get test ;but when i do
> /usr/local/mpich-1.2.6/bin/mpirun -np 4 test,i get
> p0_31341:  p4_error: Path to program is invalid while starting
> /home/npsf/last with rsh on dragon: -1
>     p4_error: latest msg from perror: No such file or directory
> error.
> please suggest the solution.
Classic mistake. Try to use

mpirun -np 4 ./test

On my system 'which test' returns /usr/bin/test
so I guess mpirun tries to run another 'test' than
the one you made.

Erik Andresen

More information about the Beowulf mailing list