[Nipy-devel] How to install NiPy on FC5
Matthew Brett
matthew.brett at gmail.com
Sat Oct 14 05:06:41 CDT 2006
Hi,
...
> Atlas (http://math-atlas.sourceforge.net/) libraries not
> found.
> Directories to search for the libraries can be specified in the
> numpy/distutils/site.cfg file (section [atlas]) or by setting
> the ATLAS environment variable.
> warnings.warn(AtlasNotFoundError.__doc__)
> [amd]
> library_dirs = /usr/lib
> include_dirs = /usr/include/ufsparse
> amd_libs = amd
...
> non-existing path in 'numpy/distutils': 'site.cfg'
I'm sorry, I think I might have got a bit lost in your log files. Do
you know whether scipy compiles with _just_ ACML, or does it also need
the atlas libs? If so, have you tried the rpm atlas libs in your
site.cfg file? I've appended something I found in a web search, which
I could not make sense of, in case it's helpful,
Best,
Matthew
(from: http://209.85.129.104/search?q=cache:l7GKYq6vac0J:svn.cryos.net/projects/gentoo-sci-overlay/ticket/7+scipy+Acml&hl=en&ct=clnk&cd=3)
I use acml-2.5.0 and have it set up with blas-config : $ blas-config -l
Available C profiles: [1] ACML [2] ATLAS [3] threaded-ATLAS
Available F77 profiles: [1] ACML [2] ATLAS [3] threaded-ATLAS
Which gives me :
lrwxrwxrwx 1 root root 19 Mar 26 10:00 /usr/lib64/libblas.so ->
/usr/lib/libacml.so lrwxrwxrwx 1 root root 19 Mar 26 10:00
/usr/lib64/libblas.so.0 -> /usr/lib/libacml.so
anyway, the overlays site.cfg stuff was missing my libblas, so to fix
the issue I patched it thusly:
--- scipy-0.4.8.ebuild 2006-03-26 09:49:23.000000000 -0600
+++ scipy-0.4.8-r1.ebuild 2006-03-26 09:53:03.000000000 -0600
@@ -49,7 +49,7 @@
echo "[atlas]" > site.cfg
echo "include_dirs = /usr/include/atlas" >> site.cfg
echo "atlas_libs = lapack, blas, cblas, atlas" >> site.cfg
- echo -n "library_dirs = /usr/$(get_libdir)/lapack:" >> site.cfg
+ echo -n "library_dirs =
/usr/$(get_libdir)/lapack:/usr/$(get_libdir):" >> site.cfg
if [ -d "/usr/$(get_libdir)/blas/threaded-atlas" ]; then
echo "/usr/$(get_libdir)/blas/threaded-atlas" >> site.cfg
else
More information about the Nipy-devel
mailing list