<div dir="ltr">Added this but not luck:<div><br></div><div><div>##</div><div># Host Database</div><div>#</div><div># localhost is used to configure the loopback interface</div><div># when the system is booting. Do not change this entry.</div><div>##</div><div>127.0.0.1 localhost</div><div>255.255.255.255 broadcasthost</div><div>::1 localhost</div><div>markadams@MacBook-Pro.local /Users/markadams</div><div><br></div><div>~ </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 26, 2015 at 5:22 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you are mssing with dns - try the following.<br>
<br>
1. check your hostname<br>
<br>
2. make sure you have an entry for this name in /etc/hosts file.<br>
[It works for linux - and I think it should work for Mac aswell.]<br>
<br>
For eg:<br>
<br>
balay@asterix /home/balay<br>
$ hostname<br>
asterix<br>
balay@asterix /home/balay<br>
$ grep asterix /etc/hosts<br>
127.0.0.1 asterix localhost localhost.localdomain localhost4 localhost4.localdomain4<br>
::1 asterix localhost localhost.localdomain localhost6 localhost6.localdomain6<br>
balay@asterix /home/balay<br>
$<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, 26 Feb 2015, Mark Adams wrote:<br>
<br>
> I turned off wi-fi and got the same results.<br>
><br>
> I did mess around with my DNS servers and such in trying to fix my wi-fi<br>
> problems.<br>
><br>
> On Thu, Feb 26, 2015 at 5:09 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
><br>
> ><br>
> > I get this problem when I am on VPN or some strange public Wi-fi's (like<br>
> > at my public library).<br>
> ><br>
> > When on these funny networks I just turn off wi fi while running tests.<br>
> ><br>
> > Barry<br>
> ><br>
> > > On Feb 26, 2015, at 4:03 PM, Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br>
> > ><br>
> > > Humm, funny. Never had this problem until a week ago or so. Did<br>
> > something change?<br>
> > ><br>
> > > I need to run test and use the makefiles. This is a pain to change them.<br>
> > ><br>
> > > I have had wi-fi problem on Yosemite, maybe I did something to screw<br>
> > this up?<br>
> > ><br>
> > > Thanks,<br>
> > > Mark<br>
> > ><br>
> > ><br>
> > ><br>
> > > On Thu, Feb 26, 2015 at 4:25 PM, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>><br>
> > wrote:<br>
> > > It can't run gethostbyname(), so maybe you are not connected to a<br>
> > network?<br>
> > > If you want to remain disconnected, use mpirun -n 2 -host<br>
> > localhost,localhost<br>
> > > which is how I run my tests.<br>
> > ><br>
> > ><br>
> > > Matt<br>
> > ><br>
> > > On Thu, Feb 26, 2015 at 3:16 PM, Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br>
> > > I started getting this error on master. I have no threads as far as I<br>
> > can see.<br>
> > > Mark<br>
> > ><br>
> > > 16:14 mark/gamg-remove-eig-est<br>
> > ~/Codes/petsc/src/ksp/ksp/examples/tutorials$ make runex55<br>
> > > 1,8c1,40<br>
> > > < 0 KSP Residual norm 162.78<br>
> > > < 1 KSP Residual norm 25.4723<br>
> > > < 2 KSP Residual norm 2.96171<br>
> > > < 3 KSP Residual norm 0.460234<br>
> > > < 4 KSP Residual norm 0.0651141<br>
> > > < 5 KSP Residual norm 0.00705928<br>
> > > < 6 KSP Residual norm 0.0016868<br>
> > > < 7 KSP Residual norm 0.000213352<br>
> > > ---<br>
> > > > Fatal error in MPI_Init_thread: Other MPI error, error stack:<br>
> > > > MPIR_Init_thread(498)..............:<br>
> > > > MPID_Init(177).....................: channel initialization failed<br>
> > > > MPIDI_CH3_Init(89).................:<br>
> > > > MPID_nem_init(320).................:<br>
> > > > MPID_nem_tcp_init(171).............:<br>
> > > > MPID_nem_tcp_get_business_card(418):<br>
> > > > MPID_nem_tcp_init(377).............: gethostbyname failed,<br>
> > MacBook-Pro.local (errno 1)<br>
> > > > Fatal error in MPI_Init_thread: Other MPI error, error stack:<br>
> > > > MPIR_Init_thread(498)..............:<br>
> > > > MPID_Init(177).....................: channel initialization failed<br>
> > > > MPIDI_CH3_Init(89).................:<br>
> > > > MPID_nem_init(320).................:<br>
> > > > MPID_nem_tcp_init(171).............:<br>
> > > > MPID_nem_tcp_get_business_card(418):<br>
> > > > MPID_nem_tcp_init(377).............: gethostbyname failed,<br>
> > MacBook-Pro.local (errno 1)<br>
> > > > Fatal error in MPI_Init_thread: Other MPI error, error stack:<br>
> > > > MPIR_Init_thread(498)..............:<br>
> > > > MPID_Init(177).....................: channel initialization failed<br>
> > > > MPIDI_CH3_Init(89).................:<br>
> > > > MPID_nem_init(320).................:<br>
> > > > MPID_nem_tcp_init(171).............:<br>
> > > > MPID_nem_tcp_get_business_card(418):<br>
> > > > MPID_nem_tcp_init(377).............: gethostbyname failed,<br>
> > MacBook-Pro.local (errno 1)<br>
> > > > Fatal error in MPI_Init_thread: Other MPI error, error stack:<br>
> > > > MPIR_Init_thread(498)..............:<br>
> > > > MPID_Init(177).....................: channel initialization failed<br>
> > > > MPIDI_CH3_Init(89).................:<br>
> > > > MPID_nem_init(320).................:<br>
> > > > MPID_nem_tcp_init(171).............:<br>
> > > > MPID_nem_tcp_get_business_card(418):<br>
> > > > MPID_nem_tcp_init(377).............: gethostbyname failed,<br>
> > MacBook-Pro.local (errno 1)<br>
> > > ><br>
> > > ><br>
> > ===================================================================================<br>
> > > > = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>
> > > > = PID 78010 RUNNING AT MacBook-Pro.local<br>
> > > > = EXIT CODE: 1<br>
> > > > = CLEANING UP REMAINING PROCESSES<br>
> > > > = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<br>
> > > ><br>
> > ===================================================================================<br>
> > > /Users/markadams/Codes/petsc/src/ksp/ksp/examples/tutorials<br>
> > > Possible problem with ex55, diffs above<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > What most experimenters take for granted before they begin their<br>
> > experiments is infinitely more interesting than any results to which their<br>
> > experiments lead.<br>
> > > -- Norbert Wiener<br>
> > ><br>
> ><br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br></div>