From: weber@young.ece.cmu.edu (Dave Weber)
Subject: LAPACK v2.0 and BLAS libraries for Linux ELF
Date: 1995/11/22 [thread overview]
Message-ID: <cola-liw-817074073-18209-1@oravannahka.helsinki.fi> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
ELF shared LAPACK and BLAS libraries for Linux
LSM:
Begin3
Title: LAPACK v2.0 library for Linux ELF
Version: v2.0
Entered-date: 8 November 1995
Description: ELF shared library distribution of the LAPACK FORTRAN
numerical methods library for Linux. The library was
compiled using f2c, fort-77 and gcc 2.7.0. Test outputs are
included for interest. An ELF shared version of the FORTRAN
BLAS library is also supplied.
Keywords: lapack, fortran, numerical methods
Author: weber@young.ece.cmu.edu (Ported by Dave Weber from sources
by Jack Dongarra et al)
Maintained-by: Linux port maintained by Dave Weber
Primary-site: ftp://sunsite.unc.edu/pub/Linux/devel/lang/fortran/lapack-linux-2.0-elf.tar.gz
Alternate-site: tsx-11
Original-site: netlib2.cs.utk.edu
Platform: Linux x86 (this library), most others for the source.
Copying-policy: There is no copyright policy for LAPACK or this library
End
LAPACK is a comprehensive FORTRAN library that does linear algebra
operations including matrix inversions, least squared solutions to
linear sets of equations, eigen analysis, SVD etc. It is a very
comprehensive and reputable package that has found extensive use in
the scientific community. It is an updated LINPACK and EISPACK in one
package. The BLAS (Basic Linear Algebra Routines) do stuff like matrix
multiplies, Given's rotations etc. and are usually hand optimized for
specific machines (as in DEC's DXML library). In this case, the
original FORTRAN version is used. You can get more information from
http://netlib2.cs.utk.edu/.
This distribution is binary ELF shared Linux port of LAPACK and the
BLAS routines for version 2.0 of lapack as distributed by the netlib
site (http://netlib2.cs.utk.edu/). The library was compiled using f2c,
fort77 and gcc-2.7.0 as distributed with the Red Hat 2.0 release of
Linux. You do not need f2c to use the library but you do need a ELF
version of libf2c (included here). The libf2c supplied here is from
the Red Hat v2.0 distribution. 4) I have used a version of the "ETIME"
function used in the testing and timing routines that was supplied by
David Klein. I have a patch to the original lapack sources if anyone
is interested.
Install the libraries as follows: Copy liblapack.so.1.0 and
libblas.so.1.0 to /usr/lib and libf2c.so.0.11 (only if you do not
already have this) and do a ldconfig. Link the libraries by adding the
following to your link/compile command line as in this example:
gcc try.c -o try -liblapack -libblas -libf2c -lm
If you are new to ELF binaries, check out the ELF howto at
http://www.cs.unc.edu/linux-docs/linux.html
Apart from one or two small incompatibilities, the entire library
compiles fine with f2c and performs almost flawlessly in the extensive
testing supplied with LAPACK and the BLAS. I have included all the
test routine outputs and I also list the routines that failed here.
List of tests that failed:
BLAS library:
ICAMAX : The code looks right and tests right in a simple test but
fails in the BLAS test routines. I don't know why but send me
a fix.
LAPACK library:
DGEES : 2 out of 3264 tests failed to pass the threshold
DGEESX : 2 out of 3494 tests failed to pass the threshold
I have no idea why these fail. I suspect that precision may break down
because of a bad cast in the C translation of the FORTRAN code because
these errors do not occur in the single precision real single
precision complex or double precision complex versions of these
routines. Also, there were only two failures in over 3000 tests of
these routines but be careful all the same. Any fixes would be
appreciated.
I have compiled and run the benchmarks for single, compled and double
but the complex16 benchmark fails with a segmentation fault for
reasons unknown. These are somewhat meaningless anyway as I only have
a genuine antique 486 to test it on (sniff..). If there is some
interest then I'll supply the results.
All standard disclaimers apply (use at your own peril). Send your
lawyers to /dev/null.
You can contact me at weber@young.ece.cmu.edu or via
http://www.ece.cmu.edu/afs/ece/usr/weber/.home-page.html.
- --Dave Weber
- ---------------------------------------------------------------------
Office phone : (412) 268-3716 Fax : (412) 268-6345
Home phone : (412) 241-8002 Email : weber@young.ece.cmu.edu
Dept. ECE, Carnegie Mellon University, Pittsburgh PA, USA
WWW: http://www.ece.cmu.edu/afs/ece/usr/weber/.home-page.html
- ---------------------------------------------------------------------
"I cannot imagine mastering the skills involved here without a clearer
understanding of who is going to be impressed."
--Calvin (failing to master a yo-yo, let alone doctor a Ph.D.)
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQCVAwUBMLONi4QRll5MupLRAQHuQQQA1R5CmuRaOWW/jGMPSbOgUZZIcxYLO2gQ
/AXgaweql3uMV7CIeT9BfUL332uINDKtZqSVDMFrYWPqZ6AsGy2KhDnmQtTzN87g
OIX4Hy7Nq51GCQ8rnu4IOqWrA1gsrbOLkUI/l5np/BBIOF43p3C2b67p7lTPdkWh
HfohE8MnUK4=
=PMId
-----END PGP SIGNATURE-----
--
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
reply other threads:[~1995-11-22 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox