<div dir="ltr">We should have an option to disable the test.<div><br></div><div>   Matt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 17, 2020 at 5:31 PM Satish Balay via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@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">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>
Exception: Your hostname will not work with MPI, perhaps you have VPN running whose network settings may not play well with MPI or your network is misconfigured<br>
*******************************************************************************<br>
<br>
<br>
Ok - this is a new test that got added to check for broken network that 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 ping.]<br>
<br>
Does MPI work fine on this box? You can try disabling this check (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 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 --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 ping check\n")<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div>