Skip to content

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

Description

@hmcezar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions