From 671a9295d7c2726150f700afc50c54e41e2f02b8 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Thu, 7 Sep 2023 12:34:29 +0000 Subject: [PATCH] [guix] Added package openmpi-pmix. Then you can build portable (tested eve end juwels) container with: guix pack -L $PWD/.guix/modules --fallback --without-tests=hdf5-parallel-openmpi --with-input=openmpi=openmpi-pmix -RR --format=squashfs bash ogs-petsc On Juwels you need to start with `srun --mpi=mspmix ...` --- .guix/modules/ogs-package.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.guix/modules/ogs-package.scm b/.guix/modules/ogs-package.scm index 62e5bf93c48..e8c8a180f70 100644 --- a/.guix/modules/ogs-package.scm +++ b/.guix/modules/ogs-package.scm @@ -192,6 +192,17 @@ (sha256 (base32 "0rbcfvl7y472sykzdq3vrkw83kar0lpzhk3wq9yj9cdydl8cpfcz")))))) +(define-public openmpi-pmix + (package + (inherit openmpi) + (name "openmpi-pmix") + (arguments + (substitute-keyword-arguments (package-arguments openmpi) + ((#:configure-flags flags) + #~(append '("--with-pmix=internal") + #$flags)))) + (synopsis "OpenMPI with PMIx"))) + ;; return package ogs -- GitLab