Skip to content

ATLAS

3 messages · William D. McCoy, Jason Turner, Brian Ripley

#
I thought I would try compiling R this time with the ATLAS libraries.
I have compiled ATLAS and I have the following libraries:

libatlas.a      libf77blas.a    libptcblas.a    libtstatlas.a
libcblas.a      liblapack.a     libptf77blas.a


Is it sufficient to use ' --with-blas=libatlas.a ' when configuring or 
do I need to specify any of the other libraries as well?
#
[snip: atlas libraries]
Assuming you have a Un*x-like installation...

As long as the ATLAS libraries were put in a place they could be
easily found (usually /usr/local/lib), and ldconfig(8) has been run 
since they were put there, the configure script should pick them
up automagically.  I simply ran configure without options and
got...  
(config.cache)
ac_cv_lib_atlas_ATL_xerbla=${ac_cv_lib_atlas_ATL_xerbla='yes'}

Cheers

Jason
#
On Mon, 30 Jul 2001, William D. McCoy wrote:

            
If this is Unix(-alike) ....

You need libatlas.a, libcblas.a, libf77blas.a, and you want to specify
them as "-latlas -lcblas -lf77blas".  *However* they need to be in your
library path, and if they are, configure will find them.  So just

set the library path as needed (e.g. LIBS in config.site)
rm config.cache
./configure
make

will make use of ATLAS.  See the R-admin.html manual for more details.