[mpich-discuss] install issue

Jayesh Krishna jayesh at mcs.anl.gov
Fri Nov 12 09:10:54 CST 2010


Hi,
 Shouldn't you be trying to run an executable (instead of the source file) using mpiexec?
 Compile the source file, hellow.c, using the mpicc wrapper and run it using mpiexec (mpiexec -n 4 ./hellow)

-Jayesh
----- Original Message -----
From: hamed amini <hamedamini_84 at yahoo.com>
To: mpich-discuss at mcs.anl.gov
Sent: Fri, 12 Nov 2010 05:48:07 -0600 (CST)
Subject: [mpich-discuss] install issue

Dear all
I install mpich2 in my machine ( ubuntu 10.04 x86_64 with 4 core processor).
Install finished and "which mpiexec" and "which mpicc" is properly work.
But in running cpi.c ( or hello.c) examples i have problem.
%mpiexec  -n 4 cpi.c
(error:)
[proxy:0:0 at hamed] HYDU_create_process (./utils/launch/launch.c:69): execvp error 
on file hellow.c (No such file or directory)
[proxy:0:0 at hamed] HYDU_create_process (./utils/launch/launch.c:69): execvp error 
on file hellow.c (No such file or directory)
[proxy:0:0 at hamed] HYDU_create_process (./utils/launch/launch.c:69): execvp error 
on file hellow.c (No such file or directory)
[proxy:0:0 at hamed] HYDU_create_process (./utils/launch/launch.c:69): execvp error 
on file hellow.c (No such file or directory)
I would be really thankful if you could help me on this.
Best regards,
Hamed Amini



_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list