<!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=938552615-23072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=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=938552615-23072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=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=938552615-23072008> </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=938552615-23072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=938552615-23072008>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> 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_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>
<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_229112714-16072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=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_229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=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_229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=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_229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_229112714-16072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=EC_229112714-16072008>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> 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=_new>立即尝试!</A> </BODY></HTML>