Hello there, I'm new here, so excuse me if the solution is trivial: i have installed ATLAS and LAPACK on my ubuntu 7 dual core intel machine. now, when i try to install numpy, it tells me it doesn't find these libraries: " $ python setup.py install Running from numpy source directory. F2PY Version 2_3816 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in /usr/local/lib libraries mkl,vml,guide not found in /usr/lib NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries lapack,blas not found in /usr/local/lib/ATLAS/src/ libraries lapack,blas not found in /usr/local/lib/ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack,blas not found in /usr/lib NOT AVAILABLE atlas_blas_info: libraries lapack,blas not found in /usr/local/lib/ATLAS/src/ libraries lapack,blas not found in /usr/local/lib/ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack,blas not found in /usr/lib NOT AVAILABLE ......" I have installed ATLAS and lapack with no errors. ATLAS is in usr/local/lib/ATLAS/: $ ls /usr/local/lib/ATLAS bin doc interfaces Make.Linux_UNKNOWNSSE2_2 README tune CONFIG include lib makes src config.c INSTALL.txt Makefile Make.top tst.o so, what seems to be the problem? thanks, t
sittner@lkb.ens.fr wrote:
Hello there, I'm new here, so excuse me if the solution is trivial: i have installed ATLAS and LAPACK on my ubuntu 7 dual core intel machine. now, when i try to install numpy, it tells me it doesn't find these libraries:
" $ python setup.py install Running from numpy source directory. F2PY Version 2_3816 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in /usr/local/lib libraries mkl,vml,guide not found in /usr/lib NOT AVAILABLE
atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries lapack,blas not found in /usr/local/lib/ATLAS/src/ libraries lapack,blas not found in /usr/local/lib/ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack,blas not found in /usr/lib NOT AVAILABLE
atlas_blas_info: libraries lapack,blas not found in /usr/local/lib/ATLAS/src/ libraries lapack,blas not found in /usr/local/lib/ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack,blas not found in /usr/lib NOT AVAILABLE ......" I have installed ATLAS and lapack with no errors. ATLAS is in usr/local/lib/ATLAS/: $ ls /usr/local/lib/ATLAS bin doc interfaces Make.Linux_UNKNOWNSSE2_2 README tune CONFIG include lib makes src config.c INSTALL.txt Makefile Make.top tst.o
so, what seems to be the problem?
You haven't actually installed ATLAS. You've just built it. Don't put the source in /usr/local/lib/ATLAS/. Put that somewhere else, like ~/src/ATLAS/. Follow the installation instructions in INSTALL.txt. Note this section: """ There are two mandatory steps to ATLAS installation (config & build), as well as three optional steps (test, time, install) and these steps are described in detail below. For the impatient, here is the basic outline: ************************************************** mkdir my_build_dir ; cd my_build_dir /path/to/ATLAS/configure [flags] make ! tune and compile library make check ! perform sanity tests make ptcheck ! checks of threaded code for multiprocessor systems make time ! provide performance summary as % of clock rate make install ! Copy library and include files to other directories ************************************************** """ -- Robert Kern "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
Robert Kern wrote:
sittner@lkb.ens.fr wrote:
Hello there, I'm new here, so excuse me if the solution is trivial: i have installed ATLAS and LAPACK on my ubuntu 7 dual core intel machine. now, when i try to install numpy, it tells me it doesn't find these libraries:
" $ python setup.py install Running from numpy source directory. F2PY Version 2_3816 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in /usr/local/lib libraries mkl,vml,guide not found in /usr/lib NOT AVAILABLE
atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries lapack,blas not found in /usr/local/lib/ATLAS/src/ libraries lapack,blas not found in /usr/local/lib/ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack,blas not found in /usr/lib NOT AVAILABLE
atlas_blas_info: libraries lapack,blas not found in /usr/local/lib/ATLAS/src/ libraries lapack,blas not found in /usr/local/lib/ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack,blas not found in /usr/lib NOT AVAILABLE ......" I have installed ATLAS and lapack with no errors. ATLAS is in usr/local/lib/ATLAS/: $ ls /usr/local/lib/ATLAS bin doc interfaces Make.Linux_UNKNOWNSSE2_2 README tune CONFIG include lib makes src config.c INSTALL.txt Makefile Make.top tst.o
so, what seems to be the problem?
You haven't actually installed ATLAS. You've just built it. Don't put the source in /usr/local/lib/ATLAS/. Put that somewhere else, like ~/src/ATLAS/. Follow the installation instructions in INSTALL.txt. Note this section:
""" There are two mandatory steps to ATLAS installation (config & build), as well as three optional steps (test, time, install) and these steps are described in detail below. For the impatient, here is the basic outline: ************************************************** mkdir my_build_dir ; cd my_build_dir /path/to/ATLAS/configure [flags] make ! tune and compile library make check ! perform sanity tests make ptcheck ! checks of threaded code for multiprocessor systems make time ! provide performance summary as % of clock rate make install ! Copy library and include files to other directories ************************************************** """
Alternatively, if you are not familiar with compiling softwares (and Atlas can be tricky to compile/install), just install the packages provided by ubuntu: sudo apt-get install atlas3-sse2-dev atlas3-base-dev, and it should be fine. David
On 5/31/07, David Cournapeau <david@ar.media.kyoto-u.ac.jp> wrote:
sittner@lkb.ens.fr wrote:
Hello there, I'm new here, so excuse me if the solution is trivial: i have installed ATLAS and LAPACK on my ubuntu 7 dual core intel machine. now, when i try to install numpy, it tells me it doesn't find these libraries:
" $ python setup.py install Running from numpy source directory. F2PY Version 2_3816 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in /usr/local/lib libraries mkl,vml,guide not found in /usr/lib NOT AVAILABLE
atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries lapack,blas not found in /usr/local/lib/ATLAS/src/ libraries lapack,blas not found in /usr/local/lib/ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack,blas not found in /usr/lib NOT AVAILABLE
atlas_blas_info: libraries lapack,blas not found in /usr/local/lib/ATLAS/src/ libraries lapack,blas not found in /usr/local/lib/ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack,blas not found in /usr/lib NOT AVAILABLE ......" I have installed ATLAS and lapack with no errors. ATLAS is in usr/local/lib/ATLAS/: $ ls /usr/local/lib/ATLAS bin doc interfaces Make.Linux_UNKNOWNSSE2_2 README tune CONFIG include lib makes src config.c INSTALL.txt Makefile Make.top tst.o
so, what seems to be the problem?
You haven't actually installed ATLAS. You've just built it. Don't put
in /usr/local/lib/ATLAS/. Put that somewhere else, like ~/src/ATLAS/. Follow the installation instructions in INSTALL.txt. Note this section:
""" There are two mandatory steps to ATLAS installation (config & build), as well as three optional steps (test, time, install) and these steps are described in detail below. For the impatient, here is the basic outline: ************************************************** mkdir my_build_dir ; cd my_build_dir /path/to/ATLAS/configure [flags] make ! tune and compile library make check ! perform sanity tests make ptcheck ! checks of threaded code for multiprocessor systems make time ! provide performance summary as % of clock rate make install ! Copy library and include files to other
Robert Kern wrote: the source directories
************************************************** """
Alternatively, if you are not familiar with compiling softwares (and Atlas can be tricky to compile/install), just install the packages provided by ubuntu: sudo apt-get install atlas3-sse2-dev atlas3-base-dev, and it should be fine.
Maybe, maybe not. On 64bit Intel machines running 64bit linux the fedora package raises an illegal instruction error. Since the fedora package is based on the debian package this might be a problem on Ubuntu also. For recent hardware you are probably better off compiling your own from the latest ATLAS version out there. Chuck
Charles R Harris wrote:
Maybe, maybe not. On 64bit Intel machines running 64bit linux the fedora package raises an illegal instruction error. Since the fedora package is based on the debian package this might be a problem on Ubuntu also. For recent hardware you are probably better off compiling your own from the latest ATLAS version out there.
Well, testing the deb packages would take a couple of minutes, whereas compiling and installing atlas would take easily much more, specially if you have never done it before. So I think trying the debian packages first is the least effort path :) David
Maybe, maybe not. On 64bit Intel machines running 64bit linux the fedora package raises an illegal instruction error. Since the fedora package is based on the debian package this might be a problem on Ubuntu also. For recent hardware you are probably better off compiling your own from the latest ATLAS version out there.
Red Hat uses Debian packages ? That sounds odd... FC uses RPM, Debian uses deb packages. The problem with RPM is, as stated by David some time ago, that a lot of info is missing in RPM that is present in deb. What is more, it is known that using a lot of packages repositories leads to incompatibilities and instabilities. Matthieu
Matthieu Brucher wrote:
Maybe, maybe not. On 64bit Intel machines running 64bit linux the fedora package raises an illegal instruction error. Since the fedora package is based on the debian package this might be a problem on Ubuntu also. For recent hardware you are probably better off compiling your own from the latest ATLAS version out there.
Red Hat uses Debian packages ? That sounds odd... FC uses RPM, Debian uses deb packages. The problem with RPM is, as stated by David some time ago, that a lot of info is missing in RPM that is present in deb.
I don't think I stated that :)
What is more, it is known that using a lot of packages repositories leads to incompatibilities and instabilities. I think what Harris meant is that the rpm package is based on the work done by the debian packagers. There are official rpm for atlas, I think (not sure, as I do not use Fedora on a regular basis).
David
Red Hat uses Debian packages ? That sounds odd... FC uses RPM, Debian uses deb packages. The problem with RPM is, as stated by David some time ago, that a lot of info is missing in RPM that is present in deb. I don't think I stated that :)
Well you said, IIRC, that you had troubles making rpm, no ? If that's not the case, my apologies, I must be confusing with another discussion somewhere else :|
What is more, it is known that using a lot of packages repositories
leads to incompatibilities and instabilities. I think what Harris meant is that the rpm package is based on the work done by the debian packagers. There are official rpm for atlas, I think (not sure, as I do not use Fedora on a regular basis).
Oh... OK Matthieu
participants (5)
-
Charles R Harris
-
David Cournapeau
-
Matthieu Brucher
-
Robert Kern
-
sittner@lkb.ens.fr