[mpich-discuss] how to make the hosts files

Nicolas Rosner nrosner at gmail.com
Wed May 11 10:45:47 CDT 2011


> [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.


More information about the mpich-discuss mailing list