[mpich-discuss] error running mpi program

Darius Buntinas buntinas at mcs.anl.gov
Thu Oct 27 19:46:33 CDT 2011


MPICH2 (or at least the Hydra process manager) needs to be installed on both machines.
Also, your application (hellow) needs to be accessible from both machines (e.g., on a shared filesystem or by copying the files).

-d


On Oct 27, 2011, at 7:08 PM, Charles Sartori wrote:

> i have two computers, i installed mpich1.4 following README file.
> 
> machinefile:
> pexe-note
> pexe-pc
> 
> /etc/hosts:
> 10.1.1.2  pexe-pc
> 10.1.1.4  pexe-note
> 
> ssh works fine without password.
> 
> when i run hellow example:
> 
> pexe-note at pexe-pc:~$ mpiexec -f machinefile -n 5 ./mpich2-1.4/examples/hellow
> [proxy:0:0 at pexe-note] HYDU_create_process (./utils/launch/launch.c:69): execvp error on file ./mpich2-1.4/examples/hellow (No such file or directory)
> [proxy:0:0 at pexe-note] HYDU_create_process (./utils/launch/launch.c:69): execvp error on file ./mpich2-1.4/examples/hellow (No such file or directory)
> [proxy:0:0 at pexe-note] HYDU_create_process (./utils/launch/launch.c:69): execvp error on file ./mpich2-1.4/examples/hellow (No such file or directory)
> 
>  
>  algorithm works without machinefile..
> 
> pexe-note at pexe-pc:~$ mpiexec -n 5 ./mpich2-1.4/examples/hellow
> Hello world from process 0 of 5
> Hello world from process 1 of 5
> Hello world from process 3 of 5
> Hello world from process 2 of 5
> Hello world from process 4 of 5
> 
> 
> 
> 
> only! its works 
>  
>  
> -- 
> *Charles Sartori
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list