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

Barry Smith bsmith at mcs.anl.gov
Fri Nov 15 14:28:57 CST 2013


On Nov 15, 2013, at 2:02 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> 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?

  I read that once, cannot find it again

> 
>> and somehow sets the hostname based on the network or lack of it.
> 
> Is the hostname in /etc/hostname?

no such file





More information about the petsc-dev mailing list