gnu: openmpi: Add dependency on UCX when supported.

* gnu/packages/mpi.scm (openmpi)[inputs]: Add UCX conditionally.
This commit is contained in:
Ludovic Courtès 2019-10-15 13:56:06 +02:00
parent da414ec687
commit 8ba94edd8f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -185,6 +185,10 @@ (define-public openmpi
(member (%current-system) (package-supported-systems psm2)))
`(("psm2" ,psm2))
'())
,@(if (and (not (%current-target-system))
(member (%current-system) (package-supported-systems psm2)))
`(("ucx" ,ucx))
'())
("rdma-core" ,rdma-core)
("valgrind" ,valgrind)
("slurm" ,slurm))) ;for PMI support (launching via "srun")