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

ValueError: mpi4py.MPI.Datatype size changed, may indicate binary incompatibility #11

Open
hmcezar opened this issue Mar 16, 2022 · 0 comments

Comments

@hmcezar
Copy link
Contributor

hmcezar commented Mar 16, 2022

I'm trying to use PyZoltan in an environment with mpich and I'm getting the error:

Python 3.10.0 (default, Mar  3 2022, 09:58:08) [GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyzoltan.core import zoltan
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyzoltan/core/zoltan.pyx", line 1, in init pyzoltan.core.zoltan
ValueError: mpi4py.MPI.Datatype size changed, may indicate binary incompatibility. Expected 40 from C header, got 32 from PyObject

If I create a new environment from the .yml file provided in the repository, things works, so I suspect the problem might be I'm using mpich.
I tried reinstalling and downgrading mpi4py without any success.
Any ideas on how to solve this?

I'm attaching a file containing all the packages installed in my environment.
env.txt

@hmcezar hmcezar mentioned this issue Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant