[mpich-discuss] how to make the hosts files

Mandar Gurav mandarwce at gmail.com
Wed May 11 10:59:51 CDT 2011


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?

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


More information about the mpich-discuss mailing list