Comments (5)
Am 09.07.2015 um 16:26 schrieb ZacDiggum [email protected]:
Hi there,
I'm on Linux Mint 17.2 with fglrx as OpenCL platform. I installed gpyfft using prebuilt binaries from https://github.com/clMathLibraries/clFFT/releases https://github.com/clMathLibraries/clFFT/releases. Gpyfft wouldn't find libclFFT.so.2. So I created a file called libclFFT.so.2.conf in ld.so.conf.d with the proper path to libclFFT.so.2. That did the trick when installing pyopencl_blas. Still won't work...
Anyone willing to help a newbie?
Have no idea about the intricacies of path handling, just 2 observations:
- gpyfft links to libclFFT.so, so perhaps just a symbolic link is missing?
- when building for Windows, clFFT.dll is copied into the module directory of gpyfft to avoid fiddling with PATH, you could (manually) do the same
Gregor
—
Reply to this email directly or view it on GitHub #13.
from gpyfft.
Hi, thanks for your help. I just put the library in /usr/local/lib. Not very elegant, but it works. BTW, gpyfft gives me a speedup of about one third over Reikna, when operating on large arrays (like 4k x 4k).
I'll close the issue.
from gpyfft.
Hi
Same problem here on Ubuntu 20.04
Compiled successfully clFFT and got libclFFT.so.2 in /usr/local/lib64, which is the directory indicated in setup.py under the section 'linux':
CLFFT_LIB_DIRS = [r'/usr/local/lib64']
Ran python setup.py build
and python setup.py install
in gpyfft master directory (with no error apparently), and import gpyfft
in python complains about not finding licclFFT.so.2.
Any idea? Why the line CLFFT_LIB_DIRS = [r'/usr/local/lib64']
is not taken into account ?
from gpyfft.
Also tried to copy the clFFT lib in the ..../site-packages/gpyfft directory, along with gpyfftlib.cpython-38-x86_64-linux-gnu.so, without success.
from gpyfft.
I also encountered this kind of problem. By default, clFFT gets installed to /usr/local/lib64. But, this location is not contained in the library search path on ubuntu, which expects it to be in /usr/local/lib/x86_64-linux-gnu. You can just manually copy the clFFT libs to this location.
Another option is to permanently add /usr/local/lib64 to the library search path:
echo "/usr/local/lib64" > usr_local_lib64.conf
sudo mv usr_local_lib64.conf /etc/ld.so.conf.d
sudo ldconfig
from gpyfft.
Related Issues (20)
- No examples in documentation HOT 9
- Windows 10 - errors in test_simple.py HOT 7
- gpyfft working on macOS 10.11.6, but not for CPU HOT 3
- simple_example.py broken HOT 16
- Cython errors in setup.py on Ubuntu HOT 7
- License file HOT 2
- [debian] test error during the build process HOT 7
- [doc] errors during the sphinx doc generation HOT 2
- could you integrate the benchmark in the gpyfft module HOT 1
- Installation when clFFT has been installed using conda ? HOT 14
- Batched FFT buggy
- Real->complex and complex->real HOT 3
- PyPI HOT 2
- Benchmark fails to run on ARM Mali platform HOT 1
- ImportError: DLL load failed HOT 15
- When rinning simple_example.py - OverflowError: can't convert negative value to size_t HOT 3
- Cannot open include file: 'clFFT.h' HOT 1
- How to install this package on Windows? HOT 1
- callback argument for the FFT class HOT 5
- Complains about _clfftBakePlan not found when importing HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpyfft.