Re: LinearAlgebra incredibly slow for eigenvalue problems

2005-01-28 Thread David M. Cooke
drife [EMAIL PROTECTED] writes: Hello, I need to calculate the eigenvectors and eigenvalues for a 3600 X 3600 covariance matrix. The LinearAlgebra package in Python is incredibly slow to perform the above calculations (about 1.5 hours). This in spite of the fact that I have installed

Re: LinearAlgebra incredibly slow for eigenvalue problems

2005-01-28 Thread John Hunter
drife == drife [EMAIL PROTECTED] writes: drife Hi David, I performed the above check, and sure enough, drife Numeric is --not-- linked to the ATLAS libraries. drife I followed each of your steps outlined above, and Numeric drife still is not linking to the ATLAS libraries.

Re: LinearAlgebra incredibly slow for eigenvalue problems

2005-01-28 Thread drife
Hi John, I do have more than one version of Python laying around. To do the build and install I am typing: /d2/python/bin/python setup.by build ! build.out /d2/python/bin/python setup.by install ! install.out Should I be doing something different? Daran --

Re: LinearAlgebra incredibly slow for eigenvalue problems

2005-01-28 Thread David M. Cooke
drife [EMAIL PROTECTED] writes: Hi David, I performed the above check, and sure enough, Numeric is --not-- linked to the ATLAS libraries. I followed each of your steps outlined above, and Numeric still is not linking to the ATLAS libraries. My setup.py file is attached below. # delete

Re: LinearAlgebra incredibly slow for eigenvalue problems

2005-01-28 Thread drife
Hi David, Yes, when Numeric compiles it does look like the linking is being done properly. I captured the build to a file and see a few lines similar to: gcc -pthread -shared build/temp.linux-i686-2.4/Src/lapack_litemodule.o -L/d2/lib/atlas -llapack -lptcblas -lptf77blas -latlas -lg2c -o

Re: LinearAlgebra incredibly slow for eigenvalue problems

2005-01-28 Thread drife
David, One more thing. I checked to see if the SciPy libraries had dependencies on ATLAS. They do not, however, the eigenvector calculation is still much faster than Numeric? This is very strange. Daran -- http://mail.python.org/mailman/listinfo/python-list

Re: LinearAlgebra incredibly slow for eigenvalue problems

2005-01-28 Thread drife
David, I noticed that the libraries that ATLAS builds are not shared objects (e.g., liblapack.a). Should these be shared objects? I see nothing in the ATLAS documentation about building things as shared objects. Wondering if this is why the Numeric install is failing. Daran --

Re: LinearAlgebra incredibly slow for eigenvalue problems

2005-01-28 Thread Robert Kern
drife wrote: David, I noticed that the libraries that ATLAS builds are not shared objects (e.g., liblapack.a). Should these be shared objects? I see nothing in the ATLAS documentation about building things as shared objects. Wondering if this is why the Numeric install is failing. No, they should

LinearAlgebra incredibly slow for eigenvalue problems

2005-01-27 Thread drife
Hello, I need to calculate the eigenvectors and eigenvalues for a 3600 X 3600 covariance matrix. The LinearAlgebra package in Python is incredibly slow to perform the above calculations (about 1.5 hours). This in spite of the fact that I have installed Numeric with the full ATLAS and LAPACK