[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:23 Dec 2004 12:49:03 -0000 
Subject:Re: how do I access f77 libraries on linux (for lapack and blas)? [SOLVED] 
From:Aaron Sloman 
Volume-ID: 

This problem is now solved using the latest lapack and blas rpms.

On Sat, 11 Dec 2004 09:02:36 +0000 (UTC)
I sent a plea for help to

    comp.lang.pop
    comp.lang.lisp
    comp.lang.fortran
>...
> Recently a Pop11 interface to the Lapack and Blas (mathematics, linear
> algebra) libraries was added to Popvision:
>
> 	http://www.netlib.org/lapack/
> 	http://www.netlib.org/blas/
>
> ....

The libraries were developed on Solaris on Suns in poplog and worked
fine there, but on linux ,,,

> All the examples worked except one using a procedure returning
> eigenvalues and eigenvectors.
>
> The dynamic linker complained about 'undefined symbol' s_wsfe
> and poplog aborted.

I have now solved the problem as follows, and tested it on two linux
machines, one running redhat 9 on an athlon-based PC and one running
redhat 9 with a 2.4.26  kernel (to support software suspend) on a
dell D600 laptop, as follows.

On the athlon I installed all of these, in this order

     libg2c-3.4.3-2.athlon.rpm

     blas-3.0-29.athlon.rpm
     blas-devel-3.0-29.athlon.rpm

     lapack-3.0-29.athlon.rpm
     lapack-devel-3.0-29.athlon.rpm

On the dell I installed these in this order
     libg2c-3.4.3-2.i686.rpm

     blas-3.0-29.i686.rpm
     blas-devel-3.0-29.i686.rpm

     lapack-3.0-29.i686.rpm
     lapack-devel-3.0-29.i686.rpm

Those rpm files were obtained from the PLD distribution libraries
    http://ftp.pld.org.pl/dists/ac/ready/
(for which many thanks to the PLD team).

There were also some minor changes required in the Pop11 code which
are now available in a temporary package at

    http://www.cs.bham.ac.uk/research/poplog/popvision.tar.gz

Aaron
====
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/  (also talks in /talks )
FREE BOOK: http://www.cs.bham.ac.uk/research/cogaff/crp/
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/packages/simagent.html