all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72592] [PATCH 0/2] Add mpich-ofi variant for Infiniband support.
@ 2024-08-12 14:33 Romain GARBAGE
  2024-08-12 14:43 ` [bug#72592] [PATCH 1/2] gnu: libfabric: Add support for extra providers Romain GARBAGE
  2024-08-19 10:33 ` bug#72592: [PATCH 0/2] Add mpich-ofi variant for Infiniband support Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Romain GARBAGE @ 2024-08-12 14:33 UTC (permalink / raw)
  To: 72592; +Cc: ludovic.courtes, Romain GARBAGE

Hello,

This patch series brings the necessary changes in order to get proper
network performance on Infiniband hardware. 

The first patch adds the necessary providers to the libfabric package
for proper Infiniband support.

Since MPICH cannot be compiled with multiple network drivers, a 
variant using libfabric as a driver is added in the second patch.

This patch has been tested with the current Guix version of MPICH as
well as with the newest version for which an update has been submitted
in the issue #72415.

Romain GARBAGE (2):
  gnu: libfabric: Add support for extra providers.
  gnu: Add mpich-ofi.

 gnu/packages/linux.scm |  6 ++++++
 gnu/packages/mpi.scm   | 25 +++++++++++++++++++++++++
 2 files changed, 31 insertions(+)


base-commit: e928854a0f76cef3b11a06160a16130c59954b76
-- 
2.45.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#72592] [PATCH 1/2] gnu: libfabric: Add support for extra providers.
  2024-08-12 14:33 [bug#72592] [PATCH 0/2] Add mpich-ofi variant for Infiniband support Romain GARBAGE
@ 2024-08-12 14:43 ` Romain GARBAGE
  2024-08-12 14:43   ` [bug#72592] [PATCH 2/2] gnu: Add mpich-ofi Romain GARBAGE
  2024-08-19 10:33 ` bug#72592: [PATCH 0/2] Add mpich-ofi variant for Infiniband support Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Romain GARBAGE @ 2024-08-12 14:43 UTC (permalink / raw)
  To: 72592; +Cc: ludovic.courtes, Romain GARBAGE

* gnu/packages/linux.scm (libfabric) [arguments]: Add configure flags.

Change-Id: I57e43ffd92e8268112e48928af38b0fecc256a67
---
 gnu/packages/linux.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 8ca1df1185..46b921c596 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8933,7 +8933,13 @@ (define-public libfabric
                        ((member (package-supported-systems psm))
                         `(("psm" ,psm)))
                        (_ `()))
+              ("psm2" ,psm2)
               ("libnl" ,libnl)))
+    (arguments
+     (list #:configure-flags
+           #~(list "--enable-psm2"
+                   "--enable-efa"
+                   "--enable-verbs")))
     (home-page "https://ofiwg.github.io/libfabric/")
     (synopsis "Open Fabric Interfaces")
     (description

base-commit: e928854a0f76cef3b11a06160a16130c59954b76
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#72592] [PATCH 2/2] gnu: Add mpich-ofi.
  2024-08-12 14:43 ` [bug#72592] [PATCH 1/2] gnu: libfabric: Add support for extra providers Romain GARBAGE
@ 2024-08-12 14:43   ` Romain GARBAGE
  0 siblings, 0 replies; 4+ messages in thread
From: Romain GARBAGE @ 2024-08-12 14:43 UTC (permalink / raw)
  To: 72592; +Cc: ludovic.courtes, Romain GARBAGE

* gnu/packages/mpi.scm (mpich-ofi): New variable.

Change-Id: I577fa8fc15ffe7df82d737721ca5a2e034c1e43a
---
 gnu/packages/mpi.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 4c18da30ef..bf70c46247 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -547,3 +547,28 @@ (define-public mpich
 computing systems (Blue Gene, Cray).  It enables research in MPI through a
 modular framework for other derived implementations.")
     (license license:bsd-2)))
+
+(define-public mpich-ofi
+  (package/inherit mpich
+    (name "mpich-ofi")
+    (inputs (modify-inputs (package-inputs mpich)
+              (delete ucx)
+              (append libfabric)
+              (append rdma-core)
+              (append psm2)))
+    (arguments
+      (substitute-keyword-arguments (package-arguments mpich)
+        ((#:configure-flags flags)
+         #~(list "--disable-silent-rules" ;let's see what's happening
+                 "--enable-debuginfo"
+                 "--with-device=ch4:ofi"
+
+                 (string-append "--with-hwloc-prefix="
+                                #$(this-package-input "hwloc"))
+
+                 (string-append "--with-libfabric="
+                                #$(this-package-input "libfabric"))))
+        ((#:phases phases
+          '%standard-phases)
+         phases)))
+    (synopsis "Implementation of the Message Passing Interface (MPI) for OmniPath")))
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#72592: [PATCH 0/2] Add mpich-ofi variant for Infiniband support.
  2024-08-12 14:33 [bug#72592] [PATCH 0/2] Add mpich-ofi variant for Infiniband support Romain GARBAGE
  2024-08-12 14:43 ` [bug#72592] [PATCH 1/2] gnu: libfabric: Add support for extra providers Romain GARBAGE
@ 2024-08-19 10:33 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2024-08-19 10:33 UTC (permalink / raw)
  To: Romain GARBAGE; +Cc: 72592-done

Hi Romain,

Romain GARBAGE <romain.garbage@inria.fr> skribis:

> Romain GARBAGE (2):
>   gnu: libfabric: Add support for extra providers.
>   gnu: Add mpich-ofi.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-19 10:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12 14:33 [bug#72592] [PATCH 0/2] Add mpich-ofi variant for Infiniband support Romain GARBAGE
2024-08-12 14:43 ` [bug#72592] [PATCH 1/2] gnu: libfabric: Add support for extra providers Romain GARBAGE
2024-08-12 14:43   ` [bug#72592] [PATCH 2/2] gnu: Add mpich-ofi Romain GARBAGE
2024-08-19 10:33 ` bug#72592: [PATCH 0/2] Add mpich-ofi variant for Infiniband support Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.