Hi, <br><br>I can'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"><<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>></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> 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> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span> mpiexec -hosts 2
IPADDRESS_OF_MACHINE1 IPADDRESS_OF_MACHINE2 systeminfo >
system_info_machines1_2.log</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span> 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> </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 <stdio.h></span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>#include "mpi.h"</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </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> int rank =
-1;</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span> MPI_Init(&argc,
&argv);</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span> MPI_Comm_rank(MPI_COMM_WORLD,
&rank);</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span> printf("[%d] Hello world\n",
rank);</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>
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> </div>
<div><font color="#0000ff" face="Arial" size="2"><span> Compile the program above, copy it to
c:\temp, and run it as follows,</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span> 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> </div>
<div><span><span></span></span><font color="#0000ff" face="Arial" size="2"><span> Let us know the
results.</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </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>