[torqueusers] error while using mpirun

Garrick Staples garrick at usc.edu
Fri Mar 12 11:15:15 MST 2010


On Fri, Mar 12, 2010 at 11:38:56PM +0530, akshar bhosale alleged:
> i have installed mpich 1.2 6 on my desktop (core 2 duo)
> 
> my test file is :
> 
> #include<stdio.h>
> #include<mpi.h>
> 
> int main(int argc,char *argv[])
> {
>         int rank=0;
> 
>         MPI_Init(&argc,&argv);
> 
>         MPI_Comm_rank(MPI_COMM_WORLD,&rank);
>         printf("my second program rank is %d \n",rank);
> 
>         MPI_Finalize();
>         return;
> }
> 
> ---------
> 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.

I don't see anything that has to do with torque. I don't know why you would ask
the question here, but try running './test' instead of 'test'. Or use a
different program name.

There is already a /usr/bin/test which is probably getting in the way.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20100312/ae1a043a/attachment-0001.bin 


More information about the torqueusers mailing list