diff options
author | Romain GARBAGE <romain.garbage@inria.fr> | 2024-07-12 14:00:03 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-19 16:15:05 +0200 |
commit | 13278a2a461707e93ef1a7ae1f11e9b18454b28c (patch) | |
tree | 1925531b07f44e336887ee78469ad66ff6c21d60 | |
parent | 1150b443c17750ecefa61e3ef45bbcb170e4b436 (diff) | |
download | guix-13278a2a461707e93ef1a7ae1f11e9b18454b28c.tar.gz guix-13278a2a461707e93ef1a7ae1f11e9b18454b28c.zip |
gnu: slurm: Add PMIx support.
* gnu/packages/parallel.scm (slurm) [inputs]: Add dependency.
[arguments]: Update configure flags.
(slurm-21.08)[inputs]: New field.
Change-Id: I6544be5eb44980191d0788738ab960263c56c0ba
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/parallel.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index e6384937fd..e75e902a68 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -229,6 +229,7 @@ when jobs finish.") `(,hwloc-2 "lib") json-c linux-pam + openpmix munge numactl readline)) @@ -245,6 +246,14 @@ when jobs finish.") (string-append "--with-json=" #$(this-package-input "json-c")) (string-append "--with-munge=" #$(this-package-input "munge")) + ;; Use PMIx bundled with Open MPI (this is required for Open MPI 5.x). + ;; Note: Older versions that inherit from this package lack the + ;; 'openpmix' dependency. + #$(let ((openmpix (this-package-input "openpmix"))) + (if openmpix + #~(string-append "--with-pmix=" #$openmpix) + "--without-pmix")) + ;; 32-bit support is marked as deprecated and needs to be ;; explicitly enabled. #$@(if (target-64bit?) '() '("--enable-deprecated"))) @@ -317,7 +326,12 @@ by managing a queue of pending work.") (patches '()) ;drop 'salloc' patch (sha256 (base32 - "1sjln54idc9rhg8f2nvm38sgs6fncncyzslas8ixy65pqz2hphbf")))))) + "1sjln54idc9rhg8f2nvm38sgs6fncncyzslas8ixy65pqz2hphbf")))) + + ;; This and older versions of slurm have PMIx support but they seem to + ;; require an older version of openpmix. Disable PMIx support. + (inputs (modify-inputs (package-inputs slurm-22.05) + (delete "openpmix"))))) (define-public slurm-20.11 (package |