[mpich-discuss] how to make the hosts files
Reuti
reuti at staff.uni-marburg.de
Thu May 12 09:17:35 CDT 2011
Am 11.05.2011 um 17:59 schrieb Mandar Gurav:
> I hope, you have your /etc/hosts file having entry of the host2 with
> actual IP address of the host2 on host1 machine? and same for host2?
Or a firewall in the way?
Anyway, besides a passphrase-less ssh login you could also set up a
hostbased-authentication:
http://arc.liv.ac.uk/SGE/howto/hostbased-ssh.html
-- Reuti
> One more doubt.... did you setup passwordless login among the two
> hosts?
>
> Check if it succeeds for host1 to host2 and the other way.
>
> -- Mandar Gurav
>
> On 5/11/11, Nicolas Rosner <nrosner at gmail.com> wrote:
>>> [root at francium examples]# mpiexec -n 10 -machinefile
>>> /usr/local/mpich2/machine/hosts ./cpi
>>> ssh: connect to host host1 port 22: Connection timed out
>>> ssh: connect to host host2 port 22: Connection timed out
>>> I don't know what is wrong?
>>
>> Looks like a connectivity issue. Your hosts file is being found now,
>> but it seems there's some problem connecting to the hostnames listed
>> therein. Please ensure you are able to manually ssh to those hosts
>> from francium. If successful manual ssh requires a different hostname
>> (e.g. if "ssh host1.cluster.lab" works but "ssh host1" doesn't), you
>> may want to update your hosts file to reflect that.
>>
>> N.
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>
>
> --
> Mandar Gurav
> http://www.mandargurav.org
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list