[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:11 Dec 2004 09:02:50 -0000 
Subject:how do I access f77 libraries on linux (for lapack and blas)? 
From:Aaron Sloman 
Volume-ID: 

[Plea for help posted to

    comp.lang.pop
    comp.lang.lisp
    comp.lang.fortran
]

I wonder if anyone who is familiar with Fortran/Lapack/Linux can help
me.

A part of the Poplog system[1] is the 'popvision' library[2] produced by
David Young at Sussex University, which provides a lot of program
libraries, documentation and teaching materials for computer vision.

It also includes a number of additional libraries. Many of the program
libraries are written in C for speed, then made available for dynamic
linking in Pop11[3], which provides interactive access to the C
procedures, analogous to Matlab and AI language systems, giving a
mixture of run time speed and convenient incremental development and
testing.

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/

These libraries were developed using Solaris on Suns, at Sussex
University, but they are designed for use on any system on which Poplog
runs and I have tested the tutorial examples on a version of Poplog
running on a PC with Linux (Redhat 8 and Redhat 9), which included the
Lapack and Blas libraries (distributed as rpm files in the linux
distribution.)

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.

When I reported this to David he responded:

> Just had a quick look - on the Solaris system this symbol is defined in
> libF77.so. It may mean that you need to download a Fortran run-time
> library

I suspect that the relevant F77 library is available for Linux and may
even be installed on one of the machines in our department, I but have
not been able to locate it.

Is there a Fortran user, especially one who has used lapack on linux,
who can tell me which library I need and where it is likely to be
located on a linux system?

We already have these:

    /usr/lib/liblapack.so
    /usr/lib/libblas.so

I need to know the location and the library name for the relevant
Fortran library/libraries on linux, so that they can be specified in
Pop11, for use by the dynamic linker.

Thanks.

Aaron
===
http://www.cs.bham.ac.uk/~axs/
A.Sloman@cs.bham.ac.uk
------------------------------
[1] Information about Poplog (a free, open source, multi language
system for research and teaching in AI, etc.) is available here:

    http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
    http://www.cs.bham.ac.uk/research/poplog/poplog.info.html
    http://www.cs.bham.ac.uk/research/poplog/comp.lang.pop.faq.html

[2] An overview of the Popvision library is available here
    http://www.cs.bham.ac.uk/research/poplog/help/popvision.txt

[3] Pop11 is a multi-paradigm, extendable, Lisp-like language with a
more conventional syntax. More information about it is available here

    http://www.cs.bham.ac.uk/research/poplog/primer/START.html

and in the documentation provided with poplog.
===
====
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