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

About some installation issues #53

Open
AntyRia opened this issue May 21, 2024 · 1 comment
Open

About some installation issues #53

AntyRia opened this issue May 21, 2024 · 1 comment

Comments

@AntyRia
Copy link

AntyRia commented May 21, 2024

Hello. Thank you for your outstanding contribution
I'm having some problems with it. I want to run your script on a RK3568 development board to use GPU for fft calculation, my system information is as follows:
Linux lubancat 4.19.232 #12 SMP Fri Nov 10 10:22:31 CST 2023 aarch64 GNU/Linux

At present, I can only install your dependencies through apt install python3-gpyfft, and other installation methods will not work properly
But this installation resulted in the library being stored under /usr/bin/python, and I couldn't use the library in conda,I would like to ask if there is a way I can use this library in the conda environment.

@geggo
Copy link
Owner

geggo commented May 21, 2024

Hi,
to my best knowledge there are no ready made conda packages, at least not for your platform. So you have to build gpyfft from the sources yourself, which needs some manual work.

The difficult part of installing gpyfft from source is compiling the underlying clfft library - which unfortunately has become unsupported since years. However, there is a debian package available for it, libclfft2 and libclfft-dev. gpyfft itself is a rather simple cython based wrapper. With a little editing of setup.py to point to the clfft library and header, and the OpenCL headers, building gpyfft should run smoothly.

Please tell me if you need further advice, or how installation attempts failed.

Gregor

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

2 participants