[SciPy-user] import failure using g77

Jeffrey B. Layton laytonjb at bellsouth.net
Sat Oct 19 21:15:06 EDT 2002


Pearu Peterson wrote:

>On Sat, 19 Oct 2002, Jeffrey B. Layton wrote:
>
>  
>
>>   OK. I found a few little things that I missed :) I rebuilt
>>LAPACK and scipy. Unfortunately, when I try to import
>>scipy, I get errors (albeit different ones):
>>
>>[laytonj at home3 laytonj]$ /usr/bin/python2.2
>>Python 2.2 (#1, Apr 12 2002, 15:29:57)
>>[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2
>>Type "help", "copyright", "credits" or "license" for more information.
>> >>> import Numeric
>> >>> import scipy
>>exceptions.ImportError: 
>>/usr/lib/python2.2/site-packages/scipy/linalg/_flinalg.so: undefined 
>>symbol: atl_f77wrap_sgetrf__
>>    
>>
>          ^^^^^^^^^^^^^^^^^^^^^
>
>This symbol should be in liblapack.a after applying
>
>  http://math-atlas.sourceforge.net/errata.html#completelp
>
>Are you sure that you applied them correctly? Use nm to see what symbols
>are in liblapack.a.
>

I'm pretty sure I built everything correctly. Here are the symbols
in liblapack.a:

[laytonj at home3 G77]$ nm liblapack.a | grep -i sgetrf
         U sgetrf_
sgetrf.o:
         U atl_f77wrap_sgetrf__
00000000 T sgetrf_
         U ATL_sgetrf
ATL_f77wrap_sgetrf.o:
         U ATL_sgetrf
ATL_sgetrfC.o:
00000000 T ATL_sgetrfC
ATL_sgetrf.o:
00000000 T ATL_sgetrf
         U ATL_sgetrfC
         U ATL_sgetrfR
ATL_sgetrfR.o:
00000000 T ATL_sgetrfR
         U ATL_sgetrf
clapack_sgetrf.o:
         U ATL_sgetrf
00000000 T clapack_sgetrf

It appears to be there (I think).

Thanks!

Jeff

>
>Pearu
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>
>  
>






More information about the SciPy-User mailing list