Hello,
Since the newer pmix upload, openmpi programs just crash:
#include <mpi.h>
#include <stdio.h>
int main(int argc, char *argv[]) {
int comm_rank = -1;
int comm_size = -1;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &comm_size);
MPI_Comm_rank(MPI_COMM_WORLD, &comm_rank);
fprintf(stdout, "My rank is %d/%d\n", comm_rank, comm_size);
MPI_Finalize();
}
$ mpicc.openmpi test.c -o test
$ mpirun.openmpi -np 2 ./test
Segmentation fault
Samuel
Samuel Thibault, le ven. 15 août 2025 00:22:24 +0200, a ecrit:
Just to give an idea:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7afd8e5 in open_components (
framework=0x7ffff7face80 <prte_prteinstalldirs_base_framework>)
at ../../../../../src/mca/base/pmix_mca_base_components_open.c:328
warning: 328 ../../../../../src/mca/base/pmix_mca_base_components_open.c: No such file or directory
(gdb) bt
#0 0x00007ffff7afd8e5 in open_components (
framework=0x7ffff7face80 <prte_prteinstalldirs_base_framework>)
at ../../../../../src/mca/base/pmix_mca_base_components_open.c:328
#1 pmix_mca_base_framework_components_open (
framework=framework@entry=0x7ffff7face80 <prte_prteinstalldirs_base_framework>,
flags=<optimized out>) at ../../../../../src/mca/base/pmix_mca_base_components_open.c:291
#2 0x00007ffff7f2c7b3 in prte_prteinstalldirs_base_open (flags=<optimized out>)
at ../../../../../../../3rd-party/prrte/src/mca/prteinstalldirs/base/prteinstalldirs_base_components.c:40
#3 0x00007ffff7b05141 in pmix_mca_base_framework_open (
framework=0x7ffff7face80 <prte_prteinstalldirs_base_framework>,
flags=(PMIX_MCA_BASE_OPEN_FIND_COMPONENTS | PMIX_MCA_BASE_OPEN_STATIC_ONLY),
flags@entry=PMIX_MCA_BASE_OPEN_DEFAULT)
at ../../../../../src/mca/base/pmix_mca_base_framework.c:172
#4 0x00007ffff7e93b4b in prte_init_minimum ()
at ../../../../../3rd-party/prrte/src/runtime/prte_init.c:212
#5 0x0000555555558975 in ?? ()
#6 0x00007ffff7833ca8 in __libc_start_call_main (main=main@entry=0x5555555587a0,
argc=argc@entry=4, argv=argv@entry=0x7fffffffeac8)
at ../sysdeps/nptl/libc_start_call_main.h:58
#7 0x00007ffff7833d65 in __libc_start_main_impl (main=0x5555555587a0, argc=4,
argv=0x7fffffffeac8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffeab8) at ../csu/libc-start.c:360
#8 0x000055555555bb31 in ?? ()
Samuel
Samuel Thibault, le ven. 15 août 2025 00:26:08 +0200, a ecrit: It looks like the bug is 64b-only: https://buildd.debian.org/status/package.php?p=eztrace&suite=sid Samuel
Hi Samuel, the pmix problem is only affecting openmpi, mpich is already updated. 32-bit arches use mpich (openmpi 5 no longer supports them) which is why you're only seeing the problem on 64-bit. Drew
We believe that the bug you reported is fixed in the latest version of openmpi, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1111125@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alastair McKinstry <mckinstry@debian.org> (supplier of updated openmpi package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Fri, 15 Aug 2025 11:10:34 +0100 Source: openmpi Architecture: source Version: 5.0.8-2 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> Changed-By: Alastair McKinstry <mckinstry@debian.org> Closes: 1111125 Changes: openmpi (5.0.8-2) unstable; urgency=medium . * Use internal pmix. Closes: #1111125 Checksums-Sha1: 70ab7177672a3aef8f137f507f4419b847e16f91 2752 openmpi_5.0.8-2.dsc 65817d899622a6c129fe17f7c7f990b9a07c006a 69028 openmpi_5.0.8-2.debian.tar.xz Checksums-Sha256: 447b3fd8e4b44e01c4b89113dae7f29aa9c9c26a77c9a717dc58098c8cc39884 2752 openmpi_5.0.8-2.dsc d06a939e7896ad07d9749041f63281c60ec75acb4a0acb0d5fdf3b8c60a84cac 69028 openmpi_5.0.8-2.debian.tar.xz Files: 7c117b7966434046b83e600bbc9d086a 2752 net optional openmpi_5.0.8-2.dsc 272bb39f70c458ad590e53a7449031fc 69028 net optional openmpi_5.0.8-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmisdMUACgkQy+a7Tl2a 06Uz5A/9G6V0QsMLf1qFh7MGEmRTPGDQWnrAlN9J9FjUXXzApA/C2vq9Kv1OdEd/ kci1TNgVwz/pNaDo/m+k0FxpRLlDG5CTsxbNbQVLuaaYHrMrV/MSps7VCaVdsPII /tVbPxH5FEocu3uD3WaLh5pHQlAq9uybU9sqNQLX/tVV7kKAYrhHuFdL7h4BiveP rs/y4mgo5c9O9EFr+4cLPigw0JG+4ImMGjFZ9Ssf9cbtjYFbvnfLeSGVVpHcSJYD 2PcpDeolpshNuRcew3Leq9tmCAox4+B5Kch7njBdxwksrijlw4sEbYwZtoc2N+rI oLs5YIt32nA24tbYZZ2o4fqihCwRtkrMSeyQhE/8A+BuZBu1EjzskNLd9Bwv+NNz +62Natw2aA0qhibUVTxCWiMnT2aQ7/JoNwbTCXHTkuINkIZThgfr8XZdhvq4wUri otshdbRx2AMAM42U+WWfN9mEVEwCRWRZ+R/cFNw7GDv1u5RFWkMkjMxdlWzkafGe uHeFBufY2etchr1J9sy4g7jFRDXTEGEGt7fs5mw3QS8UnE6XBZMU+oGAHBFcdA4F hzYqnpXSwA5aL9uxfPG5dIIQGJmeh4jpDcWbHA67aK9BH/wbVJs5ybOr5j3Wbdb/ lbyKoGSEe+q8KA6CQ3iH8HlwvkHOaJ2iBVdNob9stAk5dvCyKWg= =nSVS -----END PGP SIGNATURE-----
fixed 1111125 openmpi/5.0.8-2 close 1111125 openmpi/5.0.8-2 thanks
close 1111125 5.0.8-2 thanks
We believe that the bug you reported is fixed in the latest version of openmpi, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1111199@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alastair McKinstry <mckinstry@debian.org> (supplier of updated openmpi package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Mon, 25 Aug 2025 15:42:08 +0100 Source: openmpi Architecture: source Version: 5.0.8-3 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> Changed-By: Alastair McKinstry <mckinstry@debian.org> Closes: 1111199 Changes: openmpi (5.0.8-3) unstable; urgency=medium . * Fix breaks/replaces for libpmix2t64 version. * Close old bug. Closes: #1111199 Checksums-Sha1: c8c87624320070c08ae290f0c5410d34ea2ac017 2752 openmpi_5.0.8-3.dsc 997e31cbbaef05dd3df1a265b493a2acc06abb08 69084 openmpi_5.0.8-3.debian.tar.xz Checksums-Sha256: ef8b85f27fa98d2ac5a31f3fd717b2a10d6989c90b8f7c6baf5cb35c178f673e 2752 openmpi_5.0.8-3.dsc 1e531124c7cf02b05e42083d602e274e2e44e76652d5109c361c4592bb764887 69084 openmpi_5.0.8-3.debian.tar.xz Files: 345cd0b41eaa7b7a01c347a274db8594 2752 net optional openmpi_5.0.8-3.dsc 02e90f604571a0f631adb24524ef841b 69084 net optional openmpi_5.0.8-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmiseYYACgkQy+a7Tl2a 06VnhQ//bizngs6kqmuNt5IzerJeXk+8zKLZoedNx/pKOvSUQadf+A8XithXjT2D BpLbd2RpF/miOPB6vpwqD6QUt0gD5JLf/HPMwCtK0UaVeHiH4/f7KCu6Y236imlR hH12f91N5ke0F8cFlMJdu1s5LjDLTfbbFVnXKQbMX88VmJa5+UlWFvA0O4w8RNY6 vqN29OYQAW4NtWvqDTaNT+LBSXki8PIhyXk+doPzLa+clGQ05fLDosr+9FT3B0X3 H7rtqqG45F3F63ji/s6QmvizoQHVhlez1/lIvJAJCO69qVXM4CG9lgS/rrce6Chd 5ZmIA1xexgH+h04s97YNkIRGZWbtWDDSHhl4E1MBR+YMafizN0pE5mqYdxduObG0 AGcKws+CGcQEr5rwuSg6b2uKb5NmeQpe5QAwy9bVwLmWGFAHjKV82NX4oFykWaRa BlTKoSCyQhJwkhRi/h8xvJ7Wn3V+YJTFcd6fOELOxHIE2VWKb5WpxA7M92W4LsFp qpGspsdHVIasozJrgZhncupAtCR46ECL4GxFLxNsIG1k+1ei+WPqre5IJt4gMTxH /PewBp2Rq80pWZHnzDHiwtunklq2aCx/Jc9a7IMjfarbdy6HSyWEJn+dkGCHKo2K VW2mFS7RsCSzMreoeE2hNIO43uwSh7ppjWB9eFvqVE/rTCuVU2A= =A+qb -----END PGP SIGNATURE-----