<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>Help with getting mpich1 to use ssh... woes :S</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Does anyone know how to make mpich-1 use ssh instead of rsh? I have read in the documentation that I could set the environmental variable P4_RSHCOMMAND to ssh. So I type:<BR>
<BR>
export P4_RSHCOMMAND=ssh<BR>
mpirun -machinefile 4slaves -np 4 mbm_client<BR>
<BR>
[kc40@slave mbm_client]$ mpirun -machinefile 4slaves -np 4 mbm_client<BR>
connect to address 127.0.0.1: Connection refused<BR>
Trying krb4 rsh...<BR>
connect to address 127.0.0.1: Connection refused<BR>
trying normal rsh (/usr/bin/rsh)<BR>
connect to address 127.0.0.1: Connection refused<BR>
Trying krb4 rsh...<BR>
connect to address 127.0.0.1: Connection refused<BR>
trying normal rsh (/usr/bin/rsh)<BR>
connect to address 127.0.0.1: Connection refused<BR>
Trying krb4 rsh...<BR>
connect to address 127.0.0.1: Connection refused<BR>
trying normal rsh (/usr/bin/rsh)<BR>
C - 0, Started up & running...<BR>
C - 1, Started up & running...<BR>
C - 2, Started up & running...<BR>
C - 3, Started up & running...<BR>
<BR>
<BR>
As you can see, I get 2 "Connection refused" for each rank > 0 rsh. But it eventually gets rsh connection somehow. If numProcs > 6 then no one gets a rsh connection. Hence I can't continue my project effectively testing on >30 numProcs.<BR>
<BR>
Help</FONT>
</P>
</BODY>
</HTML>