From 8ba94edd8f411d68338d6d063dc09cda6858b748 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 15 Oct 2019 13:56:06 +0200 Subject: gnu: openmpi: Add dependency on UCX when supported. * gnu/packages/mpi.scm (openmpi)[inputs]: Add UCX conditionally. --- gnu/packages/mpi.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages/mpi.scm') diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 079ac34dbf..914f8e975e 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -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") -- cgit v1.2.3