Source: openmpi
Version: 5.0.9-6
Severity: important

openmpi is interacting with the GPU (nvidia discrete graphics) on my
system in a strange way, reporting the PCI id of the gpu to stderr:

$ mpirun.openmpi -n 1 date
pci id for fd 10: 10de:1d16, driver (null)
pci id for fd 11: 10de:1d16, driver (null)
Mon 02 Mar 2026 11:35:34 CET
$ mpirun.openmpi -n 1 date 2>/dev/null
Mon 02 Mar 2026 11:35:35 CET

This is maddeningly disruptive since, because this "pci id" output goes
to stderr, it automatically causes tests (autopkgtest) of MPI
packages, at least locally on my system. (normally output to stderr is
treating as error by autopkgtest)

For reference, mpich is not engaging with the gpu like this.
$ mpirun.mpich -n 1 date
Mon 02 Mar 2026 11:29:33 CET

lspci -nn tells me that 10de:1d16 is the nvidia discrete graphics card
on my system.

Why is openmpi accessing the gpu card? Maybe there are good reasons
for that if openmpi can now support MPI on GPU (can it?), but then why
is it spitting out the GPU pci id descriptor to stderr like this?

Is there a way to clean up openmpi's behaviour?

Reply via email to