[mpich-discuss] Fwd: About using mpi on windows
Jayesh Krishna
jayesh at mcs.anl.gov
Fri Jul 8 14:07:07 CDT 2011
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