Re: [SciPy-user] Sparse Matrices (SciPy or elsewhere)?
Well, I need this to build a complicated prototype --I need Sparse to work, but not that well; if the prototype works, then things will change :-) I've tried two different approaches: 1) Tried to compile SciPy CVS on current Cygwin (gcc 3.2, python 2.2.1). I got ATLAS and LAPACK and all of SciPy compiling fine, but not sparse. I worked around the last error I posted on this list, but then I run into symbol issues and gave up. 2) I've now tried to compile SciPy CVS using gcc-mingw as specified on the website. I am running into the issue that my ATLAS and LAPACK are linked against another python (Cygwin's 2.2.1, whereas I am running 2.1 win32 on my box for another project). I downloaded pre-built ATLAS but I don't know if this will work, since it's probably built with another compiler (are there any ABI issues w/ ATLAS??; I am guessing not, but I'd like to be sure) If I go with (2), can I use pre-built ATLAS and LAPACK? Also, how did you compile sparse on Linux? with its makefile (which looks a bit out-of-date) or with setup_sparse.py? Thanks for all your help, Costas
From: Travis Oliphant <oliphant.travis@ieee.org> To: Costas Malamas <costasm@hotmail.com> Subject: Re: [SciPy-user] Sparse Matrices (SciPy or elsewhere)? Date: 16 Dec 2002 22:32:50 -0700
On Mon, 2002-12-16 at 14:58, Costas Malamas wrote:
Travis,
I have tried my best to get scipy/sparse to compile. Can you point me to which version is compiling for you? on what OS? How (makefile or setup_sparse.py)?
I'm sorry I haven't been able to help you more. I would like to see sparse work more reliably, but I have not had the time to make it happen.
I use Mandrake-9.0 (it worked on 8.2 too) which uses gcc 3.2 and python2.2
When I saw "worked" I mean it compiled and loaded in python. There is no doubt a few bugs.
I just checked it again and it is compiling and loading for me. Can you isolate your problem? Did you check the CVS version of SciPy out?
Good luck,
-Travis
_________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Well, I need this to build a complicated prototype --I need Sparse to work, but not that well; if the prototype works, then things will change :-)
It does work, but features may be missing.
2) I've now tried to compile SciPy CVS using gcc-mingw as specified on the website. I am running into the issue that my ATLAS and LAPACK are linked against another python (Cygwin's 2.2.1, whereas I am running 2.1 win32 on my box for another project). I downloaded pre-built ATLAS but I don't know if this will work, since it's probably built with another compiler (are there any ABI issues w/ ATLAS??; I am guessing not, but I'd like to be sure)
I don't think there are, because ATLAS is usually statically linked. But, I'm the wrong person to ask.
If I go with (2), can I use pre-built ATLAS and LAPACK?
I think so. Can somebody with windows experience comment here?
Also, how did you compile sparse on Linux? with its makefile (which looks a bit out-of-date) or with setup_sparse.py?
I set build_sparse=1 (currently it is set to 0), in the main setup.py file and then it goes off and uses the setup_sparse.py file. I've never actually tried to install it using just setup_sparse.py though it should probably work. -Travis
participants (2)
-
Costas Malamas -
Travis Oliphant