Skip to content
Prev 8515 / 63424 Next

BLAS/Lapack for OS X

Thanks. I have compared flags --without-blas and  
--with-blas="-framework vecLib"
and no flag (which means it chooses the static ATLAS library from fink).
All three compiles go through fine. The ATLAS version is about twice as
fast as the --without-blas version on large eigenvalue problems for
Hilbert matrices (the larger, the more gain). The vecLib version does  
not
work, because it says

Error in eigen(hilbert(500)) : lapack routines cannot be loaded

The only indication during compilation of something wrong is that the
lapack routines are defined twice (once in double.c and cmplx.c and
once in the vecLib framework), and that generates warnings.

I also tried

-- do not include double.lo and cmplx.lo in linking lapack.so
-- change the order in the link of -framework vecLib and double.lo and  
cmplx.lo,
-- do not include -framework vecLib in the link  

but I still get the same error, which seems to indicate the error is in
the BLAS part.

Does the lapack loading depend on the fact that the BLAS routines are  
statically
linked (and come from static libraries) ? Of course the vecLib BLAS (and
LAPACK) are in a dynamic library.
On Friday, November 29, 2002, at 12:03 AM, ripley@stats.ox.ac.uk wrote:

            
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw@stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au
   
------------------------------------------------------------------------ 
-------------------------