[mpich-discuss] Fwd: About using mpi on windows
Jayesh Krishna
jayesh at mcs.anl.gov
Mon Jul 11 13:37:05 CDT 2011
Hi,
The error message says that you do not have access to example MPI program, cpi.exe.
Did you install MPICH2 on the machine ? Try logging-in to the machine as an administrator and running the command.
Regards,
Jayesh
----- Original Message -----
From: "Ruizi Li" <ruizli at umail.iu.edu>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Friday, July 8, 2011 2:56:28 PM
Subject: Re: [mpich-discuss] Fwd: About using mpi on windows
Hi,
I ran the command
C:\Progra~1\MPICH2\bin\mpiexec -n 2 hostname
and set the firewall to unblock the private network connection, then I ran the second command, and it showed this:
launch failed: CreateProcess("\"Program" Files (x86)\MPICH2\examples\cpi.exe) on
' BL-CEEM-032.ads.iu.edu ' failed, error 5 - Access is denied.
launch failed: CreateProcess("\"Program" Files (x86)\MPICH2\examples\cpi.exe) on
' BL-CEEM-032.ads.iu.edu ' failed, error 5 - Access is denied.
Is this because of windows firewall? Thank you.
Regards
Ruizi
On Fri, Jul 8, 2011 at 3:07 PM, Jayesh Krishna < jayesh at mcs.anl.gov > wrote:
Hi,
Can you try executing the following command ?
C:\Progra~1\MPICH2\bin\mpiexec -n 2 hostname
Also try running,
C:\Progra~1\MPICH2\bin\mpiexec -n 2 c:\Progra~1\MPICH2\examples\cpi.exe
Let us know the results.
Regards,
Jayesh
----- Original Message -----
From: "Ruizi Li" < ruizli at umail.iu.edu >
To: mpich-discuss at mcs.anl.gov
Sent: Friday, July 8, 2011 12:32:01 PM
Subject: [mpich-discuss] Fwd: About using mpi on windows
---------- Forwarded message ----------
From: Ruizi Li < ruizli at umail.iu.edu >
Date: Fri, Jul 8, 2011 at 1:30 PM
Subject: Re: [mpich-discuss] About using mpi on windows
To: Jayesh Krishna < jayesh at mcs.anl.gov >
Hi,
Thank you for your reply! Well actually I added the path to mpiexec in Control Panel, and it doesn't work. Windows still cannot recognize mpiexec.exe. I am wondering if there are any dependencies to install and run MPICH2? Thanks!
Regards
Ruizi
On Fri, Jul 8, 2011 at 11:57 AM, Jayesh Krishna < jayesh at mcs.anl.gov > wrote:
Hi,
It looks like you haven't added path to mpiexec (c:\Program Files\MPICH2\bin) to your PATH (Control Panel --> System --> Advanced --> Environment Variables). Or you can specify the complete path to mpiexec (C:\Program Files\MPICH2\bin\mpiexec -n 2 hostname).
Regards,
Jayesh
----- Original Message -----
From: "Ruizi Li" < ruizli at umail.iu.edu >
To: mpich-discuss at mcs.anl.gov
Sent: Wednesday, July 6, 2011 9:38:24 AM
Subject: [mpich-discuss] About using mpi on windows
Hi there,
I recently installed MPICH2 for windows 64bit machine, and I tried to compile the "mcstas" program which uses some language based on C, with mpi, running on multiple cores of the machine, but the compilation failed, and it showed this error:
'mpiexec.exe' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
Is it because MPCH2 is not installed properly on the machine? Or I need to set some environment variables? I could not figure out how to deal with this. So many thanks!
Ruizi
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
_______________________________________________
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