mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: openmpi-5: Don't force building with ucx.
* gnu/packages/mpi.scm (openmpi-5)[inputs]: Use inherited inputs to only add ucx when it is supported. [arguments]: Only add configure-flag for ucx when it is included as an input. Change-Id: I4a5fc86999ffbafdb99bd68c170fc7a1fa6a33a5
This commit is contained in:
parent
7c36577cde
commit
1bcf1a0146
1 changed files with 3 additions and 2 deletions
|
@ -332,7 +332,6 @@ (define-public openmpi-5
|
|||
;; As of Open MPI 5.0.X, PMIx is used to communicate
|
||||
;; with SLURM, so SLURM'S PMI is no longer needed.
|
||||
(delete "slurm")
|
||||
(append ucx) ;for Infiniband support
|
||||
(append openpmix) ;for PMI support (launching via "srun")
|
||||
(append prrte))) ;for PMI support (launching via "srun")
|
||||
(native-inputs (modify-inputs (package-native-inputs openmpi)
|
||||
|
@ -365,7 +364,9 @@ (define-public openmpi-5
|
|||
|
||||
;; Since 5.x, Infiniband support is provided by ucx.
|
||||
;; See https://docs.open-mpi.org/en/main/release-notes/networks.html#miscellaneous-network-notes
|
||||
(string-append "--with-ucx=" #$(this-package-input "ucx")))
|
||||
#$@(if (package? (this-package-input "ucx"))
|
||||
#~((string-append "--with-ucx=" #$(this-package-input "ucx")))
|
||||
#~()))
|
||||
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue