Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelization fails on some machines with MPI_ERR_TAG: invalid tag #128

Open
IshaanDesai opened this issue Sep 3, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@IshaanDesai
Copy link
Member

The parallelization fails with the error:

  File "/home/ac137996/.local/lib/python3.11/site-packages/micro_manager/adaptivity/global_adaptivity.py", line 385, in _p2p_comm
    recv_reqs = self._p2p_comm(assoc_active_ids, micro_output)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ac137996/.local/lib/python3.11/site-packages/micro_manager/adaptivity/global_adaptivity.py", line 385, in _p2p_comm
    req = self._comm.isend(data[local_id], dest=send_rank, tag=tag)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "src/mpi4py/MPI.src/Comm.pyx", line 2006, in mpi4py.MPI.Comm.isend
    req = self._comm.irecv(bufsize, source=recv_rank, tag=tag)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "src/mpi4py/MPI.src/msgpickle.pxi", line 425, in mpi4py.MPI.PyMPI_isend
mpi4py.MPI.Exception: MPI_ERR_TAG: invalid tag

on some machines. @mathiskelm found that the size of the tags is the problem.

@IshaanDesai IshaanDesai added the bug Something isn't working label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant