guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#39588] gnu: Add mpich, scalapack-mpich, mumps-mpich, pt-scotch-mpic


From: Ludovic Courtès
Subject: [bug#39588] gnu: Add mpich, scalapack-mpich, mumps-mpich, pt-scotch-mpich, python-mpi4py-mpich
Date: Tue, 20 Oct 2020 22:55:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi Maurice,

Maurice Brémond <Maurice.Bremond@inria.fr> skribis:

> A build of mumps-openmpi with mpich fails:
>
> guix time-machine -- build mumps-openmpi --with-input=openmpi=mpich

[...]

>   MPID_nem_tcp_get_business_card(401): 
>   MPID_nem_tcp_init(373).............: gethostbyname failed, localhost (errno 
> 0)

[...]

> ‘MPL_get_sockaddr’ uses ‘getaddrinfo’ for host name lookup.
> Interestingly, ‘getaddrinfo’ fails in the build environment when passed
> the flags that ‘MPL_get_sockaddr’ uses:
>
> (computed-file "getaddrinfo"
>                #~(pk #$output
>                      (getaddrinfo "localhost" #f
>                                   (logior AI_ADDRCONFIG AI_V4MAPPED)
>                                   AF_INET
>                                   SOCK_STREAM
>                                   IPPROTO_TCP)))
>
> However, if you comment AF_INET, SOCK_STREAM, and IPPROTO_TCP, it works.
>
> Now we need to see why the ‘ai_family’ hint is causing troubles in
> glibc, and perhaps in parallel try to work around it in MPICH…

Oh thanks for the reminder, I have yet to take a closer look… hopefully
soon.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]