[R] BLAS where

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu May 17 11:22:11 CEST 2001

On Thu, 17 May 2001, Christian Hoffmann wrote:

> I want to install "Matrix" using
> > install.packages("Matrix")
> After a while I get:
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for ATL_xerbla in -latlas... no
> checking for dgemm_ in -lcxml... no
> checking for dgemm_ in -ldxml... no
> checking for dgemm_ in -lscs... no
> checking for dgemm_ in -lcomplib.sgimath... no
> checking for zherk in -lblas... no
> checking for dgemm_ in -lblas... no
> could not find your BLAS library
> ERROR: Configuration failed for package `Matrix'
> Where does the compiled code of BLAS have to reside?

As a library in your library path (link time and if a dynamic library run
time too). Most probably /usr/local/lib.

If you download the code and unpack it before installing you can look
at config.log to see what it tried.

Beware that recent versions of Matrix (but not the latest -15) were not
linked against the blas library found, as so failed at library-load time.

Hint: R 1.3.0 will make much more use of blas, and it is a good idea
to make a shared blas library if you can (to avoid code duplication).

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list