<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=653325715-27072009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=653325715-27072009> Did you recompile your code with MPICH2 ?
Which version of MPICH2 are you using ? How are you launching your MPI job (the
command used to launch your job) ? Are you able to run non-MPI programs (Does
"mpiexec -n 2 hostname" work ?)?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=653325715-27072009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=653325715-27072009>(PS: The error message)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=653325715-27072009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=653325715-27072009>Jayesh</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>Luiz Carlos da
Costa Junior<BR><B>Sent:</B> Friday, July 24, 2009 10:56 PM<BR><B>To:</B> MPICH
Discuss<BR><B>Subject:</B> [mpich-discuss] Fatal error in
MPI_Init<BR></FONT><BR></DIV>
<DIV></DIV>Dears sirs,<BR><BR>I got the following message when I tried to run my
code under Windows XP:<BR><BR>
<DIV style="FONT-FAMILY: courier new,monospace; MARGIN-LEFT: 40px">Fatal error
in MPI_Init: Other MPI error, error stack:<BR>MPIR_Init_thread(394):
Initialization failed<BR>MPID_Init(90)........: channel initialization
failed<BR>MPID_Init(357).......: PMI_Init returned -1<BR>[0] PMI_Init failed:
FAIL - init called when another process has exited without calling
init<BR><BR>job aborted:<BR>rank: node: exit code[: error message]<BR>0:
amsterdam: 1: Fatal error in MPI_Init: Other MPI error, error
stack:<BR>MPIR_Init_thread(394): Initialization failed<BR>MPID_Init(90)........:
channel initialization failed<BR>MPID_Init(357).......: PMI_Init returned
-1<BR>1: amsterdam: -1073741515<BR>2: amsterdam: -1073741515<BR>3: amsterdam:
-1073741515<BR>4: amsterdam: -1073741515<BR></DIV><BR>This software can be
compiled against Linux (using Intel) and Windows (using Open Watcom).<BR>Under
Linux, it works normally.<BR>Under Windows, I got the message above.<BR>SMPD
seems to be ok once the distributed CPI program works normally.<BR>If I link my
code with MPICH1-1.2.6 and run with "mpirun", it also works fine.<BR><BR>The
weird thing is that I could already make it work with MPICH2/Windows/Open
Watcom.<BR><BR>Do you have any clue regarding the reason of this error?<BR>What
can I be doing wrong?<BR><BR>Thanks in advance,<BR>LC<BR></BODY></HTML>