[mpich-discuss] [mpich2-maint] help for running MPICH2 under Window 7

Dingjun Chen Dingjun.Chen at cmgl.ca
Mon Sep 12 15:18:32 CDT 2011


 

 

From: Dingjun Chen 
Sent: Monday, September 12, 2011 2:14 PM
To: 'Jayesh Krishna'
Subject: RE: [mpich2-maint] help for running MPICH2 under Window 7

 

Hi, Jayesh, 

 

You are right. Under Window 7, I searched ‘mpiexec.exe’ and found several ‘mpiexec.exe’ on my computer. so I put ‘C:\Program Files\MPICH2\bin’ into the head of the PATH environmental variable. Please see the ‘PATH’ variable for details. Then I did tests again and the problem did not occur. 

 

I did compiled cxxpi.exe cpi.exe  fpi.exe under MS Studio 2008 and the latest MPICH2 lib was used, I guess. Please see the following snapshots. 

 

Thanks indeed for your assistances. 

 

Dingjun 

 

 

Ls

 

 

 

 

 

 

 

 

 

-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
Sent: Monday, September 12, 2011 1:38 PM
To: Dingjun Chen
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich2-maint] help for running MPICH2 under Window 7

 

Hi,

 Try the following commands and let us know the output of each command

 

# Run "which mpiexec" (To make sure that you are using the right mpiexec)

# Run "mpiexec -n 2 c:\Progra~1\MPICH2\examples\cpi.exe"

 

 Have you compiled "exe\cpi.exe" and "exe\cxxpi.exe" with the latest MPICH2 libraries ?

 

Regards,

Jayesh

 

----- Original Message -----

From: "Dingjun Chen" <Dingjun.Chen at cmgl.ca>

To: "Jayesh Krishna" <jayesh at mcs.anl.gov>

Sent: Monday, September 12, 2011 11:46:37 AM

Subject: RE: [mpich2-maint] help for running MPICH2 under Window 7

 

 

 

This means the ‘mpiexec.exe’ must be with ‘cpi.exe, cpxx.exe, and fpi.exe’ under the same directory. Otherwise the problem is occurred. 

If I copy ‘mpiexec.exe’ into the directory where cpi.exe is and run mpiexec –n 12 cpi.exe. then the test is successful. 

 

Dingjun

 

-----Original Message-----

From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 

Sent: Monday, September 12, 2011 10:06 AM

To: Dingjun Chen

Cc: mpich-discuss at mcs.anl.gov

Subject: Re: [mpich2-maint] help for running MPICH2 under Window 7

 

Hi,

 Please let us know the steps that you used to install MPICH2.

 

Regards,

Jayesh

----- Original Message -----

From: "Dingjun Chen" <Dingjun.Chen at cmgl.ca>

To: "Jayesh Krishna" <jayesh at mcs.anl.gov>

Sent: Monday, September 12, 2011 9:15:32 AM

Subject: RE: [mpich2-maint] help for running MPICH2 under Window 7

 

HI, Jayesh, 

 

Thanks indeed for your reply. 

 

I did it in terms of your suggestions. But the problem is still there. 

 

I run tests as follows: 

 

I entered C:\Program Files\MPICH2\examples

and ran  mpiexec -n 12 cpi.exe

the error prompt is as before: 

"CreateProcess failed, error 2

Unable to start the local smpd manager"

 

However, if I entered c:\Program Files\MPICH2\bin

and ran mpiexec -n 12 ../examples/cpi.exe

test is successful and cpi.exe works well under 12 CPUs. 

 

This means I cannot do tests under the directory C:\Program Files\MPICH2\examples where cpi.exe is. 

 

I look forward to your suggestions again and have a good day.  

 

 

Dingjun 

 

-----Original Message-----

From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 

Sent: Friday, September 09, 2011 2:47 PM

To: Dingjun Chen

Cc: mpich-discuss at mcs.anl.gov

Subject: Re: [mpich2-maint] help for running MPICH2 under Window 7

 

 Uninstall your existing version of MPICH2 and follow the instructions in Section 9.4 (NOT 9.1) of the installer's guide (http://www.mcs.anl.gov/research/projects/mpich2/documentation/files/mpich2-1.4.1-installguide.pdf).

 Let us know if you still have issues.

 

Regards,

Jayesh

 

----- Original Message -----

From: "Dingjun Chen" <Dingjun.Chen at cmgl.ca>

To: mpich2-maint at mcs.anl.gov

Sent: Friday, September 9, 2011 3:39:27 PM

Subject: [mpich2-maint] help for running MPICH2 under Window 7

 

 

 

 

 

Hi, Dear Sir or Madam, 

 

 

 

I just installed MPICH2 on my computer of Window 7 and ran the examples cpi.exe. 

 

When I enter the following command: 

 

 

 

mpiexec –n 4 cpi.exe 

 

 

 

the prompt is as follow: 

 

“CreateProcess failed, error 2 

 

Unable to start the local smpd manager.” 

 

 

 

Could you tell me how to solve above problem? I look forward to hearing from you. 

 

Thank you in advance. 

 

 

 

Dingjun Chen 

 

R&D Technology Center 

 

Computer Modelling Group Ltd. 

 

3512 33 rd street NW, 

 

Calgary, AB, Canada 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

_______________________________________________

mpich2-maint mailing list

mpich2-maint at lists.mcs.anl.gov

https://lists.mcs.anl.gov/mailman/listinfo/mpich2-maint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110912/fdef4564/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 367435 bytes
Desc: image001.png
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110912/fdef4564/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 86267 bytes
Desc: image002.png
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110912/fdef4564/attachment-0003.png>


More information about the mpich-discuss mailing list