[mpich-discuss] Error in running the mpi program

Anthony Chan chan at mcs.anl.gov
Fri Mar 28 11:16:38 CDT 2008



On Fri, 28 Mar 2008, Kamran Hameed wrote:

>
> folks i am running a simple MPI hello World program. i am using MPICH-2.
> when i run it with mpirun
>
> it gives me error
>
> p0_19200:  p4_error: Path to program is invalid while starting
> /home/kamran/parallel/Hello.sh with rsh on insane: -1
>    p4_error: latest msg from perror: No such file or directory

This error message is from MPICH-1's p4 not MPICH2.

>
> Can any one tell?
>
> i have included /bin of mpich2 in the path variable. MPICH2 was installed
> successfully!

If you have multiple versions of MPI installed on your machine, use full 
path to all MPI related tools in compiling and running your program.

A.Chan
>
>
> -----------
> Help save paper - do you really need to print this email?
>
> This message is for the use of the intended recipient(s) only. If you have
> received this message in error, please notify the sender and delete it. The NUST Institute
> of IT accepts no liability for loss or damage caused by software viruses and you
> are advised to carry out a virus check on any attachments contained in this message.
>
> NUST Institute of IT is the IT wing of National University of Sciences and
> Technology, Pakistan. Striving hard to promote research culture in Pakistan.
>
> -------
>
> This message has been scanned for viruses and
> dangerous content by MailScanner,and is
> believed to be clean.
>
>




More information about the mpich-discuss mailing list