[SciPy-user] blas/lapack issue on a freebsd box...
robert.kern at gmail.com
Wed Dec 6 13:26:21 CST 2006
>> This is part of your problem. Do you have a site.cfg file? If so, please
>> post it.
> Ok. I have this one, in
> library_dirs = /usr/lib/atlas/3dnow/
> atlas_libs = lapack, blas
> Looks wrong, no ?
Quite wrong. You should remove it.
Also, put your site.cfg files next to the setup.py files for the package you are
building. numpy.distutils will find it if it's in that location, but that's a
bad place for it.
>> You ought to have sections that look like these:
>> libraries=f77blas, cblas, atlas
>> libraries=lapack, f77blas, cblas, atlas
> I have deleted the lines above, and put yours.
> But nothing changes :-(
Something should have changed. Maybe you don't get a successful compile, but the
output of "python setup.py config" should be different.
>> Possibly, you might also need to add g2c to the end of the libraries= lines.
> Hmm, I have no g2c on my freebsd box.
What FORTRAN compiler are you using? What FORTRAN compiler did you configure
>> Now, those libraries lists are from what I normally see installed from
>> Given that I've never seen libalapack_r.so.1 before, it's possible that
>> gets build strangely on your machine. Please also give us a list of the
>> libraries that ATLAS installs. Also tell us where you got
>> /usr/local/lib/liblapack.so and /usr/local/lib/libblas.so .
> Information for atlas-devel-3.7.11:
> I got liblapack.so from lapack-3.0_1 and libblas.so from blas-1.0 binary
Okay, try these sections:
libraries=f77blas, cblas, atlas
libraries=alapack, f77blas, cblas, atlas
> Thanks in advance.
> PS : building scipy-0.5.1 requires that atlas be built with static libs.
Says who? (It's possibly true, I don't know, but I'd like to know where you are
getting this information from.)
If that's the case, then add
search_static_first = true
> PS2 : thanks to added me to the EditorsList ;-)
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the SciPy-user