GNU bug report logs - #73649
OpenMPI + mpi4py broken: rank=0

Previous Next

Package: guix;

Reported by: Antero Mejr <mail <at> antr.me>

Date: Sun, 6 Oct 2024 01:02:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Antero Mejr <mail <at> antr.me>
To: 73649 <at> debbugs.gnu.org
Subject: bug#73649: OpenMPI + mpi4py broken: rank=0
Date: Sun, 06 Oct 2024 01:01:33 +0000
Running this command:

guix shell python python-mpi4py openmpi -- mpirun -n 12 python3 \
-c "from mpi4py import MPI; comm = MPI.COMM_WORLD;
print(comm.Get_rank())"

should print the numbers 0-11. Instead it prints 0 11 times. The same
behavior occurs in a container or pure environment.

This breaks any code using mpi4py, because ranks >0 must be available
for multi-threaded code to work.




This bug report was last modified 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.