From ae0a9c93be7130841915dbd2ed9f8cc03fe720dd Mon Sep 17 00:00:00 2001 From: Romain GARBAGE Date: Wed, 1 Apr 2026 15:53:59 +0200 Subject: gnu: openmpi-5: Explicitly activate PSM2 when present. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/mpi.scm (openmpi-5): Explicitly activate PSM2 when present. Change-Id: I4516553ddc88c68459ae028488927d37ef8c29af Signed-off-by: Ludovic Courtès --- gnu/packages/mpi.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 5df0e65f3af..790f8749454 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -488,6 +488,13 @@ software vendors, application developers and computer science researchers.") (string-append "--with-pmix=" #$(this-package-input "openpmix")) (string-append "--with-prrte=" #$(this-package-input "prrte")) + ;; Explicitly activate PSM2 when present. This is required + ;; for autotools to add the -L flag to .la files, that + ;; fixes link-time errors when missing. + #$@(if (package? (this-package-input "psm2")) + #~((string-append "--with-psm2=" #$(this-package-input "psm2"))) + #~()) + ;; Since 5.x, Infiniband support is provided by ucx. ;; See https://docs.open-mpi.org/en/main/release-notes/networks.html#miscellaneous-network-notes #$@(if (package? (this-package-input "ucx")) -- cgit v1.3