> Meanwhile I had look at the LAM source code. The problem seems to be that the
> hostnames given in the bhost-file are converted to IP-numbers using
> /etc/hosts (or something else). Then the IP-Number of the local machine is
> determined by getifaddr(). The result of getifaddr() is compared to the
> IP-numbers found before, and one address has to match. Now, on my machine
> getifaddr() returns only one address, which is 127.0.0.1. This doesn't match
> any of the other adresses. The question is: How can I make getifaddr() return
> the IP-number of eth0, not lo?
>
> andreas
Hi Andreas,
I think you can solve the problem just writing the same line in /etc/hosts
on every machine on your cluster:
127.0.0.1 localhost lilianX
It seems that you can execute this from lilian4
/usr/bin/rsh lilian3 -n hboot
so if there's some confusion with the names you can use /etc/hosts
to solve that.
But that's just a sugestion...
nelson
|