Subject: [PATCH] gnu: openmpi: Enable PMIx.

From: Lars Bilke <[email-masked]>
Date: Thu, 07 Sep 2023 15:13:36 +0200

Enables support for the Process Management Interface for Exascale which is used e.g. by Slurm for the management communication and coordination of MPI processes.

This allows e.g. to run guix-created container on JSC Juwels cluster with native performance.
>From 23a11683c37faf8b971628b2ded9560ba5a22965 Mon Sep 17 00:00:00 2001
From: Lars Bilke <[email-masked]>
Date: Thu, 7 Sep 2023 15:06:03 +0200
Subject: [PATCH] [PATCH] gnu: openmpi: Enable PMIx.

Enables support for the Process Management Interface for Exascale which
is used e.g. by Slurm for the management communication and coordination
of MPI processes
---
 gnu/packages/mpi.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 4d2458344f..907cd3af29 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -247,6 +247,10 @@ (define-public openmpi
                             "--enable-openib-rdmacm"
                             "--enable-openib-rdmacm-ibaddr"
 
+                            ;; Enable support for the 'Process Management
+                            ;; Interface for Exascale'.
+                            "--with-pmix=internal"
+
                             ;; Enable support for SLURM's Process Manager
                             ;; Interface (PMI).
                             ,(string-append "--with-pmi="
-- 
2.41.0