ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> numpy-discussion
numpy-discussion
Re: [Numpy-discussion] numpy can't use ACML
by Piotr Luszczek other posts by this author
Jan 28 2006 6:04PM messages near this date
[Numpy-discussion] numpy can't use ACML | Re: [Numpy-discussion] numpy with ACML
On Saturday 28 January 2006 19:36, George Nurser wrote:
>  I'm sure this is well known, but I just realized that numpy cannot
>  use the _dotblas.so that it makes when it is compiled with ACML.
>  This is because ACML only has the fortran blas libraries, not cblas.
> 
>  numpy will find the acml libraries and use them to make a _dotblas.so
>  without complaining, if you have
> 
>  [blas]
>  blas_libs = acml
>  language = f77
>    in your site.cfg.
> 
>  But attempting to import this _dotblas.so gives errors .... so numpy
>  never actually uses it.
> 
>   >>> import _dotblas.so
> 
>  Traceback (most recent call last):
>     File "<stdin>", line 1, in ?
>  ImportError: ./_dotblas.so: undefined symbol: cblas_zaxpy
> 
>  nm _dotblas.so gives a whole stream of undefined cblas_xxxx symbols.
> 
>  So what are the options? Forget about ACML? Find an optimized cblas
>  for numpy _dotblas but use the ACML flapack for scipy? Persuade
>  somebody to write a scipy-style ?f2py interface to generate
>  _dotblas.so using the fblas?
> 
>  George Nurser.


There is code for that on netlib:
http://www.netlib.org/blas/blast-forum/cblas.tgz

I used it myself for my C code before and it worked just fine.

Piotr


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@[...].net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Thread:
George Nurser
Piotr Luszczek
George Nurser

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved