logo       

doc bug in numarray 1.1: msg#00046

python.numeric.general

Subject: doc bug in numarray 1.1

HI all,

I just installed numarray 1.1. All went well with setup.py. Then I decided to try to build it against an atlas lapack. I found, under the Linear Algebra section:

"""
the setup procedure needs to be modified to force the lapack_lite module to be linked against those rather than the builtin replacement functions.


Edit Packages/LinearAlgebra2/setup.py and edit the variables sourcelist, lapack_dirs, and lapack_libs.


In sourcelist you should remove all sourcefiles besides ....
"""

but there is no:

Packages/LinearAlgebra2/setup.py

However, I did find in:

addons.py

"""
if os.environ.has_key('USE_LAPACK'):
BUILTIN_BLAS_LAPACK = 0
else:
BUILTIN_BLAS_LAPACK = 1
"""

so I tried:

export USE_LAPACK=true
python setup.py build --gencode

Now it appears to be compiling linear_algebra differently, as I now get a linking error, can't find:

f90math, fio, or f77math

However, if I remove those from lapack_libs in addons.py, I can get it to compile, install, and as far as I can tell, run fine. Why are they in that list?

By the way, this is all under Gentoo Linux.

-Chris











--
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@xxxxxxxx


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise