-
Notifications
You must be signed in to change notification settings - Fork 21
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
The Cython wrapper cannot find the symbols defined by BLAS #10
Comments
How did you link the shared library ? Here is an example of setup.py (the one you call with
The relevant line is in the |
Nevermind, the problem is that I accidentally misnamed the shared I am not using setup.py, I am compiling the files manually via Makefile On 11/13/2011 10:56 PM, Nicolas Pinto wrote:
|
For Cython modules, please use setup.py or we'll have many issues in the future. |
I am having an issue with cython. The cython file compiles correctly to C, and the C file also compiles correctly to .so (see first target of the Makefile on branch caa_devel). However, when I import the .so in python, python complains that
ImportError: ./pasgd.so: undefined symbol: cblas_sdsdot
I am not using cblas_sdsdot in python, and also the function is in fact defined (either in simple_blas.c or from libcblas.so). This sounds like a silly issue, like me not giving some necessary parameter to Python. Did you ever encounter something like this? Suggestions?
The text was updated successfully, but these errors were encountered: