<div>Dear Pavan Balaji</div><div><br></div><div>As your comment, I modified my command, however I received unexpected massage as below </div><div><br></div><div>[root@francium examples]# mpiexec -n 10 -machinefile /usr/local/mpich2/machine/hosts ./cpi</div>
<div>ssh: connect to host host1 port 22: Connection timed out</div><div>ssh: connect to host host2 port 22: Connection timed out</div><div><br></div><div>I don't know what is wrong?</div><div>I just used mpich2 under multi-core environment.</div>
<div><br></div><br><div class="gmail_quote">2011/5/11 Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On 05/11/2011 12:30 AM, hyunduk kim wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was trying to install mpich2. mpich2 was running with cpi file after<br>
the setup.<br>
before running the mpiexec, I made the machine file 'hosts" under the<br>
install directory as like /usr/local/mpich2/machine.<br>
(in my case, I use the multi-core 2 cpu and one cpu has 6 core)<br>
host1 slots=6<br>
host2 slots=6<br>
</blockquote>
<br></div>
The format is:<br>
<br>
host1:6<br>
host2:6<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and I started the test.<br>
#> mpiexec -n 12 -machinefile hosts ./cpi<br>
After run, I was received a error messages as following<br>
</blockquote>
<br></div>
If you use the -machinefile or -f option for the host file, the HYDRA_HOST_FILE environment variable is ignored. Do you have the "hosts" file in the current directory? Otherwise, you should use:<br>
<br>
mpiexec -n 12 -machinefile /usr/local/mpich2/machine/hosts ./cpi<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
[root@francium examples]# mpiexec -f machinefile -n 12 ./cpi<br></div>
[<a href="mailto:mpiexec@francium.kaist.ac.kr" target="_blank">mpiexec@francium.kaist.ac.kr</a> <mailto:<a href="mailto:mpiexec@francium.kaist.ac.kr" target="_blank">mpiexec@francium.kaist.ac.kr</a>>]<div class="im">
<br>
HYDU_parse_hostfile (./utils/args/args.c:316): unable to open host file:<br>
machinefile<br>
</div></blockquote>
<br>
Do you have a file called "machinefile" in your current directory?<br><font color="#888888">
<br>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
</font></blockquote></div><br>