<div>hi, Reuti,,, and all,,</div>
<div> </div>
<div>Thanks for help me, </div>
<div> </div>
<div>Well, I just in my nodes and master node wrote: "ssh-keygen -t rsa" for get the public key and later I configured this, I open the file rc.conf to write sshd_enable="YES".</div>
<div>I can log to all nodes, only with: ssh <ip address node>, but I have problems with the tstmachines, then I open the file, inetd.conf to enable the lines:</div>
<div>shell stream tcp nowait root /usr/libexec/rshd rshd -n -l -4</div>
<div>
<div> </div>
<div>login stream tcp nowait root /usr/libexec/rlogind rlogin</div>
<div> </div>
<div>later I open the files hosts and hosts.equiv to wrote the IP address, for all my nodes, </div>
<div>and I created the file .rhosts in home, and I wrote the same Ip's, I change the line <font color="#550055"> the "permitrootlogin yes" in the file, /etc/ssh/sshd_config</font></div>
<div><font color="#550055"></font> </div>
<div><font color="#550055">For the MPICH, I Installed based on this page i have the version 1.2.7</font></div>
<div> </div>
<div><a href="http://blizzard.rwic.und.edu/~nordlie/miniwulf/">http://blizzard.rwic.und.edu/~nordlie/miniwulf/</a></div>
<div><font color="#550055">--------------------------------------------------------------------------------------------</font></div>
<div><strong>Installing MPICH:<br></strong>
<dd>Now that the nodes are synched and talking to each other in a trusting manner, it's time to actually install some message passing software. The first package I installed was MPICH. I uncompressed and untared the package, then ran the configure script with the prefix option to tell it where I wanted the package installed:
<pre> ./configure --prefix=/usr/local/mpich-1.2.4
</pre>The configure script does various things while building the makefile, including testing the ssh and rsh capabilities of the master node. This is why that must be running before installing MPICH, and also why you need to be able to ssh from the master to itself without passwords. After configure runs, it's time to run 'make' to actually build the package. Finally 'make install' (run as root) puts the package in its' final location. You then need to tell MPICH what machines are available to run processes on. This is accomplished by editing the machines.(os) file, in my case: /usr/local/mpich-
1.2.4/share/machines.freebsd. MPICH puts five copies of the name of the master node in this file. Change it to a listing of all the nodes, one per line (in this case, master, alpha, and bravo). <br><br>
<dd>Now it's time to test the cluster to see if the nodes can talk to each other via MPI. Run the tstmachines script in the sbin/ directory under the mpich directory to verify this. It will help to use the -v option to get more info. If this works, it's time to run a program on the cluster.
</dd></dd></div>
<div>------------------------------------------------------------------------------------------------<br>I'm not compiled nothing this, </div>
<div> </div>
<div>"export P4_RSHCOMMAND=rsh"</div>
<div> </div>
<div>Now, I'm reading about this,...</div>
<div> </div>
<div>/usr/local/mpich-1.2.7/bin</div>
<div># export P4_RSHCOMMAND rsh</div>
<div>export:command not found<br> </div>
<div>Itry this line</div>
<div>
<div># setenv P4_RSHCOMMAND rsh</div>
<div>and is ok, but I have the same problems with the tstmachines... </div>
<div> </div>
<div> </div>
<div>what do you think, ??</div>
<div> </div>
<div>please,,,</div>
<div> </div>
<div> </div></div>
<div> </div></div>
<div><span class="gmail_quote">2006/7/7, Reuti <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:reuti@staff.uni-marburg.de" target="_blank">reuti@staff.uni-marburg.de</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>which rsh-command did you compile into the MPICH? The default ssh<br>will also need a passwordless login via ssh for each user. What you
<br>can try:<br><br>export P4_RSHCOMMAND=rsh<br><br>to set it to the default rsh-login which you set up already.<br><br>HTH - Reuti<br><br><br></blockquote></div>