<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 9pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008> I am not sure what the cause of the errors might
be. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008># Do you get the error with "windows firewall" (or any
3rd party firewall s/w) turned off ?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008># Are you able to run cpi.exe
(MPICH2\examples\cpi.exe) with more than 1 processes (mpiexec -n 6
cpi.exe)?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008># Is it possible for you to send us a test program
(source code) that demonstrates the problem ?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145011515-18082008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 陈斯韦 [mailto:playcsw1984@hotmail.com]
<BR><B>Sent:</B> Monday, August 18, 2008 9:50 AM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> RE: [mpich-discuss] Errors in running example code in
MPICH2 under windows<BR></FONT><BR></DIV>
<DIV></DIV>Hello <BR> <BR>Now I have programed an MPI function and debug
it. But I meet another problem. <BR> <BR>When I choose the number of
processes is 1. The program provide the correct answer as we expected. But when
I choose other number of processes it will provide error informations. You can
find 2 bmp image files in the attachment of this e-mail. The 1processes provide
the right answer and the 6processes provide the error information.
<BR> <BR>I would like to know what may cause this? Errors in programming?
<BR><BR><BR>
<HR>
<BR>From: jayesh@mcs.anl.gov<BR>To: playcsw1984@hotmail.com<BR>Subject: RE:
[mpich-discuss] Errors in running example code in MPICH2 under windows<BR>Date:
Wed, 30 Jul 2008 11:43:16 -0500<BR><BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>.ExternalClass .EC_hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
        FONT-SIZE: 9pt; FONT-FAMILY: Tahoma
}
</STYLE>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_153584016-30072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_153584016-30072008> The difference in size could be due to
different settings in the compiler (or a newer/older version of the compiler).
As long as you can run your code you should be ok.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_153584016-30072008> The firewall could be prompting the user
(notifying the user) but not blocking the program (Check the firewall
settings).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_153584016-30072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_153584016-30072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_153584016-30072008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> 陈斯韦 [mailto:playcsw1984@hotmail.com]
<BR><B>Sent:</B> Wednesday, July 30, 2008 11:28 AM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> RE: [mpich-discuss] Errors in running example code in
MPICH2 under windows<BR></FONT><BR></DIV>
<DIV></DIV>I will try it. Thank you for your help.<BR> <BR>Another question
is I find the example cpi.exe is 84kb and I use the code( provided in the
example icpi.c ) to rebuild it in a new project. The size of the
cpi.exe is only 29kb. What may cause this? When I debug it, the firewall stop
the Process Launcher for MPICH2 applications. But the program still can run.
<BR><BR>
<HR>
<BR>From: jayesh@mcs.anl.gov<BR>To: playcsw1984@hotmail.com<BR>Subject: RE:
[mpich-discuss] Errors in running example code in MPICH2 under windows<BR>Date:
Tue, 29 Jul 2008 10:44:03 -0500<BR><BR><BR>
<STYLE>.ExternalClass .EC_hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
        FONT-SIZE: 9pt; FONT-FAMILY: Tahoma
}
</STYLE>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_823264215-29072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_823264215-29072008> Did you try adding mpiexec.exe (process
launcher) & smpd.exe (process manager) into the 'Exceptions' list of
the windows firewall (You might also want to add your executable to the list)
?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_823264215-29072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_823264215-29072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_823264215-29072008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=EC_EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> 陈斯韦 [mailto:playcsw1984@hotmail.com]
<BR><B>Sent:</B> Tuesday, July 29, 2008 8:08 AM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> RE: [mpich-discuss] Errors in running example code in
MPICH2 under windows<BR></FONT><BR></DIV>
<DIV></DIV>Thank you for your help. <BR> <BR>Now I am able to run the
cpi.exe. But I meet another problem. <BR> <BR>I am a
postgraduate student and doing my final project in the lab of the
university. In this way I do not have the admin account of the computer. And my
teacher do not allowed to turn of the firewall because of the potential damage
to the computer. Since this, every time I run one program, I need my teacher to
unblock the program. ( The program is blocked by the windows firewall. we can
set to allowed it as a trust program to run) . It became very inconvenient that
every time I do a little change and create a new exe my teacher should help me
to unblock it. <BR> <BR>I would like to know is there any settings that can
help me to set with out turn of the windows firewall but can run the
program? My computer's operation is Windows XP Profession.
<BR>And the firewall is the windows firewall. <BR> <BR>The firewall
block ' Process Launcher for MPICH2 applications'<BR> <BR>I am looking
forward to hearing from you. <BR><BR>
<HR>
<BR>From: jayesh@mcs.anl.gov<BR>To: playcsw1984@hotmail.com<BR>Subject: RE:
[mpich-discuss] Errors in running example code in MPICH2 under windows<BR>Date:
Thu, 24 Jul 2008 10:34:31 -0500<BR><BR><BR>
<STYLE>.ExternalClass .EC_hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
        FONT-SIZE: 9pt; FONT-FAMILY: Tahoma
}
</STYLE>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_933363115-24072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_933363115-24072008> You should disable any firewalls running
in your system (see section on using windows firewall with MPICH2 in the windows
developer's guide, available at <A
href="http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs"
target=_blank>http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs</A>,
in section 'Runtime environment' --> Firewall)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_933363115-24072008> Try running your MPI program from the
command prompt (mpiexec -n 2 hello.exe).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_933363115-24072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_933363115-24072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_933363115-24072008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=EC_EC_EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> 陈斯韦 [mailto:playcsw1984@hotmail.com]
<BR><B>Sent:</B> Thursday, July 24, 2008 4:36 AM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> RE: [mpich-discuss] Errors in running example code in
MPICH2 under windows<BR></FONT><BR></DIV>
<DIV></DIV>HI,<BR> <BR>When I use wmpiexec to run my example project.
I click the Show command and the command is as follows : 'C:\Program
Files\MPICH2\bin\mpiexec.exe' -n 2 -noprompt 'C:\Documents and
Settings\sc\My Documents\hello\bin\Debug\hello.exe'<BR> <BR>But when I
click the Execute button. No response. Then I click Run in a separate
window. The window will flash and then closed, no error information. (The window
only exist for about one second..)<BR> <BR>I would like to know what will
cause this? A firewall? <BR> <BR>Thank you for your help.<BR><BR><BR>
<HR>
<BR>From: jayesh@mcs.anl.gov<BR>To: playcsw1984@hotmail.com<BR>CC:
mpich-discuss@mcs.anl.gov<BR>Subject: RE: [mpich-discuss] Errors in running
example code in MPICH2 under windows<BR>Date: Wed, 23 Jul 2008 10:30:22
-0500<BR><BR><BR>
<STYLE>.ExternalClass .EC_hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
        FONT-SIZE: 9pt; FONT-FAMILY: Tahoma
}
</STYLE>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_938552615-23072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_938552615-23072008> Yes, you can run your MPI program
using the mpiexec wrapper (wmpiexec). The mpiexec wrapper invokes (under the
hood) mpiexec to launch your MPI job (Click on 'Show command' button to see
the full command).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_938552615-23072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_938552615-23072008>(PS: Click on 'Run in a separate
window' option if you program requires input from stdin)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_938552615-23072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_938552615-23072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_938552615-23072008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=EC_EC_EC_EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> 陈斯韦 [mailto:playcsw1984@hotmail.com]
<BR><B>Sent:</B> Wednesday, July 23, 2008 7:20 AM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> RE: [mpich-discuss] Errors in running example code in
MPICH2 under windows<BR></FONT><BR></DIV>
<DIV></DIV>Thank you for your help. <BR> <BR>I would like to know whether I
can run the processes in this way: <BR> <BR>I debug a program and get
a .exe .For example, hello.exe. <BR> <BR>Then I use the MPICHEXEC wrapper
to load the hello.exe and choose number of process equal to 2. Then
press execute to run the program?<BR> <BR>Can I get an answer in this
way?<BR><BR> <BR><SPAN class=EC_EC_EC_EC_EC_229112714-16072008><FONT
face=Arial color=#000000 size=2>Regards</FONT></SPAN><BR><BR>
<HR>
<BR>From: jayesh@mcs.anl.gov<BR>To: playcsw1984@hotmail.com<BR>CC:
mpich-discuss@mcs.anl.gov<BR>Subject: RE: [mpich-discuss] Errors in running
example code in MPICH2 under windows<BR>Date: Wed, 16 Jul 2008 09:33:01
-0500<BR><BR><BR>
<STYLE>.ExternalClass .EC_hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
        FONT-SIZE: 9pt; FONT-FAMILY: Tahoma
}
</STYLE>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008> Please let us know how you are
launching your MPI job. To run an MPI program, cpi.exe, with 2 processes you
should run,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008> mpiexec -n 2
cpi.exe</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008> The error you see below should
occur only if you try to run your MPI job without the job launcher, mpiexec. The
error message still indicates that mpiexec is not found in the PATH. Where you
able to set PATH to mpiexec correctly (Able to run mpiexec without specifying
the full path)? Please provide us as much details as
possible.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_EC_EC_EC_EC_229112714-16072008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=EC_EC_EC_EC_EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>???<BR><B>Sent:</B>
Wednesday, July 16, 2008 6:17 AM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] Errors in running
example code in MPICH2 under windows<BR></FONT><BR></DIV>
<DIV></DIV>Dear Sir ,<BR> <BR>This is the first time I use MPICH2. I
install the software and the SMPD.exe is in the process list. <BR>But when I run
the example code I meet errors as follows: <BR> <BR>[0] Error creating
mpiexec process...2<BR>[0] launchMpiexecProcess failed<BR>Fatal error in
MPI_Init: Other MPI error, error stack:<BR>MPIR_Init_thread(294): Initialization
failed<BR>MPID_Init(82)........: channel initialization
failed<BR>MPID_Init(383).......: PMI_Get_id returned 1<BR> <BR>I tried
placed the mpiexec together with the example cpde but it does no help.<BR>Then I
use wmpiexec to run the programme. But when I press the execute button . The
empty command window will flash for a second and then disappeared, and now error
message.<BR> <BR>I would like to know what may cause this
problem.<BR> <BR>I read some suggestion that '<FONT size=2> The error
indicates that the path for the job launcher (mpiexec) was not found.<BR>
Please set the path for MPICH2 binaries on your system ('Control Panel' -->
System --> Advanced --> 'Environment Variables' => Add MPICH2 bin
to the PATH). Now open a new command prompt, try running mpiexec from command
prompt (to make sure that you have the PATH set correctly) and then run your
code.'</FONT><BR><FONT size=2>And tried it but it does no help.</FONT><BR><FONT
size=2></FONT> <BR><FONT size=2>I am looking forward to hearing from
you.</FONT><BR><BR><BR><BR>
<HR>
MSN上小游戏,工作休闲两不误! <A href="http://im.live.cn/minigame" target=_blank>马上就开始玩!</A>
<BR>
<HR>
轻松把Hotmail下载到本地,试试 Windows Live Mail。 <A href="http://get.live.com/wl/all"
target=_blank>立即尝试!</A> <BR>
<HR>
MSN上小游戏,工作休闲两不误! <A href="http://im.live.cn/minigame" target=_blank>马上就开始玩!</A>
<BR>
<HR>
使用新一代 Windows Live Messenger 轻松交流和共享! <A href="http://im.live.cn/"
target=_blank>立即体验!</A> <BR>
<HR>
使用新一代 Windows Live Messenger 轻松交流和共享! <A href="http://im.live.cn/"
target=_blank>立即体验!</A> <BR>
<HR>
MSN上小游戏,工作休闲两不误! <A href="http://im.live.cn/minigame" target=_new>马上就开始玩!</A>
</BODY></HTML>