<!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=229112714-16072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=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=229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=229112714-16072008> mpiexec -n 2
cpi.exe</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=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=229112714-16072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=229112714-16072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=229112714-16072008>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> 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=_new>马上就开始玩!</A>
</BODY></HTML>