[petsc-dev] best fix for -hosts localhost issue
    Satish Balay 
    balay at mcs.anl.gov
       
    Fri Nov 15 13:22:04 CST 2013
    
    
  
On Fri, 15 Nov 2013, Matthew Knepley wrote:
> On Fri, Nov 15, 2013 at 1:11 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> 
> > Barry Smith <bsmith at mcs.anl.gov> writes:
> >
> > >   I always run on my mac and never set a hosts or anything like
> > >   that. What is the problem? Please send all output from failure if
> > >   you do not use hosts and configure.log
> >
> > Matt is the one claiming to need these options, and it's only for
> > running tests with builder.py.
> >
> 
> No, it is any mpiexec from my laptop when it is not connected to Wifi. It
> hangs for the timeout
> when mpiexec does gethostbyname(), and then runs. Its horrible.
I thought these issues were fixed. Atleast on linux.
One workarround I use to use previously was:
1. set the hostname in the configs [not from dhcp.]
2. And make sure this name resolves to 127.0.0.1 in /etc/hosts
Satish
    
    
More information about the petsc-dev
mailing list