🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #220

Bug#1080199: parmetis: autopkgtest regressions with mpich as default provider on 32 bit architectures

#220
From: Sebastien Bacher
Date: Fri, 09 Oct 2026 09:20
103 lines
5561 bytes
This is a multi-part MIME message sent by reportbug.


--===============5827846442464352132==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Source: parmetis
Followup-For: Bug #1080199
X-Debbugs-Cc: seb128@ubuntu.com

Hi,

The armhf failure is because mpich's mpirun (hydra) does not look for the
program in the current directory, so "mpirun -np 4 LL_parmetis" fails with
"execvp error on file LL_parmetis". Running "./LL_parmetis" fixes it; I
checked with mpich 5.0.1, where a bare program name fails exactly like
this and "./" works.

The test has a second problem with OpenMPI 5 on 64-bit architectures:
OpenMPI 5 ignores the OMPI_MCA_* variables the test sets, so on machines
with fewer than 4 cores it fails with "There are not enough slots
available in the system to satisfy the 4 slots". Setting the PRRTE
equivalents fixes it:

  export PRTE_MCA_plm_ssh_agent=/bin/false
  export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe

I kept the old variables so the test still works with OpenMPI 4.

With both changes, the test passes on a 2-CPU Ubuntu stonking container
with OpenMPI 5.0.10 and fails without them. I have not tested with the
OpenMPI 6.0 release candidate in unstable.

The attached debdiff against 4.0.3-7 changes only debian/tests/build1.

Regards,
Sebastien


-- System Information:
Debian Release: forky/sid
  APT prefers resolute-updates
  APT policy: (500, 'resolute-updates'), (500, 'resolute-security'), (500, 'resolute'), (100, 'resolute-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.0-38-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--===============5827846442464352132==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="parmetis_debian.debdiff"

diff -Nru parmetis-4.0.3/debian/changelog parmetis-4.0.3/debian/changelog
--- parmetis-4.0.3/debian/changelog	2022-07-17 22:21:07.000000000 +0200
+++ parmetis-4.0.3/debian/changelog	2026-10-09 11:08:23.000000000 +0200
@@ -1,3 +1,13 @@
+parmetis (4.0.3-8) UNRELEASED; urgency=medium
+
+  * d/tests/build1: run ./LL_parmetis, mpich's mpirun does not search
+    the current directory (Closes: #1080199).
+  * d/tests/build1: also set the OpenMPI 5 (PRRTE) variables to allow
+    oversubscription and disable the ssh agent; OpenMPI 5 ignores the
+    OMPI_MCA_* names.
+
+ -- Sebastien Bacher <seb128@ubuntu.com>  Fri, 09 Oct 2026 11:08:23 +0200
+
 parmetis (4.0.3-7) unstable; urgency=medium
 
   * Team upload.
diff -Nru parmetis-4.0.3/debian/tests/build1 parmetis-4.0.3/debian/tests/build1
--- parmetis-4.0.3/debian/tests/build1	2022-07-17 22:18:27.000000000 +0200
+++ parmetis-4.0.3/debian/tests/build1	2026-10-09 11:08:23.000000000 +0200
@@ -9,8 +9,11 @@
 
 set -e
 
+# OpenMPI 4 names, and their OpenMPI 5 (PRRTE) equivalents
 export OMPI_MCA_orte_rsh_agent=/bin/false
 export OMPI_MCA_rmaps_base_oversubscribe=1
+export PRTE_MCA_plm_ssh_agent=/bin/false
+export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
 
 WORKDIR=$(mktemp -d)
 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
@@ -231,5 +234,5 @@
 
 echo "build: OK"
 [ -x LL_parmetis ]
-mpirun -np 4 LL_parmetis
+mpirun -np 4 ./LL_parmetis
 echo "run: OK"
\ No newline at end of file

--===============5827846442464352132==--
Technical Details
Message-ID: <NMeVH-4r0N-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <Jhvyx-8YrR-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sebastien Bacher <seb128@ubuntu.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1080199: parmetis: autopkgtest regressions with mpich as default provider on 32 bit architectures
Date: Fri, 09 Oct 2026 11:20:01 +0200
Message-ID: <NMeVH-4r0N-7@gated-at.bofh.it>
References: <Jhvyx-8YrR-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Oct  9 09:17:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Sebastien Bacher <seb128@ubuntu.com>, 1080199@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: seb128@ubuntu.com, debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1080199
X-Debian-Pr-Package: src:parmetis
X-Debian-Pr-Keywords: sid trixie forky experimental
X-Debian-Pr-Source: parmetis
Content-Type: multipart/mixed; boundary="===============5827846442464352132=="
MIME-Version: 1.0
X-Mailer: reportbug 13.2.0+ubuntu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995840
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 103
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 09 Oct 2026 11:15:16 +0200
X-Original-Message-ID: <179153731634.400943.5198030766512217400.reportbug@seb128-ThinkPad-T16>
X-Original-References: <CAM8zJQuPKHoy+PLVHZ+M=gA43w9GqfdC=Y6oUPgnC3W1vmr57g@mail.gmail.com>