[petsc-dev] best fix for -hosts localhost issue

Jed Brown jedbrown at mcs.anl.gov
Fri Nov 15 14:02:17 CST 2013


Barry Smith <bsmith at mcs.anl.gov> writes:
> ~/Src/newmodel  master $ more /etc/hosts
> ##
> # Host Database
> #
> # localhost is used to configure the loopback interface
> # when the system is booting.  Do not change this entry.
> ##
> 127.0.0.1       localhost
> 255.255.255.255 broadcasthost
> ::1             localhost 
> fe80::1%lo0     localhost
>
> but note that Apple Mac OS doesn’t (supposedly) use this file except
> at startup 

really?

> and somehow sets the hostname based on the network or lack of it.

Is the hostname in /etc/hostname?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131115/079d291f/attachment.sig>


More information about the petsc-dev mailing list