gnu: mpich: Configure to use ucx.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Mon, 2 Nov 2020 08:11:32 +0000 (09:11 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 2 Nov 2020 13:59:34 +0000 (14:59 +0100)
Suggested by Maurice Brémond <Maurice.Bremond@inria.fr>.

Fixes bug when running test suites involving MPICH:
<https://issues.guix.gnu.org/39588#15>.

* gnu/packages/mpi.scm (mpich)[arguments]: Pass "--with-device=ch4:ucx".

gnu/packages/mpi.scm

index 06a82cc..9035147 100644 (file)
@@ -436,7 +436,12 @@ arrays) that expose a buffer interface.")
      `(#:configure-flags
        (list "--disable-silent-rules"             ;let's see what's happening
              "--enable-debuginfo"
-             ;; "--with-device=ch4:ucx" ; --with-device=ch4:ofi segfaults in tests
+
+             ;; Default to "ch4", as will be the case in 3.4.  It also works
+             ;; around issues when running test suites of packages that use
+             ;; MPICH: <https://issues.guix.gnu.org/39588#15>.
+             "--with-device=ch4:ucx" ; --with-device=ch4:ofi segfaults in tests
+
              (string-append "--with-hwloc-prefix="
                             (assoc-ref %build-inputs "hwloc"))