[Numpy-discussion] Test failures r7300

lukshuntim@gmai... lukshuntim@gmai...
Sat Aug 8 08:33:02 CDT 2009


David Cournapeau wrote:
> On Sat, Aug 8, 2009 at 9:38 PM, <lukshuntim@gmail.com> wrote:
>> Hi,
>>
>> I got 16 test failures after building r7300 from svn on debian/sid/i386.
>> Seems all related to complex linear algebra modules.
> 
> Are you using atlas ? (numpy.show_config() output)

Yes, it's libatlas-sse2 3.6.0-24 debian/sid package.

In [3]: numpy.show_config()
atlas_threads_info:
  NOT AVAILABLE

blas_opt_info:
    libraries = ['f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib/sse2']
    define_macros = [('ATLAS_INFO', '"\\"3.6.0\\""')]
    language = c

atlas_blas_threads_info:
  NOT AVAILABLE

lapack_opt_info:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib/sse2/atlas', '/usr/lib/sse2']
    define_macros = [('ATLAS_INFO', '"\\"3.6.0\\""')]
    language = f77

atlas_info:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib/sse2/atlas', '/usr/lib/sse2']
    language = f77

lapack_mkl_info:
  NOT AVAILABLE

blas_mkl_info:
  NOT AVAILABLE

atlas_blas_info:
    libraries = ['f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib/sse2']
    language = c

mkl_info:
  NOT AVAILABLE

I've set these in my site.cfg

[DEFAULT]
library_dirs = /usr/lib/sse2
[blas_opt]
libraries = f77blas, cblas, atlas
[lapack_opt]
libraries = lapack_atlas, f77blas, cblas, atlas

but it seems not to pick up the liblapack_atlas.so from the debian atlas
package.

> 
> If so, did you compile it by yourself ? Did you compile everything
> with gfortran (do you have g77 installed).

Yes, and I don't have g77 anymore.

> 
> Problems related to complex are almost always caused by fortran
> compilers mismatch,

Does the numpy.show_config() show that the debian atlas libaries are
compiled with f77?

Running ldd /usr/lib/sse2/libatlas.so shows

	linux-gate.so.1 =>  (0xb7f97000)
	libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0xb7914000)
	libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb78ee000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb78c2000)
	libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7763000)
	/lib/ld-linux.so.2 (0xb7f98000)

> 
> cheers,
> 
> David

Thanks very much for the help,
ST
--



More information about the NumPy-Discussion mailing list