Hi, <br><br>I can&#39;t try this until monday.<br><br>I will do it and send resuts on this list.<br><br>Regards,<br>Sole<br><br><div class="gmail_quote">On Fri, Feb 20, 2009 at 9:39 PM, Jayesh Krishna <span dir="ltr">&lt;<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div vlink="purple" link="blue" lang="EN-US">
<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>&nbsp;Please run the command below and provide us with 
the output (system_info_machines1_2.log),</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpiexec -hosts 2 
IPADDRESS_OF_MACHINE1 IPADDRESS_OF_MACHINE2 systeminfo&nbsp; &gt; 
system_info_machines1_2.log</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font color="#0000ff" face="Arial" size="2"><span>&nbsp;Instead of trying out cpi.exe try compiling and 
running the following helloworld program,</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font color="#0000ff" face="Arial" size="2"><span>################# hello world 
#####################</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>#include &lt;stdio.h&gt;</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>#include &quot;mpi.h&quot;</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font color="#0000ff" face="Arial" size="2"><span>int 
main(int argc, char *argv[])</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>{</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>&nbsp;&nbsp;&nbsp;&nbsp; int rank = 
-1;</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>&nbsp;&nbsp;&nbsp;&nbsp; MPI_Init(&amp;argc, 
&amp;argv);</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>&nbsp;&nbsp;&nbsp;&nbsp; MPI_Comm_rank(MPI_COMM_WORLD, 
&amp;rank);</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;[%d] Hello world\n&quot;, 
rank);</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>&nbsp;&nbsp;&nbsp;&nbsp; 
MPI_Finalize();</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>}</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>################# hello world 
#####################</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font color="#0000ff" face="Arial" size="2"><span>&nbsp;Compile the program above, copy it to 
c:\temp,&nbsp;and run it as follows,</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font color="#0000ff" face="Arial" size="2"><span>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpiexec -hosts 2 
IPADDRESS_OF_MACHINE1 IPADDRESS_OF_MACHINE2 
c:\temp\hello_world.exe</span></font></div><font color="#0000ff" face="Arial" size="2"><span></span></font></span></font></div><div class="Ih2E3d">
<div><font color="#0000ff" face="Arial" size="2"><span><font color="#0000ff" face="Arial" size="2"><span></span></font></span></font>&nbsp;</div>
<div><span><span></span></span><font color="#0000ff" face="Arial" size="2"><span>&nbsp;Let us know the 
results.</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
</div><div><font color="#0000ff" face="Arial" size="2"><span>Regards,</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>Jayesh</span></font></div><div><div><div class="Wj3C7c"><p><span style="font-size: 10pt;"><br><br><br></span></p></div></div></div></div></blockquote></div><br>