[SciPy-user] scipy.test(level=1) fails: undefined symbol: clapack_sgesv

Pearu Peterson pearu at cens.ioc.ee
Thu Nov 14 03:28:40 EST 2002


On 13 Nov 2002, rhawkin2 wrote:

> Hello,
> 
> Build from CVS went OK and scipy loads fine, but I got the following
> error on the scipy.test(level=1) command:
> 
> ======================================================================
> ERROR: check_add_function_ordered (test_catalog.test_catalog)
> ----------------------------------------------------------------------

...

> ImportError: /usr/lib/python2.2/site-packages/scipy/linalg/clapack.so:
> undefined symbol: clapack_sgesv

...

> 5) f2py version:
> f2py -v doesn't work.  Unpacking the file F2PY-2-latest.tar.gz gave a
> directory titled F2PY-2.23.190-1369.

It should work. So, could you give more details here?

Let me play a little detective here. You seem to have both Python 1.5.x
and Python 2.2 installed. When you installed f2py, did you use Python
1.5.x? That is, the command

  python setup.py install

? You should install f2py using Python 2.2 instead. So, the correct
installation command would be

  python2.2 setup.py install

and getting the version of f2py reads then

  f2py2.2 -v

> 8)  Output to stdout of the SciPy installation command.  There was no
> stderr output.

<snip>

This output is not very useful as nothing is done here. Could you remove
the build directory and send the stdout/stderr messages of the
scipy building command (exactly this command that follows build/
removal, all subsequent building commands may lack some information)?
 
You can send these messages directly to me as there is no need to float
the scipy-users mailing list with these huge messages.. (but first resolve
the f2py issue, of course).

HTH,
	Pearu




More information about the SciPy-User mailing list