ornladios/ADIOS

adios_mpi.cpp doesn't work with Python 3.7

Opened this issue · 2 comments

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).

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.