Problems with Scipy and Fedora Core 4
I'm having trouble getting Scipy to run on Fedora Core 4. The latest release (0.3.2) fails to compile with errors in the source, probably related to the switch to GCC 4.0. I'm not summarizing them here because the problems don't exist in the Subversion code. After checking out the latest code from svn, Scipy compiles but I get the following error: ImportError: /usr/lib/python2.4/site-packages/scipy/linalg/clapack.so: undefined symbol: clapack_sgesv I'm using Fedora Cora 4, with RPMS blas-3.0-29, lapack-3.0-29, and atlas-3.6.0-0.fdr.2 installed. I've also installed compat-gcc-33-g77 to get g77 and libg2c.a. This... ahem... would seem to have the effect of mixing GCC 3.3 and 4.0 code, which strikes me as dicey at best. Are my worries justified? I've attached a complete traceback and the output of scipy_distutils/system_info.py. Any tips are appreciated, including (if necessary) "It doesn't work right now." Thanks, Greg
Hi Greg, Attached is a patch to Scipy CVS from just before the subversion conversion that lets you compile with gcc 4.0 and gfortran (no need for compat-gcc*). Note, however, that there are problems with the special functions module which I guess are gfortran-related. Please make sure you have the gcc updates from a couple of weeks ago (at least version 4.0.1-4) since Hollerith constant support was absent in earlier versions of gfortran. Where did you get your ATLAS libraries? Did you build them with the same gcc and gfortran that you used to build scipy? To make ATLAS use gfortran, you will need to maually edit the top level Makefile after configuration; the Makefile should be called Makefile.arch. where 'arch' is a name like 'Linux_ATHLONSSE1'. Hope this helps. Ravi
After checking out the latest code from svn, Scipy compiles but I get the following error: ImportError: /usr/lib/python2.4/site-packages/scipy/linalg/clapack.so: undefined symbol: clapack_sgesv
I'm using Fedora Cora 4, with RPMS blas-3.0-29, lapack-3.0-29, and atlas-3.6.0-0.fdr.2 installed. I've also installed compat-gcc-33-g77 to get g77 and libg2c.a. This... ahem... would seem to have the effect of mixing GCC 3.3 and 4.0 code, which strikes me as dicey at best. Are my worries justified?
I've attached a complete traceback and the output of scipy_distutils/system_info.py. Any tips are appreciated, including (if necessary) "It doesn't work right now."
Thanks, Greg
On Wed, 17 Aug 2005 12:49:11 -0700 (PDT) Greg Novak <novak@ucolick.org> wrote:
I'm having trouble getting Scipy to run on Fedora Core 4. The latest release (0.3.2) fails to compile with errors in the source, probably related to the switch to GCC 4.0. I'm not summarizing them here because the problems don't exist in the Subversion code.
After checking out the latest code from svn, Scipy compiles but I get the following error: ImportError: /usr/lib/python2.4/site-packages/scipy/linalg/clapack.so: undefined symbol: clapack_sgesv
Maybe you use an incomplete liblapack. http://math-atlas.sourceforge.net/errata.html#completelp Nils
I'm using Fedora Cora 4, with RPMS blas-3.0-29, lapack-3.0-29, and atlas-3.6.0-0.fdr.2 installed. I've also installed compat-gcc-33-g77 to get g77 and libg2c.a. This... ahem... would seem to have the effect of mixing GCC 3.3 and 4.0 code, which strikes me as dicey at best. Are my worries justified?
I've attached a complete traceback and the output of scipy_distutils/system_info.py. Any tips are appreciated, including (if necessary) "It doesn't work right now."
Thanks, Greg
participants (3)
-
Greg Novak
-
Nils Wagner
-
Ravikiran Rajagopal