Package: dune-common
Version: 2.9.0-7
Severity: important
Affects: src:dune-grid src:dune-grid-glue
Tags: patch
Dear maintainer:
The file /usr/share/dune/dune-debian.mk needs to be updated
for OpenMPI 5.0. Patch attached.
(In some cases I've seen this issue being solved by
adding the new variables (i.e. keeping also the old ones),
which I guess would ease backports, but I'm not sure what's
the policy you want to follow for dune-related packages).
Thanks.
diff -Nru dune-common-2.9.0/debian/changelog dune-common-2.9.0/debian/changelog
--- dune-common-2.9.0/debian/changelog 2024-10-10 14:59:54.000000000 +0000
+++ dune-common-2.9.0/debian/changelog 2024-11-06 17:46:00.000000000 +0000
@@ -1,3 +1,10 @@
+dune-common (2.9.0-8) unstable; urgency=medium
+
+ * d/dune-debian.env: Use new OpenMPI 5 environment variables
+ to allow oversubscription and set the SSH agent. Closes: #######.
+
+ -- Markus Blatt <mar...@dr-blatt.de> Wed, 06 Nov 2024 18:46:00 +0100
+
dune-common (2.9.0-7) unstable; urgency=medium
* d/control: Depend on pkgconf instead of obsolete pkg-config
diff -Nru dune-common-2.9.0/debian/dune-debian.env
dune-common-2.9.0/debian/dune-debian.env
--- dune-common-2.9.0/debian/dune-debian.env 2022-02-16 12:24:55.000000000
+0000
+++ dune-common-2.9.0/debian/dune-debian.env 2024-11-06 17:44:06.000000000
+0000
@@ -1,6 +1,6 @@
# OpenMPI looks for a rsh program, even when it only starts local processes.
-export OMPI_MCA_plm_rsh_agent=/bin/false
+export PRTE_MCA_plm_ssh_agent=/bin/false
# Don't limit number of MPI ranks to number of cores (when running tests),
# see https://bugs.debian.org/850229
-export OMPI_MCA_rmaps_base_oversubscribe=1
+export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe