From jamatos at fc.up.pt  Wed Sep 28 20:30:08 2005
From: jamatos at fc.up.pt (=?UTF-8?B?Sm9zw6k=?= Matos)
Date: Wed, 28 Sep 2005 19:30:08 +0100
Subject: [Rd] looks in liblapack.a not liblapack.so
References: <mailman.9.1126951201.11292.r-devel@r-project.org>
	<20050917221902.GA10806@stat.umn.edu>
	<1127119440.3624.5.camel@seurat>
	<x23bo15c13.fsf@turmalin.kubism.ku.dk>
	<1127144443.18426.14.camel@seurat> <dgpari$a96$1@sea.gmane.org>
	<x2mzm5lbtx.fsf@turmalin.kubism.ku.dk> <dhe8cr$tbm$1@sea.gmane.org>
	<x2k6h1451k.fsf@viggo.kubism.ku.dk>
Message-ID: <dhenfh$klr$1@sea.gmane.org>

Peter Dalgaard wrote:

> -L/usr/lib64  I think. I have
> 
> #LAPACK_LIBS="-L/usr/lib64 -llapack"
> 
> (commented out now) in config.site.

  I'm sorry, it was my mistake. I forgot to install blas-devel where
libblas.so is defined as a symbolic link to the correct library version.

  Since the configure script could not find the blas library it would
immediately disallow the lapack usage. This is not obvious from configure's
output... maybe an explicit message saying this would help here.

  So now it is enough
../R/configure --with-lapack

  :-)

> ../R/configure --with-lapack="-L/usr/lib64 -llapack"
> 
> seems to work with FC4/Opteron (even with the configure line, you
> still need to have at least "--with-lapack" on the command line, which
> is a bit of a bug -- or will be one, once we stop advising against
> using external lapack libs in the first place...).
> 
> A line like
> 
> External libraries:        readline, BLAS(ATLAS), LAPACK(generic)

  Yes, I get this. For now I have BLAS(generic).

> shows that R is not using the internal versions of BLAS/LAPACK. (Of
> course, the ATLAS bit required more work...)
> 
> The latest updates to lapack seem not to have worked.

  You are right, I am able to reproduce the bug. I will report it and report
back when a solution is available.

> 
>    O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
>   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
>  (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45)
>  35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45)
> 35327907
> 

  Thanks,
-- 
Jos? Ab?lio



[Rd] looks in liblapack.a not liblapack.so
=?UTF-8?B?Sm9zw6k=?= Matos