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

adios_mpi.cpp doesn't work with Python 3.7 #202

Open
rgmiller opened this issue Sep 24, 2019 · 2 comments
Open

adios_mpi.cpp doesn't work with Python 3.7 #202

rgmiller opened this issue Sep 24, 2019 · 2 comments

Comments

@rgmiller
Copy link

The current version of wrappers/numpy/adios_mpi.cpp is generated by Cython 0.28.0. This code is not compatible with the C API in Python 3.7. Attempting to compile it results in lots of errors along the lines of 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type' and similar. This is a known problem with Cython that has been fixed as of Cython 0.29. (See the first entry under "Bugs Fixed" at https://github.com/cython/cython/blob/0.29.x/CHANGES.rst)

I believe simply re-generating adios_mpi.cpp using the new Cython will result in code that compiles against Python 3.7 (and earlier).

@jychoi-hpc
Copy link
Member

I have just recompiled with the recent Cython 0.29 and uploaded to the repository. Please let us know if there is still a problem.

@ax3l
Copy link
Contributor

ax3l commented Jan 4, 2022

X-ref: #216 (comment)

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

3 participants