[SciPy-dev] site.cfg and acml

Arnd Baecker arnd.baecker at web.de
Mon Nov 14 07:24:49 CST 2005


On Mon, 14 Nov 2005, Nils Wagner wrote:

> Hi all,
>
> I have installed AMD's fast math libraries.
>
> /opt/acml2.7.0/gnu32/lib consists
> -rw-r--r--  1 root root 12610040 2005-08-16 15:00 libacml.a
> -rwxr-xr-x  1 root root  8083960 2005-08-16 15:00 libacml.so
>
> Where can I find the file site.cfg ?

You will have to create it before installation in the directory
core/scipy/distutils

Old scipy used to have a file `sample_site.cfg` in that directory.

I think it would be helpful if such  a file is added to new scipy
as well.

> How do I add the information concerning the location of acml to site.cfg ?
>
> I guess that /opt/acml2.7.0/gnu32/lib is not a standard path for
> libraries as opposed to /usr/local/lib /usr/lib etc.

Yep, it should be sufficient to add
  library_dirs = /opt/acml2.7.0/gnu32/lib
Maybe also
  include_dirs= ...

Arnd


> [blas]
> # for overriding the names of the atlas libraries
> blas_libs = acml
> language = f77
>
> [lapack]
> lapack_libs = acml
> language = f77
>
>
>  Nils
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
>




More information about the Scipy-dev mailing list