Hello,
I use the Python Numeric package extensively, and had been an
avid user of the "old" scipy. In my view, both pieces of software
are truly first rate, and have greatly improved my productivity in
the area of scientific analysis. Thus, I was excited to make the
transition to the new scipy cor
Hello,
I am looking for suggestions for how I might optimize my
code (make it execute faster), and make it more streamlined/
elegent. But before describing my code, I want to state that
I am not a computer scientist (I am an atmospheric scientist),
and have but a rudimentary understanding of OO pr
Hello,
Does anyone have an efficient Python routine for calculating the
structure function?
Thanks very much,
Daran
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Could you clarify this please?
Let's say that I want to make a call to the LAPACK
routine sspevd, and pass it a matrix, and get the result. How do I
accomplish this?
Thanks,
Daran
--
http://mail.python.org/mailman/listinfo/python-list
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
--
http://mail.pyth
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
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
build/l
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
--
http://mail.python.org/mailman
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.
Thanks ,
Daran
--#!/usr/bin/env python
# To use:
Hi John,
When I built Numeric with ATLAS and LAPACK, the eigenvalue
calculation took the same amount of time.
Per your suggestion, I will capture the output of the build and post
it to the Numpy discussion group.
Thanks,
Daran
--
http://mail.python.org/mailman/listinfo/python-list
Thanks John. Those are the steps I followed, and to no avail.
Interestingly, I downloaded and installed SciPy, and ran the
same eigenvector problem. SciPy greatly speeds up the
calculation...was 1.5 hours using Numeric, now only 15 min
with SciPy.
Unfortunately, SciPy only solves ordinary and gen
Hello,
Could someone please provide instructions for install Numeric
with ATLAS and LAPACK?
I've actually done this correctly, I think. But I don't see any
difference in the speed.
I'm calculating eigenvalues for a 3600 X 3600 covariance matrix.
Calculating the eigenvalues for this matrix requi
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 libra
Hello,
Has anyone a Python script for rotating an eigenvector matrix
using the varimax (or quartimax or other) methods?
Thanks in advance for your help.
Daran
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I need to read a Fortran binary data file in Python.
The Fortran data file is organized thusly:
nx,ny,nz,ilog_scale # Record 1 (Header)
ihour,data3D_array# Record 2
Where every value above is a 2 byte Int. Further, the
first record is a header containing the dimensions of
the data t
Hello,
Making the transition from Perl to Python, and have a
question about constructing a loop that uses an iterator
of type float. How does one do this in Python?
In Perl this construct quite easy:
for (my $i=0.25; $i<=2.25; $i+=0.25) {
printf "%9.2f\n", $i;
}
Thanks in advance for your help.
16 matches
Mail list logo