<html><div style='background-color:'><DIV class=RTE>Hello All,</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I am a very new to cluster work and stuff and I think the question that i am about to ask is very simple.</DIV>
<DIV class=RTE>I have made up a cluster using MPICH2.I have like 9 nodes. but I am first testing on jst 2 of them</DIV>
<DIV class=RTE>I have installed MPI on both of the nodes and ran an mpd on one of them.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>############################################</DIV>
<DIV class=RTE>
<P align=justify>[waseem@n01 ~]$ mpd &</P>
<P align=justify>[1] 13420</P>
<P align=justify>The number 13420 is given back as the PID for MPD, it is the signal that MPD was launched successfully.</P>
<P align=justify>Now type mpdtrace –l (it is the non capital English letter "L" not the number "1") at the command prompt. </P>
<P align=justify></P>
<P align=justify>[waseem@n01 ~]$ mpdtrace -l</P>
<P align=justify>n01.bw01.giki.edu.pk_34080 (192.168.0.1)</P>
<P align=justify></P>
<P align=justify>The number 34080 is the port number. Keep it for the future reference while launching mpd daemons on the slave nodes. Now type ssh n02 on the command prompt.</P>
<P align=justify></P>
<P align=justify>[waseem@n01 ~]$ ssh n02</P>
<P align=justify></P>
<P align=justify>After being logged in, type</P>
<P align=justify></P>
<P align=justify>[waseem@n02 ~]$ mpd -h n01 -p 34080 -n &</P>
<P align=justify>[waseem@n01 ~]$ mpdtrace –l</P>
<P align=justify></P>
<P align=justify>This would print the following response</P>
<P align=justify></P>
<P align=justify>n01.bw01.giki.edu.pk_34080 (192.168.0.1)</P>
<P align=justify>n02.bw01.giki.edu.pk_33295 (192.168.0.2)</P>
<P align=justify>###################################</P>
<P align=justify>all of this seems to be fine i guess.</P>
<P align=justify>Now i run a simple example program using </P>
<P align=justify>mpirun  ./cpi</P>
<P align=justify>and i get this..</P>
<P align=justify>Process 0 of 1 is on n01.bw01.giki.edu.pk</P>
<P align=justify> </P>
<P align=justify>BUT when i do this</P>
<P align=justify>mpirun -np 2 ./cpi</P>
<P align=justify>The thing is kind of stuck...there is no proceedings.....</P>
<P align=justify>Now i dont know where the problem might be and what mst i do.Any help in this regard would be highly appreciable.</P>
<P align=justify> </P>
<P align=justify>Regards</P>
<P align=justify>Fahad</P></DIV></div><br clear=all><hr>Express yourself instantly with MSN Messenger! <a href="http://g.msn.com/8HMAEN/2731??PS=47575" target="_top">MSN Messenger</a> Download today it's FREE!</html>