diff options
| -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")) |
