<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 17, 2020 at 5:59 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Here is a fix:<br>
<br>
echo 127.0.0.1 `hostname` | sudo tee -a /etc/hosts<br></blockquote><div><br></div><div>This failed.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Satish<br>
<br>
On Thu, 17 Sep 2020, Matthew Knepley wrote:<br>
<br>
> We should have an option to disable the test.<br>
> <br>
> Matt<br>
> <br>
> On Thu, Sep 17, 2020 at 5:31 PM Satish Balay via petsc-users <<br>
> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br>
> <br>
> > On Thu, 17 Sep 2020, Mark Adams wrote:<br>
> ><br>
> > > I rebased over master and started getting this error.<br>
> > > I did reinstall MPICH (brew) recently.<br>
> > > Any ideas?<br>
> > > Thanks,<br>
> > > Mark<br>
> ><br>
> ><br>
> > -------------------------------------------------------------------------------<br>
> > Exception: Your hostname will not work with MPI, perhaps you have VPN<br>
> > running whose network settings may not play well with MPI or your network<br>
> > is misconfigured<br>
> ><br>
> > *******************************************************************************<br>
> ><br>
> ><br>
> > Ok - this is a new test that got added to check for broken network that<br>
> > breaks MPI.<br>
> ><br>
> > Here is the check:<br>
> ><br>
> > Executing: ping -c 2 MarksMac-302.local<br>
> ><br>
> > The check says you have broken network settings. [as its not responding to<br>
> > ping.]<br>
> ><br>
> > Does MPI work fine on this box? You can try disabling this check<br>
> > (manually) - and do the build, and run<br>
> ><br>
> > Does MPI run fine?<br>
> ><br>
> > Satish<br>
> ><br>
> ><br>
> > >>>>>>>>>>><br>
> ><br>
> > diff --git a/config/BuildSystem/config/packages/MPI.py<br>
> > b/config/BuildSystem/config/packages/MPI.py<br>
> > index 2e130fdcfe..8464de6773 100644<br>
> > --- a/config/BuildSystem/config/packages/MPI.py<br>
> > +++ b/config/BuildSystem/config/packages/MPI.py<br>
> > @@ -267,7 +267,7 @@ shared libraries and run with<br>
> > --known-mpi-shared-libraries=1')<br>
> > if ret != 0:<br>
> > raise RuntimeError(errormessage+" Return code %s\n" % ret)<br>
> > except:<br>
> > - raise RuntimeError("Exception: "+errormessage)<br>
> > + pass<br>
> > else:<br>
> > self.logPrint("Unable to get result from hostname, skipping<br>
> > ping check\n")<br>
> ><br>
> ><br>
> <br>
> <br>
<br>
</blockquote></div></div>