This usually​ means that you have accidentally switched to using a different 
MPI implementation under the covers somehow.  E.g., did you somehow 
accidentally start using mpiexec from MPICH instead of Open MPI?  Or did MPI4Py 
somehow get upgraded or otherwise re-build itself for MPICH, but you're still 
using the mpiexec from Open MPI?  Stuff like that.
________________________________
From: users <users-boun...@lists.open-mpi.org> on behalf of caitlin lamirez via 
users <users@lists.open-mpi.org>
Sent: Wednesday, October 25, 2023 11:57 AM
To: users@lists.open-mpi.org <users@lists.open-mpi.org>
Cc: caitlin lamirez <caitlin.lami...@yahoo.com>
Subject: [OMPI users] MPI4Py Only Using Rank 0

Hello,

I am having a problem with MPI4Py (version: mpiexec (OpenRTE) 4.1.5). I have 
been using it for months without a problem, however, out of no where, I am 
getting a bug where my program is only using Rank 0.

For example, when I run the command:

mpiexec -n 5 python -m mpi4py.bench helloworld

I get the following output:

Hello, World! I am process 0 of 1 on Caitlins-MacBook-Air.local.
Hello, World! I am process 0 of 1 on Caitlins-MacBook-Air.local.
Hello, World! I am process 0 of 1 on Caitlins-MacBook-Air.local.
Hello, World! I am process 0 of 1 on Caitlins-MacBook-Air.local.
Hello, World! I am process 0 of 1 on Caitlins-MacBook-Air.local.

I have not changed anything with my system. I was wondering if I can get some 
help on this issue?

Thank you,
Caitlin Lamirez

Reply via email to