|
Re: doc bug in numarray 1.1: msg#00048python.numeric.general
On Mon, 2004-09-13 at 16:32, Chris Barker wrote: > 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. This does seem like a documentation bug. > addons.py > > 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 Amazingly enough, I just found this problem today myself, and I also confess it is My Fault (tm), as I was unclear in a previous post to thie forum. These libraries are specific to the commercial Absoft Fortran compiler. If you change the lapack_libs assignment in addons.py to lapack_libs = ['lapack', 'f77blas', 'cblas', 'atlas', 'g2c', 'm'] then the command you used above will build against ATLAS with g77. Building against ATLAS is definitely worthwhile. On my little laptop (mobile AMD Athlon XP2800+) the time to solve a 1000x1000 random array went from 10.7 to 0.9 seconds, and that was just using the prebuilt Linux_ATHLON ATLAS tarball from the scipy.com site, not one I compiled myself optimized for my computer. Steve Walton ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | PEP for overiding and/or/not: 00048, Tim Hochberg |
|---|---|
| Next by Date: | character arrays supported by C API?: 00048, Faheem Mitha |
| Previous by Thread: | doc bug in numarray 1.1i: 00048, Chris Barker |
| Next by Thread: | Re: doc bug in numarray 1.1: 00048, Stephen Walton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |