-
Notifications
You must be signed in to change notification settings - Fork 41
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
Python 3.9 Build Error #216
Comments
Ping @jychoi-hpc @pnorbert @dmitry-ganyushin @lwan86: do you think this can be easily fixed? :) |
@ax3l sorry for my late reply. Can you help me to understand the error? Is this because of using new version of numpy? which python version did you use? I tried to build on Cori with python 3.9.7 (numpy 1.20.3, cython 0.29.24) and didn't get an error. |
@jychoi-hpc no worries. I think this is due to a new version of CPython. Maybe Cython of some of the checked-in ADIOS Cython calls/file generations need to be updated? |
I see the problem on conda-forge: Should I run Cython or something beforehand? :) |
I just tried again by doing exactly the same thing in Alternatively, you can try the following command to invoke 'cython' beforehand:
instead of
|
Thanks a lot, let's try this in Spack (spack/spack#28003 / spack/spack#28223) and Conda-Forge (conda-forge/adios-python-feedstock#11). X-ref: #202 |
Works, fantastic! Thanks for the hint! I noticed that the makefile does not reliably re-create the |
Looks like we still hit this error with suggested commands:
Any suggestion? |
Trying to build ADIOS 1.13.1 (latest release, from Apr 18 2018) fails with the above problem. |
It looks like the cython version 0.29 at Oct 2 2019 is old. I just tried adios 1.13.1, cython 0.29.32, and python 3.9.13 and it works for me:
(removed some warnings) I don't know which version of cython starts supproting python 3.9. But, can you try with different cython versions? |
I wonder how this works for you with v1.13.1! I'll try to investigate some more tomorrow! |
@martin-g @Yikun you are probably aware (and don't let me break our enthusiasm on getting old builds to work), but ADIOS1 is now deprecated and ADIOS2 is the new hot project: https://github.com/ornladios/ADIOS2 |
I used the following command to re-generate
As @ax3l said, I also recommend to use Adios2 if possible. |
Thank you for your help, @jychoi-hpc and @ax3l ! I didn't know it is possible to re-generate these files on the fly! |
ADIOS2 also has more features that have been maintained for a few years. |
Building against CPython 3.9 I see the following errors:
Refs.: https://github.com/conda-forge/adios-python-feedstock
cc @jychoi-hpc
The text was updated successfully, but these errors were encountered: