diff options
| author | Romain GARBAGE <romain.garbage@inria.fr> | 2026-04-01 15:53:59 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-04-07 13:26:20 +0200 |
| commit | ae0a9c93be7130841915dbd2ed9f8cc03fe720dd (patch) | |
| tree | e5c7113c856ee43e2318622a10fef1d9b220dba7 | |
| parent | c7cb771cf40d779cbce062c029ee51fbd7de181b (diff) | |
gnu: openmpi-5: Explicitly activate PSM2 when present.
* gnu/packages/mpi.scm (openmpi-5): Explicitly activate PSM2 when present.
Change-Id: I4516553ddc88c68459ae028488927d37ef8c29af
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/packages/mpi.scm | 7 |
1 files changed, 7 insertions, 0 deletions
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")) |
