guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/08: gnu: openmpi: Add dependency on UCX when supported.


From: guix-commits
Subject: 05/08: gnu: openmpi: Add dependency on UCX when supported.
Date: Tue, 15 Oct 2019 08:21:00 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8ba94edd8f411d68338d6d063dc09cda6858b748
Author: Ludovic Courtès <address@hidden>
Date:   Tue Oct 15 13:56:06 2019 +0200

    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(+)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 079ac34..914f8e9 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -185,6 +185,10 @@ bind processes, and much more.")
                   (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]