unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#73649: OpenMPI + mpi4py broken: rank=0
@ 2024-10-06  1:01 Antero Mejr
  0 siblings, 0 replies; only message in thread
From: Antero Mejr @ 2024-10-06  1:01 UTC (permalink / raw)
  To: 73649

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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-06  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06  1:01 bug#73649: OpenMPI + mpi4py broken: rank=0 Antero Mejr

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).