[petsc-dev] funny error on osx

Matthew Knepley knepley at gmail.com
Thu Feb 26 15:25:47 CST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150226/f7ba2e6d/attachment.html>


More information about the petsc-dev mailing list