Mailinglist Archive: opensuse-buildservice (253 mails)

< Previous Next >
[opensuse-buildservice] Re: lapack
  • From: Richard Guenther <rguenther@xxxxxxx>
  • Date: Mon, 27 Nov 2006 12:06:09 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0611271200030.30849@xxxxxxxxxxxxxx>

(sorry for the lame reply, I'm not on os-bs and replying to a forward
with attached body does not work for me - so, top-posting)

First, for problems please file bugreports. Now, packages are
always compiled with the system (fortran) compiler, which is
gfortran since 10.0 (where do you get the impression from that
it is built with g77? what is 'The official suse-type webpage' here?).

The undefined symbol is because you need
to link against libgfortran, so this looks like a scipy bug.

"Suse's BLAS is buggy, you have to compile yourself."
This is a very unspecific statement, I cannot help here.

Yes, the lapack/blas is from netlib, not some optimized version.

Hope this helps,
Richard.

----

Hi,

There's a small problem with the linear algebra library BLAS and
LAPACK in opensuse.| These are Fortran libraries.| I (and others)
have trouble using the libraries with SciPy (python scientific
computing package).| The problem seems to be that different Fortran
compilers use different symbol names for some output routines.| When
one compiles scipy, there are some Fortran routines that get
compiled, I think with g77 by default (maybe not).| You can compile
and install scipy, but when you try importing it in python you get an
error of undefined symbol _gfortran_st_write in the LAPACK library.

I have the most recent blas and lapack opensuse builds (940).| The
official suse-type webpage I got these from say they were compiled
with egcs, which is a. wrong (egcs merged back into gcc a long time
ago) and b. ill-defined (since g77 and gfortran are both part of
gcc).

As you search the web, you see that it's part of the lore that
"Suse's BLAS is buggy, you have to compile yourself."| Not good for
Suse!

While I'm on it, it's not clear what implementation of BLAS opensuse
uses.| My guess is it's the reference implementation from lapack's
page on netlib, which is not optimized.| Better ones exist, like
gotoBLAS.| Maybe that can be made a suse package?

At the least it would help if it were spelled out exactly which
Fortran compiler was used to make opensuse's blas.| If they can be
compiled to allow multiple Fortran compilers to play nicely with
them, even better.

Cheers,
David

--
Richard Guenther <rguenther@xxxxxxx>
Novell / SUSE Labs
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages