MPI Run Encounters gethostbyname failed

Problems with Dalton installation? Find answers or ask for help here
Post Reply
xiongyan21
Posts: 163
Joined: 24 Sep 2014, 08:36
First name(s): yan
Last name(s): xiong
Affiliation: CENTRAL CHINA NORMAL UNIVERSITY
Country: China

MPI Run Encounters gethostbyname failed

Post by xiongyan21 » 18 Dec 2016, 04:30

Dear all

After Dalton2016.2 and LSDalton had been successfully built on macOS Sierra 10.12.2 with mpich3.2_2, GCC6.2.0, Cmake3.7.1 and Xcode8.0 installed, an MPI run encountered
the following mistake
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(474)..............:
MPID_Init(190).....................: channel initialization failed
MPIDI_CH3_Init(89).................:
MPID_nem_init(320).................:
MPID_nem_tcp_init(173).............:
MPID_nem_tcp_get_business_card(420):
MPID_nem_tcp_init(379).............: gethostbyname failed,
(errno 1)
even if I had added 127.0.0.1 my_hostname.local into file host and file hosts~oric. Furthermore, the addition of this into broadcast made no difference.

Although it is said mpi13 is compatible during the compilation, it seems that it is caused by an imperfect match of DALTON2016.2 with mpich3.2_2.

What should I do to correct this?

By the way, it seems that DIRAC16 cannot be parallely built on MAC, because all the tests fail using ctest -j4.

Very Best Regards!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests