[Numpy-discussion] numpy and the ACML

Pauli Virtanen pav at iki.fi
Sat Jan 24 16:05:19 EST 2009


Sat, 24 Jan 2009 15:26:17 -0500, Gideon Simpson wrote:

> Nadav-
> 
> That doesn't quite seem to work for me.  I added:
> 
> [blas_opt]
> library_dirs = /usr/local/nonsystem/simpson/acml4.2.0/gfortran64/lib
> include_dirs = /usr/local/nonsystem/simpson/acml4.2.0/gfortran64/include
> libraries = acml
> 
> [lapack_opt]
> library_dirs = /usr/local/nonsystem/simpson/acml4.2.0/gfortran64/lib
> include_dirs = /usr/local/nonsystem/simpson/acml4.2.0/gfortran64/include
> libraries = acml
> 
> to my site.cfg with no luck.  Somewhere else, people indicated that the
> ACML lacked a CBLAS which was necessary to make this work.

Yep, IIRC you needed also CBLAS. (I think I got Numpy & Scipy linked 
against ACML at some point, but it's been a while and I've forgotten 
details...) There's a CBLAS here:

	http://www.netlib.org/blas/blast-forum/cblas.tgz

So, I think you need to compile it & link it with ACML, and add it in 
site.cfg with ACML libs.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list