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