Hi Jayesh,<br><br>I compile my code with OpenWatcom compiler.<br>The procedure I use is:<br><ol><li>create library files from mpich2.dll and fmpich2.dll (distributed with MPICH2 setup),</li><li>compile all my code with the MPICH2 libraries</li>
<li>run my code using "mpiexe -host hostname -n N myapplication"</li></ol>I had already used procedure successfully before, but I don't know what is happening now.<br>I have tried with MPICH2 versions 1.0.8 and the newer one 1.1.1, but the error is the same.<br>
<br>I also tried to repeat this procedure on a computer without MPI's installation, but I got the same.<br><br>As I told before, I'am able to run CPI and also non-MPI programs.<br>Any clue that can help me?<br><br>
Thanks<br><br><div class="gmail_quote">2009/7/27 Jayesh Krishna <span dir="ltr"><<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span> 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" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>(PS: The error message)</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Regards,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Jayesh</span></font></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a>
[mailto:<a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a>] <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></div><div class="h5">
<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></div></div></div>
</blockquote></div><br>